Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-1798 (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-AFWQ5cJ8lTJr/agent.2066 SSH_AGENT_PID=2068 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_11248475891718899704.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_11248475891718899704.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/jenkins197259247500387969.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-SMyW 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-SMyW/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-SMyW/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.33.6 botocore==1.33.6 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.4.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.7 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.2.2 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.40 google-auth==2.24.0 httplib2==0.22.0 identify==2.5.32 idna==3.6 importlib-metadata==6.9.0 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.2 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.20.0 jsonschema-specifications==2023.11.2 keystoneauth1==5.4.0 kubernetes==28.1.0 lftools==0.37.8 lxml==4.9.3 MarkupSafe==2.1.3 msgpack==1.0.7 multi-key-dict==2.0.3 munch==4.0.0 netaddr==0.9.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==2.9.0 oslo.config==9.2.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.2.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==4.0.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.3.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.31.1 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.13.2 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.8.2 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.8.0 tzdata==2023.3 urllib3==1.26.18 virtualenv==20.25.0 wcwidth==0.2.12 websocket-client==1.6.4 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 zipp==3.17.0 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-london-project-csit-api] $ /bin/sh /tmp/jenkins12972461957021180073.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/jenkins2946139594071443959.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.UU7tQ14YNo ++ echo ROBOT_VENV=/tmp/tmp.UU7tQ14YNo +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.UU7tQ14YNo ++ source /tmp/tmp.UU7tQ14YNo/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.UU7tQ14YNo +++ 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.UU7tQ14YNo/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.UU7tQ14YNo) ' '!=' x ']' +++ PS1='(tmp.UU7tQ14YNo) ' +++ export PS1 +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ set -exu ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' ++ echo 'Installing Python Requirements' Installing Python Requirements ++ python3 -m pip install -qq -r /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.8.3 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==4.9.3 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.3.1 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.UU7tQ14YNo/src/onap ++ rm -rf /tmp/tmp.UU7tQ14YNo/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.8.3 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==0.18.3 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==4.9.3 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.3.1 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.UU7tQ14YNo/bin/activate + '[' -z /tmp/tmp.UU7tQ14YNo/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.UU7tQ14YNo/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.UU7tQ14YNo ++ 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.UU7tQ14YNo/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.UU7tQ14YNo) ' ++ '[' 'x(tmp.UU7tQ14YNo) ' '!=' x ']' ++ PS1='(tmp.UU7tQ14YNo) (tmp.UU7tQ14YNo) ' ++ export PS1 ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r + load_set + _setopts=hxB ++ tr : ' ' ++ echo braceexpand:hashall:interactive-comments:xtrace + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + 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.ToHXA2fjWj + cd /tmp/tmp.ToHXA2fjWj + docker login -u docker -p docker nexus3.onap.org:10001 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded + SETUP=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-london-project-csit-api/.gitreview +++ GERRIT_BRANCH=london +++ echo GERRIT_BRANCH=london GERRIT_BRANCH=london +++ rm -rf /w/workspace/policy-api-london-project-csit-api/models +++ mkdir /w/workspace/policy-api-london-project-csit-api/models +++ git clone -b london --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-london-project-csit-api/models Cloning into '/w/workspace/policy-api-london-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json +++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-london-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose +++ grafana=false +++ gui=false +++ [[ 2 -gt 0 ]] +++ key=api +++ case $key in +++ echo api api +++ component=api +++ shift +++ [[ 1 -gt 0 ]] +++ key=--grafana +++ case $key in +++ grafana=true +++ shift +++ [[ 0 -gt 0 ]] +++ cd /w/workspace/policy-api-london-project-csit-api/compose +++ echo 'Configuring docker compose...' Configuring docker compose... +++ source export-ports.sh +++ source get-versions.sh +++ '[' -z api ']' +++ '[' -n api ']' +++ '[' api == logs ']' +++ '[' true = true ']' +++ echo 'Starting api application with Grafana' Starting api application with Grafana +++ docker-compose up -d api grafana Creating network "compose_default" with the default driver Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 10.10.2: Pulling from mariadb Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2)... 2.6.2: Pulling from onap/policy-db-migrator Digest: sha256:a003c74f917627b7a14203f69b616fd4ffbb9c75689a5da0efcd611ad2535297 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2 Pulling api (nexus3.onap.org:10001/onap/policy-api:2.8.2)... 2.8.2: Pulling from onap/policy-api Digest: sha256:217c303960fc98a3dbef0c32dcca2beb777ec0b98b821daa59093c76f331177d Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:2.8.2 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:b440bc0e8aa5bab44a782952c09516b6a50f9d7b2325c1ffafac7bc833298e2e Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... latest: Pulling from grafana/grafana Digest: sha256:e3e9c2b5776fe3657f4954dfa91579224f98a0316f51d431989b15425e95530f Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating mariadb ... done Creating policy-db-migrator ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-london-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds grafana Up 12 seconds mariadb Up 14 seconds prometheus Up 13 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 17 seconds mariadb Up 19 seconds prometheus Up 18 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 22 seconds mariadb Up 24 seconds prometheus Up 23 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 27 seconds mariadb Up 29 seconds prometheus Up 28 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:36:50 up 3 min, 0 users, load average: 3.02, 1.12, 0.42 Tasks: 180 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.2 us, 2.1 sy, 0.0 ni, 83.3 id, 3.4 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.9G 25G 1.0M 3.8G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 25 seconds grafana Up 27 seconds mariadb Up 29 seconds prometheus Up 28 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 551116d6f660 policy-api 0.10% 948.8MiB / 31.41GiB 2.95% 1.04MB / 739kB 0B / 0B 51 9aa1bd12b4c9 grafana 0.02% 95.27MiB / 31.41GiB 0.30% 18.6kB / 3.09kB 0B / 23.4MB 18 ef8e5f886791 mariadb 0.02% 100.6MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11.2MB / 66.6MB 27 86bcb3b5b384 prometheus 0.04% 18.53MiB / 31.41GiB 0.06% 1.18kB / 158B 0B / 0B 13 + echo + cd /tmp/tmp.ToHXA2fjWj + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + sed 's|^|/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/|' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + cat testplan.txt /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot' + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ... + relax_set + set +e + set +o pipefail + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ============================================================================== api ============================================================================== api.Api-Test ============================================================================== Healthcheck :: Verify policy api health check | PASS | ------------------------------------------------------------------------------ Statistics :: Verify policy api statistics | PASS | ------------------------------------------------------------------------------ RetrievePolicyTypes :: Retrieve all policy types | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | ------------------------------------------------------------------------------ RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNodeTemplates :: Create node templates in database using spe... | PASS | ------------------------------------------------------------------------------ RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | ------------------------------------------------------------------------------ RetrieveAllPolicies :: Retrieve all policies | PASS | ------------------------------------------------------------------------------ RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | ------------------------------------------------------------------------------ RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | ------------------------------------------------------------------------------ RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | ------------------------------------------------------------------------------ DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ Metrics :: Verify policy-api is exporting prometheus metrics | PASS | ------------------------------------------------------------------------------ api.Api-Test | PASS | 23 tests, 23 passed, 0 failed ============================================================================== api.Api-Slas ============================================================================== WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForStatistics :: Validate statistics response ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ api.Api-Slas | PASS | 10 tests, 10 passed, 0 failed ============================================================================== api | PASS | 33 tests, 33 passed, 0 failed ============================================================================== Output: /tmp/tmp.ToHXA2fjWj/output.xml Log: /tmp/tmp.ToHXA2fjWj/log.html Report: /tmp/tmp.ToHXA2fjWj/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:00 up 4 min, 0 users, load average: 1.17, 0.98, 0.43 Tasks: 178 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.3 us, 1.6 sy, 0.0 ni, 86.2 id, 2.7 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.9G 25G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 551116d6f660 policy-api 0.10% 964.8MiB / 31.41GiB 3.00% 7.32MB / 2.87MB 0B / 0B 53 9aa1bd12b4c9 grafana 0.08% 97.5MiB / 31.41GiB 0.30% 19.7kB / 4.34kB 0B / 23.4MB 18 ef8e5f886791 mariadb 0.02% 101.4MiB / 31.41GiB 0.32% 2.75MB / 7.35MB 11.2MB / 66.7MB 18 86bcb3b5b384 prometheus 0.30% 24.05MiB / 31.41GiB 0.07% 37.8kB / 7.09kB 0B / 0B 13 + echo + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose ++ cd /w/workspace/policy-api-london-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, grafana, policy-db-migrator, mariadb, prometheus mariadb | 2023-12-02 11:36:20+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-12-02 11:36:20+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2023-12-02 11:36:20+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-12-02 11:36:21+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2023-12-02 11:36:21 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-12-02 11:36:21 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-02 11:36:21 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2023-12-02 11:36:22+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2023-12-02 11:36:22+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2023-12-02 11:36:22+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2023-12-02 11:36:22 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 95 ... mariadb | 2023-12-02 11:36:22 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-12-02 11:36:22 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-12-02 11:36:22 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-12-02 11:36:22 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-12-02 11:36:22 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-12-02 11:36:22 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-02 11:36:22 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-12-02 11:36:22 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-12-02 11:36:22 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-12-02 11:36:22 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-12-02 11:36:22 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-12-02 11:36:22 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-12-02 11:36:22 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2023-12-02 11:36:22 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-12-02 11:36:22 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-12-02 11:36:22 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-12-02 11:36:22 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-12-02 11:36:22 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2023-12-02 11:36:23+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2023-12-02 11:36:25+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2023-12-02 11:36:25+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2023-12-02 11:36:25+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2023-12-02 11:36:25+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | grafana | logger=settings t=2023-12-02T11:36:22.98336486Z level=info msg="Starting Grafana" version=10.2.2 commit=161e3cac5075540918e3a39004f2364ad104d5bb branch=HEAD compiled=2023-11-20T12:28:00Z grafana | logger=settings t=2023-12-02T11:36:22.983592558Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2023-12-02T11:36:22.983601908Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2023-12-02T11:36:22.983605869Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2023-12-02T11:36:22.983608989Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2023-12-02T11:36:22.983612189Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2023-12-02T11:36:22.983615899Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2023-12-02T11:36:22.983619349Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2023-12-02T11:36:22.983623169Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2023-12-02T11:36:22.983627589Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2023-12-02T11:36:22.98363238Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2023-12-02T11:36:22.98363645Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2023-12-02T11:36:22.98364059Z level=info msg=Target target=[all] grafana | logger=settings t=2023-12-02T11:36:22.98364711Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2023-12-02T11:36:22.98365112Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2023-12-02T11:36:22.98365494Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2023-12-02T11:36:22.98365883Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2023-12-02T11:36:22.983663301Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2023-12-02T11:36:22.983668721Z level=info msg="App mode production" grafana | logger=sqlstore t=2023-12-02T11:36:22.983947441Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2023-12-02T11:36:22.983971681Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2023-12-02T11:36:22.984617644Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2023-12-02T11:36:22.985533867Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2023-12-02T11:36:22.986264233Z level=info msg="Migration successfully executed" id="create migration_log table" duration=730.136µs grafana | logger=migrator t=2023-12-02T11:36:22.995561633Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2023-12-02T11:36:22.99632731Z level=info msg="Migration successfully executed" id="create user table" duration=764.147µs grafana | logger=migrator t=2023-12-02T11:36:23.000187898Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2023-12-02T11:36:23.001421021Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.232993ms grafana | logger=migrator t=2023-12-02T11:36:23.005486185Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2023-12-02T11:36:23.006632455Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.14602ms grafana | logger=migrator t=2023-12-02T11:36:23.012000685Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2023-12-02T11:36:23.012642357Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=641.822µs grafana | logger=migrator t=2023-12-02T11:36:23.01581282Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2023-12-02T11:36:23.01669031Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=876.25µs grafana | logger=migrator t=2023-12-02T11:36:23.020185064Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2023-12-02T11:36:23.024546558Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.360373ms grafana | logger=migrator t=2023-12-02T11:36:23.030828699Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2023-12-02T11:36:23.031534884Z level=info msg="Migration successfully executed" id="create user table v2" duration=705.395µs grafana | logger=migrator t=2023-12-02T11:36:23.036162567Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2023-12-02T11:36:23.037416211Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.253854ms grafana | logger=migrator t=2023-12-02T11:36:23.041673352Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2023-12-02T11:36:23.04303187Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.359838ms grafana | logger=migrator t=2023-12-02T11:36:23.047923353Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2023-12-02T11:36:23.048251754Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=331.351µs grafana | logger=migrator t=2023-12-02T11:36:23.050819445Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2023-12-02T11:36:23.051203318Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=382.253µs grafana | logger=migrator t=2023-12-02T11:36:23.053837831Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2023-12-02T11:36:23.055582202Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.741491ms grafana | logger=migrator t=2023-12-02T11:36:23.059306244Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2023-12-02T11:36:23.059329695Z level=info msg="Migration successfully executed" id="Update user table charset" duration=24.181µs grafana | logger=migrator t=2023-12-02T11:36:23.064919452Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2023-12-02T11:36:23.066073373Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.152721ms grafana | logger=migrator t=2023-12-02T11:36:23.069564416Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2023-12-02T11:36:23.069895507Z level=info msg="Migration successfully executed" id="Add missing user data" duration=330.501µs grafana | logger=migrator t=2023-12-02T11:36:23.072890543Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2023-12-02T11:36:23.074377176Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.486203ms grafana | logger=migrator t=2023-12-02T11:36:23.077416673Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2023-12-02T11:36:23.078139178Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=722.025µs grafana | logger=migrator t=2023-12-02T11:36:23.083322211Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2023-12-02T11:36:23.085066143Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.743332ms grafana | logger=migrator t=2023-12-02T11:36:23.088521225Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2023-12-02T11:36:23.099926757Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=11.405652ms grafana | logger=migrator t=2023-12-02T11:36:23.10341009Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2023-12-02T11:36:23.104141906Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=731.386µs grafana | logger=migrator t=2023-12-02T11:36:23.10936138Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2023-12-02T11:36:23.110109286Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=747.676µs grafana | logger=migrator t=2023-12-02T11:36:23.113395242Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2023-12-02T11:36:23.114099127Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=705.815µs grafana | logger=migrator t=2023-12-02T11:36:23.117196936Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2023-12-02T11:36:23.117903012Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=708.936µs grafana | logger=migrator t=2023-12-02T11:36:23.123783459Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2023-12-02T11:36:23.124482953Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=699.384µs grafana | logger=migrator t=2023-12-02T11:36:23.127900984Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2023-12-02T11:36:23.127941986Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=43.302µs grafana | logger=migrator t=2023-12-02T11:36:23.131454519Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2023-12-02T11:36:23.132434214Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=979.835µs grafana | logger=migrator t=2023-12-02T11:36:23.135522453Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2023-12-02T11:36:23.136138815Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=616.322µs grafana | logger=migrator t=2023-12-02T11:36:23.141774954Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2023-12-02T11:36:23.142388815Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=613.821µs grafana | logger=migrator t=2023-12-02T11:36:23.145947341Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2023-12-02T11:36:23.146930495Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=982.784µs grafana | logger=migrator t=2023-12-02T11:36:23.15243848Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-02T11:36:23.158081229Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=5.641319ms grafana | logger=migrator t=2023-12-02T11:36:23.161752809Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2023-12-02T11:36:23.162516835Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=763.706µs grafana | logger=migrator t=2023-12-02T11:36:23.165611515Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2023-12-02T11:36:23.166310449Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=698.614µs grafana | logger=migrator t=2023-12-02T11:36:23.169309145Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2023-12-02T11:36:23.170038531Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=728.906µs grafana | logger=migrator t=2023-12-02T11:36:23.175784584Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2023-12-02T11:36:23.17654426Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=759.456µs grafana | logger=migrator t=2023-12-02T11:36:23.180945056Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2023-12-02T11:36:23.182065445Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.116569ms grafana | logger=migrator t=2023-12-02T11:36:23.185662302Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2023-12-02T11:36:23.186237972Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=575.45µs grafana | logger=migrator t=2023-12-02T11:36:23.191733066Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2023-12-02T11:36:23.192251935Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=518.679µs grafana | logger=migrator t=2023-12-02T11:36:23.196065749Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2023-12-02T11:36:23.196747763Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=681.854µs grafana | logger=migrator t=2023-12-02T11:36:23.202155764Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2023-12-02T11:36:23.203121988Z level=info msg="Migration successfully executed" id="create star table" duration=965.754µs grafana | logger=migrator t=2023-12-02T11:36:23.208592301Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2023-12-02T11:36:23.209361639Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=768.927µs grafana | logger=migrator t=2023-12-02T11:36:23.212505899Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2023-12-02T11:36:23.21337484Z level=info msg="Migration successfully executed" id="create org table v1" duration=866.921µs grafana | logger=migrator t=2023-12-02T11:36:23.21820967Z level=info msg="Executing migration" id="create index UQE_org_name - v1" 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-12-02 11:36:26+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2023-12-02 11:36:26 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2023-12-02 11:36:26 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2023-12-02 11:36:26 0 [Note] InnoDB: Starting shutdown... mariadb | 2023-12-02 11:36:26 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2023-12-02 11:36:26 0 [Note] InnoDB: Buffer pool(s) dump completed at 231202 11:36:26 mariadb | 2023-12-02 11:36:26 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2023-12-02 11:36:26 0 [Note] InnoDB: Shutdown completed; log sequence number 340301; transaction id 298 mariadb | 2023-12-02 11:36:26 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2023-12-02 11:36:26+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2023-12-02 11:36:26+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2023-12-02 11:36:26 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2023-12-02 11:36:26 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-12-02 11:36:26 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-12-02 11:36:26 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-12-02 11:36:26 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-12-02 11:36:26 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-12-02 11:36:26 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-02 11:36:26 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-12-02 11:36:26 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-12-02 11:36:26 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-12-02 11:36:26 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-12-02 11:36:26 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-12-02 11:36:26 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-12-02 11:36:26 0 [Note] InnoDB: log sequence number 340301; transaction id 299 mariadb | 2023-12-02 11:36:26 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-12-02 11:36:26 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2023-12-02 11:36:26 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-12-02 11:36:26 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2023-12-02 11:36:26 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2023-12-02 11:36:26 0 [Note] Server socket created on IP: '::'. mariadb | 2023-12-02 11:36:26 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2023-12-02 11:36:26 0 [Note] InnoDB: Buffer pool(s) load completed at 231202 11:36:26 mariadb | 2023-12-02 11:36:27 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) mariadb | 2023-12-02 11:36:27 5 [Warning] Aborted connection 5 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) grafana | logger=migrator t=2023-12-02T11:36:23.219439964Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.229404ms grafana | logger=migrator t=2023-12-02T11:36:23.222786212Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2023-12-02T11:36:23.223426175Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=639.573µs grafana | logger=migrator t=2023-12-02T11:36:23.230063559Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2023-12-02T11:36:23.231245721Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.181902ms grafana | logger=migrator t=2023-12-02T11:36:23.235132397Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2023-12-02T11:36:23.236392862Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.255615ms grafana | logger=migrator t=2023-12-02T11:36:23.239696199Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2023-12-02T11:36:23.240436295Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=740.486µs grafana | logger=migrator t=2023-12-02T11:36:23.243363118Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2023-12-02T11:36:23.243392059Z level=info msg="Migration successfully executed" id="Update org table charset" duration=29.221µs grafana | logger=migrator t=2023-12-02T11:36:23.248573162Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2023-12-02T11:36:23.248607303Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=35.001µs grafana | logger=migrator t=2023-12-02T11:36:23.252182259Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2023-12-02T11:36:23.252436939Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=255.18µs grafana | logger=migrator t=2023-12-02T11:36:23.256278493Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2023-12-02T11:36:23.257274299Z level=info msg="Migration successfully executed" id="create dashboard table" duration=995.346µs grafana | logger=migrator t=2023-12-02T11:36:23.261433766Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2023-12-02T11:36:23.262664229Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.229423ms grafana | logger=migrator t=2023-12-02T11:36:23.269827592Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2023-12-02T11:36:23.270647931Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=819.689µs grafana | logger=migrator t=2023-12-02T11:36:23.273966898Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2023-12-02T11:36:23.274974304Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.005636ms grafana | logger=migrator t=2023-12-02T11:36:23.278592341Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2023-12-02T11:36:23.280105474Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.512793ms grafana | logger=migrator t=2023-12-02T11:36:23.283618019Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2023-12-02T11:36:23.284362284Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=744.666µs grafana | logger=migrator t=2023-12-02T11:36:23.28931903Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2023-12-02T11:36:23.296489262Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=7.167032ms grafana | logger=migrator t=2023-12-02T11:36:23.300242125Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2023-12-02T11:36:23.300896188Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=654.433µs grafana | logger=migrator t=2023-12-02T11:36:23.309251693Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2023-12-02T11:36:23.310390093Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.13901ms grafana | logger=migrator t=2023-12-02T11:36:23.313948369Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2023-12-02T11:36:23.315188092Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.238943ms grafana | logger=migrator t=2023-12-02T11:36:23.318580852Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2023-12-02T11:36:23.318895023Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=314.601µs grafana | logger=migrator t=2023-12-02T11:36:23.32193191Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2023-12-02T11:36:23.32276675Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=834.52µs grafana | logger=migrator t=2023-12-02T11:36:23.328705349Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2023-12-02T11:36:23.328815023Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=114.304µs grafana | logger=migrator t=2023-12-02T11:36:23.332529364Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2023-12-02T11:36:23.335369635Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.83947ms grafana | logger=migrator t=2023-12-02T11:36:23.339218411Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2023-12-02T11:36:23.340954042Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.735271ms grafana | logger=migrator t=2023-12-02T11:36:23.346313071Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2023-12-02T11:36:23.348230438Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.917087ms grafana | logger=migrator t=2023-12-02T11:36:23.351459572Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2023-12-02T11:36:23.352227509Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=767.597µs grafana | logger=migrator t=2023-12-02T11:36:23.355495364Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2023-12-02T11:36:23.357286978Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.791354ms grafana | logger=migrator t=2023-12-02T11:36:23.362244833Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2023-12-02T11:36:23.363566909Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.321276ms grafana | logger=migrator t=2023-12-02T11:36:23.396227221Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2023-12-02T11:36:23.397445575Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.218583ms grafana | logger=migrator t=2023-12-02T11:36:23.403322022Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2023-12-02T11:36:23.403362893Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=42.471µs grafana | logger=migrator t=2023-12-02T11:36:23.407050294Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2023-12-02T11:36:23.407079755Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=38.941µs grafana | logger=migrator t=2023-12-02T11:36:23.410532287Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2023-12-02T11:36:23.412401373Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=1.871165ms grafana | logger=migrator t=2023-12-02T11:36:23.4171724Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2023-12-02T11:36:23.419090849Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.917919ms grafana | logger=migrator t=2023-12-02T11:36:23.424270981Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2023-12-02T11:36:23.427318559Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=3.043728ms grafana | logger=migrator t=2023-12-02T11:36:23.431226946Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2023-12-02T11:36:23.433409074Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.181218ms grafana | logger=migrator t=2023-12-02T11:36:23.436640687Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2023-12-02T11:36:23.436817104Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=176.506µs grafana | logger=migrator t=2023-12-02T11:36:23.441836871Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2023-12-02T11:36:23.442589457Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=752.416µs grafana | logger=migrator t=2023-12-02T11:36:23.445613355Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2023-12-02T11:36:23.446319569Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=706.034µs grafana | logger=migrator t=2023-12-02T11:36:23.449221261Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2023-12-02T11:36:23.449245852Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=24.971µs grafana | logger=migrator t=2023-12-02T11:36:23.4514273Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2023-12-02T11:36:23.452180266Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=752.596µs grafana | logger=migrator t=2023-12-02T11:36:23.457274206Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2023-12-02T11:36:23.457896397Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=622.111µs grafana | logger=migrator t=2023-12-02T11:36:23.461694152Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-02T11:36:23.470839215Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=9.146044ms grafana | logger=migrator t=2023-12-02T11:36:23.473954564Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2023-12-02T11:36:23.474574166Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=629.882µs grafana | logger=migrator t=2023-12-02T11:36:23.479389946Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2023-12-02T11:36:23.480611119Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.221333ms grafana | logger=migrator t=2023-12-02T11:36:23.48404105Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2023-12-02T11:36:23.485334056Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.292146ms grafana | logger=migrator t=2023-12-02T11:36:23.488797027Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2023-12-02T11:36:23.489278435Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=481.958µs grafana | logger=migrator t=2023-12-02T11:36:23.494465878Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2023-12-02T11:36:23.49538064Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=914.162µs grafana | logger=migrator t=2023-12-02T11:36:23.499258807Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2023-12-02T11:36:23.501295659Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.036701ms grafana | logger=migrator t=2023-12-02T11:36:23.505253768Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2023-12-02T11:36:23.506123609Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=868.541µs grafana | logger=migrator t=2023-12-02T11:36:23.511666235Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2023-12-02T11:36:23.511843451Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=180.266µs grafana | logger=migrator t=2023-12-02T11:36:23.514982682Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2023-12-02T11:36:23.515176768Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=194.196µs grafana | logger=migrator t=2023-12-02T11:36:23.519629046Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2023-12-02T11:36:23.520395413Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=766.107µs grafana | logger=migrator t=2023-12-02T11:36:23.52681989Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2023-12-02T11:36:23.530199339Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.378719ms grafana | logger=migrator t=2023-12-02T11:36:23.533770335Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2023-12-02T11:36:23.534631655Z level=info msg="Migration successfully executed" id="create data_source table" duration=862.21µs grafana | logger=migrator t=2023-12-02T11:36:23.537627661Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2023-12-02T11:36:23.53844169Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=814.08µs grafana | logger=migrator t=2023-12-02T11:36:23.543640703Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2023-12-02T11:36:23.544494353Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=855.07µs grafana | logger=migrator t=2023-12-02T11:36:23.548926199Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2023-12-02T11:36:23.549771049Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=845.13µs grafana | logger=migrator t=2023-12-02T11:36:23.553542553Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2023-12-02T11:36:23.554777406Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.235283ms grafana | logger=migrator t=2023-12-02T11:36:23.559776952Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2023-12-02T11:36:23.571141523Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=11.358911ms grafana | logger=migrator t=2023-12-02T11:36:23.574820963Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2023-12-02T11:36:23.5755916Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=770.497µs grafana | logger=migrator t=2023-12-02T11:36:23.579874882Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2023-12-02T11:36:23.580758293Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=882.84µs grafana | logger=migrator t=2023-12-02T11:36:23.584870788Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2023-12-02T11:36:23.585729588Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=855.89µs grafana | logger=migrator t=2023-12-02T11:36:23.589858064Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2023-12-02T11:36:23.590533957Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=675.603µs grafana | logger=migrator t=2023-12-02T11:36:23.598363964Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2023-12-02T11:36:23.600793989Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.429215ms grafana | logger=migrator t=2023-12-02T11:36:23.604041814Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2023-12-02T11:36:23.606425298Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.380594ms grafana | logger=migrator t=2023-12-02T11:36:23.609648272Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2023-12-02T11:36:23.609675703Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=28.381µs grafana | logger=migrator t=2023-12-02T11:36:23.614186242Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2023-12-02T11:36:23.614474092Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=287.69µs grafana | logger=migrator t=2023-12-02T11:36:23.618072969Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2023-12-02T11:36:23.620592449Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.518749ms grafana | logger=migrator t=2023-12-02T11:36:23.624159664Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2023-12-02T11:36:23.624412073Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=252.199µs grafana | logger=migrator t=2023-12-02T11:36:23.628941673Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2023-12-02T11:36:23.629186112Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=243.989µs grafana | logger=migrator t=2023-12-02T11:36:23.634193638Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2023-12-02T11:36:23.637949801Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.756142ms grafana | logger=migrator t=2023-12-02T11:36:23.64189226Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2023-12-02T11:36:23.642136648Z level=info msg="Migration successfully executed" id="Update uid value" duration=243.958µs grafana | logger=migrator t=2023-12-02T11:36:23.645632561Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2023-12-02T11:36:23.646545694Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=911.883µs grafana | logger=migrator t=2023-12-02T11:36:23.65124317Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2023-12-02T11:36:23.652700892Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.457601ms grafana | logger=migrator t=2023-12-02T11:36:23.658725774Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2023-12-02T11:36:23.660096892Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.374938ms grafana | logger=migrator t=2023-12-02T11:36:23.66373979Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2023-12-02T11:36:23.664665533Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=926.603µs grafana | logger=migrator t=2023-12-02T11:36:23.669560906Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2023-12-02T11:36:23.670336183Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=774.947µs grafana | logger=migrator t=2023-12-02T11:36:23.673542656Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2023-12-02T11:36:23.674342725Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=799.679µs grafana | logger=migrator t=2023-12-02T11:36:23.679439485Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2023-12-02T11:36:23.680206781Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=764.656µs grafana | logger=migrator t=2023-12-02T11:36:23.688270636Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2023-12-02T11:36:23.689374085Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.103379ms 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 | Connection to mariadb 3306 port [tcp/mysql] succeeded! policy-db-migrator | 314 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 policy-db-migrator | upgrade: 0 -> 1200 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-12-02T11:36:23.693097516Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2023-12-02T11:36:23.694215366Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.11775ms grafana | logger=migrator t=2023-12-02T11:36:23.700472277Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2023-12-02T11:36:23.712103367Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=11.63054ms grafana | logger=migrator t=2023-12-02T11:36:23.717451346Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2023-12-02T11:36:23.718208132Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=757.616µs grafana | logger=migrator t=2023-12-02T11:36:23.723662965Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2023-12-02T11:36:23.724530866Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=867.651µs grafana | logger=migrator t=2023-12-02T11:36:23.730681592Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2023-12-02T11:36:23.732114973Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.433331ms grafana | logger=migrator t=2023-12-02T11:36:23.735754442Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2023-12-02T11:36:23.737477802Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.723691ms grafana | logger=migrator t=2023-12-02T11:36:23.744717068Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2023-12-02T11:36:23.745233976Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=513.919µs grafana | logger=migrator t=2023-12-02T11:36:23.752012495Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2023-12-02T11:36:23.752778152Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=766.347µs grafana | logger=migrator t=2023-12-02T11:36:23.756608948Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2023-12-02T11:36:23.756636259Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=28.591µs grafana | logger=migrator t=2023-12-02T11:36:23.760144572Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2023-12-02T11:36:23.761901035Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=1.756282ms grafana | logger=migrator t=2023-12-02T11:36:23.767371447Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2023-12-02T11:36:23.77143786Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=4.065883ms grafana | logger=migrator t=2023-12-02T11:36:23.77823834Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2023-12-02T11:36:23.77852007Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=280.74µs grafana | logger=migrator t=2023-12-02T11:36:23.781719074Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2023-12-02T11:36:23.784959868Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=3.240394ms grafana | logger=migrator t=2023-12-02T11:36:23.829775059Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2023-12-02T11:36:23.833790381Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=4.015082ms grafana | logger=migrator t=2023-12-02T11:36:23.8405666Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2023-12-02T11:36:23.841239953Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=672.663µs grafana | logger=migrator t=2023-12-02T11:36:23.844438466Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2023-12-02T11:36:23.844996836Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=557.79µs grafana | logger=migrator t=2023-12-02T11:36:23.84965834Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2023-12-02T11:36:23.850431878Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=773.118µs grafana | logger=migrator t=2023-12-02T11:36:23.85617309Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2023-12-02T11:36:23.857302661Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.12814ms grafana | logger=migrator t=2023-12-02T11:36:23.897751248Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2023-12-02T11:36:23.899379215Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.643188ms grafana | logger=migrator t=2023-12-02T11:36:23.904333479Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2023-12-02T11:36:23.905214701Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=881.272µs grafana | logger=migrator t=2023-12-02T11:36:23.910153085Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2023-12-02T11:36:23.910217237Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=64.933µs grafana | logger=migrator t=2023-12-02T11:36:23.915673009Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2023-12-02T11:36:23.915714921Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=41.002µs grafana | logger=migrator t=2023-12-02T11:36:23.919808465Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2023-12-02T11:36:23.926200811Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=6.388006ms grafana | logger=migrator t=2023-12-02T11:36:23.933559951Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2023-12-02T11:36:23.938155043Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=4.596752ms grafana | logger=migrator t=2023-12-02T11:36:23.945092487Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2023-12-02T11:36:23.945183631Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=91.923µs grafana | logger=migrator t=2023-12-02T11:36:23.949508274Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2023-12-02T11:36:23.950183337Z level=info msg="Migration successfully executed" id="create quota table v1" duration=675.263µs grafana | logger=migrator t=2023-12-02T11:36:23.955131512Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2023-12-02T11:36:23.956013023Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=881.731µs grafana | logger=migrator t=2023-12-02T11:36:23.96273097Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2023-12-02T11:36:23.962758221Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=28.571µs grafana | logger=migrator t=2023-12-02T11:36:23.966046017Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2023-12-02T11:36:23.966751962Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=703.075µs grafana | logger=migrator t=2023-12-02T11:36:23.970339978Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2023-12-02T11:36:23.97123446Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=894.222µs grafana | logger=migrator t=2023-12-02T11:36:23.974921801Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2023-12-02T11:36:23.977798572Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.876522ms grafana | logger=migrator t=2023-12-02T11:36:23.983067787Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2023-12-02T11:36:23.983095459Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=28.792µs grafana | logger=migrator t=2023-12-02T11:36:23.987822026Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2023-12-02T11:36:23.988577742Z level=info msg="Migration successfully executed" id="create session table" duration=755.777µs grafana | logger=migrator t=2023-12-02T11:36:23.994293344Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2023-12-02T11:36:23.994407078Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=114.314µs grafana | logger=migrator t=2023-12-02T11:36:23.997637442Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2023-12-02T11:36:23.997744266Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=107.193µs grafana | logger=migrator t=2023-12-02T11:36:24.001133845Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2023-12-02T11:36:24.001774738Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=640.643µs grafana | logger=migrator t=2023-12-02T11:36:24.005589798Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2023-12-02T11:36:24.006603361Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.013473ms grafana | logger=migrator t=2023-12-02T11:36:24.011736814Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2023-12-02T11:36:24.011813516Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=74.612µs grafana | logger=migrator t=2023-12-02T11:36:24.014989552Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2023-12-02T11:36:24.015014473Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=26.031µs grafana | logger=migrator t=2023-12-02T11:36:24.017875909Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2023-12-02T11:36:24.020837218Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=2.963469ms grafana | logger=migrator t=2023-12-02T11:36:24.025716252Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2023-12-02T11:36:24.02865847Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=2.942188ms grafana | logger=migrator t=2023-12-02T11:36:24.033417179Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2023-12-02T11:36:24.033515904Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=99.205µs grafana | logger=migrator t=2023-12-02T11:36:24.036527104Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2023-12-02T11:36:24.036620587Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=93.413µs grafana | logger=migrator t=2023-12-02T11:36:24.039353289Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2023-12-02T11:36:24.040441915Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.084255ms grafana | logger=migrator t=2023-12-02T11:36:24.049109886Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2023-12-02T11:36:24.049189958Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=86.062µs grafana | logger=migrator t=2023-12-02T11:36:24.053486632Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2023-12-02T11:36:24.056563645Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.077313ms grafana | logger=migrator t=2023-12-02T11:36:24.059598507Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2023-12-02T11:36:24.059764792Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=166.425µs grafana | logger=migrator t=2023-12-02T11:36:24.062998321Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2023-12-02T11:36:24.065972031Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=2.97382ms grafana | logger=migrator t=2023-12-02T11:36:24.069613392Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2023-12-02T11:36:24.072621323Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.007701ms grafana | logger=migrator t=2023-12-02T11:36:24.078298344Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2023-12-02T11:36:24.078361486Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=63.772µs grafana | logger=migrator t=2023-12-02T11:36:24.08179081Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2023-12-02T11:36:24.082713511Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=922.681µs grafana | logger=migrator t=2023-12-02T11:36:24.086071403Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2023-12-02T11:36:24.086916962Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=845.269µs grafana | logger=migrator t=2023-12-02T11:36:24.093091599Z level=info msg="Executing migration" id="create alert table v1" policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.2:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.4:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v2.7.8) policy-api | policy-api | [2023-12-02T11:36:35.220+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 28 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2023-12-02T11:36:35.223+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2023-12-02T11:36:36.520+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2023-12-02T11:36:36.611+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 79 ms. Found 6 JPA repository interfaces. policy-api | [2023-12-02T11:36:37.632+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2023-12-02T11:36:37.644+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2023-12-02T11:36:37.645+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2023-12-02T11:36:37.645+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2023-12-02T11:36:37.731+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2023-12-02T11:36:37.732+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2449 ms policy-api | [2023-12-02T11:36:38.249+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2023-12-02T11:36:38.362+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2023-12-02T11:36:38.599+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2023-12-02T11:36:38.750+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2023-12-02T11:36:38.860+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2023-12-02T11:36:38.885+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2023-12-02T11:36:40.302+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2023-12-02T11:36:40.317+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' grafana | logger=migrator t=2023-12-02T11:36:24.093994819Z level=info msg="Migration successfully executed" id="create alert table v1" duration=903.14µs grafana | logger=migrator t=2023-12-02T11:36:24.096727851Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2023-12-02T11:36:24.097676592Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=945.551µs grafana | logger=migrator t=2023-12-02T11:36:24.103404784Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2023-12-02T11:36:24.104422138Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.017724ms grafana | logger=migrator t=2023-12-02T11:36:24.109082244Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2023-12-02T11:36:24.110684138Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.601934ms grafana | logger=migrator t=2023-12-02T11:36:24.113917386Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2023-12-02T11:36:24.115198709Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=1.281083ms grafana | logger=migrator t=2023-12-02T11:36:24.120457906Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2023-12-02T11:36:24.121732719Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.274662ms grafana | logger=migrator t=2023-12-02T11:36:24.125111301Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2023-12-02T11:36:24.127250352Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=2.139141ms grafana | logger=migrator t=2023-12-02T11:36:24.130794502Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2023-12-02T11:36:24.140366322Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=9.57139ms grafana | logger=migrator t=2023-12-02T11:36:24.144981127Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2023-12-02T11:36:24.145429341Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=448.804µs grafana | logger=migrator t=2023-12-02T11:36:24.14958145Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2023-12-02T11:36:24.151384992Z level=info msg="Migration successfully executed" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" duration=1.802891ms grafana | logger=migrator t=2023-12-02T11:36:24.155153447Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2023-12-02T11:36:24.155570992Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=417.695µs grafana | logger=migrator t=2023-12-02T11:36:24.161217051Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2023-12-02T11:36:24.161712727Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=495.696µs grafana | logger=migrator t=2023-12-02T11:36:24.164812941Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2023-12-02T11:36:24.165463773Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=650.492µs grafana | logger=migrator t=2023-12-02T11:36:24.169222198Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2023-12-02T11:36:24.174750944Z level=info msg="Migration successfully executed" id="Add column is_default" duration=5.525565ms grafana | logger=migrator t=2023-12-02T11:36:24.181529591Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2023-12-02T11:36:24.185866196Z level=info msg="Migration successfully executed" id="Add column frequency" duration=4.336965ms grafana | logger=migrator t=2023-12-02T11:36:24.189480107Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2023-12-02T11:36:24.192918772Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.438355ms grafana | logger=migrator t=2023-12-02T11:36:24.195904963Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2023-12-02T11:36:24.199396899Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.491096ms grafana | logger=migrator t=2023-12-02T11:36:24.234804225Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2023-12-02T11:36:24.2361389Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.337405ms grafana | logger=migrator t=2023-12-02T11:36:24.240248118Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2023-12-02T11:36:24.240402013Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=154.835µs grafana | logger=migrator t=2023-12-02T11:36:24.244330604Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2023-12-02T11:36:24.244563192Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=233.868µs grafana | logger=migrator t=2023-12-02T11:36:24.249221409Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2023-12-02T11:36:24.250042156Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=820.647µs grafana | logger=migrator t=2023-12-02T11:36:24.254418112Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-12-02T11:36:24.256091648Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.672826ms grafana | logger=migrator t=2023-12-02T11:36:24.259506033Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2023-12-02T11:36:24.260752775Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.245712ms grafana | logger=migrator t=2023-12-02T11:36:24.263981793Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2023-12-02T11:36:24.26479229Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=810.137µs grafana | logger=migrator t=2023-12-02T11:36:24.269327292Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-12-02T11:36:24.270523222Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.1957ms grafana | logger=migrator t=2023-12-02T11:36:24.273540383Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2023-12-02T11:36:24.27731025Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.769736ms grafana | logger=migrator t=2023-12-02T11:36:24.280274789Z level=info msg="Executing migration" id="Add column uid in alert_notification" prometheus | ts=2023-12-02T11:36:21.877Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2023-12-02T11:36:21.877Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.0, branch=HEAD, revision=6d80b30990bc297d95b5c844e118c4011fad8054)" prometheus | ts=2023-12-02T11:36:21.877Z caller=main.go:588 level=info build_context="(go=go1.21.4, platform=linux/amd64, user=root@26117804242c, date=20231116-04:35:21, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2023-12-02T11:36:21.877Z caller=main.go:589 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" prometheus | ts=2023-12-02T11:36:21.877Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2023-12-02T11:36:21.877Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2023-12-02T11:36:21.884Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2023-12-02T11:36:21.885Z caller=main.go:1024 level=info msg="Starting TSDB ..." prometheus | ts=2023-12-02T11:36:21.887Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2023-12-02T11:36:21.887Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2023-12-02T11:36:21.888Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2023-12-02T11:36:21.888Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=1.84µs prometheus | ts=2023-12-02T11:36:21.888Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2023-12-02T11:36:21.889Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2023-12-02T11:36:21.889Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=22.66µs wal_replay_duration=318.091µs wbl_replay_duration=180ns total_replay_duration=360.432µs prometheus | ts=2023-12-02T11:36:21.891Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2023-12-02T11:36:21.891Z caller=main.go:1048 level=info msg="TSDB started" prometheus | ts=2023-12-02T11:36:21.892Z caller=main.go:1229 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2023-12-02T11:36:21.894Z caller=main.go:1266 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=2.30695ms db_storage=1.9µs remote_storage=2.64µs web_handler=1.08µs query_engine=1.67µs scrape=445.446µs scrape_sd=132.445µs notify=36.981µs notify_sd=19.431µs rules=2.86µs tracing=7.22µs prometheus | ts=2023-12-02T11:36:21.894Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." prometheus | ts=2023-12-02T11:36:21.894Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2023-12-02T11:36:24.283975122Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.699923ms grafana | logger=migrator t=2023-12-02T11:36:24.288246805Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2023-12-02T11:36:24.288469763Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=222.988µs grafana | logger=migrator t=2023-12-02T11:36:24.291504445Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2023-12-02T11:36:24.292325302Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=820.107µs grafana | logger=migrator t=2023-12-02T11:36:24.296835144Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2023-12-02T11:36:24.297963281Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.128027ms grafana | logger=migrator t=2023-12-02T11:36:24.303553218Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2023-12-02T11:36:24.310071427Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=6.517508ms grafana | logger=migrator t=2023-12-02T11:36:24.313518203Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2023-12-02T11:36:24.313650397Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=131.965µs grafana | logger=migrator t=2023-12-02T11:36:24.316202052Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2023-12-02T11:36:24.316937107Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=735.256µs grafana | logger=migrator t=2023-12-02T11:36:24.321639314Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2023-12-02T11:36:24.322961278Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.307184ms grafana | logger=migrator t=2023-12-02T11:36:24.326644322Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2023-12-02T11:36:24.326875129Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=230.627µs grafana | logger=migrator t=2023-12-02T11:36:24.330415258Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2023-12-02T11:36:24.331470103Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.054315ms grafana | logger=migrator t=2023-12-02T11:36:24.3358731Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2023-12-02T11:36:24.336909845Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.036725ms grafana | logger=migrator t=2023-12-02T11:36:24.340217907Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2023-12-02T11:36:24.34121932Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.001213ms grafana | logger=migrator t=2023-12-02T11:36:24.344410147Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2023-12-02T11:36:24.345447001Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.036694ms grafana | logger=migrator t=2023-12-02T11:36:24.350511651Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2023-12-02T11:36:24.351781684Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.269613ms grafana | logger=migrator t=2023-12-02T11:36:24.355187938Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2023-12-02T11:36:24.356302155Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.112538ms grafana | logger=migrator t=2023-12-02T11:36:24.360775075Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2023-12-02T11:36:24.360906779Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=132.714µs grafana | logger=migrator t=2023-12-02T11:36:24.363682732Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2023-12-02T11:36:24.367688586Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.005264ms grafana | logger=migrator t=2023-12-02T11:36:24.371100641Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2023-12-02T11:36:24.372056002Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=955.601µs grafana | logger=migrator t=2023-12-02T11:36:24.376891315Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2023-12-02T11:36:24.381783238Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=4.893783ms grafana | logger=migrator t=2023-12-02T11:36:24.385284726Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2023-12-02T11:36:24.38601455Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=729.324µs grafana | logger=migrator t=2023-12-02T11:36:24.389549699Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2023-12-02T11:36:24.390613805Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.063856ms grafana | logger=migrator t=2023-12-02T11:36:24.395007692Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2023-12-02T11:36:24.395978994Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=971.242µs grafana | logger=migrator t=2023-12-02T11:36:24.399664368Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2023-12-02T11:36:24.417529836Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=17.865249ms grafana | logger=migrator t=2023-12-02T11:36:24.421701126Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2023-12-02T11:36:24.422287985Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=586.649µs grafana | logger=migrator t=2023-12-02T11:36:24.427010664Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" grafana | logger=migrator t=2023-12-02T11:36:24.428035748Z 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.024304ms grafana | logger=migrator t=2023-12-02T11:36:24.431865076Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2023-12-02T11:36:24.43229475Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=429.134µs policy-api | [2023-12-02T11:36:41.398+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2023-12-02T11:36:42.090+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2023-12-02T11:36:43.170+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@427faf19, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@57404a8d, org.springframework.security.web.context.SecurityContextPersistenceFilter@2acacdf, org.springframework.security.web.header.HeaderWriterFilter@1377e395, org.springframework.security.web.authentication.logout.LogoutFilter@b1fccca, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@48d588dd, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@674c9079, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@4cf5cf47, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@337f6716, org.springframework.security.web.session.SessionManagementFilter@14c5625d, org.springframework.security.web.access.ExceptionTranslationFilter@3b48ffe8, org.springframework.security.web.access.intercept.AuthorizationFilter@3c7b040f] policy-api | [2023-12-02T11:36:43.316+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2023-12-02T11:36:45.601+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2023-12-02T11:36:45.629+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2023-12-02T11:36:45.663+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2023-12-02T11:36:45.678+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.264 seconds (JVM running for 11.871) policy-api | [2023-12-02T11:36:53.231+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2023-12-02T11:36:53.231+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2023-12-02T11:36:53.232+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-api | [2023-12-02T11:36:55.538+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-6] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2023-12-02T11:36:55.659+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2023-12-02T11:36:55.911+00:00|WARN|CommonRestController|http-nio-6969-exec-7] POST /policytypes policy-api | [2023-12-02T11:36:56.985+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2023-12-02T11:36:58.827+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2023-12-02T11:36:59.209+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2023-12-02T11:36:59.434+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2023-12-02T11:36:59.690+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2023-12-02T11:36:59.916+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2023-12-02T11:37:00.135+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2023-12-02T11:36:24.436400328Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2023-12-02T11:36:24.437025389Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=624.691µs grafana | logger=migrator t=2023-12-02T11:36:24.441606972Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2023-12-02T11:36:24.441931703Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=324.181µs grafana | logger=migrator t=2023-12-02T11:36:24.445433531Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2023-12-02T11:36:24.451946408Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.512197ms grafana | logger=migrator t=2023-12-02T11:36:24.456091137Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2023-12-02T11:36:24.461078455Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.986898ms grafana | logger=migrator t=2023-12-02T11:36:24.464671785Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2023-12-02T11:36:24.465739731Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.067426ms grafana | logger=migrator t=2023-12-02T11:36:24.470312373Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2023-12-02T11:36:24.47198041Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.667477ms grafana | logger=migrator t=2023-12-02T11:36:24.475951473Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2023-12-02T11:36:24.476496401Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=544.478µs grafana | logger=migrator t=2023-12-02T11:36:24.48032288Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2023-12-02T11:36:24.484736797Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.413367ms grafana | logger=migrator t=2023-12-02T11:36:24.489678992Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2023-12-02T11:36:24.491470873Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.791671ms grafana | logger=migrator t=2023-12-02T11:36:24.495520378Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2023-12-02T11:36:24.496015185Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=494.317µs grafana | logger=migrator t=2023-12-02T11:36:24.499727169Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2023-12-02T11:36:24.500268637Z level=info msg="Migration successfully executed" id="Move region to single row" duration=541.398µs grafana | logger=migrator t=2023-12-02T11:36:24.504646264Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2023-12-02T11:36:24.505621027Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=975.063µs grafana | logger=migrator t=2023-12-02T11:36:24.50901657Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2023-12-02T11:36:24.510122858Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.105037ms grafana | logger=migrator t=2023-12-02T11:36:24.513930715Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-12-02T11:36:24.51499424Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.063325ms grafana | logger=migrator t=2023-12-02T11:36:24.519383498Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-12-02T11:36:24.520496615Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.112397ms grafana | logger=migrator t=2023-12-02T11:36:24.524887182Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2023-12-02T11:36:24.526486656Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.598415ms grafana | logger=migrator t=2023-12-02T11:36:24.530729508Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2023-12-02T11:36:24.532471726Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.741728ms grafana | logger=migrator t=2023-12-02T11:36:24.537741983Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2023-12-02T11:36:24.537987681Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=245.478µs grafana | logger=migrator t=2023-12-02T11:36:24.541760018Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2023-12-02T11:36:24.542618836Z level=info msg="Migration successfully executed" id="create test_data table" duration=858.328µs grafana | logger=migrator t=2023-12-02T11:36:24.546405713Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2023-12-02T11:36:24.547212419Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=806.836µs grafana | logger=migrator t=2023-12-02T11:36:24.554942119Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2023-12-02T11:36:24.556671356Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.728547ms grafana | logger=migrator t=2023-12-02T11:36:24.560745793Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2023-12-02T11:36:24.561997285Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.253082ms grafana | logger=migrator t=2023-12-02T11:36:24.565789212Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2023-12-02T11:36:24.566170495Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=380.833µs grafana | logger=migrator t=2023-12-02T11:36:24.573261222Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2023-12-02T11:36:24.573700467Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=439.805µs grafana | logger=migrator t=2023-12-02T11:36:24.576850533Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" 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 | -------------- grafana | logger=migrator t=2023-12-02T11:36:24.577007248Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=156.495µs grafana | logger=migrator t=2023-12-02T11:36:24.579847163Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2023-12-02T11:36:24.580568377Z level=info msg="Migration successfully executed" id="create team table" duration=720.994µs grafana | logger=migrator t=2023-12-02T11:36:24.584070265Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2023-12-02T11:36:24.58543311Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.362885ms grafana | logger=migrator t=2023-12-02T11:36:24.58992034Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2023-12-02T11:36:24.590985746Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.065146ms grafana | logger=migrator t=2023-12-02T11:36:24.594323788Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2023-12-02T11:36:24.600783705Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=6.457426ms grafana | logger=migrator t=2023-12-02T11:36:24.604479088Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2023-12-02T11:36:24.604781639Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=302.221µs grafana | logger=migrator t=2023-12-02T11:36:24.610463059Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2023-12-02T11:36:24.611689699Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.22659ms grafana | logger=migrator t=2023-12-02T11:36:24.615437365Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2023-12-02T11:36:24.616211601Z level=info msg="Migration successfully executed" id="create team member table" duration=773.536µs grafana | logger=migrator t=2023-12-02T11:36:24.626984931Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2023-12-02T11:36:24.628661338Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.676337ms grafana | logger=migrator t=2023-12-02T11:36:24.634085939Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2023-12-02T11:36:24.635184316Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.097687ms grafana | logger=migrator t=2023-12-02T11:36:24.647003523Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2023-12-02T11:36:24.648660518Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.649415ms grafana | logger=migrator t=2023-12-02T11:36:24.652557759Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2023-12-02T11:36:24.658453716Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=5.895267ms grafana | logger=migrator t=2023-12-02T11:36:24.662957587Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2023-12-02T11:36:24.666229036Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=3.271159ms grafana | logger=migrator t=2023-12-02T11:36:24.669868708Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2023-12-02T11:36:24.674668059Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.7989ms grafana | logger=migrator t=2023-12-02T11:36:24.678469136Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2023-12-02T11:36:24.679692897Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.223081ms grafana | logger=migrator t=2023-12-02T11:36:24.684518438Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2023-12-02T11:36:24.685586854Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.068216ms grafana | logger=migrator t=2023-12-02T11:36:24.6890154Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2023-12-02T11:36:24.690152088Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.138547ms grafana | logger=migrator t=2023-12-02T11:36:24.693614784Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2023-12-02T11:36:24.69470524Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.090166ms grafana | logger=migrator t=2023-12-02T11:36:24.700567377Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2023-12-02T11:36:24.701623102Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.055565ms grafana | logger=migrator t=2023-12-02T11:36:24.705073347Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2023-12-02T11:36:24.707208529Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=2.134462ms grafana | logger=migrator t=2023-12-02T11:36:24.711464612Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2023-12-02T11:36:24.712760525Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.296603ms grafana | logger=migrator t=2023-12-02T11:36:24.717271926Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2023-12-02T11:36:24.718438685Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.166679ms grafana | logger=migrator t=2023-12-02T11:36:24.722037755Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2023-12-02T11:36:24.722608325Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=570.19µs grafana | logger=migrator t=2023-12-02T11:36:24.727118776Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2023-12-02T11:36:24.727470958Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=351.811µs grafana | logger=migrator t=2023-12-02T11:36:24.731173232Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2023-12-02T11:36:24.732146494Z level=info msg="Migration successfully executed" id="create tag table" duration=972.592µs grafana | logger=migrator t=2023-12-02T11:36:24.735801527Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2023-12-02T11:36:24.736905734Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.104067ms grafana | logger=migrator t=2023-12-02T11:36:24.741383214Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2023-12-02T11:36:24.74275605Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.372636ms grafana | logger=migrator t=2023-12-02T11:36:24.747979885Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- 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 | -------------- grafana | logger=migrator t=2023-12-02T11:36:24.74903077Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.050805ms grafana | logger=migrator t=2023-12-02T11:36:24.752673372Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2023-12-02T11:36:24.753667475Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=995.873µs grafana | logger=migrator t=2023-12-02T11:36:24.758256699Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-02T11:36:24.77829475Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=20.039021ms grafana | logger=migrator t=2023-12-02T11:36:24.782590274Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2023-12-02T11:36:24.783409471Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=819.627µs grafana | logger=migrator t=2023-12-02T11:36:24.786726592Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2023-12-02T11:36:24.787528359Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=801.757µs grafana | logger=migrator t=2023-12-02T11:36:24.791514233Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2023-12-02T11:36:24.791820403Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=305.88µs grafana | logger=migrator t=2023-12-02T11:36:24.795072322Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2023-12-02T11:36:24.79559484Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=522.178µs grafana | logger=migrator t=2023-12-02T11:36:24.799536732Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2023-12-02T11:36:24.800773263Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.235411ms grafana | logger=migrator t=2023-12-02T11:36:24.956900283Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2023-12-02T11:36:24.958640401Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.743038ms grafana | logger=migrator t=2023-12-02T11:36:24.962331115Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2023-12-02T11:36:24.962431558Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=101.494µs grafana | logger=migrator t=2023-12-02T11:36:24.968783791Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2023-12-02T11:36:24.973991695Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.204305ms grafana | logger=migrator t=2023-12-02T11:36:24.976977205Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2023-12-02T11:36:24.982459648Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.481053ms grafana | logger=migrator t=2023-12-02T11:36:24.986802754Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2023-12-02T11:36:24.991841523Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.038579ms grafana | logger=migrator t=2023-12-02T11:36:24.99534749Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2023-12-02T11:36:25.004213698Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=8.864778ms grafana | logger=migrator t=2023-12-02T11:36:25.015411878Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2023-12-02T11:36:25.016810175Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.394398ms grafana | logger=migrator t=2023-12-02T11:36:25.023667987Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2023-12-02T11:36:25.031551933Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=7.883426ms grafana | logger=migrator t=2023-12-02T11:36:25.035413454Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2023-12-02T11:36:25.035926631Z level=info msg="Migration successfully executed" id="create server_lock table" duration=512.717µs grafana | logger=migrator t=2023-12-02T11:36:25.039671608Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2023-12-02T11:36:25.040311501Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=640.013µs grafana | logger=migrator t=2023-12-02T11:36:25.045233917Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2023-12-02T11:36:25.046410227Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.17635ms grafana | logger=migrator t=2023-12-02T11:36:25.050180735Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2023-12-02T11:36:25.051633854Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.452959ms grafana | logger=migrator t=2023-12-02T11:36:25.056648383Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2023-12-02T11:36:25.058103882Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.455379ms grafana | logger=migrator t=2023-12-02T11:36:25.06394555Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2023-12-02T11:36:25.065020677Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.073566ms grafana | logger=migrator t=2023-12-02T11:36:25.068773204Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2023-12-02T11:36:25.077411906Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=8.639862ms grafana | logger=migrator t=2023-12-02T11:36:25.081035489Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2023-12-02T11:36:25.081706201Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=671.372µs grafana | logger=migrator t=2023-12-02T11:36:25.085890173Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2023-12-02T11:36:25.086815935Z level=info msg="Migration successfully executed" id="create cache_data table" duration=924.272µs grafana | logger=migrator t=2023-12-02T11:36:25.090412776Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2023-12-02T11:36:25.091884956Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.475ms grafana | logger=migrator t=2023-12-02T11:36:25.095483518Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0450-pdpgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-12-02T11:36:25.096282876Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=799.607µs grafana | logger=migrator t=2023-12-02T11:36:25.135149261Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2023-12-02T11:36:25.136976013Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.828113ms grafana | logger=migrator t=2023-12-02T11:36:25.140697408Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2023-12-02T11:36:25.140804362Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=112.554µs grafana | logger=migrator t=2023-12-02T11:36:25.14487999Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2023-12-02T11:36:25.144964053Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=82.163µs grafana | logger=migrator t=2023-12-02T11:36:25.149784417Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2023-12-02T11:36:25.150808281Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.022755ms grafana | logger=migrator t=2023-12-02T11:36:25.154881628Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-12-02T11:36:25.156484094Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.600185ms grafana | logger=migrator t=2023-12-02T11:36:25.160295872Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-12-02T11:36:25.161280956Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=984.763µs grafana | logger=migrator t=2023-12-02T11:36:25.165640833Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-02T11:36:25.165700385Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=59.742µs grafana | logger=migrator t=2023-12-02T11:36:25.16937084Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-12-02T11:36:25.171120849Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.749169ms grafana | logger=migrator t=2023-12-02T11:36:25.176124038Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-12-02T11:36:25.177455414Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.332225ms grafana | logger=migrator t=2023-12-02T11:36:25.189346376Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-12-02T11:36:25.190928069Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.580814ms grafana | logger=migrator t=2023-12-02T11:36:25.196091904Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-12-02T11:36:25.19803729Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.944245ms grafana | logger=migrator t=2023-12-02T11:36:25.22050166Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2023-12-02T11:36:25.230380494Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=9.874114ms grafana | logger=migrator t=2023-12-02T11:36:25.237494315Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2023-12-02T11:36:25.238492479Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=997.634µs grafana | logger=migrator t=2023-12-02T11:36:25.243294332Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2023-12-02T11:36:25.243467908Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=174.496µs grafana | logger=migrator t=2023-12-02T11:36:25.248541139Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2023-12-02T11:36:25.24943158Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=890.701µs grafana | logger=migrator t=2023-12-02T11:36:25.255842277Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" grafana | logger=migrator t=2023-12-02T11:36:25.256794579Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=951.692µs grafana | logger=migrator t=2023-12-02T11:36:25.260494904Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" grafana | logger=migrator t=2023-12-02T11:36:25.262123669Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.628785ms grafana | logger=migrator t=2023-12-02T11:36:25.271469646Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-02T11:36:25.271562199Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=96.093µs grafana | logger=migrator t=2023-12-02T11:36:25.277774059Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2023-12-02T11:36:25.2795758Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.800311ms grafana | logger=migrator t=2023-12-02T11:36:25.287518059Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2023-12-02T11:36:25.28842775Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=910.201µs grafana | logger=migrator t=2023-12-02T11:36:25.293380237Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" grafana | logger=migrator t=2023-12-02T11:36:25.295000502Z 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.619665ms grafana | logger=migrator t=2023-12-02T11:36:25.301178152Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2023-12-02T11:36:25.302120074Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=939.792µs grafana | logger=migrator t=2023-12-02T11:36:25.307777635Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2023-12-02T11:36:25.317154892Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=9.381497ms grafana | logger=migrator t=2023-12-02T11:36:25.321347594Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2023-12-02T11:36:25.322266835Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=919.321µs grafana | logger=migrator t=2023-12-02T11:36:25.32742229Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-12-02T11:36:25.32831687Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=893.95µs grafana | logger=migrator t=2023-12-02T11:36:25.333811476Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2023-12-02T11:36:25.373409536Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=39.597ms grafana | logger=migrator t=2023-12-02T11:36:25.377530066Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2023-12-02T11:36:25.417666665Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=40.137159ms grafana | logger=migrator t=2023-12-02T11:36:25.42133922Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2023-12-02T11:36:25.422102265Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=763.975µs grafana | logger=migrator t=2023-12-02T11:36:25.427833699Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-12-02T11:36:25.42905963Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.224061ms grafana | logger=migrator t=2023-12-02T11:36:25.434712492Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2023-12-02T11:36:25.441951337Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=7.236514ms grafana | logger=migrator t=2023-12-02T11:36:25.446661277Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2023-12-02T11:36:25.447508065Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=846.668µs grafana | logger=migrator t=2023-12-02T11:36:25.454691039Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2023-12-02T11:36:25.455834577Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.143008ms grafana | logger=migrator t=2023-12-02T11:36:25.45946022Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2023-12-02T11:36:25.461012662Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.551892ms grafana | logger=migrator t=2023-12-02T11:36:25.465707701Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2023-12-02T11:36:25.466762427Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.054446ms grafana | logger=migrator t=2023-12-02T11:36:25.471807198Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-02T11:36:25.4718726Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=66.162µs grafana | logger=migrator t=2023-12-02T11:36:25.475327827Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2023-12-02T11:36:25.48487179Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=9.543393ms grafana | logger=migrator t=2023-12-02T11:36:25.491108072Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2023-12-02T11:36:25.495418448Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=4.309845ms grafana | logger=migrator t=2023-12-02T11:36:25.502826198Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2023-12-02T11:36:25.512502756Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=9.673848ms grafana | logger=migrator t=2023-12-02T11:36:25.517224365Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2023-12-02T11:36:25.517898288Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=674.563µs grafana | logger=migrator t=2023-12-02T11:36:25.525100742Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2023-12-02T11:36:25.526694186Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.592434ms grafana | logger=migrator t=2023-12-02T11:36:25.535300397Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2023-12-02T11:36:25.543261237Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=7.947629ms grafana | logger=migrator t=2023-12-02T11:36:25.555856603Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2023-12-02T11:36:25.567008481Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=11.153218ms grafana | logger=migrator t=2023-12-02T11:36:25.575458277Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" grafana | logger=migrator t=2023-12-02T11:36:25.576477262Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.018015ms grafana | logger=migrator t=2023-12-02T11:36:25.586327205Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2023-12-02T11:36:25.595673571Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=9.350076ms grafana | logger=migrator t=2023-12-02T11:36:25.600431863Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2023-12-02T11:36:25.606890091Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.457808ms grafana | logger=migrator t=2023-12-02T11:36:25.612747649Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2023-12-02T11:36:25.612843592Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=96.833µs grafana | logger=migrator t=2023-12-02T11:36:25.619825128Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2023-12-02T11:36:25.620848653Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.023315ms 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 | -------------- grafana | logger=migrator t=2023-12-02T11:36:25.626179654Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" grafana | logger=migrator t=2023-12-02T11:36:25.627877291Z 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.696987ms grafana | logger=migrator t=2023-12-02T11:36:25.636218334Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" grafana | logger=migrator t=2023-12-02T11:36:25.638063627Z 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.846184ms grafana | logger=migrator t=2023-12-02T11:36:25.646396668Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-02T11:36:25.646457381Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=61.572µs grafana | logger=migrator t=2023-12-02T11:36:25.651909785Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2023-12-02T11:36:25.661114247Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=9.202562ms grafana | logger=migrator t=2023-12-02T11:36:25.667802833Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2023-12-02T11:36:25.672353457Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=4.550124ms grafana | logger=migrator t=2023-12-02T11:36:25.678640679Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2023-12-02T11:36:25.687572212Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=8.929903ms grafana | logger=migrator t=2023-12-02T11:36:25.695588334Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2023-12-02T11:36:25.701611428Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.022733ms grafana | logger=migrator t=2023-12-02T11:36:25.709336429Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2023-12-02T11:36:25.715782337Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.441998ms grafana | logger=migrator t=2023-12-02T11:36:25.722311709Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2023-12-02T11:36:25.722372261Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=63.603µs grafana | logger=migrator t=2023-12-02T11:36:25.729975898Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2023-12-02T11:36:25.730658511Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=682.504µs grafana | logger=migrator t=2023-12-02T11:36:25.737680389Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2023-12-02T11:36:25.745754851Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=8.075062ms grafana | logger=migrator t=2023-12-02T11:36:25.754111044Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2023-12-02T11:36:25.754173156Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=60.632µs grafana | logger=migrator t=2023-12-02T11:36:25.761595708Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2023-12-02T11:36:25.770733607Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=9.143989ms grafana | logger=migrator t=2023-12-02T11:36:25.780203638Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2023-12-02T11:36:25.781263444Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.059756ms grafana | logger=migrator t=2023-12-02T11:36:25.788920003Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2023-12-02T11:36:25.798228978Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=9.309905ms grafana | logger=migrator t=2023-12-02T11:36:25.803950892Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2023-12-02T11:36:25.804639385Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=688.433µs grafana | logger=migrator t=2023-12-02T11:36:25.809573762Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2023-12-02T11:36:25.810510714Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=936.632µs grafana | logger=migrator t=2023-12-02T11:36:25.817260352Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2023-12-02T11:36:25.823629588Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.369086ms grafana | logger=migrator t=2023-12-02T11:36:25.828317617Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2023-12-02T11:36:25.829025721Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=708.015µs grafana | logger=migrator t=2023-12-02T11:36:25.83429859Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2023-12-02T11:36:25.835924935Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.625534ms grafana | logger=migrator t=2023-12-02T11:36:25.845005492Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2023-12-02T11:36:25.846170641Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.16518ms grafana | logger=migrator t=2023-12-02T11:36:25.856729069Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2023-12-02T11:36:25.85822467Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.49522ms grafana | logger=migrator t=2023-12-02T11:36:25.865489315Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2023-12-02T11:36:25.865580908Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=95.883µs grafana | logger=migrator t=2023-12-02T11:36:25.870814896Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2023-12-02T11:36:25.872360528Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.545122ms grafana | logger=migrator t=2023-12-02T11:36:25.883238867Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2023-12-02T11:36:25.884726777Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.488211ms grafana | logger=migrator t=2023-12-02T11:36:25.893126181Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2023-12-02T11:36:25.893718401Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2023-12-02T11:36:25.90167043Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2023-12-02T11:36:25.902310402Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=639.741µs grafana | logger=migrator t=2023-12-02T11:36:25.907213968Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2023-12-02T11:36:25.908825922Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.611294ms grafana | logger=migrator t=2023-12-02T11:36:25.919204313Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2023-12-02T11:36:25.929786392Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=10.579909ms grafana | logger=migrator t=2023-12-02T11:36:25.938420664Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2023-12-02T11:36:25.939090397Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=669.522µs grafana | logger=migrator t=2023-12-02T11:36:25.942747671Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2023-12-02T11:36:25.944671635Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.923034ms grafana | logger=migrator t=2023-12-02T11:36:25.949094316Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2023-12-02T11:36:25.949841571Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=747.605µs grafana | logger=migrator t=2023-12-02T11:36:25.959841949Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2023-12-02T11:36:25.961234066Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.395387ms grafana | logger=migrator t=2023-12-02T11:36:25.968896006Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2023-12-02T11:36:25.970542052Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.645906ms grafana | logger=migrator t=2023-12-02T11:36:25.977844199Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2023-12-02T11:36:25.97787119Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=28.061µs grafana | logger=migrator t=2023-12-02T11:36:25.987490555Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2023-12-02T11:36:25.987595759Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=106.014µs grafana | logger=migrator t=2023-12-02T11:36:25.996961476Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-12-02T11:36:25.997409671Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=448.185µs grafana | logger=migrator t=2023-12-02T11:36:26.004443422Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2023-12-02T11:36:26.005876663Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.433841ms grafana | logger=migrator t=2023-12-02T11:36:26.012939031Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2023-12-02T11:36:26.014223126Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.283175ms grafana | logger=migrator t=2023-12-02T11:36:26.023106089Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2023-12-02T11:36:26.070589988Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=47.483629ms grafana | logger=migrator t=2023-12-02T11:36:26.07972993Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2023-12-02T11:36:26.090600983Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=10.868752ms grafana | logger=migrator t=2023-12-02T11:36:26.095212984Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2023-12-02T11:36:26.095315428Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=102.624µs grafana | logger=migrator t=2023-12-02T11:36:26.100635885Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2023-12-02T11:36:26.147770833Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=47.141798ms grafana | logger=migrator t=2023-12-02T11:36:26.163182645Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2023-12-02T11:36:26.205792113Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=42.607928ms grafana | logger=migrator t=2023-12-02T11:36:26.209448292Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2023-12-02T11:36:26.210022862Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=574.28µs grafana | logger=migrator t=2023-12-02T11:36:26.217879918Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2023-12-02T11:36:26.219495095Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.614157ms grafana | logger=migrator t=2023-12-02T11:36:26.226403488Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2023-12-02T11:36:26.226768591Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=366.212µs grafana | logger=migrator t=2023-12-02T11:36:26.23356032Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2023-12-02T11:36:26.234728951Z level=info msg="Migration successfully executed" id="create permission table" duration=1.168322ms grafana | logger=migrator t=2023-12-02T11:36:26.243927164Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2023-12-02T11:36:26.246102191Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=2.173106ms 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-12-02T11:36:26.252249936Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2023-12-02T11:36:26.253655276Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.40577ms grafana | logger=migrator t=2023-12-02T11:36:26.257442359Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2023-12-02T11:36:26.258232987Z level=info msg="Migration successfully executed" id="create role table" duration=790.477µs grafana | logger=migrator t=2023-12-02T11:36:26.261712439Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2023-12-02T11:36:26.269020776Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.305467ms grafana | logger=migrator t=2023-12-02T11:36:26.273381569Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2023-12-02T11:36:26.2796276Z level=info msg="Migration successfully executed" id="add column group_name" duration=6.23951ms grafana | logger=migrator t=2023-12-02T11:36:26.284006233Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2023-12-02T11:36:26.285005109Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=999.086µs grafana | logger=migrator t=2023-12-02T11:36:26.28903246Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2023-12-02T11:36:26.290059576Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.026876ms grafana | logger=migrator t=2023-12-02T11:36:26.294633667Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2023-12-02T11:36:26.295699734Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.065448ms grafana | logger=migrator t=2023-12-02T11:36:26.299478147Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2023-12-02T11:36:26.300296226Z level=info msg="Migration successfully executed" id="create team role table" duration=815.848µs grafana | logger=migrator t=2023-12-02T11:36:26.304431281Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2023-12-02T11:36:26.306116171Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.68525ms grafana | logger=migrator t=2023-12-02T11:36:26.310879708Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2023-12-02T11:36:26.312899899Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=2.019101ms grafana | logger=migrator t=2023-12-02T11:36:26.316595149Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2023-12-02T11:36:26.317596625Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.001386ms grafana | logger=migrator t=2023-12-02T11:36:26.321227022Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2023-12-02T11:36:26.32202901Z level=info msg="Migration successfully executed" id="create user role table" duration=799.468µs grafana | logger=migrator t=2023-12-02T11:36:26.337535796Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2023-12-02T11:36:26.339234425Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.69805ms grafana | logger=migrator t=2023-12-02T11:36:26.343975622Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2023-12-02T11:36:26.345013198Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.037316ms grafana | logger=migrator t=2023-12-02T11:36:26.348993938Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2023-12-02T11:36:26.350702308Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.70829ms grafana | logger=migrator t=2023-12-02T11:36:26.356962169Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2023-12-02T11:36:26.357736466Z level=info msg="Migration successfully executed" id="create builtin role table" duration=774.226µs grafana | logger=migrator t=2023-12-02T11:36:26.363749688Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2023-12-02T11:36:26.364786244Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.033066ms grafana | logger=migrator t=2023-12-02T11:36:26.369088306Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2023-12-02T11:36:26.370687812Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.599557ms grafana | logger=migrator t=2023-12-02T11:36:26.374512835Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2023-12-02T11:36:26.382154665Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.64133ms grafana | logger=migrator t=2023-12-02T11:36:26.386308501Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2023-12-02T11:36:26.387028156Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=719.295µs grafana | logger=migrator t=2023-12-02T11:36:26.390125335Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2023-12-02T11:36:26.390884291Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=758.906µs grafana | logger=migrator t=2023-12-02T11:36:26.394595342Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2023-12-02T11:36:26.395598788Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.003386ms grafana | logger=migrator t=2023-12-02T11:36:26.4004959Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2023-12-02T11:36:26.402105346Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.609107ms grafana | logger=migrator t=2023-12-02T11:36:26.406299293Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2023-12-02T11:36:26.407471885Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.168822ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2023-12-02T11:36:26.410884854Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2023-12-02T11:36:26.411947202Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.061968ms grafana | logger=migrator t=2023-12-02T11:36:26.415918142Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2023-12-02T11:36:26.423721047Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=7.802495ms grafana | logger=migrator t=2023-12-02T11:36:26.426981741Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2023-12-02T11:36:26.432619819Z level=info msg="Migration successfully executed" id="permission kind migration" duration=5.637728ms 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-12-02T11:36:26.436735374Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2023-12-02T11:36:26.444705095Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=7.96956ms grafana | logger=migrator t=2023-12-02T11:36:26.45625195Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2023-12-02T11:36:26.467087472Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=10.835251ms grafana | logger=migrator t=2023-12-02T11:36:26.476306725Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2023-12-02T11:36:26.477394594Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.087659ms grafana | logger=migrator t=2023-12-02T11:36:26.489303602Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2023-12-02T11:36:26.49066989Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.365828ms grafana | logger=migrator t=2023-12-02T11:36:26.498954501Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2023-12-02T11:36:26.500103842Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.147931ms grafana | logger=migrator t=2023-12-02T11:36:26.508099414Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2023-12-02T11:36:26.508205767Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=107.284µs grafana | logger=migrator t=2023-12-02T11:36:26.520400746Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2023-12-02T11:36:26.520452948Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=54.042µs grafana | logger=migrator t=2023-12-02T11:36:26.530157639Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2023-12-02T11:36:26.530846193Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=688.794µs grafana | logger=migrator t=2023-12-02T11:36:26.587151153Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2023-12-02T11:36:26.588555272Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.407749ms grafana | logger=migrator t=2023-12-02T11:36:26.593687713Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2023-12-02T11:36:26.594483991Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=796.158µs grafana | logger=migrator t=2023-12-02T11:36:26.599172386Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2023-12-02T11:36:26.599400534Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=227.628µs grafana | logger=migrator t=2023-12-02T11:36:26.605598402Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2023-12-02T11:36:26.605923894Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=325.522µs grafana | logger=migrator t=2023-12-02T11:36:26.610886618Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2023-12-02T11:36:26.612350849Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.467242ms grafana | logger=migrator t=2023-12-02T11:36:26.616525776Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2023-12-02T11:36:26.618194365Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.668149ms grafana | logger=migrator t=2023-12-02T11:36:26.622706984Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2023-12-02T11:36:26.630644132Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=7.934038ms grafana | logger=migrator t=2023-12-02T11:36:26.636387635Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2023-12-02T11:36:26.636435157Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=48.152µs grafana | logger=migrator t=2023-12-02T11:36:26.641027558Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2023-12-02T11:36:26.642425607Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.397869ms grafana | logger=migrator t=2023-12-02T11:36:26.645961661Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2023-12-02T11:36:26.648331105Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=2.369463ms grafana | logger=migrator t=2023-12-02T11:36:26.656874245Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2023-12-02T11:36:26.658030316Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.156211ms grafana | logger=migrator t=2023-12-02T11:36:26.661240298Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2023-12-02T11:36:26.669280291Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.040833ms grafana | logger=migrator t=2023-12-02T11:36:26.672636499Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2023-12-02T11:36:26.673649805Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.013376ms grafana | logger=migrator t=2023-12-02T11:36:26.678214845Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2023-12-02T11:36:26.679273523Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.058657ms grafana | logger=migrator t=2023-12-02T11:36:26.682297109Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-02T11:36:26.713379372Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=31.080893ms grafana | logger=migrator t=2023-12-02T11:36:26.716891395Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2023-12-02T11:36:26.717562589Z level=info msg="Migration successfully executed" id="create correlation v2" duration=671.074µs policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdp.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE jpapdpstatistics_enginestats a policy-db-migrator | JOIN pdpstatistics b policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp policy-db-migrator | SET a.id = b.id policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2023-12-02T11:36:26.722404949Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2023-12-02T11:36:26.72355541Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.150711ms grafana | logger=migrator t=2023-12-02T11:36:26.726901797Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2023-12-02T11:36:26.728160322Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.261635ms grafana | logger=migrator t=2023-12-02T11:36:26.734193614Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2023-12-02T11:36:26.735363935Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.170652ms grafana | logger=migrator t=2023-12-02T11:36:26.740285358Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2023-12-02T11:36:26.740735254Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=450.456µs grafana | logger=migrator t=2023-12-02T11:36:26.74548326Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2023-12-02T11:36:26.746837148Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.353658ms grafana | logger=migrator t=2023-12-02T11:36:26.754442826Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2023-12-02T11:36:26.767094821Z level=info msg="Migration successfully executed" id="add provisioning column" duration=12.652525ms grafana | logger=migrator t=2023-12-02T11:36:26.771198325Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2023-12-02T11:36:26.771753704Z level=info msg="Migration successfully executed" id="create entity_events table" duration=555.939µs grafana | logger=migrator t=2023-12-02T11:36:26.775380252Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2023-12-02T11:36:26.776326305Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=944.163µs grafana | logger=migrator t=2023-12-02T11:36:26.781529818Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-12-02T11:36:26.782482002Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-12-02T11:36:26.786785233Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-12-02T11:36:26.787410175Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-12-02T11:36:26.791219619Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2023-12-02T11:36:26.792153242Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=933.483µs grafana | logger=migrator t=2023-12-02T11:36:26.79806981Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2023-12-02T11:36:26.799159049Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.088609ms grafana | logger=migrator t=2023-12-02T11:36:26.802707143Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-12-02T11:36:26.804635251Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.928038ms grafana | logger=migrator t=2023-12-02T11:36:26.808793918Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-12-02T11:36:26.810500447Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.70731ms grafana | logger=migrator t=2023-12-02T11:36:26.818645714Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-12-02T11:36:26.820274891Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.627537ms grafana | logger=migrator t=2023-12-02T11:36:26.827435743Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-12-02T11:36:26.829230886Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.794972ms grafana | logger=migrator t=2023-12-02T11:36:26.836310284Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2023-12-02T11:36:26.837691823Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.381509ms grafana | logger=migrator t=2023-12-02T11:36:26.842887226Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2023-12-02T11:36:26.844641127Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.751021ms grafana | logger=migrator t=2023-12-02T11:36:26.849309142Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-12-02T11:36:26.850499263Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.190101ms grafana | logger=migrator t=2023-12-02T11:36:26.859566483Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-12-02T11:36:26.860955562Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.392299ms grafana | logger=migrator t=2023-12-02T11:36:26.868562749Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2023-12-02T11:36:26.870684054Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=2.120986ms grafana | logger=migrator t=2023-12-02T11:36:26.875061207Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2023-12-02T11:36:26.911196048Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=36.137551ms grafana | logger=migrator t=2023-12-02T11:36:26.916193273Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2023-12-02T11:36:26.922387482Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.191559ms grafana | logger=migrator t=2023-12-02T11:36:26.92660328Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2023-12-02T11:36:26.935212713Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.610353ms grafana | logger=migrator t=2023-12-02T11:36:26.938907653Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2023-12-02T11:36:26.939261615Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=353.732µs grafana | logger=migrator t=2023-12-02T11:36:26.94307725Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2023-12-02T11:36:26.951551018Z level=info msg="Migration successfully executed" id="add share column" duration=8.473207ms grafana | logger=migrator t=2023-12-02T11:36:26.996414605Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2023-12-02T11:36:26.996950744Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=534.338µs 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 | grafana | logger=migrator t=2023-12-02T11:36:27.001264185Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2023-12-02T11:36:27.002737777Z level=info msg="Migration successfully executed" id="create file table" duration=1.472292ms grafana | logger=migrator t=2023-12-02T11:36:27.00694583Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2023-12-02T11:36:27.008864614Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.918534ms grafana | logger=migrator t=2023-12-02T11:36:27.013676214Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2023-12-02T11:36:27.01476587Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.089626ms grafana | logger=migrator t=2023-12-02T11:36:27.018533334Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2023-12-02T11:36:27.019503077Z level=info msg="Migration successfully executed" id="create file_meta table" duration=967.702µs grafana | logger=migrator t=2023-12-02T11:36:27.024476982Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2023-12-02T11:36:27.026528559Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=2.050707ms grafana | logger=migrator t=2023-12-02T11:36:27.034861585Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2023-12-02T11:36:27.034935538Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=73.143µs grafana | logger=migrator t=2023-12-02T11:36:27.038953801Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2023-12-02T11:36:27.039416006Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=461.695µs grafana | logger=migrator t=2023-12-02T11:36:27.043476101Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2023-12-02T11:36:27.044437773Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=960.762µs grafana | logger=migrator t=2023-12-02T11:36:27.048452126Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2023-12-02T11:36:27.048703164Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=250.228µs grafana | logger=migrator t=2023-12-02T11:36:27.053241214Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2023-12-02T11:36:27.054114104Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=872.26µs grafana | logger=migrator t=2023-12-02T11:36:27.058274612Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2023-12-02T11:36:27.069927777Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=11.653595ms grafana | logger=migrator t=2023-12-02T11:36:27.074043504Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2023-12-02T11:36:27.074314423Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=270.739µs grafana | logger=migrator t=2023-12-02T11:36:27.079068591Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2023-12-02T11:36:27.080278371Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.2097ms grafana | logger=migrator t=2023-12-02T11:36:27.084389816Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2023-12-02T11:36:27.08509882Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=710.404µs grafana | logger=migrator t=2023-12-02T11:36:27.08899832Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2023-12-02T11:36:27.089472245Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=473.495µs grafana | logger=migrator t=2023-12-02T11:36:27.094232164Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2023-12-02T11:36:27.09474481Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=512.367µs grafana | logger=migrator t=2023-12-02T11:36:27.098612519Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2023-12-02T11:36:27.112481688Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=13.86917ms grafana | logger=migrator t=2023-12-02T11:36:27.116519951Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2023-12-02T11:36:27.122729948Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.209566ms grafana | logger=migrator t=2023-12-02T11:36:27.126862855Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2023-12-02T11:36:27.128063794Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.20076ms grafana | logger=migrator t=2023-12-02T11:36:27.133196994Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2023-12-02T11:36:27.24353214Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=110.336106ms grafana | logger=migrator t=2023-12-02T11:36:27.248154553Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2023-12-02T11:36:27.249030383Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=876.11µs grafana | logger=migrator t=2023-12-02T11:36:27.253507091Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2023-12-02T11:36:27.254729601Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.22461ms grafana | logger=migrator t=2023-12-02T11:36:27.259764319Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2023-12-02T11:36:27.294825051Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=35.065482ms grafana | logger=migrator t=2023-12-02T11:36:27.299158834Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2023-12-02T11:36:27.299400032Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=240.558µs grafana | logger=migrator t=2023-12-02T11:36:27.304361647Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2023-12-02T11:36:27.304688527Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=326.53µs grafana | logger=migrator t=2023-12-02T11:36:27.308549025Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-upgrade.sql policy-db-migrator | -------------- policy-db-migrator | select 'upgrade to 1100 completed' as msg policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | msg policy-db-migrator | upgrade to 1100 completed policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1200) policy-db-migrator | name version policy-db-migrator | policyadmin 1200 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:28 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:28 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:28 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:28 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:28 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:28 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:28 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:28 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:28 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:28 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:28 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:28 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:28 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:28 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:28 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:28 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:28 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:28 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:28 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:28 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:28 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:28 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:28 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:28 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:29 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:29 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:29 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:29 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:29 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:29 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:29 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:29 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:29 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:29 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:29 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:29 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:29 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:29 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:29 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:29 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:29 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:29 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:29 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:29 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:29 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:29 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:29 grafana | logger=migrator t=2023-12-02T11:36:27.308857716Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=308.57µs grafana | logger=migrator t=2023-12-02T11:36:27.312962722Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2023-12-02T11:36:27.314551074Z level=info msg="Migration successfully executed" id="create folder table" duration=1.588173ms grafana | logger=migrator t=2023-12-02T11:36:27.320358566Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2023-12-02T11:36:27.321622518Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.263872ms grafana | logger=migrator t=2023-12-02T11:36:27.326053325Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2023-12-02T11:36:27.327433071Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.379096ms grafana | logger=migrator t=2023-12-02T11:36:27.331270948Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2023-12-02T11:36:27.331297369Z level=info msg="Migration successfully executed" id="Update folder title length" duration=31.941µs grafana | logger=migrator t=2023-12-02T11:36:27.334993791Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-12-02T11:36:27.336259903Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.265842ms grafana | logger=migrator t=2023-12-02T11:36:27.340889697Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-12-02T11:36:27.341994693Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.104446ms grafana | logger=migrator t=2023-12-02T11:36:27.345681165Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2023-12-02T11:36:27.346941967Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.262932ms grafana | logger=migrator t=2023-12-02T11:36:27.352197582Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2023-12-02T11:36:27.353123052Z level=info msg="Migration successfully executed" id="create anon_device table" duration=924.83µs grafana | logger=migrator t=2023-12-02T11:36:27.357394033Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2023-12-02T11:36:27.359435741Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=2.041318ms grafana | logger=migrator t=2023-12-02T11:36:27.363865998Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2023-12-02T11:36:27.36514278Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.274732ms grafana | logger=migrator t=2023-12-02T11:36:27.4119265Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2023-12-02T11:36:27.413402749Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.475839ms grafana | logger=migrator t=2023-12-02T11:36:27.419182702Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2023-12-02T11:36:27.421345603Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=2.166032ms grafana | logger=migrator t=2023-12-02T11:36:27.425533092Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2023-12-02T11:36:27.426752872Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.219031ms grafana | logger=migrator t=2023-12-02T11:36:27.431450437Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2023-12-02T11:36:27.432044998Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=599.931µs grafana | logger=migrator t=2023-12-02T11:36:27.435724469Z level=info msg="migrations completed" performed=517 skipped=0 duration=4.450218943s grafana | logger=sqlstore t=2023-12-02T11:36:27.446240158Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2023-12-02T11:36:27.446682292Z level=info msg="Created default organization" grafana | logger=secrets t=2023-12-02T11:36:27.451291686Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=local.finder t=2023-12-02T11:36:27.513049022Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=query_data t=2023-12-02T11:36:27.515880636Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2023-12-02T11:36:27.519750823Z level=info msg="Live Push Gateway initialization" grafana | logger=infra.usagestats.collector t=2023-12-02T11:36:29.770023654Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2023-12-02T11:36:29.77203723Z level=info msg="inserting datasource from configuration " name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2023-12-02T11:36:29.782616661Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2023-12-02T11:36:29.782638342Z level=info msg="finished to provision alerting" grafana | logger=ngalert.state.manager t=2023-12-02T11:36:29.783436658Z level=info msg="Warming state cache for startup" grafana | logger=grafanaStorageLogger t=2023-12-02T11:36:29.784478893Z level=info msg="Storage starting" grafana | logger=http.server t=2023-12-02T11:36:29.786883433Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=ngalert.migration t=2023-12-02T11:36:29.78861186Z level=info msg=Starting grafana | logger=ngalert.migration t=2023-12-02T11:36:29.789032413Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-12-02T11:36:29.789275071Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-12-02T11:36:29.789784999Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-12-02T11:36:29.790223383Z level=warn msg="No available receivers" grafana | logger=ngalert.state.manager t=2023-12-02T11:36:29.79285984Z level=info msg="State cache has been initialized" states=0 duration=9.419762ms grafana | logger=ngalert.scheduler t=2023-12-02T11:36:29.792958244Z level=info msg="Starting scheduler" tickInterval=10s policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:29 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:29 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:29 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:30 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:30 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:30 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:30 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:30 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:30 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:30 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:30 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:30 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:30 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:30 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:30 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:30 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:30 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:30 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:30 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:30 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:30 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:30 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:30 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:30 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:30 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:30 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:30 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:30 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:30 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:30 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:30 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:31 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:31 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:31 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:31 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:31 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:31 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:31 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:31 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:31 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:31 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:31 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:31 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:31 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:31 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:31 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:31 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:31 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0212231136280800u 1 2023-12-02 11:36:31 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 0212231136280900u 1 2023-12-02 11:36:31 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 0212231136280900u 1 2023-12-02 11:36:31 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 0212231136280900u 1 2023-12-02 11:36:32 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 0212231136280900u 1 2023-12-02 11:36:32 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 0212231136280900u 1 2023-12-02 11:36:32 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 0212231136280900u 1 2023-12-02 11:36:32 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0212231136280900u 1 2023-12-02 11:36:32 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0212231136280900u 1 2023-12-02 11:36:32 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0212231136280900u 1 2023-12-02 11:36:32 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 0212231136280900u 1 2023-12-02 11:36:32 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 0212231136280900u 1 2023-12-02 11:36:32 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 0212231136280900u 1 2023-12-02 11:36:32 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 0212231136280900u 1 2023-12-02 11:36:32 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 0212231136281000u 1 2023-12-02 11:36:32 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 0212231136281000u 1 2023-12-02 11:36:32 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 0212231136281000u 1 2023-12-02 11:36:32 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 0212231136281000u 1 2023-12-02 11:36:32 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 0212231136281000u 1 2023-12-02 11:36:32 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 0212231136281000u 1 2023-12-02 11:36:32 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 0212231136281000u 1 2023-12-02 11:36:32 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 0212231136281000u 1 2023-12-02 11:36:32 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 0212231136281000u 1 2023-12-02 11:36:32 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 0212231136281100u 1 2023-12-02 11:36:32 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 0212231136281200u 1 2023-12-02 11:36:32 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 0212231136281200u 1 2023-12-02 11:36:33 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 0212231136281200u 1 2023-12-02 11:36:33 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 0212231136281200u 1 2023-12-02 11:36:33 policy-db-migrator | policyadmin: OK @ 1200 grafana | logger=ngalert.multiorg.alertmanager t=2023-12-02T11:36:29.793015406Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=ticker t=2023-12-02T11:36:29.793107819Z level=info msg=starting first_tick=2023-12-02T11:36:30Z grafana | logger=ngalert.migration t=2023-12-02T11:36:29.793812522Z level=info msg="Completed legacy migration" grafana | logger=grafana.update.checker t=2023-12-02T11:36:29.821402306Z level=info msg="Update check succeeded" duration=37.644388ms grafana | logger=plugins.update.checker t=2023-12-02T11:36:29.857669518Z level=info msg="Update check succeeded" duration=73.398172ms grafana | logger=sqlstore.transactions t=2023-12-02T11:36:29.972117081Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=infra.usagestats t=2023-12-02T11:37:29.797365766Z level=info msg="Usage stats are ready to report" ++ 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 grafana ... Removing policy-db-migrator ... Removing mariadb ... Removing prometheus ... Removing grafana ... done Removing prometheus ... done Removing policy-api ... done Removing policy-db-migrator ... 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.ToHXA2fjWj ]] + rsync -av /tmp/tmp.ToHXA2fjWj/ /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,343 bytes received 95 bytes 2,692,876.00 bytes/sec total size is 1,345,693 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 2068 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/jenkins14272573225217264635.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins8521029323299347225.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/jenkins7219865113059992325.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-SMyW from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-SMyW/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins4133431577709580996.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config13987969400393564234tmp 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/jenkins4231475950452537969.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins12443957299039435935.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-SMyW from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-SMyW/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins13006601812676547800.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins10144495530161743906.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-SMyW from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-SMyW/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/jenkins15218003849588944361.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-SMyW from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-SMyW/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/197 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-1798 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 833 27420 0 3912 30877 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:35:43:9b brd ff:ff:ff:ff:ff:ff inet 10.30.106.107/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86058sec preferred_lft 86058sec inet6 fe80::f816:3eff:fe35:439b/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:1e:c0:b4:8d 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-1798) 12/02/23 _x86_64_ (8 CPU) 11:33:25 LINUX RESTART (8 CPU) 11:34:01 tps rtps wtps bread/s bwrtn/s 11:35:01 119.38 42.91 76.47 1925.01 26420.26 11:36:01 126.06 22.98 103.08 2746.88 32720.01 11:37:01 379.80 12.76 367.04 836.26 79745.01 11:38:01 14.95 0.05 14.90 9.20 19681.54 11:39:01 65.10 1.93 63.16 111.91 23030.27 Average: 141.05 16.13 124.92 1125.72 36317.65 11:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:35:01 30085888 31688084 2853324 8.66 69384 1843592 1449452 4.26 891064 1678752 163332 11:36:01 28944012 31666236 3995200 12.13 100184 2896256 1569624 4.62 996660 2636892 846968 11:37:01 26830212 30448884 6109000 18.55 126372 3672808 4744116 13.96 2302480 3364740 160 11:38:01 26864544 30460624 6074668 18.44 126444 3673260 4828312 14.21 2291496 3341036 0 11:39:01 28040296 31579884 4898916 14.87 130816 3646096 1560488 4.59 1210320 3272312 51152 Average: 28152990 31168742 4786222 14.53 110640 3146402 2830398 8.33 1538404 2858746 212322 11:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 lo 1.47 1.47 0.16 0.16 0.00 0.00 0.00 0.00 11:35:01 ens3 236.89 134.38 1254.22 38.50 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 6.47 6.47 0.60 0.60 0.00 0.00 0.00 0.00 11:36:01 br-8b6dab300c59 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 ens3 165.89 111.68 4387.84 12.94 0.00 0.00 0.00 0.00 11:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:37:01 lo 10.15 10.15 8.40 8.40 0.00 0.00 0.00 0.00 11:37:01 br-8b6dab300c59 3.57 4.07 5.93 2.52 0.00 0.00 0.00 0.00 11:37:01 ens3 152.24 96.43 4883.72 8.06 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 lo 8.52 8.52 0.59 0.59 0.00 0.00 0.00 0.00 11:38:01 br-8b6dab300c59 1.82 2.10 0.15 0.20 0.00 0.00 0.00 0.00 11:38:01 ens3 3.05 2.77 0.56 0.73 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 3.80 3.80 0.36 0.36 0.00 0.00 0.00 0.00 11:39:01 ens3 86.58 60.57 126.85 43.62 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 6.08 6.08 2.02 2.02 0.00 0.00 0.00 0.00 Average: ens3 128.92 81.16 2130.37 20.77 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-1798) 12/02/23 _x86_64_ (8 CPU) 11:33:25 LINUX RESTART (8 CPU) 11:34:01 CPU %user %nice %system %iowait %steal %idle 11:35:01 all 10.66 0.00 0.86 2.71 0.03 85.74 11:35:01 0 9.38 0.00 0.72 1.08 0.03 88.79 11:35:01 1 2.34 0.00 0.45 0.03 0.02 97.16 11:35:01 2 21.54 0.00 1.44 7.20 0.05 69.77 11:35:01 3 6.64 0.00 0.67 0.30 0.02 92.38 11:35:01 4 5.49 0.00 0.58 9.59 0.02 84.32 11:35:01 5 13.46 0.00 0.88 2.02 0.03 83.61 11:35:01 6 14.41 0.00 0.92 1.05 0.05 83.57 11:35:01 7 12.03 0.00 1.25 0.45 0.03 86.23 11:36:01 all 10.80 0.00 1.55 2.29 0.04 85.32 11:36:01 0 6.40 0.00 1.22 0.20 0.02 92.16 11:36:01 1 3.00 0.00 1.14 0.12 0.03 95.71 11:36:01 2 20.91 0.00 2.40 13.45 0.05 63.19 11:36:01 3 12.51 0.00 1.77 1.64 0.03 84.04 11:36:01 4 6.88 0.00 1.02 1.07 0.03 91.00 11:36:01 5 19.31 0.00 2.01 1.56 0.05 77.06 11:36:01 6 7.29 0.00 1.12 0.08 0.02 91.49 11:36:01 7 10.13 0.00 1.71 0.22 0.03 87.91 11:37:01 all 19.55 0.00 3.40 3.87 0.07 73.12 11:37:01 0 14.82 0.00 4.08 11.41 0.07 69.63 11:37:01 1 20.03 0.00 3.87 0.57 0.07 75.46 11:37:01 2 19.41 0.00 3.42 9.56 0.07 67.54 11:37:01 3 22.46 0.00 3.32 3.99 0.07 70.17 11:37:01 4 24.74 0.00 3.89 2.61 0.07 68.69 11:37:01 5 22.17 0.00 3.29 0.70 0.07 73.77 11:37:01 6 15.60 0.00 2.30 0.70 0.07 81.33 11:37:01 7 17.20 0.00 3.04 1.41 0.07 78.28 11:38:01 all 0.36 0.00 0.07 0.88 0.02 98.68 11:38:01 0 0.12 0.00 0.00 0.00 0.02 99.87 11:38:01 1 0.12 0.00 0.02 0.00 0.00 99.87 11:38:01 2 0.12 0.00 0.10 0.07 0.03 99.68 11:38:01 3 0.13 0.00 0.07 6.96 0.00 92.84 11:38:01 4 0.27 0.00 0.05 0.00 0.00 99.68 11:38:01 5 0.57 0.00 0.12 0.00 0.07 99.25 11:38:01 6 1.50 0.00 0.10 0.00 0.00 98.40 11:38:01 7 0.05 0.00 0.08 0.00 0.00 99.87 11:39:01 all 8.73 0.00 0.76 1.21 0.03 89.27 11:39:01 0 1.42 0.00 0.57 0.17 0.00 97.85 11:39:01 1 2.91 0.00 0.46 0.02 0.02 96.60 11:39:01 2 0.87 0.00 0.37 0.22 0.03 98.51 11:39:01 3 2.93 0.00 0.47 3.06 0.03 93.50 11:39:01 4 34.48 0.00 1.65 0.45 0.05 63.37 11:39:01 5 1.53 0.00 0.65 4.78 0.02 93.01 11:39:01 6 14.25 0.00 0.80 0.53 0.03 84.38 11:39:01 7 11.51 0.00 1.10 0.43 0.05 86.90 Average: all 10.00 0.00 1.32 2.19 0.04 86.45 Average: 0 6.41 0.00 1.31 2.56 0.03 89.68 Average: 1 5.65 0.00 1.18 0.15 0.03 93.00 Average: 2 12.55 0.00 1.54 6.09 0.05 79.78 Average: 3 8.92 0.00 1.26 3.19 0.03 86.61 Average: 4 14.36 0.00 1.43 2.74 0.03 81.43 Average: 5 11.39 0.00 1.39 1.82 0.05 85.36 Average: 6 10.59 0.00 1.05 0.47 0.03 87.86 Average: 7 10.18 0.00 1.43 0.50 0.04 87.85