Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-253 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-london-project-csit-api [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-uUFiOTy42Yvl/agent.2085 SSH_AGENT_PID=2087 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_866486627459144903.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_866486627459144903.key) [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) The recommended git tool is: NONE using credential onap-jenkins-ssh Wiping out workspace first. Cloning the remote Git repository Cloning repository git://cloud.onap.org/mirror/policy/docker.git > git init /w/workspace/policy-api-london-project-csit-api # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_SSH to set credentials Gerrit user Verifying host key using manually-configured host key entries > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/london^{commit} # timeout=10 Checking out Revision e830ea142a4b760cf152d9db92c451d74b2da1f2 (refs/remotes/origin/london) > git config core.sparsecheckout # timeout=10 > git checkout -f e830ea142a4b760cf152d9db92c451d74b2da1f2 # timeout=30 Commit message: "Make update to allow local image to be used in Nordix" > git rev-list --no-walk e830ea142a4b760cf152d9db92c451d74b2da1f2 # timeout=10 provisioning config files... copy managed file [npmrc] to file:/home/jenkins/.npmrc copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins5236371935505163299.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-oLad 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-oLad/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-oLad/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.1.6 aspy.yaml==1.3.0 attrs==23.1.0 autopage==0.5.2 Babel==2.13.1 beautifulsoup4==4.12.2 boto3==1.29.1 botocore==1.32.1 bs4==0.0.1 cachetools==5.3.2 certifi==2023.7.22 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.4.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.7 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.2.2 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.40 google-auth==2.23.4 httplib2==0.22.0 identify==2.5.31 idna==3.4 importlib-metadata==6.8.0 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.2 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.19.2 jsonschema-specifications==2023.11.1 keystoneauth1==5.3.0 kubernetes==28.1.0 lftools==0.37.8 lxml==4.9.3 MarkupSafe==2.1.3 msgpack==1.0.7 multi-key-dict==2.0.3 munch==4.0.0 netaddr==0.9.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==2.9.0 oslo.config==9.2.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.2.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==3.11.0 prettytable==3.9.0 pyasn1==0.5.0 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.3.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.2.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.31.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.12.0 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.7.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.8.0 tzdata==2023.3 urllib3==1.26.18 virtualenv==20.24.6 wcwidth==0.2.10 websocket-client==1.6.4 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 zipp==3.17.0 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-london-project-csit-api] $ /bin/sh /tmp/jenkins4897263183506347029.sh ---> update-java-alternatives.sh ---> Updating Java version ---> Ubuntu/Debian system detected update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode openjdk version "17.0.4" 2022-07-19 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' [EnvInject] - Variables injected successfully. [policy-api-london-project-csit-api] $ /bin/sh -xe /tmp/jenkins1588050651216288777.sh + /w/workspace/policy-api-london-project-csit-api/csit/run-project-csit.sh api + set +u + save_set + RUN_CSIT_SAVE_SET=ehxB + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace + '[' 1 -eq 0 ']' + '[' -z /w/workspace/policy-api-london-project-csit-api ']' + export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin + export SCRIPTS=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts + SCRIPTS=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts + export ROBOT_VARIABLES= + ROBOT_VARIABLES= + export PROJECT=api + PROJECT=api + cd /w/workspace/policy-api-london-project-csit-api + rm -rf /w/workspace/policy-api-london-project-csit-api/csit/archives/api + mkdir -p /w/workspace/policy-api-london-project-csit-api/csit/archives/api + source_safely /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' +++ mktemp -d ++ ROBOT_VENV=/tmp/tmp.zmLrGdhROd ++ echo ROBOT_VENV=/tmp/tmp.zmLrGdhROd +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.zmLrGdhROd ++ source /tmp/tmp.zmLrGdhROd/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.zmLrGdhROd +++ export VIRTUAL_ENV +++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin +++ PATH=/tmp/tmp.zmLrGdhROd/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin +++ export PATH +++ '[' -n '' ']' +++ '[' -z '' ']' +++ _OLD_VIRTUAL_PS1= +++ '[' 'x(tmp.zmLrGdhROd) ' '!=' x ']' +++ PS1='(tmp.zmLrGdhROd) ' +++ export PS1 +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ set -exu ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' ++ echo 'Installing Python Requirements' Installing Python Requirements ++ python3 -m pip install -qq -r /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.8.3 certifi==2023.7.22 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.4 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==4.9.3 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.3.1 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.zmLrGdhROd/src/onap ++ rm -rf /tmp/tmp.zmLrGdhROd/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.8.3 certifi==2023.7.22 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==0.18.3 idna==3.4 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==4.9.3 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.3.1 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.zmLrGdhROd/bin/activate + '[' -z /tmp/tmp.zmLrGdhROd/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.zmLrGdhROd/bin/activate ++ deactivate nondestructive ++ '[' -n /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin ']' ++ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin ++ export PATH ++ unset _OLD_VIRTUAL_PATH ++ '[' -n '' ']' ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r ++ '[' -n '' ']' ++ unset VIRTUAL_ENV ++ '[' '!' nondestructive = nondestructive ']' ++ VIRTUAL_ENV=/tmp/tmp.zmLrGdhROd ++ export VIRTUAL_ENV ++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin ++ PATH=/tmp/tmp.zmLrGdhROd/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin ++ export PATH ++ '[' -n '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1='(tmp.zmLrGdhROd) ' ++ '[' 'x(tmp.zmLrGdhROd) ' '!=' x ']' ++ PS1='(tmp.zmLrGdhROd) (tmp.zmLrGdhROd) ' ++ export PS1 ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + export TEST_PLAN_DIR=/w/workspace/policy-api-london-project-csit-api/csit/resources/tests + TEST_PLAN_DIR=/w/workspace/policy-api-london-project-csit-api/csit/resources/tests + export TEST_OPTIONS= + TEST_OPTIONS= ++ mktemp -d + WORKDIR=/tmp/tmp.wxhgTziC7G + cd /tmp/tmp.wxhgTziC7G + docker login -u docker -p docker nexus3.onap.org:10001 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded + SETUP=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-london-project-csit-api/.gitreview +++ GERRIT_BRANCH=london +++ echo GERRIT_BRANCH=london GERRIT_BRANCH=london +++ rm -rf /w/workspace/policy-api-london-project-csit-api/models +++ mkdir /w/workspace/policy-api-london-project-csit-api/models +++ git clone -b london --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-london-project-csit-api/models Cloning into '/w/workspace/policy-api-london-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json +++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-london-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose +++ grafana=false +++ gui=false +++ [[ 2 -gt 0 ]] +++ key=api +++ case $key in +++ echo api api +++ component=api +++ shift +++ [[ 1 -gt 0 ]] +++ key=--grafana +++ case $key in +++ grafana=true +++ shift +++ [[ 0 -gt 0 ]] +++ cd /w/workspace/policy-api-london-project-csit-api/compose +++ echo 'Configuring docker compose...' Configuring docker compose... +++ source export-ports.sh +++ source get-versions.sh +++ '[' -z api ']' +++ '[' -n api ']' +++ '[' api == logs ']' +++ '[' true = true ']' +++ echo 'Starting api application with Grafana' Starting api application with Grafana +++ docker-compose up -d api grafana Creating network "compose_default" with the default driver Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 10.10.2: Pulling from mariadb Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2)... 2.6.2: Pulling from onap/policy-db-migrator Digest: sha256:a003c74f917627b7a14203f69b616fd4ffbb9c75689a5da0efcd611ad2535297 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2 Pulling api (nexus3.onap.org:10001/onap/policy-api:2.8.2)... 2.8.2: Pulling from onap/policy-api Digest: sha256:217c303960fc98a3dbef0c32dcca2beb777ec0b98b821daa59093c76f331177d Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:2.8.2 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:3002935850ea69a59816825d4cb718fafcdb9b124e4e6153ebc6894627525f7f Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... latest: Pulling from grafana/grafana Digest: sha256:be0359383ed7d8436c53760cf8ff3671043ee3e0169f363ef33ecb329102fe4c Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-london-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds policy-db-migrator Up 11 seconds grafana Up 13 seconds mariadb Up 11 seconds prometheus Up 14 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds mariadb Up 17 seconds prometheus Up 19 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds mariadb Up 22 seconds prometheus Up 24 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-london-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:37:27 up 3 min, 0 users, load average: 2.33, 0.88, 0.33 Tasks: 181 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 12.1 us, 2.3 sy, 0.0 ni, 83.2 id, 2.4 wa, 0.0 hi, 0.0 si, 0.1 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.8G 25G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 9a2e00eb2d38 policy-api 0.12% 843.4MiB / 31.41GiB 2.62% 1.04MB / 739kB 0B / 0B 50 522973457d44 grafana 0.04% 96.34MiB / 31.41GiB 0.30% 18.7kB / 3.16kB 0B / 23.4MB 22 97f2c7fbfc3b mariadb 0.02% 100.5MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11.2MB / 67.7MB 28 081a03e15fde prometheus 0.06% 18.71MiB / 31.41GiB 0.06% 1.38kB / 0B 4.1kB / 0B 13 + echo + cd /tmp/tmp.wxhgTziC7G + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + sed 's|^|/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot' + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ... + relax_set + set +e + set +o pipefail + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ============================================================================== api ============================================================================== api.Api-Test ============================================================================== Healthcheck :: Verify policy api health check | PASS | ------------------------------------------------------------------------------ Statistics :: Verify policy api statistics | PASS | ------------------------------------------------------------------------------ RetrievePolicyTypes :: Retrieve all policy types | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | ------------------------------------------------------------------------------ RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNodeTemplates :: Create node templates in database using spe... | PASS | ------------------------------------------------------------------------------ RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | ------------------------------------------------------------------------------ RetrieveAllPolicies :: Retrieve all policies | PASS | ------------------------------------------------------------------------------ RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | ------------------------------------------------------------------------------ RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | ------------------------------------------------------------------------------ RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | ------------------------------------------------------------------------------ DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ Metrics :: Verify policy-api is exporting prometheus metrics | PASS | ------------------------------------------------------------------------------ api.Api-Test | PASS | 23 tests, 23 passed, 0 failed ============================================================================== api.Api-Slas ============================================================================== WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForStatistics :: Validate statistics response ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ api.Api-Slas | PASS | 10 tests, 10 passed, 0 failed ============================================================================== api | PASS | 33 tests, 33 passed, 0 failed ============================================================================== Output: /tmp/tmp.wxhgTziC7G/output.xml Log: /tmp/tmp.wxhgTziC7G/log.html Report: /tmp/tmp.wxhgTziC7G/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-london-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:38:38 up 4 min, 0 users, load average: 0.89, 0.77, 0.34 Tasks: 179 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.9 us, 1.8 sy, 0.0 ni, 86.3 id, 1.9 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 2.0G 25G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 9a2e00eb2d38 policy-api 11.50% 1.012GiB / 31.41GiB 3.22% 7.32MB / 2.9MB 0B / 0B 52 522973457d44 grafana 0.18% 96.41MiB / 31.41GiB 0.30% 19.8kB / 4.44kB 0B / 23.4MB 22 97f2c7fbfc3b mariadb 0.02% 101.3MiB / 31.41GiB 0.31% 2.75MB / 7.36MB 11.2MB / 67.9MB 18 081a03e15fde prometheus 0.00% 24.98MiB / 31.41GiB 0.08% 38.1kB / 7.11kB 4.1kB / 0B 13 + echo + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose ++ cd /w/workspace/policy-api-london-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, policy-db-migrator, grafana, mariadb, prometheus grafana | logger=settings t=2023-11-16T11:36:59.501562729Z level=info msg="Starting Grafana" version=10.2.1 commit=533a733e4eda44041e43358c5a51203e9b42c9ea branch=HEAD compiled=2023-11-14T09:57:11Z grafana | logger=settings t=2023-11-16T11:36:59.50177875Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2023-11-16T11:36:59.50179324Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2023-11-16T11:36:59.50179831Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2023-11-16T11:36:59.50180221Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2023-11-16T11:36:59.50180538Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-16T11:36:59.50180876Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-16T11:36:59.501812591Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2023-11-16T11:36:59.501816741Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2023-11-16T11:36:59.501823981Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2023-11-16T11:36:59.501827701Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-16T11:36:59.501831061Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-16T11:36:59.501834231Z level=info msg=Target target=[all] grafana | logger=settings t=2023-11-16T11:36:59.501840941Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2023-11-16T11:36:59.501844301Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2023-11-16T11:36:59.501847571Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2023-11-16T11:36:59.501850941Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2023-11-16T11:36:59.501854231Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2023-11-16T11:36:59.501868971Z level=info msg="App mode production" grafana | logger=sqlstore t=2023-11-16T11:36:59.502139453Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2023-11-16T11:36:59.502161523Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2023-11-16T11:36:59.502812479Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2023-11-16T11:36:59.503729406Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2023-11-16T11:36:59.504460241Z level=info msg="Migration successfully executed" id="create migration_log table" duration=730.585µs grafana | logger=migrator t=2023-11-16T11:36:59.509738103Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2023-11-16T11:36:59.510514658Z level=info msg="Migration successfully executed" id="create user table" duration=778.015µs grafana | logger=migrator t=2023-11-16T11:36:59.514789493Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2023-11-16T11:36:59.515690849Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=901.027µs grafana | logger=migrator t=2023-11-16T11:36:59.521155912Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2023-11-16T11:36:59.521876927Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=722.625µs grafana | logger=migrator t=2023-11-16T11:36:59.526245412Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2023-11-16T11:36:59.526924517Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=677.935µs grafana | logger=migrator t=2023-11-16T11:36:59.530855578Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2023-11-16T11:36:59.531485183Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=629.625µs grafana | logger=migrator t=2023-11-16T11:36:59.53635286Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2023-11-16T11:36:59.540577244Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.224444ms grafana | logger=migrator t=2023-11-16T11:36:59.544479484Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2023-11-16T11:36:59.54518455Z level=info msg="Migration successfully executed" id="create user table v2" duration=706.036µs grafana | logger=migrator t=2023-11-16T11:36:59.549736956Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2023-11-16T11:36:59.550493072Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=755.756µs grafana | logger=migrator t=2023-11-16T11:36:59.553748157Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2023-11-16T11:36:59.554503343Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=754.526µs grafana | logger=migrator t=2023-11-16T11:36:59.559799504Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2023-11-16T11:36:59.560422439Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=624.995µs grafana | logger=migrator t=2023-11-16T11:36:59.563958436Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2023-11-16T11:36:59.564732713Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=774.097µs grafana | logger=migrator t=2023-11-16T11:36:59.568076829Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2023-11-16T11:36:59.569173698Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.095639ms grafana | logger=migrator t=2023-11-16T11:36:59.573647603Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2023-11-16T11:36:59.573673233Z level=info msg="Migration successfully executed" id="Update user table charset" duration=26.59µs grafana | logger=migrator t=2023-11-16T11:36:59.577048959Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2023-11-16T11:36:59.578758093Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.708724ms grafana | logger=migrator t=2023-11-16T11:36:59.582373711Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2023-11-16T11:36:59.582708123Z level=info msg="Migration successfully executed" id="Add missing user data" duration=334.652µs grafana | logger=migrator t=2023-11-16T11:36:59.586044799Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2023-11-16T11:36:59.587112088Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.067299ms grafana | logger=migrator t=2023-11-16T11:36:59.591651203Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2023-11-16T11:36:59.592522861Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=869.838µs grafana | logger=migrator t=2023-11-16T11:36:59.59636254Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2023-11-16T11:36:59.598207745Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.841755ms grafana | logger=migrator t=2023-11-16T11:36:59.601732593Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2023-11-16T11:36:59.611477818Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=9.744325ms grafana | logger=migrator t=2023-11-16T11:36:59.614755213Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2023-11-16T11:36:59.61547084Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=715.357µs grafana | logger=migrator t=2023-11-16T11:36:59.620276227Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2023-11-16T11:36:59.621775959Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.495052ms grafana | logger=migrator t=2023-11-16T11:36:59.626010942Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2023-11-16T11:36:59.627113101Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.101859ms grafana | logger=migrator t=2023-11-16T11:36:59.630993981Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2023-11-16T11:36:59.631716407Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=721.916µs grafana | logger=migrator t=2023-11-16T11:36:59.636623265Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2023-11-16T11:36:59.637504492Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=879.577µs grafana | logger=migrator t=2023-11-16T11:36:59.641385663Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2023-11-16T11:36:59.641422463Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=38.05µs grafana | logger=migrator t=2023-11-16T11:36:59.645451564Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2023-11-16T11:36:59.646456902Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.007268ms grafana | logger=migrator t=2023-11-16T11:36:59.650831596Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2023-11-16T11:36:59.651572143Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=743.357µs grafana | logger=migrator t=2023-11-16T11:36:59.654670147Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2023-11-16T11:36:59.655325162Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=655.865µs grafana | logger=migrator t=2023-11-16T11:36:59.658548036Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2023-11-16T11:36:59.659180621Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=632.535µs grafana | logger=migrator t=2023-11-16T11:36:59.664222631Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-16T11:36:59.66790936Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.685929ms grafana | logger=migrator t=2023-11-16T11:36:59.671520238Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2023-11-16T11:36:59.672240884Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=720.646µs grafana | logger=migrator t=2023-11-16T11:36:59.675906112Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2023-11-16T11:36:59.676617728Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=710.946µs grafana | logger=migrator t=2023-11-16T11:36:59.681307494Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2023-11-16T11:36:59.682517515Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.210031ms grafana | logger=migrator t=2023-11-16T11:36:59.686197753Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2023-11-16T11:36:59.687328672Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.131038ms grafana | logger=migrator t=2023-11-16T11:36:59.691566195Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2023-11-16T11:36:59.692813254Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.246329ms grafana | logger=migrator t=2023-11-16T11:36:59.697875864Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2023-11-16T11:36:59.698581879Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=705.455µs grafana | logger=migrator t=2023-11-16T11:36:59.702522831Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2023-11-16T11:36:59.703423088Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=899.187µs grafana | logger=migrator t=2023-11-16T11:36:59.707228637Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2023-11-16T11:36:59.707612741Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=383.964µs grafana | logger=migrator t=2023-11-16T11:36:59.711208889Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2023-11-16T11:36:59.711854863Z level=info msg="Migration successfully executed" id="create star table" duration=645.244µs grafana | logger=migrator t=2023-11-16T11:36:59.716865153Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2023-11-16T11:36:59.718214113Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.3473ms grafana | logger=migrator t=2023-11-16T11:36:59.722703998Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2023-11-16T11:36:59.723548825Z level=info msg="Migration successfully executed" id="create org table v1" duration=846.137µs grafana | logger=migrator t=2023-11-16T11:36:59.728175811Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2023-11-16T11:36:59.728901097Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=725.546µs mariadb | 2023-11-16 11:37:00+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-16 11:37:00+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2023-11-16 11:37:00+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-16 11:37:00+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2023-11-16 11:37:00 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-11-16 11:37:00 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-16 11:37:00 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2023-11-16 11:37:02+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2023-11-16 11:37:02+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2023-11-16 11:37:02+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2023-11-16 11:37:02 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 96 ... mariadb | 2023-11-16 11:37:02 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-11-16 11:37:02 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-11-16 11:37:02 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-11-16 11:37:02 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-11-16 11:37:02 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-11-16 11:37:02 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-16 11:37:02 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-11-16 11:37:02 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-11-16 11:37:02 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-11-16 11:37:02 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-11-16 11:37:02 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-11-16 11:37:02 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-11-16 11:37:02 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2023-11-16 11:37:02 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-11-16 11:37:02 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-11-16 11:37:02 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-16 11:37:02 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-16 11:37:02 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2023-11-16 11:37:03+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2023-11-16 11:37:05+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2023-11-16 11:37:05+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2023-11-16 11:37:05+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2023-11-16 11:37:05+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. grafana | logger=migrator t=2023-11-16T11:36:59.733876146Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2023-11-16T11:36:59.734519841Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=642.425µs grafana | logger=migrator t=2023-11-16T11:36:59.737998208Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2023-11-16T11:36:59.738736464Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=735.786µs grafana | logger=migrator t=2023-11-16T11:36:59.742185521Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2023-11-16T11:36:59.743515001Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.32888ms grafana | logger=migrator t=2023-11-16T11:36:59.747326541Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2023-11-16T11:36:59.748381689Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.055738ms grafana | logger=migrator t=2023-11-16T11:36:59.753074676Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2023-11-16T11:36:59.753117556Z level=info msg="Migration successfully executed" id="Update org table charset" duration=44.14µs grafana | logger=migrator t=2023-11-16T11:36:59.757118557Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2023-11-16T11:36:59.757164388Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=45.711µs grafana | logger=migrator t=2023-11-16T11:36:59.761153689Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2023-11-16T11:36:59.761473452Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=320.193µs grafana | logger=migrator t=2023-11-16T11:36:59.765253841Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2023-11-16T11:36:59.766302Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.045109ms grafana | logger=migrator t=2023-11-16T11:36:59.771359039Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2023-11-16T11:36:59.772619189Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.26023ms grafana | logger=migrator t=2023-11-16T11:36:59.776734421Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2023-11-16T11:36:59.778074792Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.339371ms grafana | logger=migrator t=2023-11-16T11:36:59.782231684Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2023-11-16T11:36:59.782889669Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=656.845µs grafana | logger=migrator t=2023-11-16T11:36:59.786702889Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2023-11-16T11:36:59.78812586Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.422271ms grafana | logger=migrator t=2023-11-16T11:36:59.792835317Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2023-11-16T11:36:59.794004596Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.169369ms grafana | logger=migrator t=2023-11-16T11:36:59.797840186Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2023-11-16T11:36:59.808212438Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=10.371702ms grafana | logger=migrator t=2023-11-16T11:36:59.811644574Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2023-11-16T11:36:59.812104898Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=459.714µs grafana | logger=migrator t=2023-11-16T11:36:59.816558963Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2023-11-16T11:36:59.817068557Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=509.614µs grafana | logger=migrator t=2023-11-16T11:36:59.820825146Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2023-11-16T11:36:59.822421559Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.594403ms grafana | logger=migrator t=2023-11-16T11:36:59.827096885Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2023-11-16T11:36:59.828037133Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=939.448µs grafana | logger=migrator t=2023-11-16T11:36:59.832351426Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2023-11-16T11:36:59.833173482Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=821.116µs grafana | logger=migrator t=2023-11-16T11:36:59.836587099Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2023-11-16T11:36:59.83665227Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=65.801µs grafana | logger=migrator t=2023-11-16T11:36:59.840106967Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2023-11-16T11:36:59.841877311Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.769934ms grafana | logger=migrator t=2023-11-16T11:36:59.846741818Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2023-11-16T11:36:59.848579913Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.837835ms grafana | logger=migrator t=2023-11-16T11:36:59.851787578Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2023-11-16T11:36:59.853555662Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.767764ms grafana | logger=migrator t=2023-11-16T11:36:59.85716559Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2023-11-16T11:36:59.857955406Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=789.966µs grafana | logger=migrator t=2023-11-16T11:36:59.863327188Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2023-11-16T11:36:59.86617319Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.849182ms grafana | logger=migrator t=2023-11-16T11:36:59.86989448Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2023-11-16T11:36:59.87116046Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.26537ms grafana | logger=migrator t=2023-11-16T11:36:59.874672687Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2023-11-16 11:37:06+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2023-11-16 11:37:06 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2023-11-16 11:37:06 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2023-11-16 11:37:06 0 [Note] InnoDB: Starting shutdown... mariadb | 2023-11-16 11:37:06 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2023-11-16 11:37:06 0 [Note] InnoDB: Buffer pool(s) dump completed at 231116 11:37:06 mariadb | 2023-11-16 11:37:06 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2023-11-16 11:37:06 0 [Note] InnoDB: Shutdown completed; log sequence number 340550; transaction id 298 mariadb | 2023-11-16 11:37:06 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2023-11-16 11:37:06+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2023-11-16 11:37:06+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2023-11-16 11:37:06 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2023-11-16 11:37:06 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-11-16 11:37:06 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-11-16 11:37:06 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-11-16 11:37:06 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-11-16 11:37:06 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-11-16 11:37:06 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-16 11:37:06 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-11-16 11:37:06 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-11-16 11:37:06 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-11-16 11:37:06 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-11-16 11:37:06 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-11-16 11:37:06 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-11-16 11:37:06 0 [Note] InnoDB: log sequence number 340550; transaction id 299 mariadb | 2023-11-16 11:37:06 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2023-11-16 11:37:06 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-11-16 11:37:06 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-11-16 11:37:06 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2023-11-16 11:37:06 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2023-11-16 11:37:06 0 [Note] Server socket created on IP: '::'. mariadb | 2023-11-16 11:37:06 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2023-11-16 11:37:06 0 [Note] InnoDB: Buffer pool(s) load completed at 231116 11:37:06 mariadb | 2023-11-16 11:37:07 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) mariadb | 2023-11-16 11:37:07 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) grafana | logger=migrator t=2023-11-16T11:36:59.875543364Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=870.387µs grafana | logger=migrator t=2023-11-16T11:36:59.88013306Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2023-11-16T11:36:59.88017675Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=42.37µs grafana | logger=migrator t=2023-11-16T11:36:59.883682497Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2023-11-16T11:36:59.883721168Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=39.481µs grafana | logger=migrator t=2023-11-16T11:36:59.886418199Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2023-11-16T11:36:59.888915368Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.495839ms grafana | logger=migrator t=2023-11-16T11:36:59.895120718Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2023-11-16T11:36:59.896995271Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.873493ms grafana | logger=migrator t=2023-11-16T11:36:59.900638201Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2023-11-16T11:36:59.903974767Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=3.335966ms grafana | logger=migrator t=2023-11-16T11:36:59.908211379Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2023-11-16T11:36:59.910068114Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.856465ms grafana | logger=migrator t=2023-11-16T11:36:59.913597311Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2023-11-16T11:36:59.913780523Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=183.712µs grafana | logger=migrator t=2023-11-16T11:36:59.918242998Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2023-11-16T11:36:59.919002954Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=758.676µs grafana | logger=migrator t=2023-11-16T11:36:59.922640212Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2023-11-16T11:36:59.923782152Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.141729ms grafana | logger=migrator t=2023-11-16T11:36:59.927911683Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2023-11-16T11:36:59.927956504Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=46.351µs grafana | logger=migrator t=2023-11-16T11:36:59.932348358Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2023-11-16T11:36:59.933090094Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=740.146µs grafana | logger=migrator t=2023-11-16T11:36:59.936836343Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2023-11-16T11:36:59.93768726Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=848.527µs grafana | logger=migrator t=2023-11-16T11:36:59.941701241Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-16T11:36:59.953189241Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=11.49096ms grafana | logger=migrator t=2023-11-16T11:36:59.957875068Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2023-11-16T11:36:59.958389152Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=513.974µs grafana | logger=migrator t=2023-11-16T11:36:59.962630855Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2023-11-16T11:36:59.963394831Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=764.146µs grafana | logger=migrator t=2023-11-16T11:36:59.966894348Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2023-11-16T11:36:59.967737515Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=842.957µs grafana | logger=migrator t=2023-11-16T11:36:59.971945318Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2023-11-16T11:36:59.972400781Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=455.483µs grafana | logger=migrator t=2023-11-16T11:36:59.975693467Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2023-11-16T11:36:59.976648235Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=953.958µs grafana | logger=migrator t=2023-11-16T11:36:59.980335734Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2023-11-16T11:36:59.98236335Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.027326ms grafana | logger=migrator t=2023-11-16T11:36:59.987642981Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2023-11-16T11:36:59.989815578Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=2.180357ms grafana | logger=migrator t=2023-11-16T11:36:59.993810559Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2023-11-16T11:36:59.994091641Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=281.272µs grafana | logger=migrator t=2023-11-16T11:36:59.997700509Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2023-11-16T11:36:59.997899481Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=193.102µs grafana | logger=migrator t=2023-11-16T11:37:00.003348554Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2023-11-16T11:37:00.004505823Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.160619ms grafana | logger=migrator t=2023-11-16T11:37:00.008459322Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2023-11-16T11:37:00.010971251Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.510939ms grafana | logger=migrator t=2023-11-16T11:37:00.014592449Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2023-11-16T11:37:00.015660317Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.067638ms 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.5:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v2.7.8) policy-api | policy-api | [2023-11-16T11:37:14.792+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 32 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2023-11-16T11:37:14.797+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2023-11-16T11:37:16.291+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2023-11-16T11:37:16.619+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 313 ms. Found 6 JPA repository interfaces. policy-api | [2023-11-16T11:37:17.780+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2023-11-16T11:37:17.793+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-16T11:37:17.794+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2023-11-16T11:37:17.794+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2023-11-16T11:37:17.880+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2023-11-16T11:37:17.880+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2999 ms policy-api | [2023-11-16T11:37:18.362+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2023-11-16T11:37:18.433+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final prometheus | ts=2023-11-16T11:36:58.481Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2023-11-16T11:36:58.481Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.47.2, branch=HEAD, revision=3f3172cde1ee37f1c7b3a5f3d9b031190509b3ad)" prometheus | ts=2023-11-16T11:36:58.482Z caller=main.go:588 level=info build_context="(go=go1.21.3, platform=linux/amd64, user=root@79f2ad339b75, date=20231012-16:07:10, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2023-11-16T11:36:58.482Z caller=main.go:589 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" prometheus | ts=2023-11-16T11:36:58.482Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2023-11-16T11:36:58.482Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2023-11-16T11:36:58.484Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2023-11-16T11:36:58.484Z caller=main.go:1024 level=info msg="Starting TSDB ..." prometheus | ts=2023-11-16T11:36:58.488Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2023-11-16T11:36:58.488Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2023-11-16T11:36:58.491Z caller=head.go:600 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2023-11-16T11:36:58.491Z caller=head.go:681 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.02µs prometheus | ts=2023-11-16T11:36:58.491Z caller=head.go:689 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2023-11-16T11:36:58.492Z caller=head.go:760 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2023-11-16T11:36:58.492Z caller=head.go:797 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=80.69µs wal_replay_duration=416.263µs wbl_replay_duration=320ns total_replay_duration=566.894µs prometheus | ts=2023-11-16T11:36:58.494Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2023-11-16T11:36:58.494Z caller=main.go:1048 level=info msg="TSDB started" prometheus | ts=2023-11-16T11:36:58.494Z caller=main.go:1229 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2023-11-16T11:36:58.495Z caller=main.go:1266 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.106468ms db_storage=1.4µs remote_storage=1.98µs web_handler=520ns query_engine=1.01µs scrape=265.701µs scrape_sd=115.131µs notify=28.63µs notify_sd=13.201µs rules=1.57µs tracing=6.1µs prometheus | ts=2023-11-16T11:36:58.496Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." prometheus | ts=2023-11-16T11:36:58.496Z caller=manager.go:1009 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2023-11-16T11:37:00.059079132Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2023-11-16T11:37:00.060472933Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.394701ms grafana | logger=migrator t=2023-11-16T11:37:00.064696564Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2023-11-16T11:37:00.066184055Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.486831ms grafana | logger=migrator t=2023-11-16T11:37:00.070719789Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2023-11-16T11:37:00.071590446Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=874.767µs grafana | logger=migrator t=2023-11-16T11:37:00.076146829Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2023-11-16T11:37:00.077045426Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=898.657µs grafana | logger=migrator t=2023-11-16T11:37:00.08018013Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2023-11-16T11:37:00.088139189Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=7.957929ms grafana | logger=migrator t=2023-11-16T11:37:00.091800297Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2023-11-16T11:37:00.092600133Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=799.306µs grafana | logger=migrator t=2023-11-16T11:37:00.097342839Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2023-11-16T11:37:00.098228885Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=885.606µs grafana | logger=migrator t=2023-11-16T11:37:00.10162849Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2023-11-16T11:37:00.102629128Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.001438ms grafana | logger=migrator t=2023-11-16T11:37:00.106178345Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2023-11-16T11:37:00.106792919Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=614.644µs grafana | logger=migrator t=2023-11-16T11:37:00.111983828Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2023-11-16T11:37:00.114538497Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.558489ms grafana | logger=migrator t=2023-11-16T11:37:00.118908029Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2023-11-16T11:37:00.124109399Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=5.21126ms grafana | logger=migrator t=2023-11-16T11:37:00.12819369Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2023-11-16T11:37:00.12825148Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=58.77µs grafana | logger=migrator t=2023-11-16T11:37:00.132698403Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2023-11-16T11:37:00.133009475Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=312.082µs grafana | logger=migrator t=2023-11-16T11:37:00.136527912Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2023-11-16T11:37:00.140234919Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.706497ms grafana | logger=migrator t=2023-11-16T11:37:00.144000937Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2023-11-16T11:37:00.144209799Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=211.242µs grafana | logger=migrator t=2023-11-16T11:37:00.147688126Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2023-11-16T11:37:00.147896187Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=204.611µs grafana | logger=migrator t=2023-11-16T11:37:00.153103856Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2023-11-16T11:37:00.157220687Z level=info msg="Migration successfully executed" id="Add uid column" duration=4.118911ms grafana | logger=migrator t=2023-11-16T11:37:00.161184747Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2023-11-16T11:37:00.161404348Z level=info msg="Migration successfully executed" id="Update uid value" duration=211.701µs grafana | logger=migrator t=2023-11-16T11:37:00.164711853Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2023-11-16T11:37:00.165662Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=949.917µs grafana | logger=migrator t=2023-11-16T11:37:00.170785488Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2023-11-16T11:37:00.172217499Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.434491ms grafana | logger=migrator t=2023-11-16T11:37:00.176547972Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2023-11-16T11:37:00.177805251Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.256889ms grafana | logger=migrator t=2023-11-16T11:37:00.182219294Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2023-11-16T11:37:00.183526984Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.30823ms grafana | logger=migrator t=2023-11-16T11:37:00.187993657Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2023-11-16T11:37:00.189347208Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.353861ms grafana | logger=migrator t=2023-11-16T11:37:00.192883424Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2023-11-16T11:37:00.194312274Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.42864ms grafana | logger=migrator t=2023-11-16T11:37:00.199772175Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2023-11-16T11:37:00.201026355Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.25414ms grafana | logger=migrator t=2023-11-16T11:37:00.205694179Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2023-11-16T11:37:00.206574336Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=881.957µs grafana | logger=migrator t=2023-11-16T11:37:00.210206633Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" policy-api | [2023-11-16T11:37:18.716+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2023-11-16T11:37:18.842+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2023-11-16T11:37:18.935+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2023-11-16T11:37:18.957+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2023-11-16T11:37:20.318+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2023-11-16T11:37:20.330+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2023-11-16T11:37:21.452+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2023-11-16T11:37:22.146+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2023-11-16T11:37:23.218+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@2411cf8b, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@54c3bae, org.springframework.security.web.context.SecurityContextPersistenceFilter@2416378c, org.springframework.security.web.header.HeaderWriterFilter@42d039ef, org.springframework.security.web.authentication.logout.LogoutFilter@7bec83d5, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@416dd4d8, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@7f2163d3, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@57404a8d, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@6fad6743, org.springframework.security.web.session.SessionManagementFilter@623dac3, org.springframework.security.web.access.ExceptionTranslationFilter@7b900883, org.springframework.security.web.access.intercept.AuthorizationFilter@7473cf13] policy-api | [2023-11-16T11:37:23.373+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2023-11-16T11:37:26.152+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2023-11-16T11:37:26.178+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-16T11:37:26.212+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2023-11-16T11:37:26.227+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 12.239 seconds (JVM running for 12.852) policy-api | [2023-11-16T11:37:30.833+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-3] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2023-11-16T11:37:30.833+00:00|INFO|DispatcherServlet|http-nio-6969-exec-3] Initializing Servlet 'dispatcherServlet' policy-api | [2023-11-16T11:37:30.835+00:00|INFO|DispatcherServlet|http-nio-6969-exec-3] Completed initialization in 1 ms policy-api | [2023-11-16T11:37:33.354+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2023-11-16T11:37:33.466+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes policy-api | [2023-11-16T11:37:33.719+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2023-11-16T11:37:34.756+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2023-11-16T11:37:36.743+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2023-11-16T11:37:37.137+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2023-11-16T11:37:37.374+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-11-16T11:37:37.618+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2023-11-16T11:37:37.835+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2023-11-16T11:37:38.050+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2023-11-16T11:37:00.211011749Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=805.586µs grafana | logger=migrator t=2023-11-16T11:37:00.216094958Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2023-11-16T11:37:00.226197764Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=10.100926ms grafana | logger=migrator t=2023-11-16T11:37:00.2297386Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2023-11-16T11:37:00.230238613Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=499.603µs grafana | logger=migrator t=2023-11-16T11:37:00.233493428Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2023-11-16T11:37:00.234379795Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=887.598µs grafana | logger=migrator t=2023-11-16T11:37:00.2391673Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2023-11-16T11:37:00.240053817Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=886.427µs grafana | logger=migrator t=2023-11-16T11:37:00.243822425Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2023-11-16T11:37:00.244687142Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=863.007µs grafana | logger=migrator t=2023-11-16T11:37:00.248530601Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2023-11-16T11:37:00.248911534Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=380.603µs grafana | logger=migrator t=2023-11-16T11:37:00.254622386Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2023-11-16T11:37:00.255508993Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=889.796µs grafana | logger=migrator t=2023-11-16T11:37:00.259193531Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2023-11-16T11:37:00.259233911Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=41.51µs grafana | logger=migrator t=2023-11-16T11:37:00.262629776Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2023-11-16T11:37:00.265693969Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=3.068273ms grafana | logger=migrator t=2023-11-16T11:37:00.269017804Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2023-11-16T11:37:00.272239548Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=3.221094ms grafana | logger=migrator t=2023-11-16T11:37:00.277297816Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2023-11-16T11:37:00.277469647Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=170.321µs grafana | logger=migrator t=2023-11-16T11:37:00.280937693Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2023-11-16T11:37:00.283618603Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.68024ms grafana | logger=migrator t=2023-11-16T11:37:00.286878597Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2023-11-16T11:37:00.289675608Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.796241ms grafana | logger=migrator t=2023-11-16T11:37:00.294104302Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2023-11-16T11:37:00.29520088Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=1.096188ms grafana | logger=migrator t=2023-11-16T11:37:00.29909428Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2023-11-16T11:37:00.299891335Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=796.615µs grafana | logger=migrator t=2023-11-16T11:37:00.303730453Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2023-11-16T11:37:00.30447698Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=746.347µs grafana | logger=migrator t=2023-11-16T11:37:00.309901591Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2023-11-16T11:37:00.3111633Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.261349ms grafana | logger=migrator t=2023-11-16T11:37:00.314946358Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2023-11-16T11:37:00.316331229Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.383861ms grafana | logger=migrator t=2023-11-16T11:37:00.320309668Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2023-11-16T11:37:00.321207305Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=897.427µs grafana | logger=migrator t=2023-11-16T11:37:00.325792109Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2023-11-16T11:37:00.32592459Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=137.321µs grafana | logger=migrator t=2023-11-16T11:37:00.331602372Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2023-11-16T11:37:00.331683023Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=91.851µs grafana | logger=migrator t=2023-11-16T11:37:00.335348471Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2023-11-16T11:37:00.338111702Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=2.763271ms grafana | logger=migrator t=2023-11-16T11:37:00.343276931Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2023-11-16T11:37:00.346039272Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.763341ms grafana | logger=migrator t=2023-11-16T11:37:00.350006631Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2023-11-16T11:37:00.350105691Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=101.211µs grafana | logger=migrator t=2023-11-16T11:37:00.35405604Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2023-11-16T11:37:00.354843157Z level=info msg="Migration successfully executed" id="create quota table v1" duration=787.347µs grafana | logger=migrator t=2023-11-16T11:37:00.358510024Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2023-11-16T11:37:00.359468391Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=961.657µs grafana | logger=migrator t=2023-11-16T11:37:00.364759631Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2023-11-16T11:37:00.364822581Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=63.76µs grafana | logger=migrator t=2023-11-16T11:37:00.368348428Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2023-11-16T11:37:00.369284075Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=933.957µs grafana | logger=migrator t=2023-11-16T11:37:00.374341323Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2023-11-16T11:37:00.375452151Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.112368ms grafana | logger=migrator t=2023-11-16T11:37:00.380277208Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2023-11-16T11:37:00.38323193Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.953633ms grafana | logger=migrator t=2023-11-16T11:37:00.386792476Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2023-11-16T11:37:00.386841766Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=52.82µs grafana | logger=migrator t=2023-11-16T11:37:00.390420193Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2023-11-16T11:37:00.391476132Z level=info msg="Migration successfully executed" id="create session table" duration=1.056119ms grafana | logger=migrator t=2023-11-16T11:37:00.397826679Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2023-11-16T11:37:00.39799667Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=173.851µs grafana | logger=migrator t=2023-11-16T11:37:00.401197484Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2023-11-16T11:37:00.401283974Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=86.91µs grafana | logger=migrator t=2023-11-16T11:37:00.40477616Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2023-11-16T11:37:00.405520057Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=745.097µs grafana | logger=migrator t=2023-11-16T11:37:00.409252954Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2023-11-16T11:37:00.41003353Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=781.706µs grafana | logger=migrator t=2023-11-16T11:37:00.414634055Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2023-11-16T11:37:00.414673885Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=43.22µs grafana | logger=migrator t=2023-11-16T11:37:00.418731535Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2023-11-16T11:37:00.418771745Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=43.45µs grafana | logger=migrator t=2023-11-16T11:37:00.42206137Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2023-11-16T11:37:00.425257164Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=3.195124ms grafana | logger=migrator t=2023-11-16T11:37:00.429937929Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2023-11-16T11:37:00.432839642Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=2.902312ms grafana | logger=migrator t=2023-11-16T11:37:00.436521079Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2023-11-16T11:37:00.43662212Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=102.541µs grafana | logger=migrator t=2023-11-16T11:37:00.440241716Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2023-11-16T11:37:00.440343337Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=104.301µs grafana | logger=migrator t=2023-11-16T11:37:00.443871183Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2023-11-16T11:37:00.44468156Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=809.907µs grafana | logger=migrator t=2023-11-16T11:37:00.451644982Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2023-11-16T11:37:00.451703402Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=63.08µs grafana | logger=migrator t=2023-11-16T11:37:00.45528128Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2023-11-16T11:37:00.458426583Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.142733ms grafana | logger=migrator t=2023-11-16T11:37:00.463898514Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2023-11-16T11:37:00.464140376Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=245.382µs grafana | logger=migrator t=2023-11-16T11:37:00.468153085Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2023-11-16T11:37:00.471331239Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.177524ms grafana | logger=migrator t=2023-11-16T11:37:00.476246506Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2023-11-16T11:37:00.479244428Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.000452ms grafana | logger=migrator t=2023-11-16T11:37:00.483161938Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2023-11-16T11:37:00.483245758Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=84.641µs grafana | logger=migrator t=2023-11-16T11:37:00.486649404Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2023-11-16T11:37:00.487644961Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=996.097µs grafana | logger=migrator t=2023-11-16T11:37:00.492258436Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2023-11-16T11:37:00.493208033Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=951.367µs grafana | logger=migrator t=2023-11-16T11:37:00.497020211Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2023-11-16T11:37:00.49806532Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.045269ms grafana | logger=migrator t=2023-11-16T11:37:00.502879286Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2023-11-16T11:37:00.503918774Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.040687ms grafana | logger=migrator t=2023-11-16T11:37:00.510600583Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2023-11-16T11:37:00.511645012Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.047999ms grafana | logger=migrator t=2023-11-16T11:37:00.518380571Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2023-11-16T11:37:00.519800953Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.424822ms grafana | logger=migrator t=2023-11-16T11:37:00.524772399Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2023-11-16T11:37:00.525671307Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=899.878µs grafana | logger=migrator t=2023-11-16T11:37:00.529594476Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2023-11-16T11:37:00.530669543Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.076507ms grafana | logger=migrator t=2023-11-16T11:37:00.535342129Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2023-11-16T11:37:00.53676079Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.416621ms grafana | logger=migrator t=2023-11-16T11:37:00.541916817Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2023-11-16T11:37:00.557498035Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=15.576398ms grafana | logger=migrator t=2023-11-16T11:37:00.563253637Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2023-11-16T11:37:00.564547208Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=1.295601ms grafana | logger=migrator t=2023-11-16T11:37:00.580011703Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2023-11-16T11:37:00.58214458Z 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=2.140817ms grafana | logger=migrator t=2023-11-16T11:37:00.589744206Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2023-11-16T11:37:00.590354221Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=614.045µs grafana | logger=migrator t=2023-11-16T11:37:00.59426027Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2023-11-16T11:37:00.595054095Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=794.355µs grafana | logger=migrator t=2023-11-16T11:37:00.598646953Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2023-11-16T11:37:00.59958978Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=942.627µs grafana | logger=migrator t=2023-11-16T11:37:00.60492619Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2023-11-16T11:37:00.611285777Z level=info msg="Migration successfully executed" id="Add column is_default" duration=6.356817ms grafana | logger=migrator t=2023-11-16T11:37:00.614939515Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2023-11-16T11:37:00.619186197Z level=info msg="Migration successfully executed" id="Add column frequency" duration=4.245012ms grafana | logger=migrator t=2023-11-16T11:37:00.623685301Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2023-11-16T11:37:00.628204004Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=4.516253ms grafana | logger=migrator t=2023-11-16T11:37:00.632012013Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2023-11-16T11:37:00.636000442Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.984489ms grafana | logger=migrator t=2023-11-16T11:37:00.642507151Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2023-11-16T11:37:00.644297215Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.791174ms grafana | logger=migrator t=2023-11-16T11:37:00.654352531Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2023-11-16T11:37:00.654401511Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=53.16µs grafana | logger=migrator t=2023-11-16T11:37:00.659132565Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2023-11-16T11:37:00.659227226Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=55.671µs grafana | logger=migrator t=2023-11-16T11:37:00.664851558Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2023-11-16T11:37:00.666856654Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=2.000876ms grafana | logger=migrator t=2023-11-16T11:37:00.671830451Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-11-16T11:37:00.67433566Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=2.499719ms grafana | logger=migrator t=2023-11-16T11:37:00.680349405Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2023-11-16T11:37:00.681391732Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.040727ms grafana | logger=migrator t=2023-11-16T11:37:00.687820921Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2023-11-16T11:37:00.688940929Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.121808ms grafana | logger=migrator t=2023-11-16T11:37:00.69309753Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-11-16T11:37:00.694310119Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.216769ms grafana | logger=migrator t=2023-11-16T11:37:00.698978415Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2023-11-16T11:37:00.702958224Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.982619ms grafana | logger=migrator t=2023-11-16T11:37:00.708905368Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2023-11-16T11:37:00.712785217Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.879899ms grafana | logger=migrator t=2023-11-16T11:37:00.716114403Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2023-11-16T11:37:00.716296974Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=182.721µs grafana | logger=migrator t=2023-11-16T11:37:00.720167123Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2023-11-16T11:37:00.721806926Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.642323ms grafana | logger=migrator t=2023-11-16T11:37:00.727494018Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2023-11-16T11:37:00.728303204Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=808.856µs grafana | logger=migrator t=2023-11-16T11:37:00.734094627Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2023-11-16T11:37:00.737944326Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.849269ms grafana | logger=migrator t=2023-11-16T11:37:00.741000729Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2023-11-16T11:37:00.7410727Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=72.671µs grafana | logger=migrator t=2023-11-16T11:37:00.744891138Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2023-11-16T11:37:00.745809225Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=919.787µs grafana | logger=migrator t=2023-11-16T11:37:00.74929434Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2023-11-16T11:37:00.750741372Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.450542ms grafana | logger=migrator t=2023-11-16T11:37:00.756291163Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2023-11-16T11:37:00.756413164Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=122.811µs grafana | logger=migrator t=2023-11-16T11:37:00.759539728Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2023-11-16T11:37:00.760771697Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.230939ms grafana | logger=migrator t=2023-11-16T11:37:00.764179593Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2023-11-16T11:37:00.765280431Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.103518ms grafana | logger=migrator t=2023-11-16T11:37:00.770305609Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2023-11-16T11:37:00.771497207Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.192498ms grafana | logger=migrator t=2023-11-16T11:37:00.774883103Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2023-11-16T11:37:00.77581919Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=932.577µs grafana | logger=migrator t=2023-11-16T11:37:00.780779077Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2023-11-16T11:37:00.782102786Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.324919ms grafana | logger=migrator t=2023-11-16T11:37:00.788427484Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2023-11-16T11:37:00.78920547Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=778.896µs grafana | logger=migrator t=2023-11-16T11:37:00.793653833Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2023-11-16T11:37:00.793722814Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=69.361µs grafana | logger=migrator t=2023-11-16T11:37:00.799693948Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2023-11-16T11:37:00.804256682Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.564474ms grafana | logger=migrator t=2023-11-16T11:37:00.80793481Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2023-11-16T11:37:00.808833597Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=898.587µs grafana | logger=migrator t=2023-11-16T11:37:00.816027611Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2023-11-16T11:37:00.819991521Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.96377ms grafana | logger=migrator t=2023-11-16T11:37:00.824703505Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2023-11-16T11:37:00.825316261Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=612.106µs grafana | logger=migrator t=2023-11-16T11:37:00.828663856Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2023-11-16T11:37:00.829594152Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=929.976µs grafana | logger=migrator t=2023-11-16T11:37:00.833513622Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2023-11-16T11:37:00.834451429Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=937.367µs grafana | logger=migrator t=2023-11-16T11:37:00.840174302Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2023-11-16T11:37:00.863460236Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=23.281524ms grafana | logger=migrator t=2023-11-16T11:37:00.87068282Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2023-11-16T11:37:00.871569706Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=889.576µs grafana | logger=migrator t=2023-11-16T11:37:00.881576182Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" grafana | logger=migrator t=2023-11-16T11:37:00.88266246Z level=info msg="Migration successfully executed" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" duration=1.086998ms grafana | logger=migrator t=2023-11-16T11:37:00.893144738Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2023-11-16T11:37:00.893633972Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=490.614µs grafana | logger=migrator t=2023-11-16T11:37:00.8974223Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2023-11-16T11:37:00.898354668Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=932.138µs grafana | logger=migrator t=2023-11-16T11:37:00.906544079Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2023-11-16T11:37:00.906879512Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=335.403µs grafana | logger=migrator t=2023-11-16T11:37:00.911788497Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2023-11-16T11:37:00.91871543Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.926023ms grafana | logger=migrator t=2023-11-16T11:37:00.92411193Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2023-11-16T11:37:00.927563236Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=3.446426ms grafana | logger=migrator t=2023-11-16T11:37:00.931639947Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2023-11-16T11:37:00.932698035Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.057338ms grafana | logger=migrator t=2023-11-16T11:37:00.939481565Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2023-11-16T11:37:00.940937316Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.455481ms grafana | logger=migrator t=2023-11-16T11:37:00.945922044Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2023-11-16T11:37:00.946374287Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=452.493µs grafana | logger=migrator t=2023-11-16T11:37:00.952005009Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2023-11-16T11:37:00.956380742Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.378053ms grafana | logger=migrator t=2023-11-16T11:37:00.964742094Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2023-11-16T11:37:00.966915921Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=2.172037ms grafana | logger=migrator t=2023-11-16T11:37:00.9721935Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2023-11-16T11:37:00.972422052Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=225.182µs grafana | logger=migrator t=2023-11-16T11:37:00.977996234Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2023-11-16T11:37:00.978781839Z level=info msg="Migration successfully executed" id="Move region to single row" duration=819.275µs grafana | logger=migrator t=2023-11-16T11:37:00.983586736Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2023-11-16T11:37:00.985015107Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.428031ms grafana | logger=migrator t=2023-11-16T11:37:00.994028754Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2023-11-16T11:37:00.995791067Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.759743ms grafana | logger=migrator t=2023-11-16T11:37:01.003876147Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-11-16T11:37:01.004610654Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=733.117µs grafana | logger=migrator t=2023-11-16T11:37:01.010372826Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-11-16T11:37:01.011041561Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=668.375µs grafana | logger=migrator t=2023-11-16T11:37:01.015763626Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2023-11-16T11:37:01.017302547Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.361179ms grafana | logger=migrator t=2023-11-16T11:37:01.02041144Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2023-11-16T11:37:01.021300267Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=888.308µs grafana | logger=migrator t=2023-11-16T11:37:01.026511234Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2023-11-16T11:37:01.026603235Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=92.651µs grafana | logger=migrator t=2023-11-16T11:37:01.032166276Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2023-11-16T11:37:01.033443186Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.28062ms grafana | logger=migrator t=2023-11-16T11:37:01.038152181Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2023-11-16T11:37:01.038929876Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=777.465µs grafana | logger=migrator t=2023-11-16T11:37:01.044710038Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2023-11-16T11:37:01.045736016Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.025808ms grafana | logger=migrator t=2023-11-16T11:37:01.049181962Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2023-11-16T11:37:01.050171569Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=988.727µs grafana | logger=migrator t=2023-11-16T11:37:01.055964281Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2023-11-16T11:37:01.056337694Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=375.603µs grafana | logger=migrator t=2023-11-16T11:37:01.060135551Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2023-11-16T11:37:01.060625176Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=489.885µs grafana | logger=migrator t=2023-11-16T11:37:01.066331328Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2023-11-16T11:37:01.06668226Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=350.712µs grafana | logger=migrator t=2023-11-16T11:37:01.071594907Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2023-11-16T11:37:01.072432042Z level=info msg="Migration successfully executed" id="create team table" duration=836.005µs grafana | logger=migrator t=2023-11-16T11:37:01.076613163Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2023-11-16T11:37:01.077741122Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.128039ms grafana | logger=migrator t=2023-11-16T11:37:01.08293565Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2023-11-16T11:37:01.084013868Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.078828ms grafana | logger=migrator t=2023-11-16T11:37:01.090328804Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2023-11-16T11:37:01.098773086Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=8.439552ms grafana | logger=migrator t=2023-11-16T11:37:01.103524321Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2023-11-16T11:37:01.103769083Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=246.112µs grafana | logger=migrator t=2023-11-16T11:37:01.110045879Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2023-11-16T11:37:01.111625381Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.579842ms grafana | logger=migrator t=2023-11-16T11:37:01.1155808Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2023-11-16T11:37:01.116496677Z level=info msg="Migration successfully executed" id="create team member table" duration=908.597µs grafana | logger=migrator t=2023-11-16T11:37:01.122644872Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2023-11-16T11:37:01.124380094Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.735472ms grafana | logger=migrator t=2023-11-16T11:37:01.129908345Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2023-11-16T11:37:01.131602688Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.694113ms grafana | logger=migrator t=2023-11-16T11:37:01.136610775Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2023-11-16T11:37:01.138146546Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.534891ms grafana | logger=migrator t=2023-11-16T11:37:01.14416502Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2023-11-16T11:37:01.149059826Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.894176ms grafana | logger=migrator t=2023-11-16T11:37:01.154523016Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2023-11-16T11:37:01.160874133Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=6.347677ms grafana | logger=migrator t=2023-11-16T11:37:01.197964627Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2023-11-16T11:37:01.205913844Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=7.947567ms grafana | logger=migrator t=2023-11-16T11:37:01.214309096Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2023-11-16T11:37:01.215474935Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.162239ms grafana | logger=migrator t=2023-11-16T11:37:01.220835974Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb 3306 port [tcp/mysql] succeeded! policy-db-migrator | 314 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 policy-db-migrator | upgrade: 0 -> 1200 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-16T11:37:01.222591437Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.756263ms grafana | logger=migrator t=2023-11-16T11:37:01.226650717Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2023-11-16T11:37:01.227647914Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=996.907µs grafana | logger=migrator t=2023-11-16T11:37:01.233734149Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2023-11-16T11:37:01.235567393Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.833884ms grafana | logger=migrator t=2023-11-16T11:37:01.242817097Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2023-11-16T11:37:01.245194533Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=2.377527ms grafana | logger=migrator t=2023-11-16T11:37:01.249150073Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2023-11-16T11:37:01.251185168Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=2.034625ms grafana | logger=migrator t=2023-11-16T11:37:01.256720459Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2023-11-16T11:37:01.257718246Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=998.107µs grafana | logger=migrator t=2023-11-16T11:37:01.263564379Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2023-11-16T11:37:01.264544135Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=979.896µs grafana | logger=migrator t=2023-11-16T11:37:01.26917438Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2023-11-16T11:37:01.269790384Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=614.024µs grafana | logger=migrator t=2023-11-16T11:37:01.275683358Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2023-11-16T11:37:01.276224522Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=541.474µs grafana | logger=migrator t=2023-11-16T11:37:01.281337699Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2023-11-16T11:37:01.282903691Z level=info msg="Migration successfully executed" id="create tag table" duration=1.566272ms grafana | logger=migrator t=2023-11-16T11:37:01.28820881Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2023-11-16T11:37:01.289959222Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.749532ms grafana | logger=migrator t=2023-11-16T11:37:01.29625751Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2023-11-16T11:37:01.297051845Z level=info msg="Migration successfully executed" id="create login attempt table" duration=793.545µs grafana | logger=migrator t=2023-11-16T11:37:01.303015809Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2023-11-16T11:37:01.304715682Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.704683ms policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-16T11:37:01.310327693Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2023-11-16T11:37:01.311715693Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.38799ms grafana | logger=migrator t=2023-11-16T11:37:01.318032319Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-16T11:37:01.338058807Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=20.026948ms grafana | logger=migrator t=2023-11-16T11:37:01.34656663Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2023-11-16T11:37:01.347275705Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=709.625µs grafana | logger=migrator t=2023-11-16T11:37:01.35343918Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2023-11-16T11:37:01.354937031Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.497451ms grafana | logger=migrator t=2023-11-16T11:37:01.363388424Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2023-11-16T11:37:01.363677726Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=289.622µs grafana | logger=migrator t=2023-11-16T11:37:01.368683443Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2023-11-16T11:37:01.370233223Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.55362ms grafana | logger=migrator t=2023-11-16T11:37:01.373717799Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2023-11-16T11:37:01.374438975Z level=info msg="Migration successfully executed" id="create user auth table" duration=723.626µs grafana | logger=migrator t=2023-11-16T11:37:01.38331804Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2023-11-16T11:37:01.384988412Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.668932ms grafana | logger=migrator t=2023-11-16T11:37:01.390580833Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2023-11-16T11:37:01.390653354Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=73.651µs grafana | logger=migrator t=2023-11-16T11:37:01.394041229Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2023-11-16T11:37:01.401061Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=7.018471ms grafana | logger=migrator t=2023-11-16T11:37:01.409560363Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2023-11-16T11:37:01.415413716Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.852833ms grafana | logger=migrator t=2023-11-16T11:37:01.419453266Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2023-11-16T11:37:01.425123738Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.671242ms grafana | logger=migrator t=2023-11-16T11:37:01.431926407Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2023-11-16T11:37:01.440030157Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=8.10346ms grafana | logger=migrator t=2023-11-16T11:37:01.45260934Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2023-11-16T11:37:01.454543044Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.931904ms grafana | logger=migrator t=2023-11-16T11:37:01.461336504Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2023-11-16T11:37:01.468091334Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=6.75408ms grafana | logger=migrator t=2023-11-16T11:37:01.473179481Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2023-11-16T11:37:01.474637221Z level=info msg="Migration successfully executed" id="create server_lock table" duration=1.46425ms grafana | logger=migrator t=2023-11-16T11:37:01.485099309Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2023-11-16T11:37:01.4866289Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.530991ms grafana | logger=migrator t=2023-11-16T11:37:01.493035187Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2023-11-16T11:37:01.494856401Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.822884ms grafana | logger=migrator t=2023-11-16T11:37:01.500651733Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2023-11-16T11:37:01.501748001Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.097078ms grafana | logger=migrator t=2023-11-16T11:37:01.510485646Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2023-11-16T11:37:01.511693615Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.209649ms grafana | logger=migrator t=2023-11-16T11:37:01.519973016Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2023-11-16T11:37:01.521045373Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.071577ms grafana | logger=migrator t=2023-11-16T11:37:01.527107468Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-16T11:37:01.533752356Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=6.644108ms grafana | logger=migrator t=2023-11-16T11:37:01.54099064Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2023-11-16T11:37:01.542811874Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.823074ms grafana | logger=migrator t=2023-11-16T11:37:01.551307006Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2023-11-16T11:37:01.552833687Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.526411ms grafana | logger=migrator t=2023-11-16T11:37:01.557927974Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2023-11-16T11:37:01.559523017Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.595623ms grafana | logger=migrator t=2023-11-16T11:37:01.563922129Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2023-11-16T11:37:01.564831746Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=908.877µs grafana | logger=migrator t=2023-11-16T11:37:01.570144514Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2023-11-16T11:37:01.571436584Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.29161ms grafana | logger=migrator t=2023-11-16T11:37:01.578652548Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2023-11-16T11:37:01.578749588Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=100.12µs grafana | logger=migrator t=2023-11-16T11:37:01.583007469Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2023-11-16T11:37:01.58310791Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=98.821µs grafana | logger=migrator t=2023-11-16T11:37:01.586479764Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2023-11-16T11:37:01.587399562Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=919.708µs grafana | logger=migrator t=2023-11-16T11:37:01.593478746Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-16T11:37:01.595421221Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.942065ms grafana | logger=migrator t=2023-11-16T11:37:01.60086058Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-16T11:37:01.602372892Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.513982ms grafana | logger=migrator t=2023-11-16T11:37:01.607114047Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-16T11:37:01.607177867Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=64.24µs grafana | logger=migrator t=2023-11-16T11:37:01.610499992Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-16T11:37:01.611300047Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=799.755µs grafana | logger=migrator t=2023-11-16T11:37:01.617400922Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-16T11:37:01.619577068Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=2.178836ms grafana | logger=migrator t=2023-11-16T11:37:01.625612053Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-16T11:37:01.626734231Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.119459ms grafana | logger=migrator t=2023-11-16T11:37:01.635576356Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-16T11:37:01.636595663Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.019647ms grafana | logger=migrator t=2023-11-16T11:37:01.642162684Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2023-11-16T11:37:01.648111808Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.948584ms grafana | logger=migrator t=2023-11-16T11:37:01.653729319Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2023-11-16T11:37:01.654766528Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.031709ms grafana | logger=migrator t=2023-11-16T11:37:01.661788729Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2023-11-16T11:37:01.661905959Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=118.21µs grafana | logger=migrator t=2023-11-16T11:37:01.666345803Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2023-11-16T11:37:01.667286229Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=940.136µs grafana | logger=migrator t=2023-11-16T11:37:01.672101835Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" grafana | logger=migrator t=2023-11-16T11:37:01.673236623Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.135178ms grafana | logger=migrator t=2023-11-16T11:37:01.679183256Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" grafana | logger=migrator t=2023-11-16T11:37:01.680357566Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.17374ms grafana | logger=migrator t=2023-11-16T11:37:01.685921637Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-16T11:37:01.686031008Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=110.071µs grafana | logger=migrator t=2023-11-16T11:37:01.692951778Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2023-11-16T11:37:01.693927316Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=975.568µs grafana | logger=migrator t=2023-11-16T11:37:01.707829248Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2023-11-16T11:37:01.708759964Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=930.006µs grafana | logger=migrator t=2023-11-16T11:37:01.712167489Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" grafana | logger=migrator t=2023-11-16T11:37:01.713401389Z 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.23231ms grafana | logger=migrator t=2023-11-16T11:37:01.719932437Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2023-11-16T11:37:01.721079875Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.146588ms grafana | logger=migrator t=2023-11-16T11:37:01.726733566Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2023-11-16T11:37:01.736333317Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=9.599981ms grafana | logger=migrator t=2023-11-16T11:37:01.742266581Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0450-pdpgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-16T11:37:01.743131967Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=865.266µs grafana | logger=migrator t=2023-11-16T11:37:01.74897311Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-11-16T11:37:01.750050418Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.076648ms grafana | logger=migrator t=2023-11-16T11:37:01.756432855Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2023-11-16T11:37:01.796938393Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=40.506638ms grafana | logger=migrator t=2023-11-16T11:37:01.802745407Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2023-11-16T11:37:01.844747686Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=41.996979ms grafana | logger=migrator t=2023-11-16T11:37:01.850868461Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2023-11-16T11:37:01.852620733Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.751602ms grafana | logger=migrator t=2023-11-16T11:37:01.857358888Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-11-16T11:37:01.859091001Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.731633ms grafana | logger=migrator t=2023-11-16T11:37:01.866158333Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2023-11-16T11:37:01.871880675Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.721741ms grafana | logger=migrator t=2023-11-16T11:37:01.877680227Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2023-11-16T11:37:01.878585185Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=902.418µs grafana | logger=migrator t=2023-11-16T11:37:01.885886028Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2023-11-16T11:37:01.887931923Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=2.045535ms grafana | logger=migrator t=2023-11-16T11:37:01.893783936Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2023-11-16T11:37:01.895484449Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.700283ms grafana | logger=migrator t=2023-11-16T11:37:01.901847935Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2023-11-16T11:37:01.902952033Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.103378ms grafana | logger=migrator t=2023-11-16T11:37:01.906415789Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-16T11:37:01.90647678Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=62.381µs grafana | logger=migrator t=2023-11-16T11:37:01.914052105Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2023-11-16T11:37:01.921931753Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=7.881138ms grafana | logger=migrator t=2023-11-16T11:37:01.928063848Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2023-11-16T11:37:01.934359125Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.294347ms grafana | logger=migrator t=2023-11-16T11:37:01.93918764Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2023-11-16T11:37:01.944958212Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.769892ms grafana | logger=migrator t=2023-11-16T11:37:01.952233276Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2023-11-16T11:37:01.953157433Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=926.567µs grafana | logger=migrator t=2023-11-16T11:37:01.959674201Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2023-11-16T11:37:01.961230072Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.554971ms grafana | logger=migrator t=2023-11-16T11:37:01.966557481Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2023-11-16T11:37:01.974287418Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=7.730277ms grafana | logger=migrator t=2023-11-16T11:37:01.978711461Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2023-11-16T11:37:01.984462423Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.747292ms grafana | logger=migrator t=2023-11-16T11:37:01.991216623Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" grafana | logger=migrator t=2023-11-16T11:37:01.99219042Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=973.647µs grafana | logger=migrator t=2023-11-16T11:37:01.997129407Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2023-11-16T11:37:02.006280404Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=9.152127ms grafana | logger=migrator t=2023-11-16T11:37:02.009791982Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2023-11-16T11:37:02.014021296Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=4.228034ms grafana | logger=migrator t=2023-11-16T11:37:02.020066742Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2023-11-16T11:37:02.020144493Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=76.341µs grafana | logger=migrator t=2023-11-16T11:37:02.02618565Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2023-11-16T11:37:02.027811273Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.624963ms grafana | logger=migrator t=2023-11-16T11:37:02.034125971Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" policy-db-migrator | 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 grafana | logger=migrator t=2023-11-16T11:37:02.035763874Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" duration=1.637203ms grafana | logger=migrator t=2023-11-16T11:37:02.04300882Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" grafana | logger=migrator t=2023-11-16T11:37:02.044064039Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" duration=1.055039ms grafana | logger=migrator t=2023-11-16T11:37:02.050799801Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-16T11:37:02.050901291Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=100.06µs grafana | logger=migrator t=2023-11-16T11:37:02.055958441Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2023-11-16T11:37:02.066686105Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=10.729084ms grafana | logger=migrator t=2023-11-16T11:37:02.073581868Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2023-11-16T11:37:02.078052523Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=4.470505ms grafana | logger=migrator t=2023-11-16T11:37:02.083235164Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2023-11-16T11:37:02.089338931Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.103017ms grafana | logger=migrator t=2023-11-16T11:37:02.094176029Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2023-11-16T11:37:02.100319617Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.146098ms grafana | logger=migrator t=2023-11-16T11:37:02.106110682Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2023-11-16T11:37:02.112264279Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.152697ms grafana | logger=migrator t=2023-11-16T11:37:02.117939444Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2023-11-16T11:37:02.118034644Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=94.87µs grafana | logger=migrator t=2023-11-16T11:37:02.123004323Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2023-11-16T11:37:02.123716519Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=711.526µs grafana | logger=migrator t=2023-11-16T11:37:02.130584073Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2023-11-16T11:37:02.139703033Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=9.11907ms grafana | logger=migrator t=2023-11-16T11:37:02.146198863Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2023-11-16T11:37:02.146261994Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=63.701µs grafana | logger=migrator t=2023-11-16T11:37:02.152915857Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2023-11-16T11:37:02.161038879Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=8.123452ms grafana | logger=migrator t=2023-11-16T11:37:02.166958136Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2023-11-16T11:37:02.167967483Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.008907ms grafana | logger=migrator t=2023-11-16T11:37:02.175760844Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2023-11-16T11:37:02.183520904Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=7.7642ms grafana | logger=migrator t=2023-11-16T11:37:02.194183087Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2023-11-16T11:37:02.194912754Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=730.097µs grafana | logger=migrator t=2023-11-16T11:37:02.198583652Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2023-11-16T11:37:02.200400565Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.817243ms grafana | logger=migrator t=2023-11-16T11:37:02.207985325Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2023-11-16T11:37:02.215645065Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=7.65895ms grafana | logger=migrator t=2023-11-16T11:37:02.219275503Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2023-11-16T11:37:02.220041519Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=765.646µs grafana | logger=migrator t=2023-11-16T11:37:02.223503636Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2023-11-16T11:37:02.224516494Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.012138ms grafana | logger=migrator t=2023-11-16T11:37:02.233246802Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2023-11-16T11:37:02.234020867Z level=info msg="Migration successfully executed" id="create alert_image table" duration=773.695µs grafana | logger=migrator t=2023-11-16T11:37:02.237962698Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2023-11-16T11:37:02.239572771Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.609743ms grafana | logger=migrator t=2023-11-16T11:37:02.243480352Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2023-11-16T11:37:02.243563162Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=82.47µs grafana | logger=migrator t=2023-11-16T11:37:02.246670706Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2023-11-16T11:37:02.247636453Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=965.437µs grafana | logger=migrator t=2023-11-16T11:37:02.252812944Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2023-11-16T11:37:02.254416557Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.602633ms grafana | logger=migrator t=2023-11-16T11:37:02.25875367Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2023-11-16T11:37:02.259403436Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2023-11-16T11:37:02.262886533Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2023-11-16T11:37:02.263279186Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=391.873µs grafana | logger=migrator t=2023-11-16T11:37:02.26899671Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2023-11-16T11:37:02.270667114Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.670894ms grafana | logger=migrator t=2023-11-16T11:37:02.274647785Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2023-11-16T11:37:02.282894689Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=8.245085ms grafana | logger=migrator t=2023-11-16T11:37:02.286225515Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2023-11-16T11:37:02.287071871Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=846.036µs grafana | logger=migrator t=2023-11-16T11:37:02.292780485Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2023-11-16T11:37:02.293940785Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.16139ms grafana | logger=migrator t=2023-11-16T11:37:02.298599121Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2023-11-16T11:37:02.299833121Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.23417ms grafana | logger=migrator t=2023-11-16T11:37:02.303748961Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2023-11-16T11:37:02.305048961Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.29934ms grafana | logger=migrator t=2023-11-16T11:37:02.310424663Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2023-11-16T11:37:02.311680313Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.25544ms grafana | logger=migrator t=2023-11-16T11:37:02.314930988Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2023-11-16T11:37:02.314961878Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=31.87µs grafana | logger=migrator t=2023-11-16T11:37:02.378313512Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2023-11-16T11:37:02.378454573Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=144.631µs grafana | logger=migrator t=2023-11-16T11:37:02.384748462Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2023-11-16T11:37:02.385212075Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=464.373µs grafana | logger=migrator t=2023-11-16T11:37:02.389897992Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2023-11-16T11:37:02.391470155Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.566943ms grafana | logger=migrator t=2023-11-16T11:37:02.395133423Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2023-11-16T11:37:02.396493763Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.35829ms grafana | logger=migrator t=2023-11-16T11:37:02.403361837Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2023-11-16T11:37:02.456841373Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=53.476376ms grafana | logger=migrator t=2023-11-16T11:37:02.47051746Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2023-11-16T11:37:02.485713798Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=15.175938ms grafana | logger=migrator t=2023-11-16T11:37:02.516320877Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2023-11-16T11:37:02.516587639Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=267.973µs grafana | logger=migrator t=2023-11-16T11:37:02.521099164Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2023-11-16T11:37:02.571427916Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=50.316692ms grafana | logger=migrator t=2023-11-16T11:37:02.577380882Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2023-11-16T11:37:02.626888118Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=49.492166ms grafana | logger=migrator t=2023-11-16T11:37:02.632775604Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2023-11-16T11:37:02.633488399Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=712.425µs grafana | logger=migrator t=2023-11-16T11:37:02.636891586Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2023-11-16T11:37:02.637947404Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.055168ms grafana | logger=migrator t=2023-11-16T11:37:02.641053658Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2023-11-16T11:37:02.6412617Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=207.522µs grafana | logger=migrator t=2023-11-16T11:37:02.644528515Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2023-11-16T11:37:02.645281121Z level=info msg="Migration successfully executed" id="create permission table" duration=752.246µs grafana | logger=migrator t=2023-11-16T11:37:02.652314536Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2023-11-16T11:37:02.653952008Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.636752ms grafana | logger=migrator t=2023-11-16T11:37:02.659515902Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2023-11-16T11:37:02.661236216Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.715543ms grafana | logger=migrator t=2023-11-16T11:37:02.667291232Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2023-11-16T11:37:02.668593913Z level=info msg="Migration successfully executed" id="create role table" duration=1.305321ms grafana | logger=migrator t=2023-11-16T11:37:02.675618097Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2023-11-16T11:37:02.6836683Z level=info msg="Migration successfully executed" id="add column display_name" duration=8.049363ms grafana | logger=migrator t=2023-11-16T11:37:02.687031186Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2023-11-16T11:37:02.694440964Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.410258ms grafana | logger=migrator t=2023-11-16T11:37:02.697429217Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2023-11-16T11:37:02.698512626Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.083588ms grafana | logger=migrator t=2023-11-16T11:37:02.704009049Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2023-11-16T11:37:02.705153528Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.144159ms grafana | logger=migrator t=2023-11-16T11:37:02.708074371Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2023-11-16T11:37:02.709210779Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.136248ms grafana | logger=migrator t=2023-11-16T11:37:02.712204672Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2023-11-16T11:37:02.712994258Z level=info msg="Migration successfully executed" id="create team role table" duration=789.696µs grafana | logger=migrator t=2023-11-16T11:37:02.719380809Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2023-11-16T11:37:02.721095361Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.714722ms grafana | logger=migrator t=2023-11-16T11:37:02.72471136Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2023-11-16T11:37:02.726669695Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.958285ms grafana | logger=migrator t=2023-11-16T11:37:02.730233723Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2023-11-16T11:37:02.731317111Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.083248ms grafana | logger=migrator t=2023-11-16T11:37:02.73757985Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2023-11-16T11:37:02.738995012Z level=info msg="Migration successfully executed" id="create user role table" duration=1.415732ms grafana | logger=migrator t=2023-11-16T11:37:02.743010062Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2023-11-16T11:37:02.744941978Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.931875ms grafana | logger=migrator t=2023-11-16T11:37:02.748741447Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2023-11-16T11:37:02.749886817Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.145199ms grafana | logger=migrator t=2023-11-16T11:37:02.755006965Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2023-11-16T11:37:02.756650499Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.642683ms grafana | logger=migrator t=2023-11-16T11:37:02.762101181Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2023-11-16T11:37:02.763411411Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.30874ms grafana | logger=migrator t=2023-11-16T11:37:02.766729268Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2023-11-16T11:37:02.767862136Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.132778ms grafana | logger=migrator t=2023-11-16T11:37:02.773249898Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2023-11-16T11:37:02.774312536Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.062418ms grafana | logger=migrator t=2023-11-16T11:37:02.77747655Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2023-11-16T11:37:02.785255621Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.778171ms grafana | logger=migrator t=2023-11-16T11:37:02.788336885Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2023-11-16T11:37:02.789410014Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.073039ms grafana | logger=migrator t=2023-11-16T11:37:02.795598992Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2023-11-16T11:37:02.79663031Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.031588ms grafana | logger=migrator t=2023-11-16T11:37:02.799917925Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2023-11-16T11:37:02.801498508Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.580373ms grafana | logger=migrator t=2023-11-16T11:37:02.804965115Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2023-11-16T11:37:02.806645948Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.680363ms grafana | logger=migrator t=2023-11-16T11:37:02.811816829Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2023-11-16T11:37:02.812505784Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=689.145µs grafana | logger=migrator t=2023-11-16T11:37:02.815424986Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2023-11-16T11:37:02.816686426Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.26666ms grafana | logger=migrator t=2023-11-16T11:37:02.82097008Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2023-11-16T11:37:02.831028609Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=10.058679ms grafana | logger=migrator t=2023-11-16T11:37:02.836744373Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2023-11-16T11:37:02.844724954Z level=info msg="Migration successfully executed" id="permission kind migration" duration=7.979521ms grafana | logger=migrator t=2023-11-16T11:37:02.848307033Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-16T11:37:02.859248738Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=10.940315ms grafana | logger=migrator t=2023-11-16T11:37:02.862534863Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2023-11-16T11:37:02.87243931Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=9.904417ms grafana | logger=migrator t=2023-11-16T11:37:02.875168752Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2023-11-16T11:37:02.875955649Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=784.577µs grafana | logger=migrator t=2023-11-16T11:37:02.881085577Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2023-11-16T11:37:02.88257539Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.490113ms grafana | logger=migrator t=2023-11-16T11:37:02.885913816Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2023-11-16T11:37:02.887439148Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.524762ms grafana | logger=migrator t=2023-11-16T11:37:02.893080032Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2023-11-16T11:37:02.893152202Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=70.87µs grafana | logger=migrator t=2023-11-16T11:37:02.896673709Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2023-11-16T11:37:02.8967086Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=35.801µs grafana | logger=migrator t=2023-11-16T11:37:02.899616812Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2023-11-16T11:37:02.900080946Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=463.944µs grafana | logger=migrator t=2023-11-16T11:37:02.902265383Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2023-11-16T11:37:02.902797607Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=533.024µs grafana | logger=migrator t=2023-11-16T11:37:02.909609961Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2023-11-16T11:37:02.910275946Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=666.515µs grafana | logger=migrator t=2023-11-16T11:37:02.913341969Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2023-11-16T11:37:02.913649072Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=307.253µs grafana | logger=migrator t=2023-11-16T11:37:02.916958527Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2023-11-16T11:37:02.917467941Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=509.234µs grafana | logger=migrator t=2023-11-16T11:37:02.920821458Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2023-11-16T11:37:02.921621584Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=797.846µs grafana | logger=migrator t=2023-11-16T11:37:02.92756718Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2023-11-16T11:37:02.929372794Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.802944ms grafana | logger=migrator t=2023-11-16T11:37:02.933609937Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2023-11-16T11:37:02.943426514Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=9.816697ms grafana | logger=migrator t=2023-11-16T11:37:02.946358177Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2023-11-16T11:37:02.946425687Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=68.57µs grafana | logger=migrator t=2023-11-16T11:37:02.949020977Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2023-11-16T11:37:02.949950184Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=928.997µs grafana | logger=migrator t=2023-11-16T11:37:02.954851313Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2023-11-16T11:37:02.955986581Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.132388ms grafana | logger=migrator t=2023-11-16T11:37:02.96094946Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2023-11-16T11:37:02.962194169Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.245019ms grafana | logger=migrator t=2023-11-16T11:37:02.967839183Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2023-11-16T11:37:02.979525975Z level=info msg="Migration successfully executed" id="add correlation config column" duration=11.688082ms grafana | logger=migrator t=2023-11-16T11:37:02.982425698Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2023-11-16T11:37:02.983175243Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=750.685µs grafana | logger=migrator t=2023-11-16T11:37:02.985796914Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2023-11-16T11:37:02.986763381Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=964.877µs grafana | logger=migrator t=2023-11-16T11:37:02.992330064Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-16T11:37:03.026005198Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=33.673824ms grafana | logger=migrator t=2023-11-16T11:37:03.029148231Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2023-11-16T11:37:03.029851257Z level=info msg="Migration successfully executed" id="create correlation v2" duration=702.466µs grafana | logger=migrator t=2023-11-16T11:37:03.033099711Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2023-11-16T11:37:03.03437336Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.237098ms grafana | logger=migrator t=2023-11-16T11:37:03.038522581Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2023-11-16T11:37:03.039693379Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.170198ms grafana | logger=migrator t=2023-11-16T11:37:03.042975393Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0690-toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0770-toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0780-toscarequirements.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-16T11:37:03.044068301Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.093228ms grafana | logger=migrator t=2023-11-16T11:37:03.0480526Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2023-11-16T11:37:03.048301822Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=249.112µs grafana | logger=migrator t=2023-11-16T11:37:03.051617236Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2023-11-16T11:37:03.052405163Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=787.137µs grafana | logger=migrator t=2023-11-16T11:37:03.055588166Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2023-11-16T11:37:03.064438471Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.848885ms grafana | logger=migrator t=2023-11-16T11:37:03.068233159Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2023-11-16T11:37:03.068784603Z level=info msg="Migration successfully executed" id="create entity_events table" duration=550.644µs grafana | logger=migrator t=2023-11-16T11:37:03.071772516Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2023-11-16T11:37:03.072492541Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=720.245µs grafana | logger=migrator t=2023-11-16T11:37:03.075683004Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-16T11:37:03.076163477Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-16T11:37:03.080246138Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-16T11:37:03.080737141Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-16T11:37:03.083800884Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2023-11-16T11:37:03.084580959Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=776.635µs grafana | logger=migrator t=2023-11-16T11:37:03.087968244Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2023-11-16T11:37:03.088862741Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=893.907µs grafana | logger=migrator t=2023-11-16T11:37:03.093341193Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-16T11:37:03.094421842Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.080359ms grafana | logger=migrator t=2023-11-16T11:37:03.098000698Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-16T11:37:03.099074876Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.073748ms grafana | logger=migrator t=2023-11-16T11:37:03.102547082Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-11-16T11:37:03.103568269Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.021117ms grafana | logger=migrator t=2023-11-16T11:37:03.107709019Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-11-16T11:37:03.108787058Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.077579ms grafana | logger=migrator t=2023-11-16T11:37:03.111920401Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2023-11-16T11:37:03.112696506Z level=info msg="Migration successfully executed" id="Drop public config table" duration=775.695µs grafana | logger=migrator t=2023-11-16T11:37:03.1172956Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2023-11-16T11:37:03.118286437Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=990.227µs grafana | logger=migrator t=2023-11-16T11:37:03.121280449Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-11-16T11:37:03.122434188Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.153849ms grafana | logger=migrator t=2023-11-16T11:37:03.125993844Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-11-16T11:37:03.127882858Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.914484ms grafana | logger=migrator t=2023-11-16T11:37:03.132695153Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2023-11-16T11:37:03.133826932Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.131029ms grafana | logger=migrator t=2023-11-16T11:37:03.137455749Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2023-11-16T11:37:03.169819877Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=32.363378ms grafana | logger=migrator t=2023-11-16T11:37:03.173323763Z level=info msg="Executing migration" id="add annotations_enabled column" 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 | -------------- grafana | logger=migrator t=2023-11-16T11:37:03.181483943Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=8.15838ms grafana | logger=migrator t=2023-11-16T11:37:03.185723594Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2023-11-16T11:37:03.191964159Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=6.240335ms grafana | logger=migrator t=2023-11-16T11:37:03.195269314Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2023-11-16T11:37:03.195491046Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=222.272µs grafana | logger=migrator t=2023-11-16T11:37:03.198692399Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2023-11-16T11:37:03.207080211Z level=info msg="Migration successfully executed" id="add share column" duration=8.386902ms grafana | logger=migrator t=2023-11-16T11:37:03.211741435Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2023-11-16T11:37:03.211953277Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=210.752µs grafana | logger=migrator t=2023-11-16T11:37:03.214491275Z level=info msg="Executing migration" id="create file table" 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 | -------------- grafana | logger=migrator t=2023-11-16T11:37:03.215305162Z level=info msg="Migration successfully executed" id="create file table" duration=813.517µs grafana | logger=migrator t=2023-11-16T11:37:03.218503015Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2023-11-16T11:37:03.219565733Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.062098ms grafana | logger=migrator t=2023-11-16T11:37:03.222849867Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2023-11-16T11:37:03.223921955Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.072168ms grafana | logger=migrator t=2023-11-16T11:37:03.228520688Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2023-11-16T11:37:03.229770898Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.25052ms grafana | logger=migrator t=2023-11-16T11:37:03.233100222Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2023-11-16T11:37:03.235136118Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=2.040336ms grafana | logger=migrator t=2023-11-16T11:37:03.241938168Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2023-11-16T11:37:03.242038238Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=100.25µs grafana | logger=migrator t=2023-11-16T11:37:03.245243072Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2023-11-16T11:37:03.245346372Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=103.591µs grafana | logger=migrator t=2023-11-16T11:37:03.24895513Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2023-11-16T11:37:03.249798445Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=842.985µs grafana | logger=migrator t=2023-11-16T11:37:03.253560823Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2023-11-16T11:37:03.253759184Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=198.651µs grafana | logger=migrator t=2023-11-16T11:37:03.257826425Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2023-11-16T11:37:03.25860132Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=774.355µs grafana | logger=migrator t=2023-11-16T11:37:03.262049165Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2023-11-16T11:37:03.27076991Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.718615ms grafana | logger=migrator t=2023-11-16T11:37:03.273839683Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2023-11-16T11:37:03.273958354Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=116.441µs grafana | logger=migrator t=2023-11-16T11:37:03.276966636Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2023-11-16T11:37:03.277766591Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=799.455µs grafana | logger=migrator t=2023-11-16T11:37:03.281897942Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2023-11-16T11:37:03.282527357Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=629.725µs grafana | logger=migrator t=2023-11-16T11:37:03.286188873Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2023-11-16T11:37:03.286513766Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=325.053µs grafana | logger=migrator t=2023-11-16T11:37:03.290564156Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2023-11-16T11:37:03.291320901Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=756.765µs grafana | logger=migrator t=2023-11-16T11:37:03.294947668Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2023-11-16T11:37:03.306345092Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=11.398364ms grafana | logger=migrator t=2023-11-16T11:37:03.310543553Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2023-11-16T11:37:03.319446448Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.902105ms grafana | logger=migrator t=2023-11-16T11:37:03.322600182Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2023-11-16T11:37:03.323350057Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=749.495µs grafana | logger=migrator t=2023-11-16T11:37:03.326388889Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2023-11-16T11:37:03.43250739Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=106.117301ms grafana | logger=migrator t=2023-11-16T11:37:03.437377627Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2023-11-16T11:37:03.439328461Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.950664ms grafana | logger=migrator t=2023-11-16T11:37:03.442747606Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2023-11-16T11:37:03.443958985Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.210839ms policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-11-16T11:37:03.447929404Z level=info msg="Executing migration" id="add primary key to seed_assigment" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-16T11:37:03.484423973Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=36.499809ms policy-db-migrator | grafana | logger=migrator t=2023-11-16T11:37:03.509526348Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" policy-db-migrator | grafana | logger=migrator t=2023-11-16T11:37:03.50985652Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=329.372µs policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2023-11-16T11:37:03.512981523Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-16T11:37:03.513280345Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=300.112µs policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2023-11-16T11:37:03.516852301Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-16T11:37:03.517065513Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=213.432µs 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 | -------------- grafana | logger=migrator t=2023-11-16T11:37:03.522361532Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2023-11-16T11:37:03.523987694Z level=info msg="Migration successfully executed" id="create folder table" duration=1.629802ms grafana | logger=migrator t=2023-11-16T11:37:03.5276001Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2023-11-16T11:37:03.529509195Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.907145ms grafana | logger=migrator t=2023-11-16T11:37:03.534143039Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2023-11-16T11:37:03.535329888Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.186929ms grafana | logger=migrator t=2023-11-16T11:37:03.53834757Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2023-11-16T11:37:03.53837307Z level=info msg="Migration successfully executed" id="Update folder title length" duration=26.68µs grafana | logger=migrator t=2023-11-16T11:37:03.541602163Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-11-16T11:37:03.542765563Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.16281ms grafana | logger=migrator t=2023-11-16T11:37:03.545884176Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-11-16T11:37:03.547005733Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.121537ms grafana | logger=migrator t=2023-11-16T11:37:03.551081854Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2023-11-16T11:37:03.552242622Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.160508ms grafana | logger=migrator t=2023-11-16T11:37:03.555525546Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2023-11-16T11:37:03.556350963Z level=info msg="Migration successfully executed" id="create anon_device table" duration=825.087µs grafana | logger=migrator t=2023-11-16T11:37:03.561016107Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2023-11-16T11:37:03.563025372Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=2.008105ms grafana | logger=migrator t=2023-11-16T11:37:03.567001741Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2023-11-16T11:37:03.569056016Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=2.050976ms grafana | logger=migrator t=2023-11-16T11:37:03.57360225Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2023-11-16T11:37:03.574607397Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.004927ms grafana | logger=migrator t=2023-11-16T11:37:03.580026677Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2023-11-16T11:37:03.581850441Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.826104ms grafana | logger=migrator t=2023-11-16T11:37:03.585352726Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2023-11-16T11:37:03.586768726Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.41574ms grafana | logger=migrator t=2023-11-16T11:37:03.59412599Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2023-11-16T11:37:03.594598854Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=471.344µs grafana | logger=migrator t=2023-11-16T11:37:03.60093938Z level=info msg="migrations completed" performed=517 skipped=0 duration=4.097242154s grafana | logger=sqlstore t=2023-11-16T11:37:03.612037332Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2023-11-16T11:37:03.612337774Z level=info msg="Created default organization" grafana | logger=secrets t=2023-11-16T11:37:03.618023437Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=local.finder t=2023-11-16T11:37:03.682398921Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=query_data t=2023-11-16T11:37:03.685005109Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2023-11-16T11:37:03.688906278Z level=info msg="Live Push Gateway initialization" grafana | logger=infra.usagestats.collector t=2023-11-16T11:37:05.933534587Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2023-11-16T11:37:05.935564867Z level=info msg="inserting datasource from configuration " name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2023-11-16T11:37:05.975892454Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2023-11-16T11:37:05.975930685Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2023-11-16T11:37:05.976200077Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2023-11-16T11:37:05.977713702Z level=info msg="Warming state cache for startup" grafana | logger=http.server t=2023-11-16T11:37:05.981420808Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=sqlstore.transactions t=2023-11-16T11:37:05.990641447Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=grafana.update.checker t=2023-11-16T11:37:06.009219266Z level=info msg="Update check succeeded" duration=32.756986ms 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 grafana | logger=ngalert.state.manager t=2023-11-16T11:37:06.022160691Z level=info msg="State cache has been initialized" states=0 duration=44.440469ms grafana | logger=ngalert.scheduler t=2023-11-16T11:37:06.022204401Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2023-11-16T11:37:06.022254032Z level=info msg=starting first_tick=2023-11-16T11:37:10Z grafana | logger=ngalert.multiorg.alertmanager t=2023-11-16T11:37:06.022262512Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=plugins.update.checker t=2023-11-16T11:37:06.048176541Z level=info msg="Update check succeeded" duration=71.830882ms grafana | logger=ngalert.migration t=2023-11-16T11:37:06.062816192Z level=info msg=Starting grafana | logger=ngalert.migration t=2023-11-16T11:37:06.063465638Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-11-16T11:37:06.063782022Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-11-16T11:37:06.064231436Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-11-16T11:37:06.0646955Z level=warn msg="No available receivers" grafana | logger=ngalert.migration t=2023-11-16T11:37:06.067251225Z level=info msg="Completed legacy migration" grafana | logger=sqlstore.transactions t=2023-11-16T11:37:06.067667829Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2023-11-16T11:37:06.088199956Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1200) policy-db-migrator | name version policy-db-migrator | policyadmin 1200 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:07 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:07 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:07 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:07 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:07 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:07 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:07 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:07 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:08 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:08 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:08 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:08 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:08 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:08 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:08 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:08 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:08 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:08 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:08 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:08 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:08 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:08 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:08 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:08 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:08 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:08 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:08 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:08 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:08 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:08 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:08 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:08 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:08 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:08 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:08 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:08 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:09 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:09 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:09 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:09 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:09 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:09 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:09 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:09 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:09 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:09 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:09 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:09 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:09 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:09 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:09 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:09 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:09 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:09 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:09 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:09 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:09 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:09 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:09 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:09 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:09 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:09 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:09 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:09 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:09 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:10 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:10 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:10 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:10 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:10 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:10 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:10 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:10 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:10 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:10 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:10 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:10 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:10 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:10 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:10 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:10 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:10 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:10 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:10 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:10 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:10 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:10 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:10 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:10 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:11 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:11 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:11 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:11 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:11 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:11 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1611231137070800u 1 2023-11-16 11:37:11 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1611231137070900u 1 2023-11-16 11:37:11 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1611231137070900u 1 2023-11-16 11:37:11 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1611231137070900u 1 2023-11-16 11:37:11 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1611231137070900u 1 2023-11-16 11:37:11 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1611231137070900u 1 2023-11-16 11:37:11 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1611231137070900u 1 2023-11-16 11:37:11 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1611231137070900u 1 2023-11-16 11:37:11 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1611231137070900u 1 2023-11-16 11:37:11 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1611231137070900u 1 2023-11-16 11:37:11 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1611231137070900u 1 2023-11-16 11:37:11 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1611231137070900u 1 2023-11-16 11:37:11 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1611231137070900u 1 2023-11-16 11:37:12 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1611231137070900u 1 2023-11-16 11:37:12 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1611231137071000u 1 2023-11-16 11:37:12 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1611231137071000u 1 2023-11-16 11:37:12 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1611231137071000u 1 2023-11-16 11:37:12 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1611231137071000u 1 2023-11-16 11:37:12 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1611231137071000u 1 2023-11-16 11:37:12 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1611231137071000u 1 2023-11-16 11:37:12 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1611231137071000u 1 2023-11-16 11:37:12 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1611231137071000u 1 2023-11-16 11:37:12 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1611231137071000u 1 2023-11-16 11:37:12 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1611231137071100u 1 2023-11-16 11:37:12 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1611231137071200u 1 2023-11-16 11:37:12 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1611231137071200u 1 2023-11-16 11:37:12 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1611231137071200u 1 2023-11-16 11:37:12 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1611231137071200u 1 2023-11-16 11:37:12 policy-db-migrator | policyadmin: OK @ 1200 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing mariadb ... Removing prometheus ... Removing policy-api ... done Removing prometheus ... done Removing policy-db-migrator ... done Removing grafana ... done Removing mariadb ... done Removing network compose_default ++ cd /w/workspace/policy-api-london-project-csit-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.wxhgTziC7G ]] + rsync -av /tmp/tmp.wxhgTziC7G/ /w/workspace/policy-api-london-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,346,753 bytes received 95 bytes 2,693,696.00 bytes/sec total size is 1,346,103 speedup is 1.00 + rm -rf /w/workspace/policy-api-london-project-csit-api/models + exit 0 $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2087 killed; [ssh-agent] Stopped. Robot results publisher started... -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins7300072029873115917.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins3463793994078828765.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/policy-api-london-project-csit-api + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/policy-api-london-project-csit-api ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/policy-api-london-project-csit-api ']' + mkdir -p /w/workspace/policy-api-london-project-csit-api/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-london-project-csit-api/archives/ [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins13922763463171933061.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-oLad from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-oLad/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins9906522817485949112.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config915506857290908923tmp Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] Run condition [Regular expression match] preventing perform for step [Provide Configuration files] [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SERVER_ID=logs [EnvInject] - Variables injected successfully. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins11756821610083759409.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins1420037657907404428.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-oLad from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-oLad/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins1089234990223755865.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins15125606396340515935.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-oLad from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. virtualenv 20.24.6 requires platformdirs<4,>=3.9.1, but you have platformdirs 4.0.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-oLad/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [policy-api-london-project-csit-api] $ /bin/bash -l /tmp/jenkins15401059205018988046.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-oLad from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-oLad/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/181 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-253 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 812 27440 0 3914 30898 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1458 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:04:8d:f3 brd ff:ff:ff:ff:ff:ff inet 10.30.107.37/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86066sec preferred_lft 86066sec inet6 fe80::f816:3eff:fe04:8df3/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:ca:f5:b3:33 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-253) 11/16/23 _x86_64_ (8 CPU) 11:34:12 LINUX RESTART (8 CPU) 11:35:01 tps rtps wtps bread/s bwrtn/s 11:36:01 114.03 27.25 86.79 2077.65 17367.51 11:37:01 258.61 14.80 243.81 2091.38 71769.29 11:38:01 188.57 9.32 179.25 390.97 11051.26 11:39:01 33.78 0.90 32.88 45.46 8744.63 Average: 148.75 13.06 135.68 1151.37 27233.17 11:35:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:36:01 29999700 31764964 2939520 8.92 77980 1988480 1371860 4.04 812188 1820944 170320 11:37:01 27957856 31508952 4981364 15.12 117200 3667920 3025208 8.90 1182056 3366892 804 11:38:01 26796956 30396256 6142264 18.65 125632 3674168 4771752 14.04 2350964 3345312 96 11:39:01 28123732 31647444 4815488 14.62 126156 3634212 1460332 4.30 1129352 3266260 3596 Average: 28219561 31329404 4719659 14.33 111742 3241195 2657288 7.82 1368640 2949852 43704 11:35:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:36:01 ens3 63.64 39.64 1095.03 8.44 0.00 0.00 0.00 0.00 11:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 lo 1.13 1.13 0.12 0.12 0.00 0.00 0.00 0.00 11:37:01 br-36d3f13e4c5f 0.02 0.08 0.00 0.01 0.00 0.00 0.00 0.00 11:37:01 ens3 302.83 190.47 8971.93 16.57 0.00 0.00 0.00 0.00 11:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:37:01 veth5f9bf09 0.00 0.20 0.00 0.02 0.00 0.00 0.00 0.00 11:38:01 br-36d3f13e4c5f 3.58 4.00 5.93 2.52 0.00 0.00 0.00 0.00 11:38:01 ens3 10.43 8.12 2.20 1.96 0.00 0.00 0.00 0.00 11:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:01 veth79f7686 115.16 95.17 46.69 119.10 0.00 0.00 0.00 0.01 11:39:01 ens3 51.17 38.01 68.20 20.38 0.00 0.00 0.00 0.00 11:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:39:01 lo 33.66 33.66 10.36 10.36 0.00 0.00 0.00 0.00 Average: ens3 107.02 69.06 2534.34 11.84 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 7.28 7.28 2.49 2.49 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-253) 11/16/23 _x86_64_ (8 CPU) 11:34:12 LINUX RESTART (8 CPU) 11:35:01 CPU %user %nice %system %iowait %steal %idle 11:36:01 all 10.59 0.00 0.77 1.56 0.03 87.06 11:36:01 0 9.63 0.00 0.65 0.42 0.02 89.28 11:36:01 1 10.61 0.00 0.80 0.30 0.03 88.26 11:36:01 2 15.85 0.00 1.07 0.23 0.03 82.81 11:36:01 3 5.97 0.00 0.63 0.10 0.02 93.28 11:36:01 4 13.39 0.00 0.80 2.38 0.03 83.39 11:36:01 5 5.19 0.00 0.40 0.35 0.00 94.06 11:36:01 6 1.16 0.00 0.47 7.82 0.05 90.51 11:36:01 7 22.88 0.00 1.35 0.88 0.05 74.83 11:37:01 all 10.63 0.00 3.00 3.29 0.07 83.02 11:37:01 0 23.97 0.00 3.28 1.06 0.08 71.61 11:37:01 1 12.58 0.00 4.85 14.98 0.07 67.53 11:37:01 2 6.75 0.00 1.88 0.18 0.05 91.13 11:37:01 3 6.74 0.00 2.62 1.68 0.07 88.89 11:37:01 4 7.72 0.00 2.19 0.20 0.05 89.84 11:37:01 5 7.30 0.00 2.92 0.74 0.07 88.98 11:37:01 6 11.11 0.00 2.81 6.63 0.07 79.37 11:37:01 7 8.91 0.00 3.34 0.89 0.07 86.79 11:38:01 all 16.94 0.00 1.93 1.29 0.06 79.78 11:38:01 0 13.09 0.00 1.76 1.64 0.05 83.46 11:38:01 1 19.37 0.00 2.11 2.08 0.07 76.37 11:38:01 2 19.30 0.00 2.03 0.29 0.05 78.34 11:38:01 3 20.85 0.00 2.03 0.27 0.07 76.78 11:38:01 4 12.69 0.00 1.80 2.76 0.05 82.70 11:38:01 5 21.75 0.00 2.38 2.01 0.05 73.81 11:38:01 6 17.37 0.00 2.06 0.48 0.05 80.04 11:38:01 7 11.11 0.00 1.34 0.80 0.05 86.69 11:39:01 all 1.85 0.00 0.42 0.65 0.02 97.06 11:39:01 0 0.74 0.00 0.37 0.07 0.02 98.81 11:39:01 1 0.97 0.00 0.45 0.22 0.03 98.33 11:39:01 2 1.43 0.00 0.35 0.18 0.02 98.02 11:39:01 3 1.50 0.00 0.50 0.18 0.02 97.80 11:39:01 4 3.00 0.00 0.55 0.32 0.05 96.08 11:39:01 5 0.48 0.00 0.33 3.89 0.02 95.28 11:39:01 6 2.88 0.00 0.28 0.08 0.02 96.73 11:39:01 7 3.82 0.00 0.50 0.25 0.02 95.41 Average: all 9.99 0.00 1.53 1.69 0.04 86.74 Average: 0 11.84 0.00 1.51 0.79 0.04 85.82 Average: 1 10.87 0.00 2.04 4.36 0.05 82.67 Average: 2 10.83 0.00 1.33 0.22 0.04 87.58 Average: 3 8.75 0.00 1.44 0.56 0.04 89.21 Average: 4 9.21 0.00 1.34 1.42 0.05 87.99 Average: 5 8.67 0.00 1.51 1.75 0.03 88.05 Average: 6 8.13 0.00 1.40 3.75 0.05 86.68 Average: 7 11.69 0.00 1.63 0.71 0.05 85.93