Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-2922 (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-zw2dTQRgHcUq/agent.2074 SSH_AGENT_PID=2076 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_18176282022519840801.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_18176282022519840801.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/jenkins15408359172562091267.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-4RQk 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-4RQk/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-4RQk/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.5 botocore==1.32.5 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.4.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.7 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.2.2 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.40 google-auth==2.23.4 httplib2==0.22.0 identify==2.5.32 idna==3.4 importlib-metadata==6.8.0 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.2 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.20.0 jsonschema-specifications==2023.11.1 keystoneauth1==5.4.0 kubernetes==28.1.0 lftools==0.37.8 lxml==4.9.3 MarkupSafe==2.1.3 msgpack==1.0.7 multi-key-dict==2.0.3 munch==4.0.0 netaddr==0.9.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==2.9.0 oslo.config==9.2.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.2.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==4.0.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.3.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.31.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.13.1 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.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.7 wcwidth==0.2.12 websocket-client==1.6.4 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 zipp==3.17.0 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-london-project-csit-api] $ /bin/sh /tmp/jenkins3044086201621351143.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/jenkins11063644380061701330.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.1xCgCCwe31 ++ echo ROBOT_VENV=/tmp/tmp.1xCgCCwe31 +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.1xCgCCwe31 ++ source /tmp/tmp.1xCgCCwe31/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.1xCgCCwe31 +++ 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.1xCgCCwe31/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.1xCgCCwe31) ' '!=' x ']' +++ PS1='(tmp.1xCgCCwe31) ' +++ export PS1 +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ set -exu ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' ++ echo 'Installing Python Requirements' Installing Python Requirements ++ python3 -m pip install -qq -r /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.8.3 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.4 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==4.9.3 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.3.1 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.1xCgCCwe31/src/onap ++ rm -rf /tmp/tmp.1xCgCCwe31/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.8.3 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==0.18.3 idna==3.4 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==4.9.3 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.3.1 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.1xCgCCwe31/bin/activate + '[' -z /tmp/tmp.1xCgCCwe31/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.1xCgCCwe31/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.1xCgCCwe31 ++ 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.1xCgCCwe31/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.1xCgCCwe31) ' ++ '[' 'x(tmp.1xCgCCwe31) ' '!=' x ']' ++ PS1='(tmp.1xCgCCwe31) (tmp.1xCgCCwe31) ' ++ 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.50b3NjFxQP + cd /tmp/tmp.50b3NjFxQP + docker login -u docker -p docker nexus3.onap.org:10001 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded + SETUP=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-london-project-csit-api/.gitreview +++ GERRIT_BRANCH=london +++ echo GERRIT_BRANCH=london GERRIT_BRANCH=london +++ rm -rf /w/workspace/policy-api-london-project-csit-api/models +++ mkdir /w/workspace/policy-api-london-project-csit-api/models +++ git clone -b london --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-london-project-csit-api/models Cloning into '/w/workspace/policy-api-london-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json +++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-london-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose +++ grafana=false +++ gui=false +++ [[ 2 -gt 0 ]] +++ key=api +++ case $key in +++ echo api api +++ component=api +++ shift +++ [[ 1 -gt 0 ]] +++ key=--grafana +++ case $key in +++ grafana=true +++ shift +++ [[ 0 -gt 0 ]] +++ cd /w/workspace/policy-api-london-project-csit-api/compose +++ echo 'Configuring docker compose...' Configuring docker compose... +++ source export-ports.sh +++ source get-versions.sh +++ '[' -z api ']' +++ '[' -n api ']' +++ '[' api == logs ']' +++ '[' true = true ']' +++ echo 'Starting api application with Grafana' Starting api application with Grafana +++ docker-compose up -d api grafana Creating network "compose_default" with the default driver Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 10.10.2: Pulling from mariadb Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2)... 2.6.2: Pulling from onap/policy-db-migrator Digest: sha256:a003c74f917627b7a14203f69b616fd4ffbb9c75689a5da0efcd611ad2535297 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2 Pulling api (nexus3.onap.org:10001/onap/policy-api:2.8.2)... 2.8.2: Pulling from onap/policy-api Digest: sha256:217c303960fc98a3dbef0c32dcca2beb777ec0b98b821daa59093c76f331177d Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:2.8.2 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:b440bc0e8aa5bab44a782952c09516b6a50f9d7b2325c1ffafac7bc833298e2e Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... latest: Pulling from grafana/grafana Digest: sha256:e3e9c2b5776fe3657f4954dfa91579224f98a0316f51d431989b15425e95530f Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating mariadb ... done Creating policy-db-migrator ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-london-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds mariadb Up 14 seconds prometheus Up 13 seconds NAMES STATUS policy-api Up 15 seconds mariadb Up 19 seconds prometheus Up 18 seconds NAMES STATUS policy-api Up 20 seconds mariadb Up 24 seconds prometheus Up 23 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:16 up 3 min, 0 users, load average: 3.25, 1.08, 0.40 Tasks: 174 total, 1 running, 97 sleeping, 0 stopped, 0 zombie %Cpu(s): 12.2 us, 2.3 sy, 0.0 ni, 83.0 id, 2.4 wa, 0.0 hi, 0.1 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.8G 25G 932K 3.8G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 20 seconds mariadb Up 24 seconds prometheus Up 23 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 018479f662dc policy-api 0.62% 855MiB / 31.41GiB 2.66% 1.04MB / 739kB 0B / 0B 50 0ae444639adf mariadb 0.02% 100.6MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 10.9MB / 63.5MB 32 1c845c01ad63 prometheus 0.00% 18.52MiB / 31.41GiB 0.06% 1.17kB / 0B 127kB / 0B 13 + echo + cd /tmp/tmp.50b3NjFxQP + echo 'Reading the testplan:' Reading the testplan: + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + echo 'api-test.robot api-slas.robot' + sed 's|^|/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot' + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ... + relax_set + set +e + set +o pipefail + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ============================================================================== api ============================================================================== api.Api-Test ============================================================================== Healthcheck :: Verify policy api health check | PASS | ------------------------------------------------------------------------------ Statistics :: Verify policy api statistics | PASS | ------------------------------------------------------------------------------ RetrievePolicyTypes :: Retrieve all policy types | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | ------------------------------------------------------------------------------ RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNodeTemplates :: Create node templates in database using spe... | PASS | ------------------------------------------------------------------------------ RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | ------------------------------------------------------------------------------ RetrieveAllPolicies :: Retrieve all policies | PASS | ------------------------------------------------------------------------------ RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | ------------------------------------------------------------------------------ RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | ------------------------------------------------------------------------------ RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | ------------------------------------------------------------------------------ DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ Metrics :: Verify policy-api is exporting prometheus metrics | PASS | ------------------------------------------------------------------------------ api.Api-Test | PASS | 23 tests, 23 passed, 0 failed ============================================================================== api.Api-Slas ============================================================================== WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForStatistics :: Validate statistics response ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ api.Api-Slas | PASS | 10 tests, 10 passed, 0 failed ============================================================================== api | PASS | 33 tests, 33 passed, 0 failed ============================================================================== Output: /tmp/tmp.50b3NjFxQP/output.xml Log: /tmp/tmp.50b3NjFxQP/log.html Report: /tmp/tmp.50b3NjFxQP/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-london-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:38:27 up 4 min, 0 users, load average: 1.13, 0.90, 0.39 Tasks: 172 total, 1 running, 95 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.0 us, 1.8 sy, 0.0 ni, 86.4 id, 1.7 wa, 0.0 hi, 0.1 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 2.0G 25G 932K 3.8G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 018479f662dc policy-api 0.33% 1.043GiB / 31.41GiB 3.32% 7.32MB / 2.87MB 0B / 0B 52 0ae444639adf mariadb 0.02% 101.2MiB / 31.41GiB 0.31% 2.75MB / 7.35MB 10.9MB / 63.6MB 18 1c845c01ad63 prometheus 0.04% 24.04MiB / 31.41GiB 0.07% 38kB / 7.11kB 127kB / 0B 13 + echo + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose ++ cd /w/workspace/policy-api-london-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, grafana, policy-db-migrator, mariadb, prometheus prometheus | ts=2023-11-22T11:36:53.420Z 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-22T11:36:53.420Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.0, branch=HEAD, revision=6d80b30990bc297d95b5c844e118c4011fad8054)" prometheus | ts=2023-11-22T11:36:53.420Z caller=main.go:588 level=info build_context="(go=go1.21.4, platform=linux/amd64, user=root@26117804242c, date=20231116-04:35:21, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2023-11-22T11:36:53.420Z 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-22T11:36:53.420Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2023-11-22T11:36:53.420Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2023-11-22T11:36:53.427Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2023-11-22T11:36:53.428Z caller=main.go:1024 level=info msg="Starting TSDB ..." prometheus | ts=2023-11-22T11:36:53.430Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2023-11-22T11:36:53.430Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2023-11-22T11:36:53.432Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2023-11-22T11:36:53.432Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.08µs prometheus | ts=2023-11-22T11:36:53.432Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2023-11-22T11:36:53.432Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2023-11-22T11:36:53.432Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=23.08µs wal_replay_duration=244.032µs wbl_replay_duration=190ns total_replay_duration=287.502µs prometheus | ts=2023-11-22T11:36:53.436Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2023-11-22T11:36:53.436Z caller=main.go:1048 level=info msg="TSDB started" prometheus | ts=2023-11-22T11:36:53.436Z caller=main.go:1229 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2023-11-22T11:36:53.438Z caller=main.go:1266 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.098896ms db_storage=1.47µs remote_storage=2.09µs web_handler=640ns query_engine=1.94µs scrape=333.181µs scrape_sd=177.491µs notify=34.08µs notify_sd=11.881µs rules=1.63µs tracing=5.48µs prometheus | ts=2023-11-22T11:36:53.438Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." prometheus | ts=2023-11-22T11:36:53.438Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." 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-22T11:37:05.739+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 26 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2023-11-22T11:37:05.741+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2023-11-22T11:37:07.049+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2023-11-22T11:37:07.136+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 75 ms. Found 6 JPA repository interfaces. policy-api | [2023-11-22T11:37:08.165+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2023-11-22T11:37:08.176+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-22T11:37:08.177+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2023-11-22T11:37:08.177+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2023-11-22T11:37:08.252+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2023-11-22T11:37:08.252+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2453 ms policy-api | [2023-11-22T11:37:08.734+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2023-11-22T11:37:08.797+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2023-11-22T11:37:09.021+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2023-11-22T11:37:09.166+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2023-11-22T11:37:09.264+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2023-11-22T11:37:09.287+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2023-11-22T11:37:10.711+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2023-11-22T11:37:10.727+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2023-11-22T11:37:11.840+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2023-11-22T11:37:12.511+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2023-11-22T11:37:13.450+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@3a07afe6, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@428943a4, org.springframework.security.web.context.SecurityContextPersistenceFilter@fa200ab, org.springframework.security.web.header.HeaderWriterFilter@5f58ac11, org.springframework.security.web.authentication.logout.LogoutFilter@975f349, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@4c902a72, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@43ee4942, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@15d6f0e1, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@6ca95b1e, org.springframework.security.web.session.SessionManagementFilter@1638fa8b, org.springframework.security.web.access.ExceptionTranslationFilter@2c84d6c4, org.springframework.security.web.access.intercept.AuthorizationFilter@43bda665] policy-api | [2023-11-22T11:37:13.599+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-db-migrator | 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 | 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) 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-api | [2023-11-22T11:37:16.240+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2023-11-22T11:37:16.267+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-22T11:37:16.296+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2023-11-22T11:37:16.313+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.382 seconds (JVM running for 11.993) policy-api | [2023-11-22T11:37:19.671+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2023-11-22T11:37:19.671+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2023-11-22T11:37:19.674+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms policy-api | [2023-11-22T11:37:22.131+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2023-11-22T11:37:22.256+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes policy-api | [2023-11-22T11:37:22.527+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2023-11-22T11:37:23.637+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2023-11-22T11:37:25.503+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2023-11-22T11:37:25.886+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2023-11-22T11:37:26.101+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2023-11-22T11:37:26.328+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2023-11-22T11:37:26.559+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2023-11-22T11:37:26.773+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0450-pdpgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) policy-db-migrator | -------------- mariadb | 2023-11-22 11:36:52+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-22 11:36:52+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2023-11-22 11:36:52+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-22 11:36:52+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2023-11-22 11:36:52 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-11-22 11:36:52 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-22 11:36:52 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2023-11-22 11:36:54+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2023-11-22 11:36:54+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2023-11-22 11:36:54+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2023-11-22 11:36:54 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 96 ... mariadb | 2023-11-22 11:36:54 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-11-22 11:36:54 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-11-22 11:36:54 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-11-22 11:36:54 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-11-22 11:36:54 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-11-22 11:36:54 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-22 11:36:54 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-11-22 11:36:54 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-11-22 11:36:54 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-11-22 11:36:54 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-11-22 11:36:54 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-11-22 11:36:54 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-11-22 11:36:54 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2023-11-22 11:36:54 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-11-22 11:36:54 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-11-22 11:36:54 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-22 11:36:54 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-22 11:36:54 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2023-11-22 11:36:55+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2023-11-22 11:36:56+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2023-11-22 11:36:56+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2023-11-22 11:36:56+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2023-11-22 11:36:56+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | grafana | logger=settings t=2023-11-22T11:36:54.430944322Z level=info msg="Starting Grafana" version=10.2.2 commit=161e3cac5075540918e3a39004f2364ad104d5bb branch=HEAD compiled=2023-11-20T12:28:00Z grafana | logger=settings t=2023-11-22T11:36:54.431137383Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2023-11-22T11:36:54.431147803Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2023-11-22T11:36:54.431151643Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2023-11-22T11:36:54.431155094Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2023-11-22T11:36:54.431159404Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-22T11:36:54.431163104Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-22T11:36:54.431167114Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2023-11-22T11:36:54.431174044Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2023-11-22T11:36:54.431178204Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2023-11-22T11:36:54.431181944Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-22T11:36:54.431185814Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-22T11:36:54.431192334Z level=info msg=Target target=[all] grafana | logger=settings t=2023-11-22T11:36:54.431198244Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2023-11-22T11:36:54.431202724Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2023-11-22T11:36:54.431206084Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2023-11-22T11:36:54.431209534Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2023-11-22T11:36:54.431215494Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2023-11-22T11:36:54.431218984Z level=info msg="App mode production" grafana | logger=sqlstore t=2023-11-22T11:36:54.431455916Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2023-11-22T11:36:54.431472176Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2023-11-22T11:36:54.43206309Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2023-11-22T11:36:54.432901817Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2023-11-22T11:36:54.433619462Z level=info msg="Migration successfully executed" id="create migration_log table" duration=714.865µs grafana | logger=migrator t=2023-11-22T11:36:54.43736095Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2023-11-22T11:36:54.437859343Z level=info msg="Migration successfully executed" id="create user table" duration=499.763µs grafana | logger=migrator t=2023-11-22T11:36:54.441332669Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2023-11-22T11:36:54.441850503Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=517.564µs grafana | logger=migrator t=2023-11-22T11:36:54.447049832Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2023-11-22T11:36:54.448228541Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.179529ms grafana | logger=migrator t=2023-11-22T11:36:54.451798908Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2023-11-22T11:36:54.452277521Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=475.903µs grafana | logger=migrator t=2023-11-22T11:36:54.454509608Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2023-11-22T11:36:54.454962871Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=450.843µs grafana | logger=migrator t=2023-11-22T11:36:54.464585503Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2023-11-22T11:36:54.466544658Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=1.957905ms 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-22 11:36:57+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2023-11-22 11:36:57 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2023-11-22 11:36:57 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2023-11-22 11:36:57 0 [Note] InnoDB: Starting shutdown... mariadb | 2023-11-22 11:36:57 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2023-11-22 11:36:57 0 [Note] InnoDB: Buffer pool(s) dump completed at 231122 11:36:57 mariadb | 2023-11-22 11:36:57 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2023-11-22 11:36:57 0 [Note] InnoDB: Shutdown completed; log sequence number 330690; transaction id 298 mariadb | 2023-11-22 11:36:57 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2023-11-22 11:36:57+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2023-11-22 11:36:57+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2023-11-22 11:36:57 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2023-11-22 11:36:57 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-11-22 11:36:57 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-11-22 11:36:57 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-11-22 11:36:57 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-11-22 11:36:57 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-22 11:36:57 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-22 11:36:57 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-11-22 11:36:57 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-11-22 11:36:57 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-11-22 11:36:57 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-11-22 11:36:57 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-11-22 11:36:57 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-11-22 11:36:57 0 [Note] InnoDB: log sequence number 330690; transaction id 299 mariadb | 2023-11-22 11:36:57 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2023-11-22 11:36:57 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-11-22 11:36:57 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-11-22 11:36:57 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2023-11-22 11:36:57 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2023-11-22 11:36:57 0 [Note] Server socket created on IP: '::'. mariadb | 2023-11-22 11:36:57 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-22 11:36:57 0 [Note] InnoDB: Buffer pool(s) load completed at 231122 11:36:57 mariadb | 2023-11-22 11:36:58 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) mariadb | 2023-11-22 11:36:58 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) 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 | grafana | logger=migrator t=2023-11-22T11:36:54.46947791Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2023-11-22T11:36:54.470612628Z level=info msg="Migration successfully executed" id="create user table v2" duration=1.134348ms grafana | logger=migrator t=2023-11-22T11:36:54.474073644Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2023-11-22T11:36:54.475203152Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.128718ms grafana | logger=migrator t=2023-11-22T11:36:54.480002068Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2023-11-22T11:36:54.480680074Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=676.446µs grafana | logger=migrator t=2023-11-22T11:36:54.483951398Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2023-11-22T11:36:54.484367851Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=415.503µs grafana | logger=migrator t=2023-11-22T11:36:54.487517714Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2023-11-22T11:36:54.48824604Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=728.206µs grafana | logger=migrator t=2023-11-22T11:36:54.491789107Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2023-11-22T11:36:54.492973195Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.184539ms grafana | logger=migrator t=2023-11-22T11:36:54.497405918Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2023-11-22T11:36:54.497429918Z level=info msg="Migration successfully executed" id="Update user table charset" duration=24.8µs grafana | logger=migrator t=2023-11-22T11:36:54.500449121Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2023-11-22T11:36:54.5016358Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.185299ms grafana | logger=migrator t=2023-11-22T11:36:54.505014495Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2023-11-22T11:36:54.505337788Z level=info msg="Migration successfully executed" id="Add missing user data" duration=325.523µs grafana | logger=migrator t=2023-11-22T11:36:54.508939264Z level=info msg="Executing migration" id="Add is_disabled column to user" 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 grafana | logger=migrator t=2023-11-22T11:36:54.510156023Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.220139ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.515190971Z level=info msg="Executing migration" id="Add index user.login/user.email" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.515914257Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=722.076µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.518940299Z level=info msg="Executing migration" id="Add is_service_account column to user" policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2023-11-22T11:36:54.520913884Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.973715ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.524130268Z level=info msg="Executing migration" id="Update is_service_account column to nullable" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-11-22T11:36:54.533966131Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=9.832933ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.536928414Z level=info msg="Executing migration" id="create temp user table v1-7" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.537471548Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=542.724µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.542905458Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2023-11-22T11:36:54.543655114Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=748.596µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.547241131Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" 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 grafana | logger=migrator t=2023-11-22T11:36:54.548600611Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.35992ms policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.553336576Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.554068392Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=731.936µs policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2023-11-22T11:36:54.556836352Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.557542427Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=703.435µs 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 grafana | logger=migrator t=2023-11-22T11:36:54.56054042Z level=info msg="Executing migration" id="Update temp_user table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.56056514Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=25.84µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.563804244Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.564736071Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=931.187µs policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2023-11-22T11:36:54.569759159Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.570940078Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.180079ms 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 grafana | logger=migrator t=2023-11-22T11:36:54.574353303Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.575494032Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.139389ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.578581795Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2023-11-22T11:36:54.5792644Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=679.995µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.584018245Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2023-11-22T11:36:54.587782044Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.762499ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.591056328Z level=info msg="Executing migration" id="create temp_user v2" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-11-22T11:36:54.591849174Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=793.356µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.594689155Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.595455371Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=763.456µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.599934804Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2023-11-22T11:36:54.60069129Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=755.576µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.603690072Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" 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 grafana | logger=migrator t=2023-11-22T11:36:54.604823741Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.133159ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.607915214Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.609037492Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.120998ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.613928799Z level=info msg="Executing migration" id="copy temp_user v1 to v2" policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2023-11-22T11:36:54.614337252Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=409.413µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.617400735Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" 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 grafana | logger=migrator t=2023-11-22T11:36:54.617913138Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=513.023µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.620852301Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.621408415Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=555.404µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.62476073Z level=info msg="Executing migration" id="create star table" policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2023-11-22T11:36:54.625662927Z level=info msg="Migration successfully executed" id="create star table" duration=902.627µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.63150308Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2023-11-22T11:36:54.632241886Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=738.336µs grafana | logger=migrator t=2023-11-22T11:36:54.641289664Z level=info msg="Executing migration" id="create org table v1" 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 grafana | logger=migrator t=2023-11-22T11:36:54.642436292Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.146528ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.64749483Z level=info msg="Executing migration" id="create index UQE_org_name - v1" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.648690229Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.194599ms policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2023-11-22T11:36:54.653307533Z level=info msg="Executing migration" id="create org_user table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.654372101Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.064328ms policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2023-11-22T11:36:54.657898787Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.658664853Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=765.676µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.661553765Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.662354471Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=797.966µs policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2023-11-22T11:36:54.665232652Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.665996308Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=763.146µs policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2023-11-22T11:36:54.670442521Z level=info msg="Executing migration" id="Update org table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.670466351Z level=info msg="Migration successfully executed" id="Update org table charset" duration=24.97µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.673585335Z level=info msg="Executing migration" id="Update org_user table charset" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.673624195Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=36.02µs policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2023-11-22T11:36:54.677172292Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.677430354Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=258.032µs policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2023-11-22T11:36:54.680601477Z level=info msg="Executing migration" id="create dashboard table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.681621305Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.019078ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.686707343Z level=info msg="Executing migration" id="add index dashboard.account_id" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.687987192Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.280619ms policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2023-11-22T11:36:54.691420888Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.692753178Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.33484ms 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 grafana | logger=migrator t=2023-11-22T11:36:54.696050812Z level=info msg="Executing migration" id="create dashboard_tag table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.69711634Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.065128ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.700575816Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.701340642Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=762.556µs policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2023-11-22T11:36:54.706125138Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.706818003Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=692.395µs policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num grafana | logger=migrator t=2023-11-22T11:36:54.710014207Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.719737239Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=9.723062ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.722775682Z level=info msg="Executing migration" id="create dashboard v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.723393537Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=617.735µs policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2023-11-22T11:36:54.727974451Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.728664816Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=688.765µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.732022681Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.732718766Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=696.685µs policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2023-11-22T11:36:54.735756989Z level=info msg="Executing migration" id="copy dashboard v1 to v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.736053601Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=296.492µs policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2023-11-22T11:36:54.740850467Z level=info msg="Executing migration" id="drop table dashboard_v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.742351848Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.501891ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.745982176Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.746051866Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=69.811µs policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2023-11-22T11:36:54.74922984Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.751080714Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.850794ms policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2023-11-22T11:36:54.75601384Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.757852064Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.838074ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.760847107Z level=info msg="Executing migration" id="Add column gnetId in dashboard" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.76265229Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.802113ms policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2023-11-22T11:36:54.765755773Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.766592149Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=836.426µs policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2023-11-22T11:36:54.771440736Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2023-11-22T11:36:54.773242689Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.801503ms policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2023-11-22T11:36:54.776580824Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" policy-db-migrator | SET a.id = b.id policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.77742725Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=845.126µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.780719385Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2023-11-22T11:36:54.781971144Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.249159ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.787460435Z level=info msg="Executing migration" id="Update dashboard table charset" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2023-11-22T11:36:54.787485866Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=26.281µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.790544898Z level=info msg="Executing migration" id="Update dashboard_tag table charset" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.790571138Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=27.22µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.793648712Z level=info msg="Executing migration" id="Add column folder_id in dashboard" policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2023-11-22T11:36:54.795857208Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.203306ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.802459737Z level=info msg="Executing migration" id="Add column isFolder in dashboard" 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)) grafana | logger=migrator t=2023-11-22T11:36:54.8054478Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.987663ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.808588023Z level=info msg="Executing migration" id="Add column has_acl in dashboard" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.810544148Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.956355ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.820442052Z level=info msg="Executing migration" id="Add column uid in dashboard" policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2023-11-22T11:36:54.823535215Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=3.093073ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.828820314Z level=info msg="Executing migration" id="Update uid column values in dashboard" policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2023-11-22T11:36:54.829066066Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=247.212µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.832028718Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.832883675Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=854.697µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.835974468Z level=info msg="Executing migration" id="Remove unique index org_id_slug" policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2023-11-22T11:36:54.837090716Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.116508ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.840153989Z level=info msg="Executing migration" id="Update dashboard title length" policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2023-11-22T11:36:54.840202289Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=46.17µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.845154916Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.846125544Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=973.608µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.849278467Z level=info msg="Executing migration" id="create dashboard_provisioning" policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2023-11-22T11:36:54.850018023Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=739.466µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.853274107Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2023-11-22T11:36:54.860956244Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=7.677587ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.86572228Z level=info msg="Executing migration" id="create dashboard_provisioning v2" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.866563126Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=841.956µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.86976581Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2023-11-22T11:36:54.870971699Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.204319ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.874424955Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" 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) grafana | logger=migrator t=2023-11-22T11:36:54.875705524Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.280959ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.880628961Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.880986704Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=358.603µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.883854035Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2023-11-22T11:36:54.88445383Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=599.535µs grafana | logger=migrator t=2023-11-22T11:36:54.887640684Z level=info msg="Executing migration" id="Add check_sum column" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.890956999Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.313535ms 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) grafana | logger=migrator t=2023-11-22T11:36:54.895557983Z level=info msg="Executing migration" id="Add index for dashboard_title" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.896391629Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=832.186µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.899697844Z level=info msg="Executing migration" id="delete tags for deleted dashboards" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.899859425Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=161.621µs policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2023-11-22T11:36:54.902379644Z level=info msg="Executing migration" id="delete stars for deleted dashboards" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.902540975Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=161.011µs policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2023-11-22T11:36:54.906261213Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.907505052Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.243479ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.91120179Z level=info msg="Executing migration" id="Add isPublic for dashboard" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.913247785Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.046385ms policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2023-11-22T11:36:54.916720441Z level=info msg="Executing migration" id="create data_source table" policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2023-11-22T11:36:54.917488337Z level=info msg="Migration successfully executed" id="create data_source table" duration=767.486µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.921716108Z level=info msg="Executing migration" id="add index data_source.account_id" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.922488674Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=772.336µs grafana | logger=migrator t=2023-11-22T11:36:54.926239342Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.927033198Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=793.736µs policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2023-11-22T11:36:54.930363583Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.931062468Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=698.355µs policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2023-11-22T11:36:54.935461431Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.936135436Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=673.955µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.939617332Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.950397673Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=10.780381ms policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2023-11-22T11:36:54.95404577Z level=info msg="Executing migration" id="create data_source table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.954893016Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=846.966µs policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2023-11-22T11:36:54.959072207Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.959867313Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=792.666µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.962995327Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.963794843Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=800.346µs policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2023-11-22T11:36:54.967102557Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.967629681Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=528.864µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.971678121Z level=info msg="Executing migration" id="Add column with_credentials" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.974015199Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.336678ms grafana | logger=migrator t=2023-11-22T11:36:54.977273323Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2023-11-22T11:36:54.979581031Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.306528ms policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2023-11-22T11:36:54.982830955Z level=info msg="Executing migration" id="Update data_source table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.982855325Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=25.19µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.986906385Z level=info msg="Executing migration" id="Update initial version to 1" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:54.987073437Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=167.112µs policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2023-11-22T11:36:54.990325841Z level=info msg="Executing migration" id="Add read_only data column" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:54.993487534Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.160013ms policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2023-11-22T11:36:54.999772141Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:55.000051774Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=279.373µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:55.004150794Z level=info msg="Executing migration" id="Update json_data with nulls" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:55.004303405Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=152.811µs policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2023-11-22T11:36:55.007476063Z level=info msg="Executing migration" id="Add uid column" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:55.009722161Z level=info msg="Migration successfully executed" id="Add uid column" duration=2.245548ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:55.012709808Z level=info msg="Executing migration" id="Update uid value" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:55.012876948Z level=info msg="Migration successfully executed" id="Update uid value" duration=166.96µs policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2023-11-22T11:36:55.015910854Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:55.016711927Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=799.933µs policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2023-11-22T11:36:55.021094329Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:55.022419766Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.326967ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:55.026157945Z level=info msg="Executing migration" id="create api_key table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:55.0272987Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.141675ms policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2023-11-22T11:36:55.031407141Z level=info msg="Executing migration" id="add index api_key.account_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:55.032152145Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=744.134µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:55.036538097Z level=info msg="Executing migration" id="add index api_key.key" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:55.037775453Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.235996ms policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2023-11-22T11:36:55.041469711Z level=info msg="Executing migration" id="add index api_key.account_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:55.042839308Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.369017ms policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2023-11-22T11:36:55.047616322Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:55.048333426Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=716.854µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:55.052524997Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:55.053641242Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.116045ms policy-db-migrator | > upgrade 0100-upgrade.sql policy-db-migrator | -------------- policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2023-11-22T11:36:55.057692082Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:55.058871098Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.178786ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:55.063510002Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" policy-db-migrator | msg grafana | logger=migrator t=2023-11-22T11:36:55.072058014Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=8.546702ms policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2023-11-22T11:36:55.075400541Z level=info msg="Executing migration" id="create api_key table v2" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:55.076042634Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=641.483µs policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2023-11-22T11:36:55.079297501Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:55.080036304Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=738.913µs policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2023-11-22T11:36:55.084158675Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:55.084903449Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=742.554µs policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:55.088895359Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2023-11-22T11:36:55.090191845Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.296056ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:55.093928914Z level=info msg="Executing migration" id="copy api_key v1 to v2" policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2023-11-22T11:36:55.094509797Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=581.103µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:55.098864679Z level=info msg="Executing migration" id="Drop old table api_key_v1" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:55.099387091Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=521.462µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:55.102491437Z level=info msg="Executing migration" id="Update api_key table charset" policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2023-11-22T11:36:55.102525097Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=35.33µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:55.106112865Z level=info msg="Executing migration" id="Add expires to api_key table" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:55.110225595Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.11153ms policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:55.115480532Z level=info msg="Executing migration" id="Add service account foreign key" policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=migrator t=2023-11-22T11:36:55.118026875Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.546083ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:55.121920004Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" 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)) grafana | logger=migrator t=2023-11-22T11:36:55.122321396Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=401.112µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:55.126538417Z level=info msg="Executing migration" id="Add last_used_at to api_key table" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:55.129318521Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.779354ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:55.133348381Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) grafana | logger=migrator t=2023-11-22T11:36:55.136071515Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.724014ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:55.141288201Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:55.142071145Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=782.524µs policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:55.145488732Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2023-11-22T11:36:55.146136965Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=647.813µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:55.149432402Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" 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)) grafana | logger=migrator t=2023-11-22T11:36:55.150595068Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.162096ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:55.15700732Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:55.158658718Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.651458ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:55.162681618Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2023-11-22T11:36:55.163772404Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.091966ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-22T11:36:55.169688393Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" policy-db-migrator | grafana | logger=migrator t=2023-11-22T11:36:55.170679878Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=991.325µs policy-db-migrator | policyadmin: OK: upgrade (1200) grafana | logger=migrator t=2023-11-22T11:36:55.175571493Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" policy-db-migrator | name version grafana | logger=migrator t=2023-11-22T11:36:55.175753294Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=181.601µs policy-db-migrator | policyadmin 1200 grafana | logger=migrator t=2023-11-22T11:36:55.178425477Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" policy-db-migrator | ID script operation from_version to_version tag success atTime grafana | logger=migrator t=2023-11-22T11:36:55.178606068Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=181.481µs policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:58 grafana | logger=migrator t=2023-11-22T11:36:55.182361577Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:58 grafana | logger=migrator t=2023-11-22T11:36:55.186686438Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.324801ms policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:58 grafana | logger=migrator t=2023-11-22T11:36:55.191440302Z level=info msg="Executing migration" id="Add encrypted dashboard json column" policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:58 grafana | logger=migrator t=2023-11-22T11:36:55.194234956Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.794514ms policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:58 grafana | logger=migrator t=2023-11-22T11:36:55.197468932Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:58 grafana | logger=migrator t=2023-11-22T11:36:55.197646263Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=176.941µs policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:58 grafana | logger=migrator t=2023-11-22T11:36:55.20098821Z level=info msg="Executing migration" id="create quota table v1" policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:58 grafana | logger=migrator t=2023-11-22T11:36:55.201734004Z level=info msg="Migration successfully executed" id="create quota table v1" duration=745.164µs policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:58 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:58 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:58 grafana | logger=migrator t=2023-11-22T11:36:55.20505156Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:59 grafana | logger=migrator t=2023-11-22T11:36:55.205986805Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=934.705µs policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:59 grafana | logger=migrator t=2023-11-22T11:36:55.210314707Z level=info msg="Executing migration" id="Update quota table charset" policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:59 grafana | logger=migrator t=2023-11-22T11:36:55.210449137Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=134.21µs policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:59 grafana | logger=migrator t=2023-11-22T11:36:55.214321217Z level=info msg="Executing migration" id="create plugin_setting table" policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:59 grafana | logger=migrator t=2023-11-22T11:36:55.215136601Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=815.404µs policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:59 grafana | logger=migrator t=2023-11-22T11:36:55.2190461Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:59 grafana | logger=migrator t=2023-11-22T11:36:55.220483058Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.436438ms policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:59 grafana | logger=migrator t=2023-11-22T11:36:55.225466352Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:59 grafana | logger=migrator t=2023-11-22T11:36:55.228363457Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.896465ms policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:59 grafana | logger=migrator t=2023-11-22T11:36:55.231710014Z level=info msg="Executing migration" id="Update plugin_setting table charset" policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:59 grafana | logger=migrator t=2023-11-22T11:36:55.231844044Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=133.13µs policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:59 grafana | logger=migrator t=2023-11-22T11:36:55.235326132Z level=info msg="Executing migration" id="create session table" policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:59 grafana | logger=migrator t=2023-11-22T11:36:55.236156836Z level=info msg="Migration successfully executed" id="create session table" duration=830.124µs policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:59 grafana | logger=migrator t=2023-11-22T11:36:55.240546988Z level=info msg="Executing migration" id="Drop old table playlist table" policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:59 grafana | logger=migrator t=2023-11-22T11:36:55.240840729Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=293.831µs policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:59 grafana | logger=migrator t=2023-11-22T11:36:55.244548978Z level=info msg="Executing migration" id="Drop old table playlist_item table" policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:59 grafana | logger=migrator t=2023-11-22T11:36:55.24485152Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=301.862µs policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:59 grafana | logger=migrator t=2023-11-22T11:36:55.248292547Z level=info msg="Executing migration" id="create playlist table v2" policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:59 grafana | logger=migrator t=2023-11-22T11:36:55.24901044Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=716.813µs policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:59 grafana | logger=migrator t=2023-11-22T11:36:55.252631788Z level=info msg="Executing migration" id="create playlist item table v2" policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:59 grafana | logger=migrator t=2023-11-22T11:36:55.253373992Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=741.524µs policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:59 grafana | logger=migrator t=2023-11-22T11:36:55.257746924Z level=info msg="Executing migration" id="Update playlist table charset" policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:59 grafana | logger=migrator t=2023-11-22T11:36:55.257896785Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=106.471µs policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:59 grafana | logger=migrator t=2023-11-22T11:36:55.2629975Z level=info msg="Executing migration" id="Update playlist_item table charset" policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:59 grafana | logger=migrator t=2023-11-22T11:36:55.263791464Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=106.511µs policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:59 grafana | logger=migrator t=2023-11-22T11:36:55.26900448Z level=info msg="Executing migration" id="Add playlist column created_at" policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:59 grafana | logger=migrator t=2023-11-22T11:36:55.273803164Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.800444ms policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:59 grafana | logger=migrator t=2023-11-22T11:36:55.277497333Z level=info msg="Executing migration" id="Add playlist column updated_at" policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:59 grafana | logger=migrator t=2023-11-22T11:36:55.281065941Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.568228ms policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:36:59 grafana | logger=migrator t=2023-11-22T11:36:55.285425193Z level=info msg="Executing migration" id="drop preferences table v2" policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:00 grafana | logger=migrator t=2023-11-22T11:36:55.285534443Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=111.82µs policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:00 grafana | logger=migrator t=2023-11-22T11:36:55.291845345Z level=info msg="Executing migration" id="drop preferences table v3" policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:00 grafana | logger=migrator t=2023-11-22T11:36:55.292005386Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=161.001µs policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:00 grafana | logger=migrator t=2023-11-22T11:36:55.295804135Z level=info msg="Executing migration" id="create preferences table v3" policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:00 grafana | logger=migrator t=2023-11-22T11:36:55.29688509Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.081355ms policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:00 grafana | logger=migrator t=2023-11-22T11:36:55.301942505Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2023-11-22T11:36:55.301994396Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=42.141µs policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:00 grafana | logger=migrator t=2023-11-22T11:36:55.304966321Z level=info msg="Executing migration" id="Add column team_id in preferences" policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:00 grafana | logger=migrator t=2023-11-22T11:36:55.308132046Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.165355ms policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:00 grafana | logger=migrator t=2023-11-22T11:36:55.314408698Z level=info msg="Executing migration" id="Update team_id column values in preferences" policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:00 grafana | logger=migrator t=2023-11-22T11:36:55.314613229Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=205.111µs policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:00 grafana | logger=migrator t=2023-11-22T11:36:55.317820535Z level=info msg="Executing migration" id="Add column week_start in preferences" policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:00 grafana | logger=migrator t=2023-11-22T11:36:55.32282166Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=5.000555ms policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:00 grafana | logger=migrator t=2023-11-22T11:36:55.329191832Z level=info msg="Executing migration" id="Add column preferences.json_data" policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:00 grafana | logger=migrator t=2023-11-22T11:36:55.336537509Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=7.345957ms policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:00 grafana | logger=migrator t=2023-11-22T11:36:55.341906325Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:00 grafana | logger=migrator t=2023-11-22T11:36:55.342121977Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=214.122µs policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:00 grafana | logger=migrator t=2023-11-22T11:36:55.363978356Z level=info msg="Executing migration" id="Add preferences index org_id" policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:00 grafana | logger=migrator t=2023-11-22T11:36:55.365579974Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.604868ms policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:00 grafana | logger=migrator t=2023-11-22T11:36:55.371295313Z level=info msg="Executing migration" id="Add preferences index user_id" policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:00 grafana | logger=migrator t=2023-11-22T11:36:55.372562549Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.267426ms policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:00 grafana | logger=migrator t=2023-11-22T11:36:55.377541134Z level=info msg="Executing migration" id="create alert table v1" policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:00 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:00 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:00 grafana | logger=migrator t=2023-11-22T11:36:55.378490609Z level=info msg="Migration successfully executed" id="create alert table v1" duration=947.265µs policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:00 grafana | logger=migrator t=2023-11-22T11:36:55.382032226Z level=info msg="Executing migration" id="add index alert org_id & id " policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:00 grafana | logger=migrator t=2023-11-22T11:36:55.383321823Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.288457ms policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:00 grafana | logger=migrator t=2023-11-22T11:36:55.401611594Z level=info msg="Executing migration" id="add index alert state" policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:00 grafana | logger=migrator t=2023-11-22T11:36:55.402457009Z level=info msg="Migration successfully executed" id="add index alert state" duration=848.525µs policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:00 grafana | logger=migrator t=2023-11-22T11:36:55.409192622Z level=info msg="Executing migration" id="add index alert dashboard_id" policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:01 grafana | logger=migrator t=2023-11-22T11:36:55.410051047Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=858.315µs policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:01 grafana | logger=migrator t=2023-11-22T11:36:55.413052252Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:01 grafana | logger=migrator t=2023-11-22T11:36:55.413656695Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=604.593µs policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:01 grafana | logger=migrator t=2023-11-22T11:36:55.419795005Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:01 grafana | logger=migrator t=2023-11-22T11:36:55.420935991Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.140806ms policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:01 grafana | logger=migrator t=2023-11-22T11:36:55.425143692Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:01 grafana | logger=migrator t=2023-11-22T11:36:55.426421439Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.278097ms policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:01 grafana | logger=migrator t=2023-11-22T11:36:55.431773605Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:01 grafana | logger=migrator t=2023-11-22T11:36:55.449628175Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=17.85341ms policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:01 grafana | logger=migrator t=2023-11-22T11:36:55.455035892Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:01 grafana | logger=migrator t=2023-11-22T11:36:55.455688225Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=652.813µs policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:01 grafana | logger=migrator t=2023-11-22T11:36:55.458834061Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:01 grafana | logger=migrator t=2023-11-22T11:36:55.459730525Z 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=895.334µs policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:01 grafana | logger=migrator t=2023-11-22T11:36:55.4626723Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:01 grafana | logger=migrator t=2023-11-22T11:36:55.462940401Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=268.031µs policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:01 grafana | logger=migrator t=2023-11-22T11:36:55.469310693Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:01 grafana | logger=migrator t=2023-11-22T11:36:55.469901846Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=590.903µs policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:01 grafana | logger=migrator t=2023-11-22T11:36:55.474306178Z level=info msg="Executing migration" id="create alert_notification table v1" policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:01 grafana | logger=migrator t=2023-11-22T11:36:55.475603335Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.296667ms policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:01 grafana | logger=migrator t=2023-11-22T11:36:55.47866888Z level=info msg="Executing migration" id="Add column is_default" policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:01 grafana | logger=migrator t=2023-11-22T11:36:55.482199908Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.530078ms policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:01 grafana | logger=migrator t=2023-11-22T11:36:55.488763081Z level=info msg="Executing migration" id="Add column frequency" policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:02 grafana | logger=migrator t=2023-11-22T11:36:55.492214158Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.448327ms policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:02 grafana | logger=migrator t=2023-11-22T11:36:55.49669646Z level=info msg="Executing migration" id="Add column send_reminder" policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:02 grafana | logger=migrator t=2023-11-22T11:36:55.505503645Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=8.808015ms policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2211231136580800u 1 2023-11-22 11:37:02 grafana | logger=migrator t=2023-11-22T11:36:55.511423694Z level=info msg="Executing migration" id="Add column disable_resolve_message" policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2211231136580900u 1 2023-11-22 11:37:02 grafana | logger=migrator t=2023-11-22T11:36:55.515247873Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.823609ms policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2211231136580900u 1 2023-11-22 11:37:02 grafana | logger=migrator t=2023-11-22T11:36:55.51858405Z level=info msg="Executing migration" id="add index alert_notification org_id & name" policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2211231136580900u 1 2023-11-22 11:37:02 grafana | logger=migrator t=2023-11-22T11:36:55.519411654Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=827.244µs policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2211231136580900u 1 2023-11-22 11:37:02 grafana | logger=migrator t=2023-11-22T11:36:55.527313784Z level=info msg="Executing migration" id="Update alert table charset" policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2211231136580900u 1 2023-11-22 11:37:02 grafana | logger=migrator t=2023-11-22T11:36:55.527340944Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=28.07µs policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2211231136580900u 1 2023-11-22 11:37:02 grafana | logger=migrator t=2023-11-22T11:36:55.534256309Z level=info msg="Executing migration" id="Update alert_notification table charset" policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2211231136580900u 1 2023-11-22 11:37:02 grafana | logger=migrator t=2023-11-22T11:36:55.534286779Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=31.32µs policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2211231136580900u 1 2023-11-22 11:37:02 grafana | logger=migrator t=2023-11-22T11:36:55.539330004Z level=info msg="Executing migration" id="create notification_journal table v1" policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2211231136580900u 1 2023-11-22 11:37:02 grafana | logger=migrator t=2023-11-22T11:36:55.540022357Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=693.003µs policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2211231136580900u 1 2023-11-22 11:37:02 grafana | logger=migrator t=2023-11-22T11:36:55.543833676Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2211231136580900u 1 2023-11-22 11:37:02 grafana | logger=migrator t=2023-11-22T11:36:55.54462174Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=787.554µs policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2211231136580900u 1 2023-11-22 11:37:02 grafana | logger=migrator t=2023-11-22T11:36:55.551717166Z level=info msg="Executing migration" id="drop alert_notification_journal" policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2211231136580900u 1 2023-11-22 11:37:02 grafana | logger=migrator t=2023-11-22T11:36:55.5525608Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=842.104µs policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2211231136581000u 1 2023-11-22 11:37:02 grafana | logger=migrator t=2023-11-22T11:36:55.55660159Z level=info msg="Executing migration" id="create alert_notification_state table v1" policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2211231136581000u 1 2023-11-22 11:37:02 grafana | logger=migrator t=2023-11-22T11:36:55.557307594Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=705.954µs policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2211231136581000u 1 2023-11-22 11:37:02 grafana | logger=migrator t=2023-11-22T11:36:55.561020443Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2211231136581000u 1 2023-11-22 11:37:02 grafana | logger=migrator t=2023-11-22T11:36:55.56254465Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.523167ms policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2211231136581000u 1 2023-11-22 11:37:02 grafana | logger=migrator t=2023-11-22T11:36:55.568762241Z level=info msg="Executing migration" id="Add for to alert table" policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2211231136581000u 1 2023-11-22 11:37:02 grafana | logger=migrator t=2023-11-22T11:36:55.57241544Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.652739ms policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2211231136581000u 1 2023-11-22 11:37:03 grafana | logger=migrator t=2023-11-22T11:36:55.575222344Z level=info msg="Executing migration" id="Add column uid in alert_notification" policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2211231136581000u 1 2023-11-22 11:37:03 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2211231136581000u 1 2023-11-22 11:37:03 grafana | logger=migrator t=2023-11-22T11:36:55.578768971Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.546607ms policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2211231136581100u 1 2023-11-22 11:37:03 grafana | logger=migrator t=2023-11-22T11:36:55.581677476Z level=info msg="Executing migration" id="Update uid column values in alert_notification" policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2211231136581200u 1 2023-11-22 11:37:03 grafana | logger=migrator t=2023-11-22T11:36:55.581861997Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=184.501µs policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2211231136581200u 1 2023-11-22 11:37:03 grafana | logger=migrator t=2023-11-22T11:36:55.589808027Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2211231136581200u 1 2023-11-22 11:37:03 grafana | logger=migrator t=2023-11-22T11:36:55.591244134Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.433517ms policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2211231136581200u 1 2023-11-22 11:37:03 grafana | logger=migrator t=2023-11-22T11:36:55.596060568Z level=info msg="Executing migration" id="Remove unique index org_id_name" policy-db-migrator | policyadmin: OK @ 1200 grafana | logger=migrator t=2023-11-22T11:36:55.597308594Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.247786ms grafana | logger=migrator t=2023-11-22T11:36:55.601094763Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2023-11-22T11:36:55.606876992Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=5.783539ms grafana | logger=migrator t=2023-11-22T11:36:55.611839597Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2023-11-22T11:36:55.611948428Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=110.18µs grafana | logger=migrator t=2023-11-22T11:36:55.615920477Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2023-11-22T11:36:55.616967573Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.051616ms grafana | logger=migrator t=2023-11-22T11:36:55.623200744Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2023-11-22T11:36:55.624141439Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=940.615µs grafana | logger=migrator t=2023-11-22T11:36:55.627756807Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2023-11-22T11:36:55.627841697Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=85.46µs grafana | logger=migrator t=2023-11-22T11:36:55.631785057Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2023-11-22T11:36:55.633175064Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.388477ms grafana | logger=migrator t=2023-11-22T11:36:55.63840493Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2023-11-22T11:36:55.639972388Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.563888ms grafana | logger=migrator t=2023-11-22T11:36:55.646051678Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2023-11-22T11:36:55.646932393Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=880.465µs grafana | logger=migrator t=2023-11-22T11:36:55.650546151Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2023-11-22T11:36:55.651367885Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=821.874µs grafana | logger=migrator t=2023-11-22T11:36:55.655888227Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2023-11-22T11:36:55.656854512Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=966.495µs grafana | logger=migrator t=2023-11-22T11:36:55.660735702Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2023-11-22T11:36:55.661701367Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=962.785µs grafana | logger=migrator t=2023-11-22T11:36:55.66643404Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2023-11-22T11:36:55.666479291Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=46.391µs grafana | logger=migrator t=2023-11-22T11:36:55.671590536Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2023-11-22T11:36:55.676669212Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=5.079926ms grafana | logger=migrator t=2023-11-22T11:36:55.679974048Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2023-11-22T11:36:55.680725732Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=751.684µs grafana | logger=migrator t=2023-11-22T11:36:55.684033038Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2023-11-22T11:36:55.687809557Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.776269ms grafana | logger=migrator t=2023-11-22T11:36:55.692190329Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2023-11-22T11:36:55.692775852Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=587.103µs grafana | logger=migrator t=2023-11-22T11:36:55.701614036Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2023-11-22T11:36:55.702994553Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.380097ms grafana | logger=migrator t=2023-11-22T11:36:55.706663762Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2023-11-22T11:36:55.707892768Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.228546ms grafana | logger=migrator t=2023-11-22T11:36:55.712529841Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2023-11-22T11:36:55.727730697Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=15.201516ms grafana | logger=migrator t=2023-11-22T11:36:55.731458666Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2023-11-22T11:36:55.732053329Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=594.453µs grafana | logger=migrator t=2023-11-22T11:36:55.734696182Z 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-22T11:36:55.735506586Z 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=810.134µs grafana | logger=migrator t=2023-11-22T11:36:55.739931648Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2023-11-22T11:36:55.74019008Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=258.962µs grafana | logger=migrator t=2023-11-22T11:36:55.743783828Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2023-11-22T11:36:55.744535231Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=751.463µs grafana | logger=migrator t=2023-11-22T11:36:55.748532041Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2023-11-22T11:36:55.748810523Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=278.392µs grafana | logger=migrator t=2023-11-22T11:36:55.754038729Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2023-11-22T11:36:55.757994349Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=3.95547ms grafana | logger=migrator t=2023-11-22T11:36:55.761415606Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2023-11-22T11:36:55.765376856Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=3.96081ms grafana | logger=migrator t=2023-11-22T11:36:55.768964454Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2023-11-22T11:36:55.769783368Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=819.064µs grafana | logger=migrator t=2023-11-22T11:36:55.77423569Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2023-11-22T11:36:55.775053974Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=817.864µs grafana | logger=migrator t=2023-11-22T11:36:55.778936034Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2023-11-22T11:36:55.779142205Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=206.181µs grafana | logger=migrator t=2023-11-22T11:36:55.782398351Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2023-11-22T11:36:55.787627847Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=5.227896ms grafana | logger=migrator t=2023-11-22T11:36:55.792362791Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2023-11-22T11:36:55.793258845Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=894.914µs grafana | logger=migrator t=2023-11-22T11:36:55.796666382Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2023-11-22T11:36:55.796828323Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=161.981µs grafana | logger=migrator t=2023-11-22T11:36:55.800303461Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2023-11-22T11:36:55.800675282Z level=info msg="Migration successfully executed" id="Move region to single row" duration=369.231µs grafana | logger=migrator t=2023-11-22T11:36:55.804680742Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2023-11-22T11:36:55.805473696Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=792.794µs grafana | logger=migrator t=2023-11-22T11:36:55.808773093Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2023-11-22T11:36:55.809771328Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=996.045µs grafana | logger=migrator t=2023-11-22T11:36:55.813513527Z 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-22T11:36:55.815537207Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=2.02187ms grafana | logger=migrator t=2023-11-22T11:36:55.818916274Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-11-22T11:36:55.819943349Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.026325ms grafana | logger=migrator t=2023-11-22T11:36:55.825263856Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2023-11-22T11:36:55.82615351Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=889.284µs grafana | logger=migrator t=2023-11-22T11:36:55.83012943Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2023-11-22T11:36:55.831042984Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=915.954µs grafana | logger=migrator t=2023-11-22T11:36:55.834273231Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2023-11-22T11:36:55.834339731Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=66.86µs grafana | logger=migrator t=2023-11-22T11:36:55.839629607Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2023-11-22T11:36:55.840391201Z level=info msg="Migration successfully executed" id="create test_data table" duration=761.004µs grafana | logger=migrator t=2023-11-22T11:36:55.843530957Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2023-11-22T11:36:55.844734353Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.202146ms grafana | logger=migrator t=2023-11-22T11:36:55.85016885Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2023-11-22T11:36:55.851683738Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.515088ms grafana | logger=migrator t=2023-11-22T11:36:55.856929744Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2023-11-22T11:36:55.858440192Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.511358ms grafana | logger=migrator t=2023-11-22T11:36:55.861772678Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2023-11-22T11:36:55.862006779Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=234.291µs grafana | logger=migrator t=2023-11-22T11:36:55.864937894Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2023-11-22T11:36:55.865305986Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=367.542µs grafana | logger=migrator t=2023-11-22T11:36:55.868677793Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2023-11-22T11:36:55.868757103Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=79.25µs grafana | logger=migrator t=2023-11-22T11:36:55.873629788Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2023-11-22T11:36:55.874651343Z level=info msg="Migration successfully executed" id="create team table" duration=1.019645ms grafana | logger=migrator t=2023-11-22T11:36:55.88208891Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2023-11-22T11:36:55.883786329Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.697009ms grafana | logger=migrator t=2023-11-22T11:36:55.887338746Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2023-11-22T11:36:55.888880344Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.540988ms grafana | logger=migrator t=2023-11-22T11:36:55.894547012Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2023-11-22T11:36:55.900440972Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=5.89521ms grafana | logger=migrator t=2023-11-22T11:36:55.903631158Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2023-11-22T11:36:55.903875229Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=244.551µs grafana | logger=migrator t=2023-11-22T11:36:55.906317171Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2023-11-22T11:36:55.907310606Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=993.475µs grafana | logger=migrator t=2023-11-22T11:36:55.912273911Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2023-11-22T11:36:55.912957105Z level=info msg="Migration successfully executed" id="create team member table" duration=683.014µs grafana | logger=migrator t=2023-11-22T11:36:55.91605637Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2023-11-22T11:36:55.916962105Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=905.505µs grafana | logger=migrator t=2023-11-22T11:36:55.920155851Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2023-11-22T11:36:55.921075015Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=918.764µs grafana | logger=migrator t=2023-11-22T11:36:55.927144866Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2023-11-22T11:36:55.9280516Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=906.854µs grafana | logger=migrator t=2023-11-22T11:36:55.930954915Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2023-11-22T11:36:55.935466547Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.511262ms grafana | logger=migrator t=2023-11-22T11:36:55.939499147Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2023-11-22T11:36:55.94396247Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.464603ms grafana | logger=migrator t=2023-11-22T11:36:55.947011785Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2023-11-22T11:36:55.951534098Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.522223ms grafana | logger=migrator t=2023-11-22T11:36:55.956944405Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2023-11-22T11:36:55.957751449Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=808.174µs grafana | logger=migrator t=2023-11-22T11:36:55.961388857Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2023-11-22T11:36:55.962858754Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.469277ms grafana | logger=migrator t=2023-11-22T11:36:55.969359577Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2023-11-22T11:36:55.970994315Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.634058ms grafana | logger=migrator t=2023-11-22T11:36:55.974320632Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2023-11-22T11:36:55.97598151Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.659708ms grafana | logger=migrator t=2023-11-22T11:36:55.980680694Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2023-11-22T11:36:55.981626838Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=946.094µs grafana | logger=migrator t=2023-11-22T11:36:55.986919935Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2023-11-22T11:36:55.988537673Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.617168ms grafana | logger=migrator t=2023-11-22T11:36:55.992489323Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2023-11-22T11:36:55.99401613Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.526247ms grafana | logger=migrator t=2023-11-22T11:36:55.996944065Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2023-11-22T11:36:55.99790342Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=959.215µs grafana | logger=migrator t=2023-11-22T11:36:56.003570668Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2023-11-22T11:36:56.004031401Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=460.213µs grafana | logger=migrator t=2023-11-22T11:36:56.006652936Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2023-11-22T11:36:56.00704236Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=389.444µs grafana | logger=migrator t=2023-11-22T11:36:56.013303948Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2023-11-22T11:36:56.014397546Z level=info msg="Migration successfully executed" id="create tag table" duration=1.093218ms grafana | logger=migrator t=2023-11-22T11:36:56.017581081Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2023-11-22T11:36:56.019183163Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.600802ms grafana | logger=migrator t=2023-11-22T11:36:56.022515777Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2023-11-22T11:36:56.023204082Z level=info msg="Migration successfully executed" id="create login attempt table" duration=687.555µs grafana | logger=migrator t=2023-11-22T11:36:56.026768538Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2023-11-22T11:36:56.027645304Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=876.546µs grafana | logger=migrator t=2023-11-22T11:36:56.032130367Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2023-11-22T11:36:56.033020903Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=887.746µs grafana | logger=migrator t=2023-11-22T11:36:56.036521909Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-22T11:36:56.057187329Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=20.66535ms grafana | logger=migrator t=2023-11-22T11:36:56.061518471Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2023-11-22T11:36:56.062033275Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=514.524µs grafana | logger=migrator t=2023-11-22T11:36:56.066336546Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2023-11-22T11:36:56.067244493Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=906.397µs grafana | logger=migrator t=2023-11-22T11:36:56.070810089Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2023-11-22T11:36:56.071131602Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=319.383µs grafana | logger=migrator t=2023-11-22T11:36:56.07494905Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2023-11-22T11:36:56.076128358Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.177828ms grafana | logger=migrator t=2023-11-22T11:36:56.080700122Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2023-11-22T11:36:56.081381667Z level=info msg="Migration successfully executed" id="create user auth table" duration=681.395µs grafana | logger=migrator t=2023-11-22T11:36:56.084865733Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2023-11-22T11:36:56.08580616Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=940.367µs grafana | logger=migrator t=2023-11-22T11:36:56.089357846Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2023-11-22T11:36:56.089444807Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=87.431µs grafana | logger=migrator t=2023-11-22T11:36:56.094693925Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2023-11-22T11:36:56.099881213Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.189278ms grafana | logger=migrator t=2023-11-22T11:36:56.10346722Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2023-11-22T11:36:56.108625638Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.158128ms grafana | logger=migrator t=2023-11-22T11:36:56.112439566Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2023-11-22T11:36:56.120178863Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=7.735037ms grafana | logger=migrator t=2023-11-22T11:36:56.124322204Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2023-11-22T11:36:56.129497892Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.174858ms grafana | logger=migrator t=2023-11-22T11:36:56.13336706Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2023-11-22T11:36:56.134372497Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.004827ms grafana | logger=migrator t=2023-11-22T11:36:56.138027324Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2023-11-22T11:36:56.143836477Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.807773ms grafana | logger=migrator t=2023-11-22T11:36:56.149350108Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2023-11-22T11:36:56.150178374Z level=info msg="Migration successfully executed" id="create server_lock table" duration=828.556µs grafana | logger=migrator t=2023-11-22T11:36:56.15370115Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2023-11-22T11:36:56.154709957Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.008537ms grafana | logger=migrator t=2023-11-22T11:36:56.158407315Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2023-11-22T11:36:56.15918114Z level=info msg="Migration successfully executed" id="create user auth token table" duration=773.685µs grafana | logger=migrator t=2023-11-22T11:36:56.163606333Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2023-11-22T11:36:56.164810422Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.203509ms grafana | logger=migrator t=2023-11-22T11:36:56.16996929Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2023-11-22T11:36:56.172234966Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=2.265846ms grafana | logger=migrator t=2023-11-22T11:36:56.175988614Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2023-11-22T11:36:56.177103112Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.113888ms grafana | logger=migrator t=2023-11-22T11:36:56.18218881Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2023-11-22T11:36:56.190636752Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=8.451902ms grafana | logger=migrator t=2023-11-22T11:36:56.194149748Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2023-11-22T11:36:56.195165596Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.018668ms grafana | logger=migrator t=2023-11-22T11:36:56.19854561Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2023-11-22T11:36:56.199290346Z level=info msg="Migration successfully executed" id="create cache_data table" duration=747.056µs grafana | logger=migrator t=2023-11-22T11:36:56.225652299Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2023-11-22T11:36:56.227330532Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.674202ms grafana | logger=migrator t=2023-11-22T11:36:56.232444249Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2023-11-22T11:36:56.233325096Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=880.547µs grafana | logger=migrator t=2023-11-22T11:36:56.244057025Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2023-11-22T11:36:56.245765907Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.695602ms grafana | logger=migrator t=2023-11-22T11:36:56.250759984Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2023-11-22T11:36:56.250894665Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=135.431µs grafana | logger=migrator t=2023-11-22T11:36:56.254861154Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2023-11-22T11:36:56.254986315Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=126.071µs grafana | logger=migrator t=2023-11-22T11:36:56.258695982Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2023-11-22T11:36:56.260208894Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.517412ms grafana | logger=migrator t=2023-11-22T11:36:56.2652025Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-22T11:36:56.266346329Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.143459ms grafana | logger=migrator t=2023-11-22T11:36:56.269905305Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-22T11:36:56.270705491Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=797.766µs grafana | logger=migrator t=2023-11-22T11:36:56.274120826Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-22T11:36:56.274176617Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=56.401µs grafana | logger=migrator t=2023-11-22T11:36:56.27733311Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-22T11:36:56.278107465Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=774.545µs grafana | logger=migrator t=2023-11-22T11:36:56.283549696Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-22T11:36:56.284546363Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=998.367µs grafana | logger=migrator t=2023-11-22T11:36:56.2881466Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-22T11:36:56.289396749Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.252399ms grafana | logger=migrator t=2023-11-22T11:36:56.295695305Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-22T11:36:56.296719563Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.024188ms grafana | logger=migrator t=2023-11-22T11:36:56.300056327Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2023-11-22T11:36:56.307058849Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=6.997742ms grafana | logger=migrator t=2023-11-22T11:36:56.31122394Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2023-11-22T11:36:56.312028036Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=806.946µs grafana | logger=migrator t=2023-11-22T11:36:56.317017582Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2023-11-22T11:36:56.317239864Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=221.792µs grafana | logger=migrator t=2023-11-22T11:36:56.320433407Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2023-11-22T11:36:56.321363124Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=929.207µs grafana | logger=migrator t=2023-11-22T11:36:56.327270928Z 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-22T11:36:56.329327303Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=2.058415ms grafana | logger=migrator t=2023-11-22T11:36:56.333200652Z 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-22T11:36:56.334246369Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.050267ms grafana | logger=migrator t=2023-11-22T11:36:56.337396523Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-22T11:36:56.337459583Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=63.82µs grafana | logger=migrator t=2023-11-22T11:36:56.34256822Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2023-11-22T11:36:56.343738489Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.169489ms grafana | logger=migrator t=2023-11-22T11:36:56.347104134Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2023-11-22T11:36:56.348144002Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.038198ms grafana | logger=migrator t=2023-11-22T11:36:56.353677132Z 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-22T11:36:56.354772571Z 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.095189ms grafana | logger=migrator t=2023-11-22T11:36:56.36158614Z 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-22T11:36:56.362660908Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.074788ms grafana | logger=migrator t=2023-11-22T11:36:56.366454416Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2023-11-22T11:36:56.374464186Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=8.01047ms grafana | logger=migrator t=2023-11-22T11:36:56.386516364Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2023-11-22T11:36:56.387475701Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=959.787µs grafana | logger=migrator t=2023-11-22T11:36:56.393023862Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-11-22T11:36:56.394572714Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.548502ms grafana | logger=migrator t=2023-11-22T11:36:56.398274061Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2023-11-22T11:36:56.434295246Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=36.020975ms grafana | logger=migrator t=2023-11-22T11:36:56.444526582Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2023-11-22T11:36:56.485452203Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=40.922481ms grafana | logger=migrator t=2023-11-22T11:36:56.488762178Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2023-11-22T11:36:56.489818235Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.055247ms grafana | logger=migrator t=2023-11-22T11:36:56.495120275Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-11-22T11:36:56.496668106Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.546591ms grafana | logger=migrator t=2023-11-22T11:36:56.504095621Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2023-11-22T11:36:56.515186122Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=11.077041ms grafana | logger=migrator t=2023-11-22T11:36:56.519510214Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2023-11-22T11:36:56.520092509Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=582.265µs grafana | logger=migrator t=2023-11-22T11:36:56.525181886Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2023-11-22T11:36:56.526866599Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.684183ms grafana | logger=migrator t=2023-11-22T11:36:56.533763569Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2023-11-22T11:36:56.534726826Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=963.327µs grafana | logger=migrator t=2023-11-22T11:36:56.537649428Z 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-22T11:36:56.538679806Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.029908ms grafana | logger=migrator t=2023-11-22T11:36:56.541800099Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-22T11:36:56.541873599Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=73.44µs grafana | logger=migrator t=2023-11-22T11:36:56.548424817Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2023-11-22T11:36:56.559068126Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=10.639769ms grafana | logger=migrator t=2023-11-22T11:36:56.562589572Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2023-11-22T11:36:56.566828043Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=4.237321ms grafana | logger=migrator t=2023-11-22T11:36:56.569988606Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2023-11-22T11:36:56.575740178Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.754622ms grafana | logger=migrator t=2023-11-22T11:36:56.580779966Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2023-11-22T11:36:56.582982222Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=2.198676ms grafana | logger=migrator t=2023-11-22T11:36:56.588293121Z 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-22T11:36:56.589216708Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=924.097µs grafana | logger=migrator t=2023-11-22T11:36:56.598255164Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2023-11-22T11:36:56.602802358Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=4.546464ms grafana | logger=migrator t=2023-11-22T11:36:56.606532466Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2023-11-22T11:36:56.613173854Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.640378ms grafana | logger=migrator t=2023-11-22T11:36:56.618855636Z 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-22T11:36:56.620040365Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.184549ms grafana | logger=migrator t=2023-11-22T11:36:56.623777323Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2023-11-22T11:36:56.63015559Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=6.379097ms grafana | logger=migrator t=2023-11-22T11:36:56.634191739Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2023-11-22T11:36:56.640696427Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.503868ms grafana | logger=migrator t=2023-11-22T11:36:56.645890706Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2023-11-22T11:36:56.646060587Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=169.331µs grafana | logger=migrator t=2023-11-22T11:36:56.649296251Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2023-11-22T11:36:56.650234288Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=936.067µs grafana | logger=migrator t=2023-11-22T11:36:56.654020975Z 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-22T11:36:56.656120601Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" duration=2.095446ms grafana | logger=migrator t=2023-11-22T11:36:56.662054075Z 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-22T11:36:56.663336554Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" duration=1.282339ms grafana | logger=migrator t=2023-11-22T11:36:56.667239653Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-22T11:36:56.667629046Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=387.953µs grafana | logger=migrator t=2023-11-22T11:36:56.672143479Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2023-11-22T11:36:56.681485488Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=9.348669ms grafana | logger=migrator t=2023-11-22T11:36:56.688447489Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2023-11-22T11:36:56.695570281Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=7.169322ms grafana | logger=migrator t=2023-11-22T11:36:56.699979384Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2023-11-22T11:36:56.706953165Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.973121ms grafana | logger=migrator t=2023-11-22T11:36:56.712780348Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2023-11-22T11:36:56.719466337Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.684399ms grafana | logger=migrator t=2023-11-22T11:36:56.726347478Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2023-11-22T11:36:56.733972615Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=7.621147ms grafana | logger=migrator t=2023-11-22T11:36:56.741000306Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2023-11-22T11:36:56.741123947Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=124.051µs grafana | logger=migrator t=2023-11-22T11:36:56.748039368Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2023-11-22T11:36:56.749335738Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.29647ms grafana | logger=migrator t=2023-11-22T11:36:56.76056408Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2023-11-22T11:36:56.769018553Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=8.456673ms grafana | logger=migrator t=2023-11-22T11:36:56.781126302Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2023-11-22T11:36:56.781364383Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=237.851µs grafana | logger=migrator t=2023-11-22T11:36:56.793498173Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2023-11-22T11:36:56.803660148Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=10.161325ms grafana | logger=migrator t=2023-11-22T11:36:56.808256952Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2023-11-22T11:36:56.809200869Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=943.957µs grafana | logger=migrator t=2023-11-22T11:36:56.817849923Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2023-11-22T11:36:56.826587327Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=8.738124ms grafana | logger=migrator t=2023-11-22T11:36:56.833299366Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2023-11-22T11:36:56.834139443Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=839.957µs grafana | logger=migrator t=2023-11-22T11:36:56.841280865Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2023-11-22T11:36:56.84330832Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=2.026155ms grafana | logger=migrator t=2023-11-22T11:36:56.850361382Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2023-11-22T11:36:56.856944801Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.583699ms grafana | logger=migrator t=2023-11-22T11:36:56.863251797Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2023-11-22T11:36:56.864355865Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=1.108778ms grafana | logger=migrator t=2023-11-22T11:36:56.868975849Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2023-11-22T11:36:56.870151818Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.175769ms grafana | logger=migrator t=2023-11-22T11:36:56.879712568Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2023-11-22T11:36:56.880627515Z level=info msg="Migration successfully executed" id="create alert_image table" duration=915.337µs grafana | logger=migrator t=2023-11-22T11:36:56.886262056Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2023-11-22T11:36:56.88814448Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.882464ms grafana | logger=migrator t=2023-11-22T11:36:56.897776751Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2023-11-22T11:36:56.897973173Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=186.982µs grafana | logger=migrator t=2023-11-22T11:36:56.909675069Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2023-11-22T11:36:56.911290461Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.615542ms grafana | logger=migrator t=2023-11-22T11:36:56.919151669Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2023-11-22T11:36:56.920878282Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.731313ms grafana | logger=migrator t=2023-11-22T11:36:56.925920069Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2023-11-22T11:36:56.926439762Z 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-22T11:36:56.932754719Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2023-11-22T11:36:56.933266003Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=514.944µs grafana | logger=migrator t=2023-11-22T11:36:56.938469151Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2023-11-22T11:36:56.940363915Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.894314ms grafana | logger=migrator t=2023-11-22T11:36:56.945989066Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2023-11-22T11:36:56.955241555Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=9.248589ms grafana | logger=migrator t=2023-11-22T11:36:56.964597024Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2023-11-22T11:36:56.966992761Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=2.400427ms grafana | logger=migrator t=2023-11-22T11:36:56.973168307Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2023-11-22T11:36:56.974372096Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.203219ms grafana | logger=migrator t=2023-11-22T11:36:56.979091641Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2023-11-22T11:36:56.979953897Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=861.186µs grafana | logger=migrator t=2023-11-22T11:36:56.985274056Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2023-11-22T11:36:56.98713903Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.864654ms grafana | logger=migrator t=2023-11-22T11:36:56.995061938Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2023-11-22T11:36:56.99666959Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.605642ms grafana | logger=migrator t=2023-11-22T11:36:57.000487308Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2023-11-22T11:36:57.000645819Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=154.381µs grafana | logger=migrator t=2023-11-22T11:36:57.005610006Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2023-11-22T11:36:57.005838437Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=227.991µs grafana | logger=migrator t=2023-11-22T11:36:57.012319554Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2023-11-22T11:36:57.012862978Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=543.444µs grafana | logger=migrator t=2023-11-22T11:36:57.024700522Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2023-11-22T11:36:57.026359824Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.658392ms grafana | logger=migrator t=2023-11-22T11:36:57.030454383Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2023-11-22T11:36:57.031831923Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.37733ms grafana | logger=migrator t=2023-11-22T11:36:57.036298835Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2023-11-22T11:36:57.085082244Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=48.777689ms grafana | logger=migrator t=2023-11-22T11:36:57.092728618Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2023-11-22T11:36:57.103019482Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=10.290844ms grafana | logger=migrator t=2023-11-22T11:36:57.10695106Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2023-11-22T11:36:57.107167182Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=215.832µs grafana | logger=migrator t=2023-11-22T11:36:57.114851697Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2023-11-22T11:36:57.161873372Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=47.023465ms grafana | logger=migrator t=2023-11-22T11:36:57.167506133Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2023-11-22T11:36:57.215379915Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=47.869192ms grafana | logger=migrator t=2023-11-22T11:36:57.220334011Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2023-11-22T11:36:57.220963305Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=629.084µs grafana | logger=migrator t=2023-11-22T11:36:57.22585525Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2023-11-22T11:36:57.227053658Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.196348ms grafana | logger=migrator t=2023-11-22T11:36:57.234797824Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2023-11-22T11:36:57.235230427Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=431.944µs grafana | logger=migrator t=2023-11-22T11:36:57.243144503Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2023-11-22T11:36:57.244488743Z level=info msg="Migration successfully executed" id="create permission table" duration=1.317ms grafana | logger=migrator t=2023-11-22T11:36:57.250960589Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2023-11-22T11:36:57.252734552Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.774863ms grafana | logger=migrator t=2023-11-22T11:36:57.258778085Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2023-11-22T11:36:57.259886053Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.107668ms grafana | logger=migrator t=2023-11-22T11:36:57.266644331Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2023-11-22T11:36:57.267958311Z level=info msg="Migration successfully executed" id="create role table" duration=1.31261ms grafana | logger=migrator t=2023-11-22T11:36:57.273283049Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2023-11-22T11:36:57.282528975Z level=info msg="Migration successfully executed" id="add column display_name" duration=9.246606ms grafana | logger=migrator t=2023-11-22T11:36:57.293284931Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2023-11-22T11:36:57.303260783Z level=info msg="Migration successfully executed" id="add column group_name" duration=9.974732ms grafana | logger=migrator t=2023-11-22T11:36:57.314844656Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2023-11-22T11:36:57.316951401Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=2.106515ms grafana | logger=migrator t=2023-11-22T11:36:57.324896737Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2023-11-22T11:36:57.326064476Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.167079ms grafana | logger=migrator t=2023-11-22T11:36:57.334028483Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2023-11-22T11:36:57.335883316Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.854533ms grafana | logger=migrator t=2023-11-22T11:36:57.341385415Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2023-11-22T11:36:57.342863386Z level=info msg="Migration successfully executed" id="create team role table" duration=1.476601ms grafana | logger=migrator t=2023-11-22T11:36:57.347902192Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2023-11-22T11:36:57.348978Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.075818ms grafana | logger=migrator t=2023-11-22T11:36:57.353306201Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2023-11-22T11:36:57.355222614Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.915083ms grafana | logger=migrator t=2023-11-22T11:36:57.36022698Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2023-11-22T11:36:57.361298318Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.072208ms grafana | logger=migrator t=2023-11-22T11:36:57.371775052Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2023-11-22T11:36:57.373049251Z level=info msg="Migration successfully executed" id="create user role table" duration=1.273489ms grafana | logger=migrator t=2023-11-22T11:36:57.381056639Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2023-11-22T11:36:57.382753901Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.696822ms grafana | logger=migrator t=2023-11-22T11:36:57.389804801Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2023-11-22T11:36:57.390924189Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.118938ms grafana | logger=migrator t=2023-11-22T11:36:57.396951222Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2023-11-22T11:36:57.398680255Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.728583ms grafana | logger=migrator t=2023-11-22T11:36:57.407691619Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2023-11-22T11:36:57.408962108Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.269589ms grafana | logger=migrator t=2023-11-22T11:36:57.413202209Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2023-11-22T11:36:57.414916301Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.713972ms grafana | logger=migrator t=2023-11-22T11:36:57.418458486Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2023-11-22T11:36:57.420189189Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.730793ms grafana | logger=migrator t=2023-11-22T11:36:57.423606203Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2023-11-22T11:36:57.431230537Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.623434ms grafana | logger=migrator t=2023-11-22T11:36:57.43588175Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2023-11-22T11:36:57.436998598Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.116798ms grafana | logger=migrator t=2023-11-22T11:36:57.440564174Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2023-11-22T11:36:57.441664402Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.100038ms grafana | logger=migrator t=2023-11-22T11:36:57.445050246Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2023-11-22T11:36:57.446131004Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.080828ms grafana | logger=migrator t=2023-11-22T11:36:57.450270753Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2023-11-22T11:36:57.451351891Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.080998ms grafana | logger=migrator t=2023-11-22T11:36:57.454633074Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2023-11-22T11:36:57.45541664Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=780.716µs grafana | logger=migrator t=2023-11-22T11:36:57.459140007Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2023-11-22T11:36:57.460229114Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.089237ms grafana | logger=migrator t=2023-11-22T11:36:57.464437945Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2023-11-22T11:36:57.472727494Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.292129ms grafana | logger=migrator t=2023-11-22T11:36:57.476129088Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2023-11-22T11:36:57.484056535Z level=info msg="Migration successfully executed" id="permission kind migration" duration=7.926427ms grafana | logger=migrator t=2023-11-22T11:36:57.491096815Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2023-11-22T11:36:57.500939716Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=9.840231ms grafana | logger=migrator t=2023-11-22T11:36:57.505682899Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2023-11-22T11:36:57.511661032Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=5.976853ms grafana | logger=migrator t=2023-11-22T11:36:57.515368648Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2023-11-22T11:36:57.516512997Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.143659ms grafana | logger=migrator t=2023-11-22T11:36:57.520148083Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2023-11-22T11:36:57.521070599Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=921.956µs grafana | logger=migrator t=2023-11-22T11:36:57.525725132Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2023-11-22T11:36:57.526869181Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.143699ms grafana | logger=migrator t=2023-11-22T11:36:57.530535567Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2023-11-22T11:36:57.530676898Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=142.831µs grafana | logger=migrator t=2023-11-22T11:36:57.534456785Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2023-11-22T11:36:57.534523615Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=67.52µs grafana | logger=migrator t=2023-11-22T11:36:57.538810346Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2023-11-22T11:36:57.539564841Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=753.975µs grafana | logger=migrator t=2023-11-22T11:36:57.543368689Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2023-11-22T11:36:57.544313585Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=946.476µs grafana | logger=migrator t=2023-11-22T11:36:57.548358034Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2023-11-22T11:36:57.549047119Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=688.845µs grafana | logger=migrator t=2023-11-22T11:36:57.552425473Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2023-11-22T11:36:57.552694445Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=268.512µs grafana | logger=migrator t=2023-11-22T11:36:57.556418532Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2023-11-22T11:36:57.556971376Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=553.204µs grafana | logger=migrator t=2023-11-22T11:36:57.561561189Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2023-11-22T11:36:57.562924779Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.36233ms grafana | logger=migrator t=2023-11-22T11:36:57.566531854Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2023-11-22T11:36:57.568279767Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.747443ms grafana | logger=migrator t=2023-11-22T11:36:57.571933423Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2023-11-22T11:36:57.579649468Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=7.717945ms grafana | logger=migrator t=2023-11-22T11:36:57.58413399Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2023-11-22T11:36:57.584239101Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=104.5µs grafana | logger=migrator t=2023-11-22T11:36:57.588437261Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2023-11-22T11:36:57.589897201Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.45858ms grafana | logger=migrator t=2023-11-22T11:36:57.593730808Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2023-11-22T11:36:57.595653122Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.921714ms grafana | logger=migrator t=2023-11-22T11:36:57.601357023Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2023-11-22T11:36:57.602491601Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.131918ms grafana | logger=migrator t=2023-11-22T11:36:57.606153207Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2023-11-22T11:36:57.617583689Z level=info msg="Migration successfully executed" id="add correlation config column" duration=11.431602ms grafana | logger=migrator t=2023-11-22T11:36:57.625857868Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2023-11-22T11:36:57.626947806Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.090278ms grafana | logger=migrator t=2023-11-22T11:36:57.636882327Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2023-11-22T11:36:57.638598889Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.716512ms grafana | logger=migrator t=2023-11-22T11:36:57.648731541Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-22T11:36:57.679179169Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=30.447838ms grafana | logger=migrator t=2023-11-22T11:36:57.682925996Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2023-11-22T11:36:57.683668961Z level=info msg="Migration successfully executed" id="create correlation v2" duration=742.345µs grafana | logger=migrator t=2023-11-22T11:36:57.68912082Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2023-11-22T11:36:57.690319339Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.198409ms grafana | logger=migrator t=2023-11-22T11:36:57.694577079Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2023-11-22T11:36:57.696471563Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.894514ms grafana | logger=migrator t=2023-11-22T11:36:57.702538526Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2023-11-22T11:36:57.703664394Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.125528ms grafana | logger=migrator t=2023-11-22T11:36:57.707575612Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2023-11-22T11:36:57.707900465Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=324.222µs grafana | logger=migrator t=2023-11-22T11:36:57.712180065Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2023-11-22T11:36:57.713456414Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.275509ms grafana | logger=migrator t=2023-11-22T11:36:57.718894663Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2023-11-22T11:36:57.727984698Z level=info msg="Migration successfully executed" id="add provisioning column" duration=9.090695ms grafana | logger=migrator t=2023-11-22T11:36:57.731927586Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2023-11-22T11:36:57.73251413Z level=info msg="Migration successfully executed" id="create entity_events table" duration=584.124µs grafana | logger=migrator t=2023-11-22T11:36:57.736860531Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2023-11-22T11:36:57.737604056Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=742.995µs grafana | logger=migrator t=2023-11-22T11:36:57.741990868Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-22T11:36:57.742768833Z 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-22T11:36:57.746779892Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-22T11:36:57.747593528Z 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-22T11:36:57.751573426Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2023-11-22T11:36:57.752841195Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.266689ms grafana | logger=migrator t=2023-11-22T11:36:57.757439228Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2023-11-22T11:36:57.758433935Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=991.967µs grafana | logger=migrator t=2023-11-22T11:36:57.762135112Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-22T11:36:57.763823744Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.687332ms grafana | logger=migrator t=2023-11-22T11:36:57.767883433Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-22T11:36:57.769687156Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.803173ms grafana | logger=migrator t=2023-11-22T11:36:57.775333076Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-11-22T11:36:57.776388234Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.053438ms grafana | logger=migrator t=2023-11-22T11:36:57.786743587Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-11-22T11:36:57.788420369Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.676752ms grafana | logger=migrator t=2023-11-22T11:36:57.792441028Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2023-11-22T11:36:57.793747528Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.30541ms grafana | logger=migrator t=2023-11-22T11:36:57.798993775Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2023-11-22T11:36:57.800025142Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.030597ms grafana | logger=migrator t=2023-11-22T11:36:57.804410444Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-11-22T11:36:57.806208087Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.797293ms grafana | logger=migrator t=2023-11-22T11:36:57.811853917Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-11-22T11:36:57.812972065Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.118058ms grafana | logger=migrator t=2023-11-22T11:36:57.817730099Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2023-11-22T11:36:57.818923798Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.193579ms grafana | logger=migrator t=2023-11-22T11:36:57.823261639Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2023-11-22T11:36:57.85561254Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=32.351461ms grafana | logger=migrator t=2023-11-22T11:36:57.860879817Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2023-11-22T11:36:57.869461399Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=8.580722ms grafana | logger=migrator t=2023-11-22T11:36:57.874033131Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2023-11-22T11:36:57.883462169Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=9.427848ms grafana | logger=migrator t=2023-11-22T11:36:57.887905841Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2023-11-22T11:36:57.888134732Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=228.301µs grafana | logger=migrator t=2023-11-22T11:36:57.89347186Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2023-11-22T11:36:57.904819812Z level=info msg="Migration successfully executed" id="add share column" duration=11.348112ms grafana | logger=migrator t=2023-11-22T11:36:57.91443912Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2023-11-22T11:36:57.914927554Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=491.624µs grafana | logger=migrator t=2023-11-22T11:36:57.920831346Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2023-11-22T11:36:57.922363577Z level=info msg="Migration successfully executed" id="create file table" duration=1.532211ms grafana | logger=migrator t=2023-11-22T11:36:57.928702952Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2023-11-22T11:36:57.92987813Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.174528ms grafana | logger=migrator t=2023-11-22T11:36:57.937089472Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2023-11-22T11:36:57.938298821Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.209119ms grafana | logger=migrator t=2023-11-22T11:36:57.94376748Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2023-11-22T11:36:57.94517984Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.41208ms grafana | logger=migrator t=2023-11-22T11:36:57.949513311Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2023-11-22T11:36:57.95076332Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.251019ms grafana | logger=migrator t=2023-11-22T11:36:57.956580151Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2023-11-22T11:36:57.956755893Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=175.342µs grafana | logger=migrator t=2023-11-22T11:36:57.960520879Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2023-11-22T11:36:57.960760551Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=239.212µs grafana | logger=migrator t=2023-11-22T11:36:57.9647906Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2023-11-22T11:36:57.965836488Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=1.045607ms grafana | logger=migrator t=2023-11-22T11:36:57.970939214Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2023-11-22T11:36:57.971415177Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=475.453µs grafana | logger=migrator t=2023-11-22T11:36:57.975283525Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2023-11-22T11:36:57.976115331Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=831.706µs grafana | logger=migrator t=2023-11-22T11:36:57.980289421Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2023-11-22T11:36:57.989074003Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.783662ms grafana | logger=migrator t=2023-11-22T11:36:57.992966311Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2023-11-22T11:36:57.993140282Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=174.451µs grafana | logger=migrator t=2023-11-22T11:36:57.997328402Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2023-11-22T11:36:57.998231989Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=905.417µs grafana | logger=migrator t=2023-11-22T11:36:58.001832394Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2023-11-22T11:36:58.00257843Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=747.076µs grafana | logger=migrator t=2023-11-22T11:36:58.006621087Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2023-11-22T11:36:58.00706787Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=446.163µs grafana | logger=migrator t=2023-11-22T11:36:58.010627389Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2023-11-22T11:36:58.011150912Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=523.333µs grafana | logger=migrator t=2023-11-22T11:36:58.015630647Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2023-11-22T11:36:58.027729945Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=12.099148ms grafana | logger=migrator t=2023-11-22T11:36:58.031112314Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2023-11-22T11:36:58.037183877Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.072453ms grafana | logger=migrator t=2023-11-22T11:36:58.040873128Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2023-11-22T11:36:58.041664862Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=791.784µs grafana | logger=migrator t=2023-11-22T11:36:58.045996426Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2023-11-22T11:36:58.149982397Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=103.984271ms grafana | logger=migrator t=2023-11-22T11:36:58.153839949Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2023-11-22T11:36:58.154732183Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=891.674µs grafana | logger=migrator t=2023-11-22T11:36:58.158335433Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2023-11-22T11:36:58.15953387Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.197767ms grafana | logger=migrator t=2023-11-22T11:36:58.164662808Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2023-11-22T11:36:58.198562294Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=33.899276ms grafana | logger=migrator t=2023-11-22T11:36:58.206499038Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2023-11-22T11:36:58.206787089Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=284.971µs grafana | logger=migrator t=2023-11-22T11:36:58.211631106Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2023-11-22T11:36:58.212070839Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=439.053µs grafana | logger=migrator t=2023-11-22T11:36:58.21595652Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2023-11-22T11:36:58.216381692Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=425.012µs grafana | logger=migrator t=2023-11-22T11:36:58.220231544Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2023-11-22T11:36:58.221196309Z level=info msg="Migration successfully executed" id="create folder table" duration=962.045µs grafana | logger=migrator t=2023-11-22T11:36:58.225831594Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2023-11-22T11:36:58.227534704Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.70128ms grafana | logger=migrator t=2023-11-22T11:36:58.231562896Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2023-11-22T11:36:58.233794378Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=2.230182ms grafana | logger=migrator t=2023-11-22T11:36:58.237393378Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2023-11-22T11:36:58.237463878Z level=info msg="Migration successfully executed" id="Update folder title length" duration=73.72µs grafana | logger=migrator t=2023-11-22T11:36:58.240838697Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-11-22T11:36:58.242109644Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.270487ms grafana | logger=migrator t=2023-11-22T11:36:58.246699749Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-11-22T11:36:58.247789195Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.089576ms grafana | logger=migrator t=2023-11-22T11:36:58.251538496Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2023-11-22T11:36:58.252745882Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.206936ms grafana | logger=migrator t=2023-11-22T11:36:58.256113511Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2023-11-22T11:36:58.257046176Z level=info msg="Migration successfully executed" id="create anon_device table" duration=932.325µs grafana | logger=migrator t=2023-11-22T11:36:58.26150649Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2023-11-22T11:36:58.262785477Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.279157ms grafana | logger=migrator t=2023-11-22T11:36:58.267080761Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2023-11-22T11:36:58.268264697Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.183966ms grafana | logger=migrator t=2023-11-22T11:36:58.273067174Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2023-11-22T11:36:58.274498112Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.429558ms grafana | logger=migrator t=2023-11-22T11:36:58.278221582Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2023-11-22T11:36:58.279415209Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.193257ms grafana | logger=migrator t=2023-11-22T11:36:58.28323172Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2023-11-22T11:36:58.28502937Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.79604ms grafana | logger=migrator t=2023-11-22T11:36:58.289919617Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2023-11-22T11:36:58.29052105Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=602.563µs grafana | logger=migrator t=2023-11-22T11:36:58.294617352Z level=info msg="migrations completed" performed=517 skipped=0 duration=3.861750326s grafana | logger=sqlstore t=2023-11-22T11:36:58.304192915Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2023-11-22T11:36:58.304549947Z level=info msg="Created default organization" grafana | logger=secrets t=2023-11-22T11:36:58.310694951Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=local.finder t=2023-11-22T11:36:58.381747511Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=query_data t=2023-11-22T11:36:58.384338875Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2023-11-22T11:36:58.387348082Z level=info msg="Live Push Gateway initialization" grafana | logger=infra.usagestats.collector t=2023-11-22T11:37:00.538023525Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2023-11-22T11:37:00.539974026Z level=info msg="inserting datasource from configuration " name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2023-11-22T11:37:00.553325849Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2023-11-22T11:37:00.553374989Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2023-11-22T11:37:00.55353727Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2023-11-22T11:37:00.554477526Z level=info msg="Warming state cache for startup" grafana | logger=http.server t=2023-11-22T11:37:00.555562191Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=sqlstore.transactions t=2023-11-22T11:37:00.56618189Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=grafana.update.checker t=2023-11-22T11:37:00.58082849Z level=info msg="Update check succeeded" duration=26.984678ms grafana | logger=plugins.update.checker t=2023-11-22T11:37:00.621212062Z level=info msg="Update check succeeded" duration=66.477675ms grafana | logger=sqlstore.transactions t=2023-11-22T11:37:00.64097045Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=ngalert.migration t=2023-11-22T11:37:00.646557461Z level=info msg=Starting grafana | logger=ngalert.migration t=2023-11-22T11:37:00.647494646Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-11-22T11:37:00.648091119Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-11-22T11:37:00.649080455Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-11-22T11:37:00.652670835Z level=warn msg="No available receivers" grafana | logger=ngalert.state.manager t=2023-11-22T11:37:00.663812646Z level=info msg="State cache has been initialized" states=0 duration=109.33156ms grafana | logger=ngalert.scheduler t=2023-11-22T11:37:00.663853106Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2023-11-22T11:37:00.663923717Z level=info msg=starting first_tick=2023-11-22T11:37:10Z grafana | logger=ngalert.multiorg.alertmanager t=2023-11-22T11:37:00.663976937Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=sqlstore.transactions t=2023-11-22T11:37:00.665067583Z level=info msg="Database locked, sleeping then retrying" error="executing migration: database is locked" retry=0 code="database is locked" grafana | logger=ngalert.migration t=2023-11-22T11:37:00.684190508Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-11-22T11:37:00.684801151Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-11-22T11:37:00.685597205Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-11-22T11:37:00.68646622Z level=warn msg="No available receivers" grafana | logger=sqlstore.transactions t=2023-11-22T11:37:00.699001479Z level=info msg="Database locked, sleeping then retrying" error="executing migration: database is locked" retry=1 code="database is locked" grafana | logger=ngalert.migration t=2023-11-22T11:37:00.699575492Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-11-22T11:37:00.699912504Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-11-22T11:37:00.700428727Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-11-22T11:37:00.700893419Z level=warn msg="No available receivers" grafana | logger=sqlstore.transactions t=2023-11-22T11:37:00.701162931Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2023-11-22T11:37:00.713609839Z level=info msg="Database locked, sleeping then retrying" error="executing migration: database is locked" retry=2 code="database is locked" grafana | logger=ngalert.migration t=2023-11-22T11:37:00.733179036Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-11-22T11:37:00.733619279Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-11-22T11:37:00.734165132Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-11-22T11:37:00.734732135Z level=warn msg="No available receivers" grafana | logger=sqlstore.transactions t=2023-11-22T11:37:00.744207287Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" grafana | logger=sqlstore.transactions t=2023-11-22T11:37:00.748457271Z level=info msg="Database locked, sleeping then retrying" error="executing migration: database is locked" retry=3 code="database is locked" grafana | logger=ngalert.migration t=2023-11-22T11:37:00.770027669Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-11-22T11:37:00.77024309Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-11-22T11:37:00.770543842Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-11-22T11:37:00.770854893Z level=warn msg="No available receivers" grafana | logger=sqlstore.transactions t=2023-11-22T11:37:00.78304788Z level=info msg="Database locked, sleeping then retrying" error="executing migration: database is locked" retry=4 code="database is locked" grafana | logger=ngalert.migration t=2023-11-22T11:37:00.783946385Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-11-22T11:37:00.784458538Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-11-22T11:37:00.785165392Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-11-22T11:37:00.785829626Z level=warn msg="No available receivers" grafana | logger=server t=2023-11-22T11:37:00.800182784Z level=error msg="Stopped background service" service=*migration.MigrationService reason="migration failed: executing migration: database is locked" grafana | logger=ticker t=2023-11-22T11:37:00.800365205Z level=info msg=stopped last_tick=2023-11-22T11:37:00Z grafana | logger=tracing t=2023-11-22T11:37:00.800655247Z level=info msg="Closing tracing" grafana | logger=provisioning.dashboard type=file name="Policy Framework" t=2023-11-22T11:37:00.8012592Z level=error msg="failed to save dashboard" file=/var/lib/grafana/dashboards/dashboard-xacml-pdp.json error="SQL query for existing dashboard by UID failed: context canceled" grafana | logger=provisioning.dashboard type=file name="Policy Framework" t=2023-11-22T11:37:00.803567713Z level=error msg="failed to save dashboard" file=/var/lib/grafana/dashboards/sla-metrics.json error="SQL query for existing dashboard by UID failed: context canceled" grafana | logger=provisioning.dashboard type=file name="Policy Framework" t=2023-11-22T11:37:00.805242532Z level=error msg="failed to save dashboard" file=/var/lib/grafana/dashboards/dashboard-apex-pdp.json error="SQL query for existing dashboard by UID failed: context canceled" grafana | logger=provisioning.dashboard type=file name="Policy Framework" t=2023-11-22T11:37:00.806537519Z level=error msg="failed to save dashboard" file=/var/lib/grafana/dashboards/dashboard-api.json error="SQL query for existing dashboard by UID failed: context canceled" grafana | logger=provisioning.dashboard type=file name="Policy Framework" t=2023-11-22T11:37:00.808837342Z level=error msg="failed to save dashboard" file=/var/lib/grafana/dashboards/dashboard-jvm-basic.json error="SQL query for existing dashboard by UID failed: context canceled" grafana | logger=provisioning.dashboard type=file name="Policy Framework" t=2023-11-22T11:37:00.810203099Z level=error msg="failed to save dashboard" file=/var/lib/grafana/dashboards/dashboard-pap.json error="SQL query for existing dashboard by UID failed: context canceled" grafana | Error: ✗ *migration.MigrationService run error: migration failed: executing migration: database is locked ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping mariadb ... Stopping prometheus ... Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing grafana ... Removing policy-db-migrator ... Removing mariadb ... Removing prometheus ... Removing grafana ... done Removing policy-api ... done Removing policy-db-migrator ... done Removing mariadb ... done Removing prometheus ... done Removing network compose_default ++ cd /w/workspace/policy-api-london-project-csit-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.50b3NjFxQP ]] + rsync -av /tmp/tmp.50b3NjFxQP/ /w/workspace/policy-api-london-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,345,933 bytes received 95 bytes 2,692,056.00 bytes/sec total size is 1,345,287 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 2076 killed; [ssh-agent] Stopped. Robot results publisher started... -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins3209673878899833887.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins5213040723685163942.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/jenkins6219449039302335739.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-4RQk from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-4RQk/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins6468807137768753182.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config5596025303811949555tmp 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/jenkins9601896439234367997.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins14378812828857899344.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-4RQk from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-4RQk/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins13579384734286593185.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins14667408964756423052.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-4RQk from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-4RQk/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/jenkins10298390715606051155.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-4RQk from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-4RQk/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/187 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-2922 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 848 27406 0 3912 30863 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:33:56:a3 brd ff:ff:ff:ff:ff:ff inet 10.30.106.94/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86078sec preferred_lft 86078sec inet6 fe80::f816:3eff:fe33:56a3/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:89:75:eb:d3 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-2922) 11/22/23 _x86_64_ (8 CPU) 11:34:09 LINUX RESTART (8 CPU) 11:35:02 tps rtps wtps bread/s bwrtn/s 11:36:01 158.04 27.89 130.15 2114.76 91225.35 11:37:01 404.52 21.21 383.30 2436.23 72084.57 11:38:01 40.34 0.30 40.04 15.73 514.58 11:39:01 32.61 1.38 31.23 117.58 2086.20 Average: 158.88 12.63 146.25 1167.13 41269.56 11:35:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:36:01 29944480 31711668 2994740 9.09 78080 1990088 1403672 4.13 867804 1821928 173012 11:37:01 27985492 31548904 4953728 15.04 124164 3669980 2829356 8.32 1167632 3349664 264 11:38:01 26831212 30425592 6108008 18.54 125868 3671216 4211624 12.39 2328224 3341452 56 11:39:01 28092256 31623664 4846964 14.71 128092 3641116 1423288 4.19 1155816 3272524 45464 Average: 28213360 31327457 4725860 14.35 114051 3243100 2466985 7.26 1379869 2946392 54699 11:35:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:36:01 ens3 65.36 42.16 1135.95 8.48 0.00 0.00 0.00 0.00 11:36:01 lo 1.15 1.15 0.12 0.12 0.00 0.00 0.00 0.00 11:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:37:01 ens3 292.83 184.15 8944.72 16.11 0.00 0.00 0.00 0.00 11:37:01 lo 9.27 9.27 0.85 0.85 0.00 0.00 0.00 0.00 11:37:01 veth86df6b3 0.00 0.22 0.00 0.02 0.00 0.00 0.00 0.00 11:37:01 veth66d176b 0.18 0.27 0.01 0.02 0.00 0.00 0.00 0.00 11:38:01 ens3 5.32 4.20 1.26 1.36 0.00 0.00 0.00 0.00 11:38:01 lo 9.40 9.40 8.24 8.24 0.00 0.00 0.00 0.00 11:38:01 veth86df6b3 0.18 0.27 0.02 0.47 0.00 0.00 0.00 0.00 11:38:01 veth66d176b 114.81 94.42 46.67 119.05 0.00 0.00 0.00 0.01 11:39:01 ens3 46.19 41.04 71.09 22.64 0.00 0.00 0.00 0.00 11:39:01 lo 9.00 9.00 0.74 0.74 0.00 0.00 0.00 0.00 11:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: ens3 102.58 68.00 2544.12 12.16 0.00 0.00 0.00 0.00 Average: lo 7.23 7.23 2.50 2.50 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-2922) 11/22/23 _x86_64_ (8 CPU) 11:34:09 LINUX RESTART (8 CPU) 11:35:02 CPU %user %nice %system %iowait %steal %idle 11:36:01 all 10.22 0.00 0.83 2.33 0.03 86.59 11:36:01 0 20.92 0.00 1.32 0.53 0.03 77.19 11:36:01 1 22.06 0.00 1.85 0.90 0.05 75.14 11:36:01 2 2.12 0.00 0.27 0.15 0.05 97.40 11:36:01 3 3.38 0.00 0.53 14.18 0.03 81.87 11:36:01 4 7.99 0.00 0.66 0.85 0.03 90.46 11:36:01 5 18.20 0.00 1.16 1.07 0.03 79.54 11:36:01 6 6.88 0.00 0.56 0.34 0.00 92.22 11:36:01 7 0.27 0.00 0.29 0.64 0.00 98.80 11:37:01 all 11.69 0.00 3.48 2.60 0.06 82.18 11:37:01 0 11.38 0.00 3.20 0.82 0.05 84.55 11:37:01 1 14.15 0.00 3.75 1.60 0.05 80.45 11:37:01 2 27.73 0.00 4.28 1.80 0.07 66.12 11:37:01 3 6.74 0.00 3.42 3.86 0.05 85.94 11:37:01 4 7.07 0.00 2.76 0.36 0.05 89.77 11:37:01 5 11.48 0.00 3.18 0.98 0.05 84.31 11:37:01 6 7.23 0.00 4.08 9.92 0.07 78.70 11:37:01 7 7.75 0.00 3.08 1.45 0.05 87.68 11:38:01 all 14.56 0.00 1.40 0.19 0.05 83.81 11:38:01 0 19.78 0.00 1.69 0.00 0.05 78.48 11:38:01 1 13.27 0.00 1.11 0.84 0.05 84.74 11:38:01 2 15.14 0.00 1.30 0.02 0.05 83.49 11:38:01 3 9.82 0.00 1.19 0.12 0.03 88.85 11:38:01 4 16.37 0.00 1.30 0.00 0.05 82.28 11:38:01 5 18.21 0.00 1.69 0.02 0.08 80.00 11:38:01 6 7.80 0.00 0.77 0.07 0.02 91.35 11:38:01 7 16.10 0.00 2.17 0.47 0.05 81.21 11:39:01 all 3.85 0.00 0.52 0.17 0.02 95.44 11:39:01 0 1.12 0.00 0.45 0.03 0.02 98.38 11:39:01 1 2.37 0.00 0.52 0.27 0.02 96.83 11:39:01 2 1.77 0.00 0.43 0.33 0.02 97.45 11:39:01 3 2.52 0.00 0.35 0.02 0.00 97.11 11:39:01 4 0.65 0.00 0.50 0.18 0.02 98.64 11:39:01 5 16.31 0.00 1.14 0.05 0.05 82.45 11:39:01 6 5.50 0.00 0.47 0.28 0.03 93.71 11:39:01 7 0.55 0.00 0.28 0.15 0.02 99.00 Average: all 10.07 0.00 1.55 1.31 0.04 87.02 Average: 0 13.27 0.00 1.67 0.34 0.04 84.69 Average: 1 12.92 0.00 1.80 0.90 0.04 84.34 Average: 2 11.69 0.00 1.57 0.58 0.05 86.12 Average: 3 5.62 0.00 1.37 4.50 0.03 88.48 Average: 4 8.03 0.00 1.30 0.34 0.04 90.28 Average: 5 16.05 0.00 1.79 0.53 0.05 81.58 Average: 6 6.85 0.00 1.47 2.64 0.03 89.01 Average: 7 6.18 0.00 1.46 0.68 0.03 91.66