Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-3907 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-montreal-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-Ott2f7KwbZK6/agent.2080 SSH_AGENT_PID=2082 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_2222836388435951280.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_2222836388435951280.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-montreal-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/montreal^{commit} # timeout=10 Checking out Revision 828a01cf695f53919dbff4ebbb1499c9674812b5 (refs/remotes/origin/montreal) > git config core.sparsecheckout # timeout=10 > git checkout -f 828a01cf695f53919dbff4ebbb1499c9674812b5 # timeout=30 Commit message: "Set Montreal default branch" > git rev-list --no-walk 828a01cf695f53919dbff4ebbb1499c9674812b5 # 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-montreal-project-csit-api] $ /bin/bash /tmp/jenkins13275969422226958999.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-3wFx 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-3wFx/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-3wFx/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.1 aspy.yaml==1.3.0 attrs==23.1.0 autopage==0.5.2 Babel==2.13.1 beautifulsoup4==4.12.2 boto3==1.33.11 botocore==1.33.11 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.25.2 httplib2==0.22.0 identify==2.5.33 idna==3.6 importlib-metadata==7.0.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.2 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.1.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.32.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.13.2 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.8.2 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.9.0 tzdata==2023.3 urllib3==1.26.18 virtualenv==20.25.0 wcwidth==0.2.12 websocket-client==1.7.0 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-montreal-project-csit-api] $ /bin/sh /tmp/jenkins14067836188564423682.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-montreal-project-csit-api] $ /bin/sh -xe /tmp/jenkins1019255780910844038.sh + /w/workspace/policy-api-montreal-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-montreal-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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin + export SCRIPTS=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts + SCRIPTS=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts + export ROBOT_VARIABLES= + ROBOT_VARIABLES= + export PROJECT=api + PROJECT=api + cd /w/workspace/policy-api-montreal-project-csit-api + rm -rf /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' +++ mktemp -d ++ ROBOT_VENV=/tmp/tmp.I9syEFByu4 ++ echo ROBOT_VENV=/tmp/tmp.I9syEFByu4 +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.I9syEFByu4 ++ source /tmp/tmp.I9syEFByu4/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.I9syEFByu4 +++ 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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin +++ PATH=/tmp/tmp.I9syEFByu4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin +++ export PATH +++ '[' -n '' ']' +++ '[' -z '' ']' +++ _OLD_VIRTUAL_PS1= +++ '[' 'x(tmp.I9syEFByu4) ' '!=' x ']' +++ PS1='(tmp.I9syEFByu4) ' +++ 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-montreal-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.8.5 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.6 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.I9syEFByu4/src/onap ++ rm -rf /tmp/tmp.I9syEFByu4/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.5 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.6 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.I9syEFByu4/bin/activate + '[' -z /tmp/tmp.I9syEFByu4/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.I9syEFByu4/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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-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.I9syEFByu4 ++ 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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin ++ PATH=/tmp/tmp.I9syEFByu4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin ++ export PATH ++ '[' -n '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1='(tmp.I9syEFByu4) ' ++ '[' 'x(tmp.I9syEFByu4) ' '!=' x ']' ++ PS1='(tmp.I9syEFByu4) (tmp.I9syEFByu4) ' ++ 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-montreal-project-csit-api/csit/resources/tests + TEST_PLAN_DIR=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests + export TEST_OPTIONS= + TEST_OPTIONS= ++ mktemp -d + WORKDIR=/tmp/tmp.JONjVMWmIG + cd /tmp/tmp.JONjVMWmIG + 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-montreal-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-montreal-project-csit-api/.gitreview +++ GERRIT_BRANCH=montreal +++ echo GERRIT_BRANCH=montreal GERRIT_BRANCH=montreal +++ rm -rf /w/workspace/policy-api-montreal-project-csit-api/models +++ mkdir /w/workspace/policy-api-montreal-project-csit-api/models +++ git clone -b montreal --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-montreal-project-csit-api/models Cloning into '/w/workspace/policy-api-montreal-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-montreal-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-montreal-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-montreal-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-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-montreal-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:3.0.3-SNAPSHOT)... 3.0.3-SNAPSHOT: Pulling from onap/policy-db-migrator Digest: sha256:535b9fec1d4848bde53cf1c2d10e10228e438d5a3d19ff53070fe232da33e1ca Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.0.3-SNAPSHOT Pulling api (nexus3.onap.org:10001/onap/policy-api:3.0.3-SNAPSHOT)... 3.0.3-SNAPSHOT: Pulling from onap/policy-api Digest: sha256:8d92621d8c2db53e521c2d1638b6a3401be0e528ad514a311771ba2d2337d7ea Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.0.3-SNAPSHOT Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:a67e5e402ff5410b86ec48b39eab1a3c4df2a7e78a71bf025ec5e32e09090ad4 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 policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done Creating prometheus ... done Creating grafana ... Creating grafana ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-montreal-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS grafana Up 10 seconds policy-api Up 12 seconds policy-db-migrator Up 13 seconds prometheus Up 11 seconds mariadb Up 14 seconds NAMES STATUS grafana Up 15 seconds policy-api Up 17 seconds prometheus Up 16 seconds mariadb Up 19 seconds NAMES STATUS grafana Up 20 seconds policy-api Up 22 seconds prometheus Up 21 seconds mariadb Up 24 seconds NAMES STATUS grafana Up 25 seconds policy-api Up 27 seconds prometheus Up 26 seconds mariadb Up 29 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-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-montreal-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 18:14:49 up 3 min, 0 users, load average: 1.87, 0.80, 0.31 Tasks: 178 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.1 us, 2.2 sy, 0.0 ni, 83.1 id, 3.5 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.4G 26G 1.0M 4.0G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up 25 seconds policy-api Up 27 seconds prometheus Up 26 seconds mariadb Up 29 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS ea4fb2165f5d grafana 0.02% 96.8MiB / 31.41GiB 0.30% 17kB / 3.08kB 0B / 23.4MB 23 d0262e248c9c policy-api 0.14% 502.6MiB / 31.41GiB 1.56% 999kB / 710kB 0B / 0B 56 7587f0293386 prometheus 0.00% 18.63MiB / 31.41GiB 0.06% 920B / 158B 0B / 0B 13 265a7d3925ad mariadb 0.01% 100.9MiB / 31.41GiB 0.31% 986kB / 1.18MB 11MB / 63.6MB 26 + echo + cd /tmp/tmp.JONjVMWmIG + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' api-slas.robot' + sed 's|^|/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-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-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-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-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-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-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ============================================================================== api ============================================================================== api.Api-Test ============================================================================== Healthcheck :: Verify policy api health check | 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 | 22 tests, 22 passed, 0 failed ============================================================================== api.Api-Slas ============================================================================== WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForHealthcheck :: Validate component healthche... | 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 | 9 tests, 9 passed, 0 failed ============================================================================== api | PASS | 31 tests, 31 passed, 0 failed ============================================================================== Output: /tmp/tmp.JONjVMWmIG/output.xml Log: /tmp/tmp.JONjVMWmIG/log.html Report: /tmp/tmp.JONjVMWmIG/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-montreal-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api Up About a minute prometheus Up About a minute mariadb Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 18:16:00 up 4 min, 0 users, load average: 0.71, 0.69, 0.31 Tasks: 176 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.4 us, 1.8 sy, 0.0 ni, 85.9 id, 2.8 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 1.0M 4.0G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api Up About a minute prometheus Up About a minute mariadb Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS ea4fb2165f5d grafana 0.02% 96.98MiB / 31.41GiB 0.30% 18.2kB / 4.37kB 0B / 23.4MB 23 d0262e248c9c policy-api 0.10% 827.8MiB / 31.41GiB 2.57% 7.01MB / 2.55MB 0B / 0B 56 7587f0293386 prometheus 0.00% 24.75MiB / 31.41GiB 0.08% 54.9kB / 6.5kB 0B / 0B 13 265a7d3925ad mariadb 0.01% 101.9MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 11MB / 64MB 18 + echo + source_safely /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose ++ cd /w/workspace/policy-api-montreal-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to grafana, policy-api, policy-db-migrator, prometheus, mariadb grafana | logger=settings t=2023-12-10T18:14:24.081170822Z level=info msg="Starting Grafana" version=10.2.2 commit=161e3cac5075540918e3a39004f2364ad104d5bb branch=HEAD compiled=2023-11-20T12:28:00Z grafana | logger=settings t=2023-12-10T18:14:24.081490084Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2023-12-10T18:14:24.081503134Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2023-12-10T18:14:24.081507664Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2023-12-10T18:14:24.081511384Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2023-12-10T18:14:24.081533075Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2023-12-10T18:14:24.081543575Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2023-12-10T18:14:24.081547695Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2023-12-10T18:14:24.081551985Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2023-12-10T18:14:24.081556225Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2023-12-10T18:14:24.081561955Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2023-12-10T18:14:24.081566135Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2023-12-10T18:14:24.081571185Z level=info msg=Target target=[all] grafana | logger=settings t=2023-12-10T18:14:24.081583345Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2023-12-10T18:14:24.081588035Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2023-12-10T18:14:24.081610515Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2023-12-10T18:14:24.081619345Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2023-12-10T18:14:24.081639945Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2023-12-10T18:14:24.081652005Z level=info msg="App mode production" grafana | logger=sqlstore t=2023-12-10T18:14:24.082098178Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2023-12-10T18:14:24.082120588Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2023-12-10T18:14:24.092627577Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2023-12-10T18:14:24.093896546Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2023-12-10T18:14:24.094757161Z level=info msg="Migration successfully executed" id="create migration_log table" duration=860.005µs grafana | logger=migrator t=2023-12-10T18:14:24.103601339Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2023-12-10T18:14:24.104365564Z level=info msg="Migration successfully executed" id="create user table" duration=765.105µs grafana | logger=migrator t=2023-12-10T18:14:24.110755306Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2023-12-10T18:14:24.111979144Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.222918ms grafana | logger=migrator t=2023-12-10T18:14:24.163746784Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2023-12-10T18:14:24.165068452Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.323058ms grafana | logger=migrator t=2023-12-10T18:14:24.169581662Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2023-12-10T18:14:24.170726019Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.144217ms grafana | logger=migrator t=2023-12-10T18:14:24.178093098Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2023-12-10T18:14:24.179272025Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.179267ms grafana | logger=migrator t=2023-12-10T18:14:24.185609787Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2023-12-10T18:14:24.190117457Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.50722ms grafana | logger=migrator t=2023-12-10T18:14:24.195059579Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2023-12-10T18:14:24.195836924Z level=info msg="Migration successfully executed" id="create user table v2" duration=777.975µs grafana | logger=migrator t=2023-12-10T18:14:24.200186953Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2023-12-10T18:14:24.201434921Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.247568ms grafana | logger=migrator t=2023-12-10T18:14:24.206351463Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2023-12-10T18:14:24.207603761Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.251668ms grafana | logger=migrator t=2023-12-10T18:14:24.236173649Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2023-12-10T18:14:24.236896843Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=722.354µs grafana | logger=migrator t=2023-12-10T18:14:24.239669471Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2023-12-10T18:14:24.240578397Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=908.446µs grafana | logger=migrator t=2023-12-10T18:14:24.24558549Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2023-12-10T18:14:24.246679037Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.093277ms grafana | logger=migrator t=2023-12-10T18:14:24.254213737Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2023-12-10T18:14:24.254254377Z level=info msg="Migration successfully executed" id="Update user table charset" duration=39.15µs grafana | logger=migrator t=2023-12-10T18:14:24.258820067Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2023-12-10T18:14:24.26082275Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=2.002263ms grafana | logger=migrator t=2023-12-10T18:14:24.265474511Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2023-12-10T18:14:24.265960254Z level=info msg="Migration successfully executed" id="Add missing user data" duration=485.203µs grafana | logger=migrator t=2023-12-10T18:14:24.271055757Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2023-12-10T18:14:24.272209635Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.153478ms grafana | logger=migrator t=2023-12-10T18:14:24.276330922Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2023-12-10T18:14:24.277123517Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=793.245µs grafana | logger=migrator t=2023-12-10T18:14:24.280752311Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2023-12-10T18:14:24.28208253Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.329419ms grafana | logger=migrator t=2023-12-10T18:14:24.285598753Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2023-12-10T18:14:24.295218856Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=9.619603ms grafana | logger=migrator t=2023-12-10T18:14:24.300764542Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2023-12-10T18:14:24.301359636Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=594.914µs grafana | logger=migrator t=2023-12-10T18:14:24.305337552Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2023-12-10T18:14:24.30654862Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.211138ms grafana | logger=migrator t=2023-12-10T18:14:24.31262879Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2023-12-10T18:14:24.313914018Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.284748ms grafana | logger=migrator t=2023-12-10T18:14:24.319390594Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2023-12-10T18:14:24.320422781Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.030927ms grafana | logger=migrator t=2023-12-10T18:14:24.325391293Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2023-12-10T18:14:24.326221549Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=829.516µs grafana | logger=migrator t=2023-12-10T18:14:24.330463137Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2023-12-10T18:14:24.330489147Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=26.16µs grafana | logger=migrator t=2023-12-10T18:14:24.334931956Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2023-12-10T18:14:24.335708171Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=775.965µs grafana | logger=migrator t=2023-12-10T18:14:24.339688067Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2023-12-10T18:14:24.340911265Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.222178ms grafana | logger=migrator t=2023-12-10T18:14:24.345681836Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2023-12-10T18:14:24.346404491Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=722.414µs grafana | logger=migrator t=2023-12-10T18:14:24.350831139Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2023-12-10T18:14:24.351603534Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=773.615µs grafana | logger=migrator t=2023-12-10T18:14:24.356416046Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-10T18:14:24.361437809Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=5.024103ms grafana | logger=migrator t=2023-12-10T18:14:24.365137233Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2023-12-10T18:14:24.366040109Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=902.056µs grafana | logger=migrator t=2023-12-10T18:14:24.37077712Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2023-12-10T18:14:24.371616815Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=839.435µs grafana | logger=migrator t=2023-12-10T18:14:24.375006787Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2023-12-10T18:14:24.375855223Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=848.656µs grafana | logger=migrator t=2023-12-10T18:14:24.38008306Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2023-12-10T18:14:24.381332828Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.250078ms grafana | logger=migrator t=2023-12-10T18:14:24.416107855Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2023-12-10T18:14:24.417403414Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.322899ms grafana | logger=migrator t=2023-12-10T18:14:24.421646162Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2023-12-10T18:14:24.422130365Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=483.603µs grafana | logger=migrator t=2023-12-10T18:14:24.425788878Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2023-12-10T18:14:24.426536093Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=746.525µs grafana | logger=migrator t=2023-12-10T18:14:24.430115617Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2023-12-10T18:14:24.43061633Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=500.153µs grafana | logger=migrator t=2023-12-10T18:14:24.435088299Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2023-12-10T18:14:24.435835814Z level=info msg="Migration successfully executed" id="create star table" duration=747.155µs grafana | logger=migrator t=2023-12-10T18:14:24.440739876Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2023-12-10T18:14:24.442044875Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.306538ms grafana | logger=migrator t=2023-12-10T18:14:24.446112721Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2023-12-10T18:14:24.446850596Z level=info msg="Migration successfully executed" id="create org table v1" duration=737.385µs grafana | logger=migrator t=2023-12-10T18:14:24.452896205Z level=info msg="Executing migration" id="create index UQE_org_name - v1" mariadb | 2023-12-10 18:14:19+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-12-10 18:14:20+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2023-12-10 18:14:20+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-12-10 18:14:20+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2023-12-10 18:14:20 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-12-10 18:14:20 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-10 18:14:20 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-12-10 18:14:21+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2023-12-10 18:14:21+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2023-12-10 18:14:21+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2023-12-10 18:14:21 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 100 ... mariadb | 2023-12-10 18:14:21 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-12-10 18:14:21 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-12-10 18:14:21 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-12-10 18:14:21 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-12-10 18:14:21 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-12-10 18:14:21 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-10 18:14:21 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-12-10 18:14:21 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-12-10 18:14:21 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-12-10 18:14:21 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-12-10 18:14:21 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-12-10 18:14:21 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-12-10 18:14:21 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2023-12-10 18:14:21 0 [Note] Plugin 'FEEDBACK' is disabled. grafana | logger=migrator t=2023-12-10T18:14:24.454124173Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.228008ms grafana | logger=migrator t=2023-12-10T18:14:24.45822042Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2023-12-10T18:14:24.459395278Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.173468ms grafana | logger=migrator t=2023-12-10T18:14:24.464961764Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2023-12-10T18:14:24.465783299Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=824.865µs grafana | logger=migrator t=2023-12-10T18:14:24.471010843Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2023-12-10T18:14:24.472396353Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.38461ms grafana | logger=migrator t=2023-12-10T18:14:24.479339358Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2023-12-10T18:14:24.480657236Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.322418ms grafana | logger=migrator t=2023-12-10T18:14:24.488753359Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2023-12-10T18:14:24.4887902Z level=info msg="Migration successfully executed" id="Update org table charset" duration=37.981µs grafana | logger=migrator t=2023-12-10T18:14:24.497066373Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2023-12-10T18:14:24.497102444Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=37.551µs grafana | logger=migrator t=2023-12-10T18:14:24.504673283Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2023-12-10T18:14:24.505093026Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=419.003µs grafana | logger=migrator t=2023-12-10T18:14:24.512354523Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2023-12-10T18:14:24.513513111Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.157978ms grafana | logger=migrator t=2023-12-10T18:14:24.520963219Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2023-12-10T18:14:24.522383699Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.42241ms grafana | logger=migrator t=2023-12-10T18:14:24.529407744Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2023-12-10T18:14:24.531224776Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.815962ms grafana | logger=migrator t=2023-12-10T18:14:24.537449827Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2023-12-10T18:14:24.538255352Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=805.035µs grafana | logger=migrator t=2023-12-10T18:14:24.545033606Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2023-12-10T18:14:24.546402625Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.368699ms grafana | logger=migrator t=2023-12-10T18:14:24.55323536Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2023-12-10T18:14:24.554457178Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.221748ms grafana | logger=migrator t=2023-12-10T18:14:24.558872477Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2023-12-10T18:14:24.566437866Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=7.567939ms grafana | logger=migrator t=2023-12-10T18:14:24.573100949Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2023-12-10T18:14:24.573666393Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=565.334µs grafana | logger=migrator t=2023-12-10T18:14:24.58085055Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2023-12-10T18:14:24.582194979Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.344129ms grafana | logger=migrator t=2023-12-10T18:14:24.588169638Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2023-12-10T18:14:24.589017753Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=847.185µs grafana | logger=migrator t=2023-12-10T18:14:24.596026669Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2023-12-10T18:14:24.596931285Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=903.906µs grafana | logger=migrator t=2023-12-10T18:14:24.604389164Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2023-12-10T18:14:24.605563581Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.171387ms grafana | logger=migrator t=2023-12-10T18:14:24.611292399Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2023-12-10T18:14:24.611387169Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=95.52µs grafana | logger=migrator t=2023-12-10T18:14:24.61757891Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2023-12-10T18:14:24.620353458Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.773968ms grafana | logger=migrator t=2023-12-10T18:14:24.626164306Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2023-12-10T18:14:24.62838942Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.226334ms grafana | logger=migrator t=2023-12-10T18:14:24.633432193Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2023-12-10T18:14:24.635168555Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.737392ms grafana | logger=migrator t=2023-12-10T18:14:24.64210608Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2023-12-10T18:14:24.642793144Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=684.634µs grafana | logger=migrator t=2023-12-10T18:14:24.647984948Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2023-12-10T18:14:24.650812347Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.826299ms mariadb | 2023-12-10 18:14:21 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-12-10 18:14:21 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-12-10 18:14:21 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-12-10 18:14:21 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-12-10 18:14:22+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2023-12-10 18:14:24+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2023-12-10 18:14:24+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2023-12-10 18:14:24+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2023-12-10 18:14:24+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' grafana | logger=migrator t=2023-12-10T18:14:24.655635918Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" 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-12-10 18:14:25+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2023-12-10 18:14:25 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2023-12-10 18:14:25 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2023-12-10 18:14:25 0 [Note] InnoDB: Starting shutdown... mariadb | 2023-12-10 18:14:25 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2023-12-10 18:14:25 0 [Note] InnoDB: Buffer pool(s) dump completed at 231210 18:14:25 mariadb | 2023-12-10 18:14:25 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2023-12-10 18:14:25 0 [Note] InnoDB: Shutdown completed; log sequence number 322313; transaction id 298 mariadb | 2023-12-10 18:14:25 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2023-12-10 18:14:25+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2023-12-10 18:14:25+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2023-12-10 18:14:25 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2023-12-10 18:14:25 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-12-10 18:14:25 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-12-10 18:14:25 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-12-10 18:14:25 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-12-10 18:14:25 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-12-10 18:14:25 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-10 18:14:25 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-12-10 18:14:25 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-12-10 18:14:25 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-12-10 18:14:25 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-12-10 18:14:25 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-12-10 18:14:25 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-12-10 18:14:25 0 [Note] InnoDB: log sequence number 322313; transaction id 299 mariadb | 2023-12-10 18:14:25 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2023-12-10 18:14:25 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-12-10 18:14:25 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-12-10 18:14:25 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2023-12-10 18:14:25 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2023-12-10 18:14:25 0 [Note] Server socket created on IP: '::'. mariadb | 2023-12-10 18:14:25 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-12-10 18:14:25 0 [Note] InnoDB: Buffer pool(s) load completed at 231210 18:14:25 mariadb | 2023-12-10 18:14:26 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) mariadb | 2023-12-10 18:14:26 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb (172.17.0.3) 3306 port [tcp/mysql] succeeded! policy-db-migrator | 321 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 | Preparing upgrade release version: 1300 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 policy-db-migrator | upgrade: 0 -> 1300 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 grafana | logger=migrator t=2023-12-10T18:14:24.656442983Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=806.505µs grafana | logger=migrator t=2023-12-10T18:14:24.662626084Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2023-12-10T18:14:24.663742141Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.116087ms grafana | logger=migrator t=2023-12-10T18:14:24.669879671Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2023-12-10T18:14:24.669919231Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=40.9µs grafana | logger=migrator t=2023-12-10T18:14:24.675251856Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2023-12-10T18:14:24.675287676Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=36.66µs grafana | logger=migrator t=2023-12-10T18:14:24.682147821Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2023-12-10T18:14:24.685239901Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.09185ms grafana | logger=migrator t=2023-12-10T18:14:24.691945975Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2023-12-10T18:14:24.694984285Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=3.03744ms grafana | logger=migrator t=2023-12-10T18:14:24.701453467Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2023-12-10T18:14:24.703235218Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.781671ms grafana | logger=migrator t=2023-12-10T18:14:24.708852495Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2023-12-10T18:14:24.711715894Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.855059ms grafana | logger=migrator t=2023-12-10T18:14:24.716665026Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2023-12-10T18:14:24.716949198Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=283.782µs grafana | logger=migrator t=2023-12-10T18:14:24.724679978Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2023-12-10T18:14:24.725406873Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=726.505µs grafana | logger=migrator t=2023-12-10T18:14:24.731162431Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2023-12-10T18:14:24.732751481Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.58834ms grafana | logger=migrator t=2023-12-10T18:14:24.73864287Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2023-12-10T18:14:24.73868252Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=40.55µs grafana | logger=migrator t=2023-12-10T18:14:24.743846913Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2023-12-10T18:14:24.745085421Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.238358ms grafana | logger=migrator t=2023-12-10T18:14:24.752167048Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2023-12-10T18:14:24.753088504Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=921.026µs grafana | logger=migrator t=2023-12-10T18:14:24.760332631Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-10T18:14:24.770509977Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=10.176896ms grafana | logger=migrator t=2023-12-10T18:14:24.776281005Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2023-12-10T18:14:24.777303012Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=1.021307ms grafana | logger=migrator t=2023-12-10T18:14:24.781951762Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2023-12-10T18:14:24.782854028Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=902.456µs grafana | logger=migrator t=2023-12-10T18:14:24.790152495Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2023-12-10T18:14:24.791377263Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.223978ms grafana | logger=migrator t=2023-12-10T18:14:24.798318839Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2023-12-10T18:14:24.798760882Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=455.713µs grafana | logger=migrator t=2023-12-10T18:14:24.804803891Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2023-12-10T18:14:24.805570046Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=763.095µs grafana | logger=migrator t=2023-12-10T18:14:24.814668555Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2023-12-10T18:14:24.817796676Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.127361ms grafana | logger=migrator t=2023-12-10T18:14:24.822665348Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2023-12-10T18:14:24.823411873Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=745.855µs grafana | logger=migrator t=2023-12-10T18:14:24.830231747Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2023-12-10T18:14:24.830513169Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=276.192µs grafana | logger=migrator t=2023-12-10T18:14:24.836416097Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2023-12-10T18:14:24.836679949Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=264.652µs grafana | logger=migrator t=2023-12-10T18:14:24.876176076Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2023-12-10T18:14:24.877358164Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.182038ms grafana | logger=migrator t=2023-12-10T18:14:24.881985454Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2023-12-10T18:14:24.885187135Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.202351ms grafana | logger=migrator t=2023-12-10T18:14:24.890198888Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2023-12-10T18:14:24.891024444Z level=info msg="Migration successfully executed" id="create data_source table" duration=824.586µs grafana | logger=migrator t=2023-12-10T18:14:24.897089283Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2023-12-10T18:14:24.898242261Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.155028ms grafana | logger=migrator t=2023-12-10T18:14:24.903999748Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2023-12-10T18:14:24.905246846Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.246448ms grafana | logger=migrator t=2023-12-10T18:14:24.910995414Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2023-12-10T18:14:24.912062391Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.066477ms grafana | logger=migrator t=2023-12-10T18:14:24.921050799Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2023-12-10T18:14:24.922130607Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.079828ms grafana | logger=migrator t=2023-12-10T18:14:24.930577862Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2023-12-10T18:14:24.940655878Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=10.077886ms grafana | logger=migrator t=2023-12-10T18:14:24.9455986Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2023-12-10T18:14:24.946392965Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=793.885µs grafana | logger=migrator t=2023-12-10T18:14:24.952879997Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2023-12-10T18:14:24.953657862Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=777.705µs grafana | logger=migrator t=2023-12-10T18:14:24.959684711Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2023-12-10T18:14:24.961174351Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.48883ms grafana | logger=migrator t=2023-12-10T18:14:24.967809125Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2023-12-10T18:14:24.96868587Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=876.325µs grafana | logger=migrator t=2023-12-10T18:14:24.976411411Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2023-12-10T18:14:24.979974844Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.560883ms grafana | logger=migrator t=2023-12-10T18:14:24.985799692Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2023-12-10T18:14:24.987993796Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.193274ms grafana | logger=migrator t=2023-12-10T18:14:24.993258071Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2023-12-10T18:14:24.993290651Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=33.76µs grafana | logger=migrator t=2023-12-10T18:14:24.999728733Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2023-12-10T18:14:25.000004525Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=274.872µs grafana | logger=migrator t=2023-12-10T18:14:25.005615862Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2023-12-10T18:14:25.009192257Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.576675ms grafana | logger=migrator t=2023-12-10T18:14:25.013545736Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2023-12-10T18:14:25.013711407Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=165.741µs grafana | logger=migrator t=2023-12-10T18:14:25.019121463Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2023-12-10T18:14:25.019362715Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=241.882µs grafana | logger=migrator t=2023-12-10T18:14:25.025751518Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2023-12-10T18:14:25.029359683Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.607465ms grafana | logger=migrator t=2023-12-10T18:14:25.034242116Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2023-12-10T18:14:25.034409357Z level=info msg="Migration successfully executed" id="Update uid value" duration=167.271µs grafana | logger=migrator t=2023-12-10T18:14:25.039509031Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2023-12-10T18:14:25.040320357Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=805.926µs grafana | logger=migrator t=2023-12-10T18:14:25.046167266Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2023-12-10T18:14:25.047623486Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.45456ms grafana | logger=migrator t=2023-12-10T18:14:25.055004937Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2023-12-10T18:14:25.056126394Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.121547ms grafana | logger=migrator t=2023-12-10T18:14:25.061760922Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2023-12-10T18:14:25.063028101Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.265779ms grafana | logger=migrator t=2023-12-10T18:14:25.070546512Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2023-12-10T18:14:25.07176294Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.216408ms grafana | logger=migrator t=2023-12-10T18:14:25.080048337Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2023-12-10T18:14:25.081436816Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.387719ms grafana | logger=migrator t=2023-12-10T18:14:25.091921107Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2023-12-10T18:14:25.093090755Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.169758ms grafana | logger=migrator t=2023-12-10T18:14:25.098571213Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2023-12-10T18:14:25.099942212Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.370829ms policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-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 :: (v3.1.4) policy-api | policy-api | [2023-12-10T18:14:35.156+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 22 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2023-12-10T18:14:35.158+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2023-12-10T18:14:37.098+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2023-12-10T18:14:37.211+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 94 ms. Found 6 JPA repository interfaces. policy-api | [2023-12-10T18:14:37.642+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2023-12-10T18:14:37.642+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2023-12-10T18:14:38.304+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2023-12-10T18:14:38.316+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2023-12-10T18:14:38.319+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2023-12-10T18:14:38.319+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] policy-api | [2023-12-10T18:14:38.417+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2023-12-10T18:14:38.418+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 3185 ms policy-api | [2023-12-10T18:14:38.864+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2023-12-10T18:14:38.951+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-api | [2023-12-10T18:14:38.954+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-api | [2023-12-10T18:14:39.015+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2023-12-10T18:14:39.366+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-api | [2023-12-10T18:14:39.388+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2023-12-10T18:14:39.488+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@2620e717 policy-api | [2023-12-10T18:14:39.491+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. 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-api | [2023-12-10T18:14:39.526+00:00|WARN|deprecation|main] HHH90000025: MariaDB103Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) policy-api | [2023-12-10T18:14:39.528+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead policy-api | [2023-12-10T18:14:41.472+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-api | [2023-12-10T18:14:41.475+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2023-12-10T18:14:42.799+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2023-12-10T18:14:43.660+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2023-12-10T18:14:44.778+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2023-12-10T18:14:45.002+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@543d242e, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@5f967ad3, org.springframework.security.web.context.SecurityContextHolderFilter@19bd1f98, org.springframework.security.web.header.HeaderWriterFilter@7b3d759f, org.springframework.security.web.authentication.logout.LogoutFilter@276961df, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@c7a7d3, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@69cf9acb, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@5f160f9c, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@5c1348c6, org.springframework.security.web.access.ExceptionTranslationFilter@15200332, org.springframework.security.web.access.intercept.AuthorizationFilter@607c7f58] policy-api | [2023-12-10T18:14:45.963+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2023-12-10T18:14:46.023+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2023-12-10T18:14:46.070+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2023-12-10T18:14:46.098+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.699 seconds (process running for 12.357) policy-api | [2023-12-10T18:14:52.329+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2023-12-10T18:14:52.329+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2023-12-10T18:14:52.331+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms policy-api | [2023-12-10T18:14:55.171+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2023-12-10T18:14:55.301+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes policy-api | [2023-12-10T18:14:55.556+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2023-12-10T18:14:56.774+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies policy-api | [2023-12-10T18:14:58.805+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2023-12-10T18:14:59.141+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2023-12-10T18:14:59.367+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2023-12-10T18:14:59.600+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2023-12-10T18:14:59.823+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2023-12-10T18:15:00.048+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 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 | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0690-toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0770-toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0780-toscarequirements.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | prometheus | ts=2023-12-10T18:14:22.908Z 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-12-10T18:14:22.908Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.1, branch=HEAD, revision=63894216648f0d6be310c9d16fb48293c45c9310)" prometheus | ts=2023-12-10T18:14:22.908Z caller=main.go:588 level=info build_context="(go=go1.21.5, platform=linux/amd64, user=root@71f108ff5632, date=20231208-23:33:22, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2023-12-10T18:14:22.908Z 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-12-10T18:14:22.908Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2023-12-10T18:14:22.909Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2023-12-10T18:14:22.932Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2023-12-10T18:14:22.932Z caller=main.go:1024 level=info msg="Starting TSDB ..." prometheus | ts=2023-12-10T18:14:22.934Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2023-12-10T18:14:22.934Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2023-12-10T18:14:22.936Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2023-12-10T18:14:22.936Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=4.12µs prometheus | ts=2023-12-10T18:14:22.936Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2023-12-10T18:14:22.939Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2023-12-10T18:14:22.941Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=110.541µs wal_replay_duration=3.716994ms wbl_replay_duration=450ns total_replay_duration=3.855575ms prometheus | ts=2023-12-10T18:14:22.945Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2023-12-10T18:14:22.945Z caller=main.go:1048 level=info msg="TSDB started" prometheus | ts=2023-12-10T18:14:22.945Z caller=main.go:1230 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2023-12-10T18:14:22.947Z caller=main.go:1267 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.735512ms db_storage=2.04µs remote_storage=2.69µs web_handler=730ns query_engine=1.49µs scrape=411.193µs scrape_sd=370.992µs notify=223.201µs notify_sd=28.571µs rules=2.37µs tracing=8.34µs prometheus | ts=2023-12-10T18:14:22.947Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." prometheus | ts=2023-12-10T18:14:22.947Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." policy-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdp.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE jpapdpstatistics_enginestats a policy-db-migrator | JOIN pdpstatistics b policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp policy-db-migrator | SET a.id = b.id policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-sequence.sql policy-db-migrator | -------------- policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscatrigger policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaparameter policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-upgrade.sql policy-db-migrator | -------------- policy-db-migrator | select 'upgrade to 1100 completed' as msg policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | msg policy-db-migrator | upgrade to 1100 completed policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | TRUNCATE TABLE sequence policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE statistics_sequence policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1300) policy-db-migrator | name version policy-db-migrator | policyadmin 1300 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:27 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:27 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:27 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:27 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:27 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:27 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:27 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:27 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:27 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:27 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:27 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:27 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:27 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:27 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:27 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:27 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:27 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:27 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:27 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:27 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:28 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:28 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:28 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:28 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:28 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:28 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:28 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:28 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:28 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:28 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:28 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:28 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:28 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:28 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:28 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:28 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:28 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:28 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:28 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:28 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:28 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:28 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:28 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:28 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:29 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:29 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:29 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:29 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:29 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:29 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:29 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:29 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:29 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:29 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:29 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:29 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:29 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:29 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:29 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:29 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:29 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:29 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:29 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:29 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:29 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:29 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:29 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:29 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:30 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:30 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:30 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:30 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:30 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:30 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:30 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:30 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:30 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:30 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:30 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:30 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:30 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:30 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:30 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:30 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:30 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:30 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:30 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:30 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:31 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:31 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:31 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:31 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:31 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:31 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:31 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1012231814270800u 1 2023-12-10 18:14:31 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1012231814270900u 1 2023-12-10 18:14:31 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1012231814270900u 1 2023-12-10 18:14:31 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1012231814270900u 1 2023-12-10 18:14:31 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1012231814270900u 1 2023-12-10 18:14:31 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1012231814270900u 1 2023-12-10 18:14:31 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1012231814270900u 1 2023-12-10 18:14:31 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1012231814270900u 1 2023-12-10 18:14:31 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1012231814270900u 1 2023-12-10 18:14:31 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1012231814270900u 1 2023-12-10 18:14:31 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1012231814270900u 1 2023-12-10 18:14:32 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1012231814270900u 1 2023-12-10 18:14:32 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1012231814270900u 1 2023-12-10 18:14:32 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1012231814270900u 1 2023-12-10 18:14:32 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1012231814271000u 1 2023-12-10 18:14:32 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1012231814271000u 1 2023-12-10 18:14:32 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1012231814271000u 1 2023-12-10 18:14:32 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1012231814271000u 1 2023-12-10 18:14:32 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1012231814271000u 1 2023-12-10 18:14:32 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1012231814271000u 1 2023-12-10 18:14:32 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1012231814271000u 1 2023-12-10 18:14:32 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1012231814271000u 1 2023-12-10 18:14:32 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1012231814271000u 1 2023-12-10 18:14:32 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1012231814271100u 1 2023-12-10 18:14:32 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1012231814271200u 1 2023-12-10 18:14:32 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1012231814271200u 1 2023-12-10 18:14:32 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1012231814271200u 1 2023-12-10 18:14:32 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1012231814271200u 1 2023-12-10 18:14:32 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 1012231814271300u 1 2023-12-10 18:14:32 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 1012231814271300u 1 2023-12-10 18:14:32 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 1012231814271300u 1 2023-12-10 18:14:32 policy-db-migrator | policyadmin: OK @ 1300 grafana | logger=migrator t=2023-12-10T18:14:25.104545193Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2023-12-10T18:14:25.105258338Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=712.995µs grafana | logger=migrator t=2023-12-10T18:14:25.109669098Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2023-12-10T18:14:25.120559182Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=10.891493ms grafana | logger=migrator t=2023-12-10T18:14:25.126443341Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2023-12-10T18:14:25.127071826Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=625.325µs grafana | logger=migrator t=2023-12-10T18:14:25.132724054Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2023-12-10T18:14:25.133713831Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=927.616µs grafana | logger=migrator t=2023-12-10T18:14:25.138236012Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2023-12-10T18:14:25.139564071Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.326299ms grafana | logger=migrator t=2023-12-10T18:14:25.145495081Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2023-12-10T18:14:25.146965761Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.4689ms grafana | logger=migrator t=2023-12-10T18:14:25.153735837Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2023-12-10T18:14:25.15416782Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=430.413µs grafana | logger=migrator t=2023-12-10T18:14:25.159060193Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2023-12-10T18:14:25.159664427Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=603.584µs grafana | logger=migrator t=2023-12-10T18:14:25.164601311Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2023-12-10T18:14:25.164803522Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=201.831µs grafana | logger=migrator t=2023-12-10T18:14:25.173841704Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2023-12-10T18:14:25.176393541Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.551127ms grafana | logger=migrator t=2023-12-10T18:14:25.184563096Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2023-12-10T18:14:25.187791098Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=3.226462ms grafana | logger=migrator t=2023-12-10T18:14:25.192886752Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2023-12-10T18:14:25.193248145Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=362.173µs grafana | logger=migrator t=2023-12-10T18:14:25.196573518Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2023-12-10T18:14:25.199088535Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.514447ms grafana | logger=migrator t=2023-12-10T18:14:25.203633186Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2023-12-10T18:14:25.206130622Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.496707ms grafana | logger=migrator t=2023-12-10T18:14:25.209527016Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2023-12-10T18:14:25.210257981Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=730.114µs grafana | logger=migrator t=2023-12-10T18:14:25.214095287Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2023-12-10T18:14:25.214694611Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=596.824µs grafana | logger=migrator t=2023-12-10T18:14:25.219198121Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2023-12-10T18:14:25.2204519Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.252339ms grafana | logger=migrator t=2023-12-10T18:14:25.224183865Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2023-12-10T18:14:25.225538424Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.354279ms grafana | logger=migrator t=2023-12-10T18:14:25.229094899Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2023-12-10T18:14:25.229932174Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=836.305µs grafana | logger=migrator t=2023-12-10T18:14:25.234374994Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2023-12-10T18:14:25.23526296Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=887.556µs grafana | logger=migrator t=2023-12-10T18:14:25.238760664Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2023-12-10T18:14:25.238907235Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=146.441µs grafana | logger=migrator t=2023-12-10T18:14:25.24250618Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2023-12-10T18:14:25.242656931Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=150.591µs grafana | logger=migrator t=2023-12-10T18:14:25.247117761Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2023-12-10T18:14:25.250898337Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=3.781466ms grafana | logger=migrator t=2023-12-10T18:14:25.254467591Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2023-12-10T18:14:25.257199149Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.731278ms grafana | logger=migrator t=2023-12-10T18:14:25.260900965Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2023-12-10T18:14:25.261084616Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=183.591µs grafana | logger=migrator t=2023-12-10T18:14:25.264581209Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2023-12-10T18:14:25.265354184Z level=info msg="Migration successfully executed" id="create quota table v1" duration=772.585µs grafana | logger=migrator t=2023-12-10T18:14:25.269795995Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2023-12-10T18:14:25.271155324Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.359109ms grafana | logger=migrator t=2023-12-10T18:14:25.27496971Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2023-12-10T18:14:25.27505012Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=81.17µs grafana | logger=migrator t=2023-12-10T18:14:25.278492224Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2023-12-10T18:14:25.279237389Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=744.845µs grafana | logger=migrator t=2023-12-10T18:14:25.321159414Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2023-12-10T18:14:25.322771755Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.664102ms grafana | logger=migrator t=2023-12-10T18:14:25.326764012Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2023-12-10T18:14:25.329938363Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=3.175091ms grafana | logger=migrator t=2023-12-10T18:14:25.333323456Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2023-12-10T18:14:25.333422617Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=98.841µs grafana | logger=migrator t=2023-12-10T18:14:25.33679361Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2023-12-10T18:14:25.337666376Z level=info msg="Migration successfully executed" id="create session table" duration=871.746µs grafana | logger=migrator t=2023-12-10T18:14:25.342160306Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2023-12-10T18:14:25.342336247Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=175.291µs grafana | logger=migrator t=2023-12-10T18:14:25.345997272Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2023-12-10T18:14:25.346256684Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=258.982µs grafana | logger=migrator t=2023-12-10T18:14:25.35009449Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2023-12-10T18:14:25.351199127Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.103797ms grafana | logger=migrator t=2023-12-10T18:14:25.355765018Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2023-12-10T18:14:25.356479293Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=713.805µs grafana | logger=migrator t=2023-12-10T18:14:25.360071938Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2023-12-10T18:14:25.360172798Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=101.4µs grafana | logger=migrator t=2023-12-10T18:14:25.363767653Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2023-12-10T18:14:25.363914384Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=143.151µs grafana | logger=migrator t=2023-12-10T18:14:25.368687376Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2023-12-10T18:14:25.373506319Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.820773ms grafana | logger=migrator t=2023-12-10T18:14:25.377988159Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2023-12-10T18:14:25.380963079Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=2.97413ms grafana | logger=migrator t=2023-12-10T18:14:25.385156448Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2023-12-10T18:14:25.385359509Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=202.501µs grafana | logger=migrator t=2023-12-10T18:14:25.389460747Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2023-12-10T18:14:25.389627978Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=168.101µs grafana | logger=migrator t=2023-12-10T18:14:25.39870398Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2023-12-10T18:14:25.399961359Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.253149ms grafana | logger=migrator t=2023-12-10T18:14:25.411096924Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2023-12-10T18:14:25.411208425Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=112.201µs grafana | logger=migrator t=2023-12-10T18:14:25.423134656Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2023-12-10T18:14:25.428714143Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=5.578767ms grafana | logger=migrator t=2023-12-10T18:14:25.436812829Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2023-12-10T18:14:25.43704644Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=233.322µs grafana | logger=migrator t=2023-12-10T18:14:25.44579416Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2023-12-10T18:14:25.450788083Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=4.990153ms grafana | logger=migrator t=2023-12-10T18:14:25.460125147Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2023-12-10T18:14:25.464570727Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=4.44389ms grafana | logger=migrator t=2023-12-10T18:14:25.492245025Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2023-12-10T18:14:25.492472487Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=229.232µs grafana | logger=migrator t=2023-12-10T18:14:25.498333926Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2023-12-10T18:14:25.499833186Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.49909ms grafana | logger=migrator t=2023-12-10T18:14:25.504607749Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2023-12-10T18:14:25.505481465Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=873.616µs grafana | logger=migrator t=2023-12-10T18:14:25.510259947Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2023-12-10T18:14:25.511796318Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.535971ms grafana | logger=migrator t=2023-12-10T18:14:25.51810387Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2023-12-10T18:14:25.519159658Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.055288ms grafana | logger=migrator t=2023-12-10T18:14:25.524520594Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2023-12-10T18:14:25.526077985Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.556821ms grafana | logger=migrator t=2023-12-10T18:14:25.530813177Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2023-12-10T18:14:25.532270787Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.45738ms grafana | logger=migrator t=2023-12-10T18:14:25.537480252Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2023-12-10T18:14:25.539349935Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=1.868603ms grafana | logger=migrator t=2023-12-10T18:14:25.544409359Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2023-12-10T18:14:25.545398526Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=988.847µs grafana | logger=migrator t=2023-12-10T18:14:25.550845353Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2023-12-10T18:14:25.552249042Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.401329ms grafana | logger=migrator t=2023-12-10T18:14:25.556969084Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2023-12-10T18:14:25.572233578Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=15.265314ms grafana | logger=migrator t=2023-12-10T18:14:25.575862242Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2023-12-10T18:14:25.576389156Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=525.414µs grafana | logger=migrator t=2023-12-10T18:14:25.580942347Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2023-12-10T18:14:25.581912353Z 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=969.196µs grafana | logger=migrator t=2023-12-10T18:14:25.585927641Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2023-12-10T18:14:25.586451974Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=524.353µs grafana | logger=migrator t=2023-12-10T18:14:25.591539549Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2023-12-10T18:14:25.592434865Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=895.246µs grafana | logger=migrator t=2023-12-10T18:14:25.597243228Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2023-12-10T18:14:25.598253245Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.010396ms grafana | logger=migrator t=2023-12-10T18:14:25.60344436Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2023-12-10T18:14:25.607030294Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.585014ms grafana | logger=migrator t=2023-12-10T18:14:25.612477411Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2023-12-10T18:14:25.615883844Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.406023ms grafana | logger=migrator t=2023-12-10T18:14:25.623631357Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2023-12-10T18:14:25.627156531Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.522804ms grafana | logger=migrator t=2023-12-10T18:14:25.630909126Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2023-12-10T18:14:25.63727669Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=6.367254ms grafana | logger=migrator t=2023-12-10T18:14:25.644051486Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2023-12-10T18:14:25.644777631Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=725.545µs grafana | logger=migrator t=2023-12-10T18:14:25.65207682Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2023-12-10T18:14:25.652261181Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=183.681µs grafana | logger=migrator t=2023-12-10T18:14:25.657551887Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2023-12-10T18:14:25.657709588Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=155.071µs grafana | logger=migrator t=2023-12-10T18:14:25.661748465Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2023-12-10T18:14:25.663047614Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.298439ms grafana | logger=migrator t=2023-12-10T18:14:25.667202813Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-12-10T18:14:25.668814413Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.61272ms grafana | logger=migrator t=2023-12-10T18:14:25.674959115Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2023-12-10T18:14:25.67569716Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=735.695µs grafana | logger=migrator t=2023-12-10T18:14:25.681169327Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2023-12-10T18:14:25.682509307Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.34052ms grafana | logger=migrator t=2023-12-10T18:14:25.688154605Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-12-10T18:14:25.689863407Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.707961ms grafana | logger=migrator t=2023-12-10T18:14:25.695509335Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2023-12-10T18:14:25.699125099Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.615154ms grafana | logger=migrator t=2023-12-10T18:14:25.703921132Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2023-12-10T18:14:25.707544847Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.622815ms grafana | logger=migrator t=2023-12-10T18:14:25.712247729Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2023-12-10T18:14:25.71250231Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=254.331µs grafana | logger=migrator t=2023-12-10T18:14:25.717407174Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2023-12-10T18:14:25.718345Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=937.626µs grafana | logger=migrator t=2023-12-10T18:14:25.721959195Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2023-12-10T18:14:25.723353324Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.394109ms grafana | logger=migrator t=2023-12-10T18:14:25.727329081Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2023-12-10T18:14:25.731242178Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.913527ms grafana | logger=migrator t=2023-12-10T18:14:25.760223094Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2023-12-10T18:14:25.760457046Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=233.392µs grafana | logger=migrator t=2023-12-10T18:14:25.769467607Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2023-12-10T18:14:25.771013217Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.54537ms grafana | logger=migrator t=2023-12-10T18:14:25.777784333Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2023-12-10T18:14:25.779396664Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.612241ms grafana | logger=migrator t=2023-12-10T18:14:25.785285384Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2023-12-10T18:14:25.785548406Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=262.972µs grafana | logger=migrator t=2023-12-10T18:14:25.790271628Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2023-12-10T18:14:25.791120144Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=847.796µs grafana | logger=migrator t=2023-12-10T18:14:25.795923347Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2023-12-10T18:14:25.797449247Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.5257ms grafana | logger=migrator t=2023-12-10T18:14:25.803923311Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2023-12-10T18:14:25.805534892Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.610691ms grafana | logger=migrator t=2023-12-10T18:14:25.810924999Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2023-12-10T18:14:25.8125849Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.661041ms grafana | logger=migrator t=2023-12-10T18:14:25.820755485Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2023-12-10T18:14:25.821743572Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=987.207µs grafana | logger=migrator t=2023-12-10T18:14:25.83029243Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2023-12-10T18:14:25.831326837Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.032167ms grafana | logger=migrator t=2023-12-10T18:14:25.835063662Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2023-12-10T18:14:25.835135753Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=72.201µs grafana | logger=migrator t=2023-12-10T18:14:25.838900358Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2023-12-10T18:14:25.842889465Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=3.987397ms grafana | logger=migrator t=2023-12-10T18:14:25.847748638Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2023-12-10T18:14:25.848648444Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=896.576µs grafana | logger=migrator t=2023-12-10T18:14:25.852328969Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2023-12-10T18:14:25.856179286Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.849427ms grafana | logger=migrator t=2023-12-10T18:14:25.85970458Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2023-12-10T18:14:25.860410694Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=705.544µs grafana | logger=migrator t=2023-12-10T18:14:25.865464909Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2023-12-10T18:14:25.866428265Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=962.746µs grafana | logger=migrator t=2023-12-10T18:14:25.870272711Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2023-12-10T18:14:25.871129987Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=857.026µs grafana | logger=migrator t=2023-12-10T18:14:25.875838719Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2023-12-10T18:14:25.890563459Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=14.72477ms grafana | logger=migrator t=2023-12-10T18:14:25.89513411Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2023-12-10T18:14:25.895842715Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=708.265µs grafana | logger=migrator t=2023-12-10T18:14:25.899407119Z 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-12-10T18:14:25.900344306Z 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=936.867µs grafana | logger=migrator t=2023-12-10T18:14:25.903814789Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2023-12-10T18:14:25.904179962Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=364.743µs grafana | logger=migrator t=2023-12-10T18:14:25.90841536Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2023-12-10T18:14:25.909018364Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=601.254µs grafana | logger=migrator t=2023-12-10T18:14:25.912939651Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2023-12-10T18:14:25.913349864Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=410.813µs grafana | logger=migrator t=2023-12-10T18:14:25.917682433Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2023-12-10T18:14:25.923942476Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.261373ms grafana | logger=migrator t=2023-12-10T18:14:25.928600577Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2023-12-10T18:14:25.932669495Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.068358ms grafana | logger=migrator t=2023-12-10T18:14:25.936245649Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2023-12-10T18:14:25.93777605Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.530211ms grafana | logger=migrator t=2023-12-10T18:14:25.941735847Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2023-12-10T18:14:25.943993422Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=2.255235ms grafana | logger=migrator t=2023-12-10T18:14:25.948791294Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2023-12-10T18:14:25.949272988Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=480.994µs grafana | logger=migrator t=2023-12-10T18:14:25.952934293Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2023-12-10T18:14:25.957136321Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.197448ms grafana | logger=migrator t=2023-12-10T18:14:25.960574235Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2023-12-10T18:14:25.961543091Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=968.236µs grafana | logger=migrator t=2023-12-10T18:14:25.965895831Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2023-12-10T18:14:25.966141722Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=247.661µs grafana | logger=migrator t=2023-12-10T18:14:25.969663786Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2023-12-10T18:14:25.970462752Z level=info msg="Migration successfully executed" id="Move region to single row" duration=798.716µs grafana | logger=migrator t=2023-12-10T18:14:25.973913485Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2023-12-10T18:14:25.975241384Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.329149ms grafana | logger=migrator t=2023-12-10T18:14:25.979320152Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2023-12-10T18:14:25.980273138Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=952.846µs grafana | logger=migrator t=2023-12-10T18:14:25.983538391Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-12-10T18:14:25.984550847Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.012056ms grafana | logger=migrator t=2023-12-10T18:14:25.988041321Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-12-10T18:14:25.989068998Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.027307ms grafana | logger=migrator t=2023-12-10T18:14:25.993968091Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2023-12-10T18:14:25.994921697Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=953.396µs grafana | logger=migrator t=2023-12-10T18:14:25.99823972Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2023-12-10T18:14:25.999426748Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.185588ms grafana | logger=migrator t=2023-12-10T18:14:26.003324375Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2023-12-10T18:14:26.003502386Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=179.502µs grafana | logger=migrator t=2023-12-10T18:14:26.008132472Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2023-12-10T18:14:26.008975179Z level=info msg="Migration successfully executed" id="create test_data table" duration=842.257µs grafana | logger=migrator t=2023-12-10T18:14:26.012657481Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2023-12-10T18:14:26.013455188Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=795.897µs grafana | logger=migrator t=2023-12-10T18:14:26.01811138Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2023-12-10T18:14:26.019104399Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=992.919µs grafana | logger=migrator t=2023-12-10T18:14:26.023965433Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2023-12-10T18:14:26.025791789Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.825096ms grafana | logger=migrator t=2023-12-10T18:14:26.029777535Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2023-12-10T18:14:26.030232109Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=453.584µs grafana | logger=migrator t=2023-12-10T18:14:26.034099013Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2023-12-10T18:14:26.034564417Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=464.224µs grafana | logger=migrator t=2023-12-10T18:14:26.03820416Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2023-12-10T18:14:26.038265341Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=61.521µs grafana | logger=migrator t=2023-12-10T18:14:26.042589919Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2023-12-10T18:14:26.04382496Z level=info msg="Migration successfully executed" id="create team table" duration=1.233781ms grafana | logger=migrator t=2023-12-10T18:14:26.047788396Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2023-12-10T18:14:26.04939003Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.601194ms grafana | logger=migrator t=2023-12-10T18:14:26.053090123Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2023-12-10T18:14:26.054570876Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.477453ms grafana | logger=migrator t=2023-12-10T18:14:26.059116477Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2023-12-10T18:14:26.063530376Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.412969ms grafana | logger=migrator t=2023-12-10T18:14:26.066840106Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2023-12-10T18:14:26.067094508Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=253.572µs grafana | logger=migrator t=2023-12-10T18:14:26.07062852Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2023-12-10T18:14:26.071598959Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=970.059µs grafana | logger=migrator t=2023-12-10T18:14:26.07624077Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2023-12-10T18:14:26.077460681Z level=info msg="Migration successfully executed" id="create team member table" duration=1.218391ms grafana | logger=migrator t=2023-12-10T18:14:26.081569088Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2023-12-10T18:14:26.083063451Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.494543ms grafana | logger=migrator t=2023-12-10T18:14:26.087098378Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2023-12-10T18:14:26.088054626Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=955.728µs grafana | logger=migrator t=2023-12-10T18:14:26.092608067Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2023-12-10T18:14:26.0940394Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.431103ms grafana | logger=migrator t=2023-12-10T18:14:26.098277738Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2023-12-10T18:14:26.104624715Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=6.347237ms grafana | logger=migrator t=2023-12-10T18:14:26.108660412Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2023-12-10T18:14:26.115902597Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=7.243215ms grafana | logger=migrator t=2023-12-10T18:14:26.12061846Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2023-12-10T18:14:26.125179451Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.560071ms grafana | logger=migrator t=2023-12-10T18:14:26.129075956Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2023-12-10T18:14:26.130019704Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=943.128µs grafana | logger=migrator t=2023-12-10T18:14:26.13399101Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2023-12-10T18:14:26.134976159Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=984.179µs grafana | logger=migrator t=2023-12-10T18:14:26.139586441Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2023-12-10T18:14:26.140681691Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.0957ms grafana | logger=migrator t=2023-12-10T18:14:26.144221053Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2023-12-10T18:14:26.145274402Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.052079ms grafana | logger=migrator t=2023-12-10T18:14:26.148761824Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2023-12-10T18:14:26.149700082Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=938.518µs grafana | logger=migrator t=2023-12-10T18:14:26.154262383Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2023-12-10T18:14:26.155249362Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=986.439µs grafana | logger=migrator t=2023-12-10T18:14:26.159043966Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2023-12-10T18:14:26.16055853Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.512554ms grafana | logger=migrator t=2023-12-10T18:14:26.164875379Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2023-12-10T18:14:26.166360362Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.481253ms grafana | logger=migrator t=2023-12-10T18:14:26.170930254Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2023-12-10T18:14:26.171482089Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=551.355µs grafana | logger=migrator t=2023-12-10T18:14:26.175470874Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2023-12-10T18:14:26.175902758Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=430.984µs grafana | logger=migrator t=2023-12-10T18:14:26.215405705Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2023-12-10T18:14:26.216619706Z level=info msg="Migration successfully executed" id="create tag table" duration=1.213101ms grafana | logger=migrator t=2023-12-10T18:14:26.220890284Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2023-12-10T18:14:26.222378238Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.487734ms grafana | logger=migrator t=2023-12-10T18:14:26.226750437Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2023-12-10T18:14:26.227517574Z level=info msg="Migration successfully executed" id="create login attempt table" duration=766.297µs grafana | logger=migrator t=2023-12-10T18:14:26.232855352Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2023-12-10T18:14:26.234328925Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.473453ms grafana | logger=migrator t=2023-12-10T18:14:26.238396462Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2023-12-10T18:14:26.239634413Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.239371ms grafana | logger=migrator t=2023-12-10T18:14:26.243557679Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-10T18:14:26.261209028Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=17.651209ms grafana | logger=migrator t=2023-12-10T18:14:26.266214643Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2023-12-10T18:14:26.26701978Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=804.107µs grafana | logger=migrator t=2023-12-10T18:14:26.270798804Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2023-12-10T18:14:26.271740853Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=941.549µs grafana | logger=migrator t=2023-12-10T18:14:26.275634188Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2023-12-10T18:14:26.276200603Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=565.705µs grafana | logger=migrator t=2023-12-10T18:14:26.280030818Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2023-12-10T18:14:26.280785234Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=753.337µs grafana | logger=migrator t=2023-12-10T18:14:26.285564188Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2023-12-10T18:14:26.286352915Z level=info msg="Migration successfully executed" id="create user auth table" duration=789.597µs grafana | logger=migrator t=2023-12-10T18:14:26.290131009Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2023-12-10T18:14:26.291097017Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=965.248µs grafana | logger=migrator t=2023-12-10T18:14:26.29578779Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2023-12-10T18:14:26.295853Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=65.66µs grafana | logger=migrator t=2023-12-10T18:14:26.300168049Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2023-12-10T18:14:26.306618817Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=6.451318ms grafana | logger=migrator t=2023-12-10T18:14:26.310801285Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2023-12-10T18:14:26.3158278Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.025755ms grafana | logger=migrator t=2023-12-10T18:14:26.319846477Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2023-12-10T18:14:26.324867192Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.020025ms grafana | logger=migrator t=2023-12-10T18:14:26.329566084Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2023-12-10T18:14:26.334774452Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.207738ms grafana | logger=migrator t=2023-12-10T18:14:26.338581516Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2023-12-10T18:14:26.339543394Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=961.618µs grafana | logger=migrator t=2023-12-10T18:14:26.343116467Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2023-12-10T18:14:26.350672435Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=7.552498ms grafana | logger=migrator t=2023-12-10T18:14:26.356326786Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2023-12-10T18:14:26.356956392Z level=info msg="Migration successfully executed" id="create server_lock table" duration=628.976µs grafana | logger=migrator t=2023-12-10T18:14:26.360575714Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2023-12-10T18:14:26.362094148Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.518124ms grafana | logger=migrator t=2023-12-10T18:14:26.365943373Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2023-12-10T18:14:26.367331855Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.386763ms grafana | logger=migrator t=2023-12-10T18:14:26.372122168Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2023-12-10T18:14:26.373088357Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=965.939µs grafana | logger=migrator t=2023-12-10T18:14:26.376853441Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2023-12-10T18:14:26.378381955Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.528584ms grafana | logger=migrator t=2023-12-10T18:14:26.382165889Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2023-12-10T18:14:26.383888035Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.721396ms grafana | logger=migrator t=2023-12-10T18:14:26.388599987Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2023-12-10T18:14:26.393891525Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.292748ms grafana | logger=migrator t=2023-12-10T18:14:26.397910781Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2023-12-10T18:14:26.398949731Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.03874ms grafana | logger=migrator t=2023-12-10T18:14:26.403963716Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2023-12-10T18:14:26.404791372Z level=info msg="Migration successfully executed" id="create cache_data table" duration=826.866µs grafana | logger=migrator t=2023-12-10T18:14:26.409302673Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2023-12-10T18:14:26.410842167Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.539714ms grafana | logger=migrator t=2023-12-10T18:14:26.414596551Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2023-12-10T18:14:26.416032733Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.436102ms grafana | logger=migrator t=2023-12-10T18:14:26.419993529Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2023-12-10T18:14:26.421001568Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.007699ms grafana | logger=migrator t=2023-12-10T18:14:26.425368488Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2023-12-10T18:14:26.425451929Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=83.841µs grafana | logger=migrator t=2023-12-10T18:14:26.429163792Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2023-12-10T18:14:26.429241473Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=79.681µs grafana | logger=migrator t=2023-12-10T18:14:26.433274849Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2023-12-10T18:14:26.434637121Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.361182ms grafana | logger=migrator t=2023-12-10T18:14:26.439922319Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-12-10T18:14:26.441467933Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.545174ms grafana | logger=migrator t=2023-12-10T18:14:26.445369618Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-12-10T18:14:26.446923532Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.553214ms grafana | logger=migrator t=2023-12-10T18:14:26.451259011Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-10T18:14:26.451317852Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=59.211µs grafana | logger=migrator t=2023-12-10T18:14:26.45554386Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-12-10T18:14:26.456926622Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.382662ms grafana | logger=migrator t=2023-12-10T18:14:26.462130609Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-12-10T18:14:26.463656703Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.526084ms grafana | logger=migrator t=2023-12-10T18:14:26.468508437Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-12-10T18:14:26.469533606Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.024979ms grafana | logger=migrator t=2023-12-10T18:14:26.474553141Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-12-10T18:14:26.476192176Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.638665ms grafana | logger=migrator t=2023-12-10T18:14:26.480451285Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2023-12-10T18:14:26.487459918Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=7.009273ms grafana | logger=migrator t=2023-12-10T18:14:26.491370973Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2023-12-10T18:14:26.492393532Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.021669ms grafana | logger=migrator t=2023-12-10T18:14:26.497159495Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2023-12-10T18:14:26.497264146Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=104.491µs grafana | logger=migrator t=2023-12-10T18:14:26.501241502Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2023-12-10T18:14:26.502641245Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.398993ms grafana | logger=migrator t=2023-12-10T18:14:26.506978094Z 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-12-10T18:14:26.508495178Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.518024ms grafana | logger=migrator t=2023-12-10T18:14:26.513848746Z 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-12-10T18:14:26.514935566Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.0863ms grafana | logger=migrator t=2023-12-10T18:14:26.519248575Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-10T18:14:26.519337036Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=88.8µs grafana | logger=migrator t=2023-12-10T18:14:26.523583154Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2023-12-10T18:14:26.524950056Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.364392ms grafana | logger=migrator t=2023-12-10T18:14:26.530155093Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2023-12-10T18:14:26.531632276Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.473333ms grafana | logger=migrator t=2023-12-10T18:14:26.535756973Z 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-12-10T18:14:26.536866073Z 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.10848ms grafana | logger=migrator t=2023-12-10T18:14:26.54198585Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2023-12-10T18:14:26.543055509Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.069109ms grafana | logger=migrator t=2023-12-10T18:14:26.547313208Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2023-12-10T18:14:26.556015436Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=8.699648ms grafana | logger=migrator t=2023-12-10T18:14:26.560105763Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2023-12-10T18:14:26.560822929Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=740.516µs grafana | logger=migrator t=2023-12-10T18:14:26.565844935Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-12-10T18:14:26.567352529Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.507344ms grafana | logger=migrator t=2023-12-10T18:14:26.571703308Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2023-12-10T18:14:26.605539843Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=33.837765ms grafana | logger=migrator t=2023-12-10T18:14:26.610979232Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2023-12-10T18:14:26.645527084Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=34.547362ms grafana | logger=migrator t=2023-12-10T18:14:26.650217056Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2023-12-10T18:14:26.650954993Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=737.157µs grafana | logger=migrator t=2023-12-10T18:14:26.6550582Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-12-10T18:14:26.656062429Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.004048ms grafana | logger=migrator t=2023-12-10T18:14:26.661576408Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2023-12-10T18:14:26.670329847Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=8.751169ms grafana | logger=migrator t=2023-12-10T18:14:26.674477715Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2023-12-10T18:14:26.675132551Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=654.416µs grafana | logger=migrator t=2023-12-10T18:14:26.680356358Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2023-12-10T18:14:26.682056453Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.701495ms grafana | logger=migrator t=2023-12-10T18:14:26.687671314Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2023-12-10T18:14:26.688915745Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.244731ms grafana | logger=migrator t=2023-12-10T18:14:26.693093543Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2023-12-10T18:14:26.694254603Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.16048ms grafana | logger=migrator t=2023-12-10T18:14:26.697924026Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-10T18:14:26.697987127Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=63.651µs grafana | logger=migrator t=2023-12-10T18:14:26.703038222Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2023-12-10T18:14:26.708993846Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=5.954604ms grafana | logger=migrator t=2023-12-10T18:14:26.713061363Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2023-12-10T18:14:26.719693683Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.63158ms grafana | logger=migrator t=2023-12-10T18:14:26.724869409Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2023-12-10T18:14:26.729736923Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=4.866514ms grafana | logger=migrator t=2023-12-10T18:14:26.734393785Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2023-12-10T18:14:26.735378974Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=984.989µs grafana | logger=migrator t=2023-12-10T18:14:26.738994277Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2023-12-10T18:14:26.740097727Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.083609ms grafana | logger=migrator t=2023-12-10T18:14:26.743660319Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2023-12-10T18:14:26.752569789Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=8.90816ms grafana | logger=migrator t=2023-12-10T18:14:26.756996369Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2023-12-10T18:14:26.761677092Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=4.679343ms grafana | logger=migrator t=2023-12-10T18:14:26.765473496Z 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-12-10T18:14:26.766473585Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.002849ms grafana | logger=migrator t=2023-12-10T18:14:26.770252469Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2023-12-10T18:14:26.776050681Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=5.797662ms grafana | logger=migrator t=2023-12-10T18:14:26.780829874Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2023-12-10T18:14:26.786788898Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=5.957024ms grafana | logger=migrator t=2023-12-10T18:14:26.790973636Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2023-12-10T18:14:26.791037216Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=63.58µs grafana | logger=migrator t=2023-12-10T18:14:26.797073761Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2023-12-10T18:14:26.798508894Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.436513ms grafana | logger=migrator t=2023-12-10T18:14:26.802996094Z 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-12-10T18:14:26.803818541Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" duration=822.227µs grafana | logger=migrator t=2023-12-10T18:14:26.808339652Z 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-12-10T18:14:26.80923143Z 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=891.558µs grafana | logger=migrator t=2023-12-10T18:14:26.812373879Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-10T18:14:26.812419059Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=45.33µs grafana | logger=migrator t=2023-12-10T18:14:26.817843358Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2023-12-10T18:14:26.822355289Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=4.511391ms grafana | logger=migrator t=2023-12-10T18:14:26.827396844Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2023-12-10T18:14:26.831810664Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=4.41333ms grafana | logger=migrator t=2023-12-10T18:14:26.835152154Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2023-12-10T18:14:26.840117179Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=4.964015ms grafana | logger=migrator t=2023-12-10T18:14:26.843286628Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2023-12-10T18:14:26.84906128Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=5.772162ms grafana | logger=migrator t=2023-12-10T18:14:26.853452639Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2023-12-10T18:14:26.859983228Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.530449ms grafana | logger=migrator t=2023-12-10T18:14:26.863633721Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2023-12-10T18:14:26.863786632Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=122.971µs grafana | logger=migrator t=2023-12-10T18:14:26.867351025Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2023-12-10T18:14:26.868187402Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=836.097µs grafana | logger=migrator t=2023-12-10T18:14:26.873870173Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2023-12-10T18:14:26.882463981Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=8.595138ms grafana | logger=migrator t=2023-12-10T18:14:26.886190685Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2023-12-10T18:14:26.886294896Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=105.641µs grafana | logger=migrator t=2023-12-10T18:14:26.890415433Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2023-12-10T18:14:26.899683456Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=9.268533ms grafana | logger=migrator t=2023-12-10T18:14:26.904220747Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2023-12-10T18:14:26.905372468Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.151491ms grafana | logger=migrator t=2023-12-10T18:14:26.910745016Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2023-12-10T18:14:26.917347716Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.60452ms grafana | logger=migrator t=2023-12-10T18:14:26.921062099Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2023-12-10T18:14:26.922417661Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=1.355162ms grafana | logger=migrator t=2023-12-10T18:14:26.926568459Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2023-12-10T18:14:26.928546217Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.977418ms grafana | logger=migrator t=2023-12-10T18:14:26.933767014Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2023-12-10T18:14:26.943914085Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=10.126401ms grafana | logger=migrator t=2023-12-10T18:14:26.948515797Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2023-12-10T18:14:26.949456805Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=940.828µs grafana | logger=migrator t=2023-12-10T18:14:26.954927095Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2023-12-10T18:14:26.956138876Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.211591ms grafana | logger=migrator t=2023-12-10T18:14:26.962473573Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2023-12-10T18:14:26.963592703Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.1166ms grafana | logger=migrator t=2023-12-10T18:14:26.967627749Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2023-12-10T18:14:26.969393455Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.765926ms grafana | logger=migrator t=2023-12-10T18:14:26.973662154Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2023-12-10T18:14:26.973749654Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=88.181µs grafana | logger=migrator t=2023-12-10T18:14:26.979428526Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2023-12-10T18:14:26.980481975Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.052829ms grafana | logger=migrator t=2023-12-10T18:14:26.984478921Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2023-12-10T18:14:26.986179696Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.701005ms grafana | logger=migrator t=2023-12-10T18:14:26.991068121Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2023-12-10T18:14:26.991598576Z 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-12-10T18:14:26.996050785Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2023-12-10T18:14:26.996636191Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=585.176µs grafana | logger=migrator t=2023-12-10T18:14:27.000634997Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2023-12-10T18:14:27.002408983Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.774026ms grafana | logger=migrator t=2023-12-10T18:14:27.006135717Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2023-12-10T18:14:27.012834007Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.697721ms grafana | logger=migrator t=2023-12-10T18:14:27.017276927Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2023-12-10T18:14:27.018180745Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=903.528µs grafana | logger=migrator t=2023-12-10T18:14:27.021798558Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2023-12-10T18:14:27.023776206Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.977418ms grafana | logger=migrator t=2023-12-10T18:14:27.0276508Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2023-12-10T18:14:27.029298755Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.553704ms grafana | logger=migrator t=2023-12-10T18:14:27.034401871Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2023-12-10T18:14:27.035601292Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.197361ms grafana | logger=migrator t=2023-12-10T18:14:27.038885962Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2023-12-10T18:14:27.040837999Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.953517ms grafana | logger=migrator t=2023-12-10T18:14:27.078766831Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2023-12-10T18:14:27.078847312Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=79.371µs grafana | logger=migrator t=2023-12-10T18:14:27.084050519Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2023-12-10T18:14:27.08417032Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=141.181µs grafana | logger=migrator t=2023-12-10T18:14:27.088529379Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2023-12-10T18:14:27.089476618Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=946.658µs grafana | logger=migrator t=2023-12-10T18:14:27.093448384Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2023-12-10T18:14:27.094839036Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.391173ms grafana | logger=migrator t=2023-12-10T18:14:27.099096514Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2023-12-10T18:14:27.100314605Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.218671ms grafana | logger=migrator t=2023-12-10T18:14:27.105055088Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2023-12-10T18:14:27.151084723Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=46.029545ms grafana | logger=migrator t=2023-12-10T18:14:27.1551877Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2023-12-10T18:14:27.162479076Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=7.291906ms grafana | logger=migrator t=2023-12-10T18:14:27.166516472Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2023-12-10T18:14:27.166765124Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=248.422µs grafana | logger=migrator t=2023-12-10T18:14:27.172406015Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2023-12-10T18:14:27.218804503Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=46.398878ms grafana | logger=migrator t=2023-12-10T18:14:27.223785838Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2023-12-10T18:14:27.268035537Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=44.249319ms grafana | logger=migrator t=2023-12-10T18:14:27.273718398Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2023-12-10T18:14:27.274586106Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=867.988µs grafana | logger=migrator t=2023-12-10T18:14:27.279920324Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2023-12-10T18:14:27.281112825Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.191281ms grafana | logger=migrator t=2023-12-10T18:14:27.287078248Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2023-12-10T18:14:27.287727974Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=652.046µs grafana | logger=migrator t=2023-12-10T18:14:27.292217905Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2023-12-10T18:14:27.293102823Z level=info msg="Migration successfully executed" id="create permission table" duration=884.178µs grafana | logger=migrator t=2023-12-10T18:14:27.3027503Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2023-12-10T18:14:27.304523166Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.772836ms grafana | logger=migrator t=2023-12-10T18:14:27.312187845Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2023-12-10T18:14:27.31387158Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.683195ms grafana | logger=migrator t=2023-12-10T18:14:27.318180979Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2023-12-10T18:14:27.319127457Z level=info msg="Migration successfully executed" id="create role table" duration=946.428µs grafana | logger=migrator t=2023-12-10T18:14:27.322829371Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2023-12-10T18:14:27.330219287Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.390026ms grafana | logger=migrator t=2023-12-10T18:14:27.334857919Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2023-12-10T18:14:27.342405047Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.546608ms grafana | logger=migrator t=2023-12-10T18:14:27.35159984Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2023-12-10T18:14:27.353320745Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.720795ms grafana | logger=migrator t=2023-12-10T18:14:27.357943977Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2023-12-10T18:14:27.359498021Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.556634ms grafana | logger=migrator t=2023-12-10T18:14:27.366102801Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2023-12-10T18:14:27.367826536Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.723455ms grafana | logger=migrator t=2023-12-10T18:14:27.372219466Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2023-12-10T18:14:27.373424767Z level=info msg="Migration successfully executed" id="create team role table" duration=1.20443ms grafana | logger=migrator t=2023-12-10T18:14:27.378038878Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2023-12-10T18:14:27.379045667Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.006589ms grafana | logger=migrator t=2023-12-10T18:14:27.386972369Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2023-12-10T18:14:27.388907246Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.935837ms grafana | logger=migrator t=2023-12-10T18:14:27.39707429Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2023-12-10T18:14:27.398088759Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.01429ms grafana | logger=migrator t=2023-12-10T18:14:27.401815772Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2023-12-10T18:14:27.403153505Z level=info msg="Migration successfully executed" id="create user role table" duration=1.336203ms grafana | logger=migrator t=2023-12-10T18:14:27.410159968Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2023-12-10T18:14:27.412027095Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.865726ms grafana | logger=migrator t=2023-12-10T18:14:27.416377633Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2023-12-10T18:14:27.418414802Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=2.035229ms grafana | logger=migrator t=2023-12-10T18:14:27.422942693Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2023-12-10T18:14:27.424131324Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.189031ms grafana | logger=migrator t=2023-12-10T18:14:27.430463941Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2023-12-10T18:14:27.431648851Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.18504ms grafana | logger=migrator t=2023-12-10T18:14:27.439448602Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2023-12-10T18:14:27.441156897Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.707686ms grafana | logger=migrator t=2023-12-10T18:14:27.444924001Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2023-12-10T18:14:27.446031691Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.10786ms grafana | logger=migrator t=2023-12-10T18:14:27.450454721Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2023-12-10T18:14:27.457990559Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.535368ms grafana | logger=migrator t=2023-12-10T18:14:27.46140884Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2023-12-10T18:14:27.462453599Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.03434ms grafana | logger=migrator t=2023-12-10T18:14:27.466009451Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2023-12-10T18:14:27.467088841Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.07908ms grafana | logger=migrator t=2023-12-10T18:14:27.475843979Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2023-12-10T18:14:27.476964429Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.11999ms grafana | logger=migrator t=2023-12-10T18:14:27.483950493Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2023-12-10T18:14:27.485686288Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.735215ms grafana | logger=migrator t=2023-12-10T18:14:27.49704439Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2023-12-10T18:14:27.498156521Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.11168ms grafana | logger=migrator t=2023-12-10T18:14:27.504043144Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2023-12-10T18:14:27.505765379Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.724925ms grafana | logger=migrator t=2023-12-10T18:14:27.509559253Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2023-12-10T18:14:27.518496844Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.938171ms grafana | logger=migrator t=2023-12-10T18:14:27.52248221Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2023-12-10T18:14:27.53030321Z level=info msg="Migration successfully executed" id="permission kind migration" duration=7.81861ms grafana | logger=migrator t=2023-12-10T18:14:27.534990072Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2023-12-10T18:14:27.540532113Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=5.541831ms grafana | logger=migrator t=2023-12-10T18:14:27.544018284Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2023-12-10T18:14:27.551624853Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.606219ms grafana | logger=migrator t=2023-12-10T18:14:27.558585965Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2023-12-10T18:14:27.559580514Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=994.339µs grafana | logger=migrator t=2023-12-10T18:14:27.568434484Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2023-12-10T18:14:27.569756636Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.321852ms grafana | logger=migrator t=2023-12-10T18:14:27.573605181Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2023-12-10T18:14:27.575231345Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.625604ms grafana | logger=migrator t=2023-12-10T18:14:27.578837728Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2023-12-10T18:14:27.578911148Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=72µs grafana | logger=migrator t=2023-12-10T18:14:27.582611922Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2023-12-10T18:14:27.582644012Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=32.91µs grafana | logger=migrator t=2023-12-10T18:14:27.588284323Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2023-12-10T18:14:27.588920339Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=636.116µs grafana | logger=migrator t=2023-12-10T18:14:27.593079536Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2023-12-10T18:14:27.593830703Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=752.077µs grafana | logger=migrator t=2023-12-10T18:14:27.598609216Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2023-12-10T18:14:27.599534744Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=925.828µs grafana | logger=migrator t=2023-12-10T18:14:27.604737791Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2023-12-10T18:14:27.604974683Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=238.892µs grafana | logger=migrator t=2023-12-10T18:14:27.609741186Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2023-12-10T18:14:27.6101596Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=417.134µs grafana | logger=migrator t=2023-12-10T18:14:27.613859353Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2023-12-10T18:14:27.615037354Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.175111ms grafana | logger=migrator t=2023-12-10T18:14:27.618659197Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2023-12-10T18:14:27.619902528Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.242401ms grafana | logger=migrator t=2023-12-10T18:14:27.624230767Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2023-12-10T18:14:27.632013027Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=7.77904ms grafana | logger=migrator t=2023-12-10T18:14:27.635816991Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2023-12-10T18:14:27.635902202Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=85.741µs grafana | logger=migrator t=2023-12-10T18:14:27.641417752Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2023-12-10T18:14:27.64231199Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=893.978µs grafana | logger=migrator t=2023-12-10T18:14:27.653278559Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2023-12-10T18:14:27.655104935Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.826176ms grafana | logger=migrator t=2023-12-10T18:14:27.662137928Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2023-12-10T18:14:27.663223498Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.08546ms grafana | logger=migrator t=2023-12-10T18:14:27.667091323Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2023-12-10T18:14:27.677755209Z level=info msg="Migration successfully executed" id="add correlation config column" duration=10.664536ms grafana | logger=migrator t=2023-12-10T18:14:27.68337609Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2023-12-10T18:14:27.684449019Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.074729ms grafana | logger=migrator t=2023-12-10T18:14:27.691405672Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2023-12-10T18:14:27.693099017Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.692715ms grafana | logger=migrator t=2023-12-10T18:14:27.696862071Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-10T18:14:27.728152033Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=31.291092ms grafana | logger=migrator t=2023-12-10T18:14:27.732659814Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2023-12-10T18:14:27.73336518Z level=info msg="Migration successfully executed" id="create correlation v2" duration=705.266µs grafana | logger=migrator t=2023-12-10T18:14:27.736766671Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2023-12-10T18:14:27.737950962Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.183571ms grafana | logger=migrator t=2023-12-10T18:14:27.741726836Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2023-12-10T18:14:27.742856726Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.13072ms grafana | logger=migrator t=2023-12-10T18:14:27.748652388Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2023-12-10T18:14:27.749736758Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.08409ms grafana | logger=migrator t=2023-12-10T18:14:27.75445644Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2023-12-10T18:14:27.754843184Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=386.594µs grafana | logger=migrator t=2023-12-10T18:14:27.760168812Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2023-12-10T18:14:27.761386783Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.217811ms grafana | logger=migrator t=2023-12-10T18:14:27.770903169Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2023-12-10T18:14:27.781669936Z level=info msg="Migration successfully executed" id="add provisioning column" duration=10.767127ms grafana | logger=migrator t=2023-12-10T18:14:27.786110466Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2023-12-10T18:14:27.786841562Z level=info msg="Migration successfully executed" id="create entity_events table" duration=730.997µs grafana | logger=migrator t=2023-12-10T18:14:27.79210809Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2023-12-10T18:14:27.792994558Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=884.708µs grafana | logger=migrator t=2023-12-10T18:14:27.796722181Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-12-10T18:14:27.797465698Z 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-12-10T18:14:27.801371303Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-12-10T18:14:27.802035149Z 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-12-10T18:14:27.807124335Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2023-12-10T18:14:27.808332106Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.207471ms grafana | logger=migrator t=2023-12-10T18:14:27.815272668Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2023-12-10T18:14:27.816231757Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=959.389µs grafana | logger=migrator t=2023-12-10T18:14:27.819681768Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-12-10T18:14:27.821452514Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.770426ms grafana | logger=migrator t=2023-12-10T18:14:27.828006203Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-12-10T18:14:27.82988946Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.882857ms grafana | logger=migrator t=2023-12-10T18:14:27.834805484Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-12-10T18:14:27.835860154Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.05442ms grafana | logger=migrator t=2023-12-10T18:14:27.839557497Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-12-10T18:14:27.840625657Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.06593ms grafana | logger=migrator t=2023-12-10T18:14:27.84657394Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2023-12-10T18:14:27.847349327Z level=info msg="Migration successfully executed" id="Drop public config table" duration=778.087µs grafana | logger=migrator t=2023-12-10T18:14:27.854105888Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2023-12-10T18:14:27.855105957Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.000229ms grafana | logger=migrator t=2023-12-10T18:14:27.8598458Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-12-10T18:14:27.861695797Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.850277ms grafana | logger=migrator t=2023-12-10T18:14:27.866818893Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-12-10T18:14:27.867972693Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.15509ms grafana | logger=migrator t=2023-12-10T18:14:27.871615176Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2023-12-10T18:14:27.872763117Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.147481ms grafana | logger=migrator t=2023-12-10T18:14:27.877490759Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2023-12-10T18:14:27.910126613Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=32.635664ms grafana | logger=migrator t=2023-12-10T18:14:27.942263773Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2023-12-10T18:14:27.953890458Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=11.628345ms grafana | logger=migrator t=2023-12-10T18:14:27.959186905Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2023-12-10T18:14:27.97184696Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=12.661855ms grafana | logger=migrator t=2023-12-10T18:14:27.978311378Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2023-12-10T18:14:27.97856869Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=257.562µs grafana | logger=migrator t=2023-12-10T18:14:27.988681491Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2023-12-10T18:14:27.99959086Z level=info msg="Migration successfully executed" id="add share column" duration=10.910929ms grafana | logger=migrator t=2023-12-10T18:14:28.003403864Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2023-12-10T18:14:28.003578615Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=174.381µs grafana | logger=migrator t=2023-12-10T18:14:28.008418929Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2023-12-10T18:14:28.009013064Z level=info msg="Migration successfully executed" id="create file table" duration=593.935µs grafana | logger=migrator t=2023-12-10T18:14:28.013738257Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2023-12-10T18:14:28.015515893Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.777556ms grafana | logger=migrator t=2023-12-10T18:14:28.021592547Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2023-12-10T18:14:28.02297918Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.386023ms grafana | logger=migrator t=2023-12-10T18:14:28.030870351Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2023-12-10T18:14:28.032044492Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.174451ms grafana | logger=migrator t=2023-12-10T18:14:28.036914716Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2023-12-10T18:14:28.038447439Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.531603ms grafana | logger=migrator t=2023-12-10T18:14:28.043205432Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2023-12-10T18:14:28.043291383Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=86.131µs grafana | logger=migrator t=2023-12-10T18:14:28.048001295Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2023-12-10T18:14:28.048104516Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=100.341µs grafana | logger=migrator t=2023-12-10T18:14:28.053683537Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2023-12-10T18:14:28.054613525Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=930.518µs grafana | logger=migrator t=2023-12-10T18:14:28.058630381Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2023-12-10T18:14:28.059055475Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=425.034µs grafana | logger=migrator t=2023-12-10T18:14:28.064396863Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2023-12-10T18:14:28.065242321Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=846.908µs grafana | logger=migrator t=2023-12-10T18:14:28.080008883Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2023-12-10T18:14:28.091262445Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=11.253422ms grafana | logger=migrator t=2023-12-10T18:14:28.097656182Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2023-12-10T18:14:28.097968725Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=310.933µs grafana | logger=migrator t=2023-12-10T18:14:28.10182707Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2023-12-10T18:14:28.103772957Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.945617ms grafana | logger=migrator t=2023-12-10T18:14:28.107630952Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2023-12-10T18:14:28.108366679Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=736.657µs grafana | logger=migrator t=2023-12-10T18:14:28.115713165Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2023-12-10T18:14:28.115986297Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=274.062µs grafana | logger=migrator t=2023-12-10T18:14:28.123758607Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2023-12-10T18:14:28.124310762Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=550.445µs grafana | logger=migrator t=2023-12-10T18:14:28.129262477Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2023-12-10T18:14:28.140279626Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=11.018479ms grafana | logger=migrator t=2023-12-10T18:14:28.143461785Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2023-12-10T18:14:28.150927982Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=7.465187ms grafana | logger=migrator t=2023-12-10T18:14:28.155356102Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2023-12-10T18:14:28.156465022Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.10799ms grafana | logger=migrator t=2023-12-10T18:14:28.160251266Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2023-12-10T18:14:28.264691956Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=104.44045ms grafana | logger=migrator t=2023-12-10T18:14:28.268325399Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2023-12-10T18:14:28.269165467Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=839.798µs grafana | logger=migrator t=2023-12-10T18:14:28.273788788Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2023-12-10T18:14:28.275000809Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.211461ms grafana | logger=migrator t=2023-12-10T18:14:28.278798703Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2023-12-10T18:14:28.315167241Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=36.368888ms grafana | logger=migrator t=2023-12-10T18:14:28.320031515Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2023-12-10T18:14:28.320212106Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=180.461µs grafana | logger=migrator t=2023-12-10T18:14:28.325348002Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2023-12-10T18:14:28.325751156Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=403.284µs grafana | logger=migrator t=2023-12-10T18:14:28.333331904Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2023-12-10T18:14:28.333724698Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=392.814µs grafana | logger=migrator t=2023-12-10T18:14:28.337624223Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2023-12-10T18:14:28.339060526Z level=info msg="Migration successfully executed" id="create folder table" duration=1.435773ms grafana | logger=migrator t=2023-12-10T18:14:28.343834379Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2023-12-10T18:14:28.345802386Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.967767ms grafana | logger=migrator t=2023-12-10T18:14:28.35061314Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2023-12-10T18:14:28.351851271Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.237481ms grafana | logger=migrator t=2023-12-10T18:14:28.394393644Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2023-12-10T18:14:28.394466995Z level=info msg="Migration successfully executed" id="Update folder title length" duration=39.13µs grafana | logger=migrator t=2023-12-10T18:14:28.403065472Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-12-10T18:14:28.40502665Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.960038ms grafana | logger=migrator t=2023-12-10T18:14:28.408906375Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-12-10T18:14:28.410111666Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.2086ms grafana | logger=migrator t=2023-12-10T18:14:28.41391349Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2023-12-10T18:14:28.4150693Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.15538ms grafana | logger=migrator t=2023-12-10T18:14:28.419234848Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2023-12-10T18:14:28.420072665Z level=info msg="Migration successfully executed" id="create anon_device table" duration=836.857µs grafana | logger=migrator t=2023-12-10T18:14:28.423766998Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2023-12-10T18:14:28.424973499Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.205741ms grafana | logger=migrator t=2023-12-10T18:14:28.431391807Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2023-12-10T18:14:28.432512867Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.12094ms grafana | logger=migrator t=2023-12-10T18:14:28.437874716Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2023-12-10T18:14:28.439102457Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.227411ms grafana | logger=migrator t=2023-12-10T18:14:28.442874821Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2023-12-10T18:14:28.444616926Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.741815ms grafana | logger=migrator t=2023-12-10T18:14:28.448174588Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2023-12-10T18:14:28.449857083Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.682865ms grafana | logger=migrator t=2023-12-10T18:14:28.453235984Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2023-12-10T18:14:28.453513716Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=278.192µs grafana | logger=migrator t=2023-12-10T18:14:28.456390472Z level=info msg="migrations completed" performed=517 skipped=0 duration=4.362533697s grafana | logger=sqlstore t=2023-12-10T18:14:28.465326623Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2023-12-10T18:14:28.465606385Z level=info msg="Created default organization" grafana | logger=secrets t=2023-12-10T18:14:28.470682631Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=local.finder t=2023-12-10T18:14:28.524326784Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=query_data t=2023-12-10T18:14:28.537930936Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2023-12-10T18:14:28.542623709Z level=info msg="Live Push Gateway initialization" grafana | logger=infra.usagestats.collector t=2023-12-10T18:14:31.099037026Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2023-12-10T18:14:31.101560878Z level=info msg="inserting datasource from configuration " name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2023-12-10T18:14:31.115729716Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2023-12-10T18:14:31.115897097Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2023-12-10T18:14:31.116653344Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2023-12-10T18:14:31.118355579Z level=info msg="Warming state cache for startup" grafana | logger=http.server t=2023-12-10T18:14:31.127454231Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafana.update.checker t=2023-12-10T18:14:31.163267032Z level=info msg="Update check succeeded" duration=45.71079ms grafana | logger=plugins.update.checker t=2023-12-10T18:14:31.200074162Z level=info msg="Update check succeeded" duration=81.511131ms grafana | logger=sqlstore.transactions t=2023-12-10T18:14:31.212123391Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=ngalert.state.manager t=2023-12-10T18:14:31.233017098Z level=info msg="State cache has been initialized" states=0 duration=114.658269ms grafana | logger=ngalert.scheduler t=2023-12-10T18:14:31.233103199Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ngalert.multiorg.alertmanager t=2023-12-10T18:14:31.233123259Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=ticker t=2023-12-10T18:14:31.234020567Z level=info msg=starting first_tick=2023-12-10T18:14:40Z grafana | logger=ngalert.migration t=2023-12-10T18:14:31.254637983Z level=info msg=Starting grafana | logger=ngalert.migration t=2023-12-10T18:14:31.255181667Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-12-10T18:14:31.255396639Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-12-10T18:14:31.255775603Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-12-10T18:14:31.256167396Z level=warn msg="No available receivers" grafana | logger=ngalert.migration t=2023-12-10T18:14:31.258532098Z level=info msg="Completed legacy migration" grafana | logger=sqlstore.transactions t=2023-12-10T18:14:31.37916051Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2023-12-10T18:14:31.390677274Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" grafana | logger=infra.usagestats t=2023-12-10T18:16:05.12712697Z level=info msg="Usage stats are ready to report" ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping grafana ... Stopping policy-api ... Stopping prometheus ... Stopping mariadb ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing grafana ... Removing policy-api ... Removing policy-db-migrator ... Removing prometheus ... Removing mariadb ... Removing policy-api ... done Removing grafana ... done Removing policy-db-migrator ... done Removing mariadb ... done Removing prometheus ... done Removing network compose_default ++ cd /w/workspace/policy-api-montreal-project-csit-api + load_set + _setopts=hxB ++ tr : ' ' ++ echo braceexpand:hashall:interactive-comments:xtrace + 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.JONjVMWmIG ]] + rsync -av /tmp/tmp.JONjVMWmIG/ /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,345,090 bytes received 95 bytes 2,690,370.00 bytes/sec total size is 1,344,441 speedup is 1.00 + rm -rf /w/workspace/policy-api-montreal-project-csit-api/models + exit 0 $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2082 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-montreal-project-csit-api] $ /bin/bash /tmp/jenkins8208820740721020341.sh ---> sysstat.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins3498840496811547454.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/policy-api-montreal-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-montreal-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-montreal-project-csit-api ']' + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-montreal-project-csit-api/archives/ [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins1271803636445553647.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-3wFx from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-3wFx/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins10233231109083736483.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config13073575141338462206tmp 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-montreal-project-csit-api] $ /bin/bash /tmp/jenkins6228809092208391591.sh ---> create-netrc.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins9650823475939052009.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-3wFx from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-3wFx/bin to PATH [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins18043405239508538994.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins13116480200199006319.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-3wFx 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-3wFx/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [policy-api-montreal-project-csit-api] $ /bin/bash -l /tmp/jenkins2031263057043614267.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-3wFx from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools 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. python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-3wFx/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/29 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-3907 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 823 27319 0 4024 30887 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 mq state UP group default qlen 1000 link/ether fa:16:3e:64:3b:f6 brd ff:ff:ff:ff:ff:ff inet 10.30.107.58/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86056sec preferred_lft 86056sec inet6 fe80::f816:3eff:fe64:3bf6/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:88:b0:c0:9d 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-3907) 12/10/23 _x86_64_ (8 CPU) 18:11:21 LINUX RESTART (8 CPU) 18:12:02 tps rtps wtps bread/s bwrtn/s 18:13:01 98.07 17.88 80.19 1037.65 25007.56 18:14:01 143.03 23.15 119.88 2780.87 33135.01 18:15:01 376.35 12.85 363.51 794.77 79102.40 18:16:01 13.40 0.05 13.35 6.53 18192.10 18:17:01 62.07 2.07 60.01 125.31 21925.61 Average: 138.71 11.18 127.54 948.70 35506.95 18:12:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:13:01 30059640 31710728 2879580 8.74 72000 1887812 1416352 4.17 867748 1719796 209712 18:14:01 28491348 31682440 4447872 13.50 105332 3345904 1397364 4.11 977048 3084956 1246800 18:15:01 26868948 30553280 6070272 18.43 128136 3779156 4460596 13.12 2192664 3424412 188 18:16:01 26916744 30602284 6022476 18.28 128228 3780048 4517992 13.29 2145488 3424240 160 18:17:01 28017056 31670244 4922164 14.94 132980 3752136 1441104 4.24 1116308 3379504 52992 Average: 28070747 31243795 4868473 14.78 113335 3309011 2646682 7.79 1459851 3006582 301970 18:12:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:13:01 ens3 70.46 48.40 1136.64 8.18 0.00 0.00 0.00 0.00 18:13:01 lo 1.36 1.36 0.15 0.15 0.00 0.00 0.00 0.00 18:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:14:01 br-3f21aa11bdb4 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:14:01 ens3 269.09 169.56 8042.20 16.21 0.00 0.00 0.00 0.00 18:14:01 lo 7.47 7.47 0.69 0.69 0.00 0.00 0.00 0.00 18:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:15:01 veth7865d22 130.78 160.02 114.58 38.97 0.00 0.00 0.00 0.01 18:15:01 veth8b5182d 0.42 0.57 0.05 0.28 0.00 0.00 0.00 0.00 18:15:01 br-3f21aa11bdb4 3.48 3.93 6.16 2.49 0.00 0.00 0.00 0.00 18:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:16:01 veth7865d22 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 18:16:01 veth8b5182d 0.33 0.28 0.02 0.02 0.00 0.00 0.00 0.00 18:16:01 br-3f21aa11bdb4 1.80 2.02 0.14 0.19 0.00 0.00 0.00 0.00 18:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:01 ens3 821.56 528.08 11972.33 112.73 0.00 0.00 0.00 0.00 18:17:01 lo 32.14 32.14 10.48 10.48 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: ens3 95.87 62.62 2227.61 11.11 0.00 0.00 0.00 0.00 Average: lo 5.63 5.63 2.03 2.03 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-3907) 12/10/23 _x86_64_ (8 CPU) 18:11:21 LINUX RESTART (8 CPU) 18:12:02 CPU %user %nice %system %iowait %steal %idle 18:13:01 all 10.11 0.00 0.74 2.06 0.04 87.06 18:13:01 0 14.03 0.00 1.12 0.25 0.02 84.58 18:13:01 1 5.55 0.00 0.41 0.25 0.03 93.75 18:13:01 2 32.62 0.00 1.60 2.50 0.07 63.22 18:13:01 3 18.45 0.00 1.15 0.05 0.03 80.31 18:13:01 4 2.04 0.00 0.29 0.02 0.05 97.61 18:13:01 5 1.66 0.00 0.32 0.08 0.03 97.90 18:13:01 6 0.51 0.00 0.27 0.44 0.02 98.76 18:13:01 7 6.02 0.00 0.75 12.85 0.05 80.33 18:14:01 all 11.04 0.00 2.45 2.26 0.05 84.21 18:14:01 0 10.94 0.00 2.35 0.55 0.03 86.12 18:14:01 1 5.26 0.00 2.02 0.25 0.03 92.43 18:14:01 2 14.23 0.00 3.20 0.30 0.03 82.24 18:14:01 3 4.65 0.00 1.69 0.40 0.02 93.25 18:14:01 4 3.66 0.00 2.94 6.42 0.07 86.91 18:14:01 5 5.50 0.00 2.20 0.30 0.03 91.96 18:14:01 6 28.60 0.00 2.95 8.12 0.07 60.26 18:14:01 7 15.46 0.00 2.21 1.76 0.05 80.51 18:15:01 all 18.50 0.00 3.21 4.87 0.06 73.37 18:15:01 0 16.68 0.00 2.77 1.02 0.05 79.48 18:15:01 1 21.45 0.00 3.11 0.60 0.05 74.79 18:15:01 2 24.21 0.00 3.59 1.71 0.07 70.42 18:15:01 3 17.53 0.00 3.02 1.28 0.07 78.11 18:15:01 4 24.88 0.00 3.85 11.93 0.07 59.28 18:15:01 5 9.24 0.00 2.47 1.21 0.05 87.02 18:15:01 6 18.34 0.00 3.59 7.48 0.07 70.52 18:15:01 7 15.71 0.00 3.30 13.77 0.07 67.15 18:16:01 all 0.32 0.00 0.08 0.97 0.03 98.60 18:16:01 0 0.47 0.00 0.12 0.00 0.02 99.40 18:16:01 1 0.12 0.00 0.07 0.00 0.02 99.80 18:16:01 2 0.07 0.00 0.07 0.00 0.00 99.87 18:16:01 3 0.17 0.00 0.10 0.07 0.02 99.65 18:16:01 4 0.18 0.00 0.03 7.64 0.00 92.14 18:16:01 5 1.26 0.00 0.05 0.07 0.03 98.59 18:16:01 6 0.05 0.00 0.07 0.00 0.00 99.88 18:16:01 7 0.27 0.00 0.12 0.02 0.13 99.47 18:17:01 all 8.61 0.00 0.73 1.62 0.04 89.01 18:17:01 0 0.78 0.00 0.55 0.02 0.07 98.58 18:17:01 1 16.61 0.00 0.97 0.45 0.03 81.93 18:17:01 2 5.14 0.00 0.68 0.12 0.03 94.03 18:17:01 3 25.16 0.00 1.17 0.53 0.05 73.09 18:17:01 4 1.13 0.00 0.47 0.88 0.02 97.50 18:17:01 5 15.49 0.00 0.62 0.77 0.05 83.07 18:17:01 6 1.38 0.00 0.57 0.77 0.02 97.27 18:17:01 7 3.23 0.00 0.82 9.38 0.05 86.53 Average: all 9.70 0.00 1.44 2.35 0.04 86.47 Average: 0 8.55 0.00 1.38 0.37 0.04 89.66 Average: 1 9.81 0.00 1.31 0.31 0.03 88.53 Average: 2 15.18 0.00 1.82 0.92 0.04 82.04 Average: 3 13.16 0.00 1.43 0.47 0.04 84.91 Average: 4 6.37 0.00 1.51 5.39 0.04 86.69 Average: 5 6.63 0.00 1.13 0.49 0.04 91.70 Average: 6 9.77 0.00 1.49 3.36 0.03 85.36 Average: 7 8.12 0.00 1.44 7.53 0.07 82.84