Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-5136 (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-NWu8NC90e9mz/agent.2019 SSH_AGENT_PID=2023 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_3063615519142808135.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_3063615519142808135.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/jenkins13016410105391935325.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-qHJg 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-qHJg/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-qHJg/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.1.6 aspy.yaml==1.3.0 attrs==23.1.0 autopage==0.5.2 Babel==2.13.1 beautifulsoup4==4.12.2 boto3==1.29.7 botocore==1.32.7 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.4.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.7 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.2.2 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.40 google-auth==2.23.4 httplib2==0.22.0 identify==2.5.32 idna==3.6 importlib-metadata==6.8.0 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.2 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.20.0 jsonschema-specifications==2023.11.1 keystoneauth1==5.4.0 kubernetes==28.1.0 lftools==0.37.8 lxml==4.9.3 MarkupSafe==2.1.3 msgpack==1.0.7 multi-key-dict==2.0.3 munch==4.0.0 netaddr==0.9.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==2.9.0 oslo.config==9.2.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.2.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==4.0.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.3.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.31.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.13.1 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.8.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.8.0 tzdata==2023.3 urllib3==1.26.18 virtualenv==20.24.7 wcwidth==0.2.12 websocket-client==1.6.4 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 zipp==3.17.0 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-london-project-csit-api] $ /bin/sh /tmp/jenkins4722620042828325663.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/jenkins2519066897355983622.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.cysjFqsJu1 ++ echo ROBOT_VENV=/tmp/tmp.cysjFqsJu1 +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.cysjFqsJu1 ++ source /tmp/tmp.cysjFqsJu1/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.cysjFqsJu1 +++ 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.cysjFqsJu1/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.cysjFqsJu1) ' '!=' x ']' +++ PS1='(tmp.cysjFqsJu1) ' +++ 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.cysjFqsJu1/src/onap ++ rm -rf /tmp/tmp.cysjFqsJu1/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.cysjFqsJu1/bin/activate + '[' -z /tmp/tmp.cysjFqsJu1/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.cysjFqsJu1/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.cysjFqsJu1 ++ 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.cysjFqsJu1/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.cysjFqsJu1) ' ++ '[' 'x(tmp.cysjFqsJu1) ' '!=' x ']' ++ PS1='(tmp.cysjFqsJu1) (tmp.cysjFqsJu1) ' ++ export PS1 ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + export TEST_PLAN_DIR=/w/workspace/policy-api-london-project-csit-api/csit/resources/tests + TEST_PLAN_DIR=/w/workspace/policy-api-london-project-csit-api/csit/resources/tests + export TEST_OPTIONS= + TEST_OPTIONS= ++ mktemp -d + WORKDIR=/tmp/tmp.FUlc48S5zl + cd /tmp/tmp.FUlc48S5zl + 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 prometheus ... Creating mariadb ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-london-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds policy-db-migrator Up 10 seconds grafana Up 13 seconds prometheus Up 13 seconds mariadb Up 11 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds prometheus Up 19 seconds mariadb Up 16 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds prometheus Up 24 seconds mariadb Up 22 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds prometheus Up 29 seconds mariadb Up 27 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:37 up 3 min, 0 users, load average: 2.18, 0.91, 0.35 Tasks: 177 total, 1 running, 101 sleeping, 0 stopped, 0 zombie %Cpu(s): 12.0 us, 2.3 sy, 0.0 ni, 82.7 id, 2.8 wa, 0.0 hi, 0.0 si, 0.1 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.8G 25G 1.0M 3.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 28 seconds prometheus Up 29 seconds mariadb Up 27 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 40c990fa53cd policy-api 0.33% 872.4MiB / 31.41GiB 2.71% 1.04MB / 739kB 0B / 0B 50 cedd14590b28 grafana 0.04% 98.92MiB / 31.41GiB 0.31% 18.4kB / 3.09kB 0B / 23.4MB 21 cf8a79769388 prometheus 0.00% 18.75MiB / 31.41GiB 0.06% 1.38kB / 0B 131kB / 0B 12 4d750c91f8e9 mariadb 0.25% 99.93MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11MB / 67.6MB 28 + echo + cd /tmp/tmp.FUlc48S5zl + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + sed 's|^|/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot' + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ... + relax_set + set +e + set +o pipefail + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ============================================================================== api ============================================================================== api.Api-Test ============================================================================== Healthcheck :: Verify policy api health check | PASS | ------------------------------------------------------------------------------ Statistics :: Verify policy api statistics | PASS | ------------------------------------------------------------------------------ RetrievePolicyTypes :: Retrieve all policy types | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | ------------------------------------------------------------------------------ RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNodeTemplates :: Create node templates in database using spe... | PASS | ------------------------------------------------------------------------------ RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | ------------------------------------------------------------------------------ RetrieveAllPolicies :: Retrieve all policies | PASS | ------------------------------------------------------------------------------ RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | ------------------------------------------------------------------------------ RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | ------------------------------------------------------------------------------ RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | ------------------------------------------------------------------------------ DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ Metrics :: Verify policy-api is exporting prometheus metrics | PASS | ------------------------------------------------------------------------------ api.Api-Test | PASS | 23 tests, 23 passed, 0 failed ============================================================================== api.Api-Slas ============================================================================== WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForStatistics :: Validate statistics response ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ api.Api-Slas | PASS | 10 tests, 10 passed, 0 failed ============================================================================== api | PASS | 33 tests, 33 passed, 0 failed ============================================================================== Output: /tmp/tmp.FUlc48S5zl/output.xml Log: /tmp/tmp.FUlc48S5zl/log.html Report: /tmp/tmp.FUlc48S5zl/report.html + RESULT=0 + 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 + 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 prometheus Up About a minute mariadb Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:37:47 up 4 min, 0 users, load average: 0.79, 0.77, 0.34 Tasks: 175 total, 1 running, 99 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.9 us, 1.8 sy, 0.0 ni, 86.2 id, 2.1 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 prometheus Up About a minute mariadb Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 40c990fa53cd policy-api 0.11% 899.3MiB / 31.41GiB 2.80% 7.32MB / 2.89MB 0B / 0B 54 cedd14590b28 grafana 0.02% 99.21MiB / 31.41GiB 0.31% 19.4kB / 4.34kB 0B / 23.4MB 21 cf8a79769388 prometheus 0.00% 24.84MiB / 31.41GiB 0.08% 53.4kB / 7.68kB 131kB / 0B 12 4d750c91f8e9 mariadb 0.02% 100.7MiB / 31.41GiB 0.31% 2.75MB / 7.35MB 11MB / 67.8MB 19 + echo + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose ++ cd /w/workspace/policy-api-london-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, policy-db-migrator, grafana, prometheus, mariadb grafana | logger=settings t=2023-11-27T11:36:08.734725944Z level=info msg="Starting Grafana" version=10.2.2 commit=161e3cac5075540918e3a39004f2364ad104d5bb branch=HEAD compiled=2023-11-20T12:28:00Z grafana | logger=settings t=2023-11-27T11:36:08.734929475Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2023-11-27T11:36:08.734937335Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2023-11-27T11:36:08.734940905Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2023-11-27T11:36:08.734944345Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2023-11-27T11:36:08.734947965Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-27T11:36:08.734951225Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-27T11:36:08.734954925Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2023-11-27T11:36:08.734958845Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2023-11-27T11:36:08.734962755Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2023-11-27T11:36:08.734966445Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-27T11:36:08.734969945Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-27T11:36:08.734973985Z level=info msg=Target target=[all] grafana | logger=settings t=2023-11-27T11:36:08.735036316Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2023-11-27T11:36:08.735040376Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2023-11-27T11:36:08.735043926Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2023-11-27T11:36:08.735047116Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2023-11-27T11:36:08.735050696Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2023-11-27T11:36:08.735053916Z level=info msg="App mode production" grafana | logger=sqlstore t=2023-11-27T11:36:08.735430068Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2023-11-27T11:36:08.735450208Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2023-11-27T11:36:08.736142174Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2023-11-27T11:36:08.737214461Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2023-11-27T11:36:08.738050007Z level=info msg="Migration successfully executed" id="create migration_log table" duration=835.056µs grafana | logger=migrator t=2023-11-27T11:36:08.742330777Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2023-11-27T11:36:08.742893621Z level=info msg="Migration successfully executed" id="create user table" duration=562.404µs grafana | logger=migrator t=2023-11-27T11:36:08.74843004Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2023-11-27T11:36:08.74989688Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.46573ms grafana | logger=migrator t=2023-11-27T11:36:08.753888999Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2023-11-27T11:36:08.754945385Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.057596ms grafana | logger=migrator t=2023-11-27T11:36:08.759430888Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2023-11-27T11:36:08.760178932Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=747.984µs grafana | logger=migrator t=2023-11-27T11:36:08.763227844Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2023-11-27T11:36:08.764439892Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.212458ms grafana | logger=migrator t=2023-11-27T11:36:08.767856617Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2023-11-27T11:36:08.772513329Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.655882ms grafana | logger=migrator t=2023-11-27T11:36:08.776761519Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2023-11-27T11:36:08.777498234Z level=info msg="Migration successfully executed" id="create user table v2" duration=734.335µs grafana | logger=migrator t=2023-11-27T11:36:08.780693307Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2023-11-27T11:36:08.781416552Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=722.855µs grafana | logger=migrator t=2023-11-27T11:36:08.784704235Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2023-11-27T11:36:08.78550508Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=800.685µs grafana | logger=migrator t=2023-11-27T11:36:08.789999372Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2023-11-27T11:36:08.790485186Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=485.234µs grafana | logger=migrator t=2023-11-27T11:36:08.793901469Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2023-11-27T11:36:08.794756815Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=854.206µs grafana | logger=migrator t=2023-11-27T11:36:08.798649513Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2023-11-27T11:36:08.799847821Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.199238ms grafana | logger=migrator t=2023-11-27T11:36:08.803101444Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2023-11-27T11:36:08.803127924Z level=info msg="Migration successfully executed" id="Update user table charset" duration=26.95µs grafana | logger=migrator t=2023-11-27T11:36:08.807469475Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2023-11-27T11:36:08.809249667Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.778192ms grafana | logger=migrator t=2023-11-27T11:36:08.812943933Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2023-11-27T11:36:08.813330886Z level=info msg="Migration successfully executed" id="Add missing user data" duration=386.543µs grafana | logger=migrator t=2023-11-27T11:36:08.816976902Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2023-11-27T11:36:08.818125169Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.147747ms grafana | logger=migrator t=2023-11-27T11:36:08.821850906Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2023-11-27T11:36:08.822652572Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=801.746µs grafana | logger=migrator t=2023-11-27T11:36:08.827180083Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2023-11-27T11:36:08.828472942Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.292319ms grafana | logger=migrator t=2023-11-27T11:36:08.831981537Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2023-11-27T11:36:08.841401163Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=9.418446ms grafana | logger=migrator t=2023-11-27T11:36:08.844871098Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2023-11-27T11:36:08.845453892Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=582.004µs grafana | logger=migrator t=2023-11-27T11:36:08.850150054Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2023-11-27T11:36:08.850754759Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=600.955µs grafana | logger=migrator t=2023-11-27T11:36:08.8551454Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2023-11-27T11:36:08.856343759Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.197929ms grafana | logger=migrator t=2023-11-27T11:36:08.860578878Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2023-11-27T11:36:08.861317273Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=738.225µs grafana | logger=migrator t=2023-11-27T11:36:08.865857046Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2023-11-27T11:36:08.866657371Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=800.495µs grafana | logger=migrator t=2023-11-27T11:36:08.87079434Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2023-11-27T11:36:08.87081918Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=25.45µs grafana | logger=migrator t=2023-11-27T11:36:08.874462586Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2023-11-27T11:36:08.875219451Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=756.875µs grafana | logger=migrator t=2023-11-27T11:36:08.879698052Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2023-11-27T11:36:08.880881951Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.184139ms grafana | logger=migrator t=2023-11-27T11:36:08.884636427Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2023-11-27T11:36:08.885728435Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.092078ms grafana | logger=migrator t=2023-11-27T11:36:08.88932493Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2023-11-27T11:36:08.890462228Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.134218ms grafana | logger=migrator t=2023-11-27T11:36:08.895136621Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-27T11:36:08.898688816Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.551395ms grafana | logger=migrator t=2023-11-27T11:36:08.902361642Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2023-11-27T11:36:08.903167657Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=805.415µs grafana | logger=migrator t=2023-11-27T11:36:08.906732893Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2023-11-27T11:36:08.907536598Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=803.065µs grafana | logger=migrator t=2023-11-27T11:36:08.912524573Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2023-11-27T11:36:08.913333928Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=809.195µs grafana | logger=migrator t=2023-11-27T11:36:08.917006094Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2023-11-27T11:36:08.918237713Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.231439ms grafana | logger=migrator t=2023-11-27T11:36:08.92207036Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2023-11-27T11:36:08.923329199Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.258489ms grafana | logger=migrator t=2023-11-27T11:36:08.927131125Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2023-11-27T11:36:08.927538709Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=408.164µs grafana | logger=migrator t=2023-11-27T11:36:08.931549076Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2023-11-27T11:36:08.932230482Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=680.456µs grafana | logger=migrator t=2023-11-27T11:36:08.935751416Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2023-11-27T11:36:08.936530222Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=778.116µs grafana | logger=migrator t=2023-11-27T11:36:08.940107307Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2023-11-27T11:36:08.941049273Z level=info msg="Migration successfully executed" id="create star table" duration=942.476µs grafana | logger=migrator t=2023-11-27T11:36:08.945265103Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2023-11-27T11:36:08.946099749Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=834.526µs grafana | logger=migrator t=2023-11-27T11:36:08.949732344Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2023-11-27T11:36:08.95053756Z level=info msg="Migration successfully executed" id="create org table v1" duration=804.956µs grafana | logger=migrator t=2023-11-27T11:36:08.955209113Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2023-11-27T11:36:08.956052009Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=842.846µs grafana | logger=migrator t=2023-11-27T11:36:08.959885156Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2023-11-27T11:36:08.960693201Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=807.205µs grafana | logger=migrator t=2023-11-27T11:36:08.965229764Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2023-11-27T11:36:08.966062869Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=833.115µs grafana | logger=migrator t=2023-11-27T11:36:08.969495924Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2023-11-27T11:36:08.970343299Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=847.275µs grafana | logger=migrator t=2023-11-27T11:36:08.973684673Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2023-11-27T11:36:08.974521739Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=836.696µs grafana | logger=migrator t=2023-11-27T11:36:08.978135145Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2023-11-27T11:36:08.978160095Z level=info msg="Migration successfully executed" id="Update org table charset" duration=25.88µs grafana | logger=migrator t=2023-11-27T11:36:08.982407425Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2023-11-27T11:36:08.982432385Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=25.49µs grafana | logger=migrator t=2023-11-27T11:36:08.985973519Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2023-11-27T11:36:08.986351862Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=378.063µs grafana | logger=migrator t=2023-11-27T11:36:08.989847347Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2023-11-27T11:36:08.990966615Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.118268ms grafana | logger=migrator t=2023-11-27T11:36:08.994516139Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2023-11-27T11:36:08.995289065Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=772.646µs grafana | logger=migrator t=2023-11-27T11:36:08.999574685Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2023-11-27T11:36:09.000998425Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.41819ms grafana | logger=migrator t=2023-11-27T11:36:09.00460958Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2023-11-27T11:36:09.005680444Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.070304ms grafana | logger=migrator t=2023-11-27T11:36:09.009138023Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2023-11-27T11:36:09.009939416Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=800.943µs grafana | logger=migrator t=2023-11-27T11:36:09.014056197Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2023-11-27T11:36:09.014832062Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=776.635µs grafana | logger=migrator t=2023-11-27T11:36:09.018099688Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2023-11-27T11:36:09.024506041Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=6.405543ms grafana | logger=migrator t=2023-11-27T11:36:09.027634897Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2023-11-27T11:36:09.028418792Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=782.835µs grafana | logger=migrator t=2023-11-27T11:36:09.032631533Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2023-11-27T11:36:09.033794868Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.162095ms grafana | logger=migrator t=2023-11-27T11:36:09.037486848Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2023-11-27T11:36:09.038664454Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.177426ms grafana | logger=migrator t=2023-11-27T11:36:09.042268023Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2023-11-27T11:36:09.042607374Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=338.831µs grafana | logger=migrator t=2023-11-27T11:36:09.046320403Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2023-11-27T11:36:09.047172077Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=850.904µs grafana | logger=migrator t=2023-11-27T11:36:09.051480769Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2023-11-27T11:36:09.05169678Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=217.211µs grafana | logger=migrator t=2023-11-27T11:36:09.05555269Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2023-11-27T11:36:09.058461685Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.907695ms grafana | logger=migrator t=2023-11-27T11:36:09.063038208Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2023-11-27T11:36:09.064803558Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.76421ms grafana | logger=migrator t=2023-11-27T11:36:09.068127685Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2023-11-27T11:36:09.069989304Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.860949ms grafana | logger=migrator t=2023-11-27T11:36:09.073509613Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2023-11-27T11:36:09.074381646Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=871.453µs grafana | logger=migrator t=2023-11-27T11:36:09.078662009Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2023-11-27T11:36:09.080527019Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.8644ms grafana | logger=migrator t=2023-11-27T11:36:09.083813735Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2023-11-27T11:36:09.08478343Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=969.045µs grafana | logger=migrator t=2023-11-27T11:36:09.088246478Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2023-11-27T11:36:09.089163993Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=916.915µs grafana | logger=migrator t=2023-11-27T11:36:09.093560985Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2023-11-27T11:36:09.093731096Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=167.831µs grafana | logger=migrator t=2023-11-27T11:36:09.097603636Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2023-11-27T11:36:09.097771677Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=167.581µs grafana | logger=migrator t=2023-11-27T11:36:09.100423Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2023-11-27T11:36:09.10232997Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=1.90668ms grafana | logger=migrator t=2023-11-27T11:36:09.107612137Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2023-11-27T11:36:09.109589828Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.976991ms grafana | logger=migrator t=2023-11-27T11:36:09.114260961Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2023-11-27T11:36:09.117366637Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=3.108756ms grafana | logger=migrator t=2023-11-27T11:36:09.121446438Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2023-11-27T11:36:09.123457389Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.011771ms grafana | logger=migrator t=2023-11-27T11:36:09.126733665Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2023-11-27T11:36:09.126995046Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=261.281µs grafana | logger=migrator t=2023-11-27T11:36:09.131033737Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2023-11-27T11:36:09.131847692Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=813.345µs grafana | logger=migrator t=2023-11-27T11:36:09.135158829Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2023-11-27T11:36:09.135925102Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=765.694µs grafana | logger=migrator t=2023-11-27T11:36:09.139027369Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2023-11-27T11:36:09.139092849Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=65.74µs grafana | logger=migrator t=2023-11-27T11:36:09.143390111Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" 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.5:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v2.7.8) policy-api | policy-api | [2023-11-27T11:36:22.941+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 30 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2023-11-27T11:36:22.943+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2023-11-27T11:36:24.238+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2023-11-27T11:36:24.320+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 71 ms. Found 6 JPA repository interfaces. policy-api | [2023-11-27T11:36:25.346+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2023-11-27T11:36:25.363+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-27T11:36:25.364+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2023-11-27T11:36:25.364+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2023-11-27T11:36:25.447+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2023-11-27T11:36:25.447+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2447 ms policy-api | [2023-11-27T11:36:25.984+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2023-11-27T11:36:26.054+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2023-11-27T11:36:26.276+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2023-11-27T11:36:26.403+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2023-11-27T11:36:26.501+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. grafana | logger=migrator t=2023-11-27T11:36:09.144328515Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=937.864µs grafana | logger=migrator t=2023-11-27T11:36:09.147620432Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2023-11-27T11:36:09.148763369Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.143526ms grafana | logger=migrator t=2023-11-27T11:36:09.152287616Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-27T11:36:09.16082982Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=8.542204ms grafana | logger=migrator t=2023-11-27T11:36:09.165271352Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2023-11-27T11:36:09.165995047Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=722.945µs grafana | logger=migrator t=2023-11-27T11:36:09.169457134Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2023-11-27T11:36:09.170321329Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=862.905µs grafana | logger=migrator t=2023-11-27T11:36:09.173802196Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2023-11-27T11:36:09.174757521Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=955.325µs grafana | logger=migrator t=2023-11-27T11:36:09.178061949Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2023-11-27T11:36:09.17844511Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=382.651µs grafana | logger=migrator t=2023-11-27T11:36:09.182442051Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2023-11-27T11:36:09.183049114Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=607.213µs grafana | logger=migrator t=2023-11-27T11:36:09.18619144Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2023-11-27T11:36:09.188276101Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.084191ms grafana | logger=migrator t=2023-11-27T11:36:09.191407107Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2023-11-27T11:36:09.192388142Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=980.505µs grafana | logger=migrator t=2023-11-27T11:36:09.196470193Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2023-11-27T11:36:09.196731034Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=260.901µs grafana | logger=migrator t=2023-11-27T11:36:09.19979871Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2023-11-27T11:36:09.200087201Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=287.921µs grafana | logger=migrator t=2023-11-27T11:36:09.203294668Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2023-11-27T11:36:09.204761826Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.466877ms grafana | logger=migrator t=2023-11-27T11:36:09.209958601Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2023-11-27T11:36:09.214027862Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=4.071971ms grafana | logger=migrator t=2023-11-27T11:36:09.217819332Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2023-11-27T11:36:09.2193493Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.529828ms policy-api | [2023-11-27T11:36:26.523+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2023-11-27T11:36:27.907+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2023-11-27T11:36:27.920+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2023-11-27T11:36:29.003+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2023-11-27T11:36:29.635+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2023-11-27T11:36:30.620+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@780ccdc9, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@2d4df467, org.springframework.security.web.context.SecurityContextPersistenceFilter@4cf5cf47, org.springframework.security.web.header.HeaderWriterFilter@249c96cf, org.springframework.security.web.authentication.logout.LogoutFilter@42d039ef, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@625439ba, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@556d8c78, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@5e147821, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@65c2610f, org.springframework.security.web.session.SessionManagementFilter@3d44f15d, org.springframework.security.web.access.ExceptionTranslationFilter@6f3cf9ac, org.springframework.security.web.access.intercept.AuthorizationFilter@337f6716] policy-api | [2023-11-27T11:36:30.769+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2023-11-27T11:36:33.715+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2023-11-27T11:36:33.741+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-27T11:36:33.782+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2023-11-27T11:36:33.809+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.62 seconds (JVM running for 12.213) policy-api | [2023-11-27T11:36:39.900+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2023-11-27T11:36:39.900+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2023-11-27T11:36:39.903+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms policy-api | [2023-11-27T11:36:42.306+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2023-11-27T11:36:42.422+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2023-11-27T11:36:42.675+00:00|WARN|CommonRestController|http-nio-6969-exec-7] POST /policytypes policy-api | [2023-11-27T11:36:43.742+00:00|WARN|CommonRestController|http-nio-6969-exec-1] POST /policies policy-api | [2023-11-27T11:36:45.568+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2023-11-27T11:36:45.938+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2023-11-27T11:36:46.164+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2023-11-27T11:36:46.380+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2023-11-27T11:36:46.590+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2023-11-27T11:36:46.802+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2023-11-27T11:36:09.222826258Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2023-11-27T11:36:09.223735762Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=908.794µs grafana | logger=migrator t=2023-11-27T11:36:09.227900924Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2023-11-27T11:36:09.22905699Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.154316ms grafana | logger=migrator t=2023-11-27T11:36:09.232834159Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2023-11-27T11:36:09.234207666Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.372817ms grafana | logger=migrator t=2023-11-27T11:36:09.238118326Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2023-11-27T11:36:09.23898329Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=863.974µs grafana | logger=migrator t=2023-11-27T11:36:09.243135642Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2023-11-27T11:36:09.251065463Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=7.929101ms grafana | logger=migrator t=2023-11-27T11:36:09.2544487Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2023-11-27T11:36:09.255305164Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=856.494µs grafana | logger=migrator t=2023-11-27T11:36:09.259474776Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2023-11-27T11:36:09.26045627Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=981.474µs grafana | logger=migrator t=2023-11-27T11:36:09.263743758Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2023-11-27T11:36:09.264700762Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=959.534µs grafana | logger=migrator t=2023-11-27T11:36:09.267989669Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2023-11-27T11:36:09.268645702Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=655.493µs grafana | logger=migrator t=2023-11-27T11:36:09.273208325Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2023-11-27T11:36:09.275540728Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.332173ms grafana | logger=migrator t=2023-11-27T11:36:09.278660723Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2023-11-27T11:36:09.281061786Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.399883ms grafana | logger=migrator t=2023-11-27T11:36:09.284499214Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2023-11-27T11:36:09.284617435Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=119.111µs grafana | logger=migrator t=2023-11-27T11:36:09.288720456Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2023-11-27T11:36:09.289008257Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=287.221µs grafana | logger=migrator t=2023-11-27T11:36:09.292482794Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2023-11-27T11:36:09.295055777Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.575403ms grafana | logger=migrator t=2023-11-27T11:36:09.298599056Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2023-11-27T11:36:09.298911647Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=312.441µs grafana | logger=migrator t=2023-11-27T11:36:09.302313954Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2023-11-27T11:36:09.302584195Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=270.141µs grafana | logger=migrator t=2023-11-27T11:36:09.30717211Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2023-11-27T11:36:09.31117985Z level=info msg="Migration successfully executed" id="Add uid column" duration=4.00695ms grafana | logger=migrator t=2023-11-27T11:36:09.314880149Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2023-11-27T11:36:09.31515152Z level=info msg="Migration successfully executed" id="Update uid value" duration=271.111µs grafana | logger=migrator t=2023-11-27T11:36:09.31893404Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2023-11-27T11:36:09.319876035Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=941.925µs grafana | logger=migrator t=2023-11-27T11:36:09.324402368Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2023-11-27T11:36:09.325931075Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.527647ms grafana | logger=migrator t=2023-11-27T11:36:09.331519314Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2023-11-27T11:36:09.332551969Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.032695ms grafana | logger=migrator t=2023-11-27T11:36:09.335906966Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2023-11-27T11:36:09.336880641Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=973.645µs grafana | logger=migrator t=2023-11-27T11:36:09.34254974Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2023-11-27T11:36:09.343931557Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.382057ms grafana | logger=migrator t=2023-11-27T11:36:09.347604077Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2023-11-27T11:36:09.348959464Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.356187ms grafana | logger=migrator t=2023-11-27T11:36:09.35421279Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2023-11-27T11:36:09.355117285Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=907.995µs grafana | logger=migrator t=2023-11-27T11:36:09.360112721Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2023-11-27T11:36:09.361041355Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=928.904µs grafana | logger=migrator t=2023-11-27T11:36:09.364842634Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2023-11-27T11:36:09.368189641Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=3.347937ms grafana | logger=migrator t=2023-11-27T11:36:09.372387852Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2023-11-27T11:36:09.381234298Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=8.844826ms grafana | logger=migrator t=2023-11-27T11:36:09.385585971Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2023-11-27T11:36:09.386302234Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=715.673µs grafana | logger=migrator t=2023-11-27T11:36:09.389875233Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2023-11-27T11:36:09.390693126Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=817.813µs grafana | logger=migrator t=2023-11-27T11:36:09.395003318Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2023-11-27T11:36:09.395805063Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=803.725µs grafana | logger=migrator t=2023-11-27T11:36:09.399664042Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2023-11-27T11:36:09.40120965Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.545268ms grafana | logger=migrator t=2023-11-27T11:36:09.40513167Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2023-11-27T11:36:09.405782883Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=651.243µs grafana | logger=migrator t=2023-11-27T11:36:09.409375852Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2023-11-27T11:36:09.409980875Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=604.563µs grafana | logger=migrator t=2023-11-27T11:36:09.414182226Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2023-11-27T11:36:09.414250327Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=68.761µs grafana | logger=migrator t=2023-11-27T11:36:09.417673325Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2023-11-27T11:36:09.421797126Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.121561ms grafana | logger=migrator t=2023-11-27T11:36:09.425757845Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2023-11-27T11:36:09.429829396Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=4.076471ms grafana | logger=migrator t=2023-11-27T11:36:09.434711321Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2023-11-27T11:36:09.434947132Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=235.471µs grafana | logger=migrator t=2023-11-27T11:36:09.438138278Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2023-11-27T11:36:09.440813282Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.675574ms grafana | logger=migrator t=2023-11-27T11:36:09.443834198Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2023-11-27T11:36:09.446428661Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.593803ms grafana | logger=migrator t=2023-11-27T11:36:09.450718073Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2023-11-27T11:36:09.451441057Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=722.234µs grafana | logger=migrator t=2023-11-27T11:36:09.454714514Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2023-11-27T11:36:09.455314757Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=599.743µs grafana | logger=migrator t=2023-11-27T11:36:09.458627664Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2023-11-27T11:36:09.459434527Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=806.803µs grafana | logger=migrator t=2023-11-27T11:36:09.46364756Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2023-11-27T11:36:09.465099527Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.451457ms grafana | logger=migrator t=2023-11-27T11:36:09.468717565Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2023-11-27T11:36:09.470152222Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.430957ms grafana | logger=migrator t=2023-11-27T11:36:09.473730011Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2023-11-27T11:36:09.474601405Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=871.094µs grafana | logger=migrator t=2023-11-27T11:36:09.479252519Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2023-11-27T11:36:09.47940323Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=150.201µs grafana | logger=migrator t=2023-11-27T11:36:09.482644586Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2023-11-27T11:36:09.482781827Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=136.841µs grafana | logger=migrator t=2023-11-27T11:36:09.486486876Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2023-11-27T11:36:09.490115854Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=3.629918ms grafana | logger=migrator t=2023-11-27T11:36:09.493479462Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2023-11-27T11:36:09.496130876Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.653324ms grafana | logger=migrator t=2023-11-27T11:36:09.500140046Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2023-11-27T11:36:09.500304357Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=161.271µs grafana | logger=migrator t=2023-11-27T11:36:09.503349012Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2023-11-27T11:36:09.504079005Z level=info msg="Migration successfully executed" id="create quota table v1" duration=729.303µs grafana | logger=migrator t=2023-11-27T11:36:09.507505693Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb 3306 port [tcp/mysql] succeeded! policy-db-migrator | 314 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 policy-db-migrator | upgrade: 0 -> 1200 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-27T11:36:09.508925881Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.419978ms grafana | logger=migrator t=2023-11-27T11:36:09.513237713Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2023-11-27T11:36:09.513386543Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=148.61µs grafana | logger=migrator t=2023-11-27T11:36:09.51675446Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2023-11-27T11:36:09.517517875Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=762.655µs grafana | logger=migrator t=2023-11-27T11:36:09.521115524Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2023-11-27T11:36:09.522570221Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.454218ms grafana | logger=migrator t=2023-11-27T11:36:09.526205009Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2023-11-27T11:36:09.530778892Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.572743ms grafana | logger=migrator t=2023-11-27T11:36:09.535532447Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2023-11-27T11:36:09.535602897Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=70.82µs grafana | logger=migrator t=2023-11-27T11:36:09.538908664Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2023-11-27T11:36:09.539726828Z level=info msg="Migration successfully executed" id="create session table" duration=817.224µs grafana | logger=migrator t=2023-11-27T11:36:09.543081195Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2023-11-27T11:36:09.543332536Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=250.301µs grafana | logger=migrator t=2023-11-27T11:36:09.54775162Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2023-11-27T11:36:09.548048061Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=295.271µs grafana | logger=migrator t=2023-11-27T11:36:09.551677159Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2023-11-27T11:36:09.552818685Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.140316ms grafana | logger=migrator t=2023-11-27T11:36:09.556292353Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2023-11-27T11:36:09.557222807Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=929.504µs grafana | logger=migrator t=2023-11-27T11:36:09.561663411Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2023-11-27T11:36:09.561734351Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=71.24µs grafana | logger=migrator t=2023-11-27T11:36:09.564871727Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2023-11-27T11:36:09.564968797Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=73.71µs grafana | logger=migrator t=2023-11-27T11:36:09.568386364Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2023-11-27T11:36:09.57332528Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.920326ms grafana | logger=migrator t=2023-11-27T11:36:09.576769167Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2023-11-27T11:36:09.579726782Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=2.956835ms grafana | logger=migrator t=2023-11-27T11:36:09.583805213Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2023-11-27T11:36:09.583971814Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=165.141µs grafana | logger=migrator t=2023-11-27T11:36:09.587163651Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2023-11-27T11:36:09.587327242Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=162.741µs grafana | logger=migrator t=2023-11-27T11:36:09.590441717Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2023-11-27T11:36:09.591205332Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=762.685µs grafana | logger=migrator t=2023-11-27T11:36:09.596996011Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2023-11-27T11:36:09.597067512Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=72.091µs grafana | logger=migrator t=2023-11-27T11:36:09.600378778Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2023-11-27T11:36:09.605083672Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=4.702864ms grafana | logger=migrator t=2023-11-27T11:36:09.608963802Z level=info msg="Executing migration" id="Update team_id column values in preferences" 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 | -------------- 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 | -------------- grafana | logger=migrator t=2023-11-27T11:36:09.609636166Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=672.484µs grafana | logger=migrator t=2023-11-27T11:36:09.612975862Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2023-11-27T11:36:09.617607086Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=4.632634ms grafana | logger=migrator t=2023-11-27T11:36:09.622401021Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2023-11-27T11:36:09.625548357Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.146756ms grafana | logger=migrator t=2023-11-27T11:36:09.629703718Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2023-11-27T11:36:09.629849159Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=145.121µs grafana | logger=migrator t=2023-11-27T11:36:09.633598988Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2023-11-27T11:36:09.634549053Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=949.945µs grafana | logger=migrator t=2023-11-27T11:36:09.638991106Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2023-11-27T11:36:09.640372023Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.380857ms grafana | logger=migrator t=2023-11-27T11:36:09.644369873Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2023-11-27T11:36:09.645883631Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.513538ms grafana | logger=migrator t=2023-11-27T11:36:09.64969587Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2023-11-27T11:36:09.650653885Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=957.595µs grafana | logger=migrator t=2023-11-27T11:36:09.654983777Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2023-11-27T11:36:09.655895272Z level=info msg="Migration successfully executed" id="add index alert state" duration=909.865µs grafana | logger=migrator t=2023-11-27T11:36:09.660689836Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2023-11-27T11:36:09.662357785Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.666559ms grafana | logger=migrator t=2023-11-27T11:36:09.665981324Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2023-11-27T11:36:09.666633426Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=651.262µs grafana | logger=migrator t=2023-11-27T11:36:09.670951439Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2023-11-27T11:36:09.671838343Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=886.764µs grafana | logger=migrator t=2023-11-27T11:36:09.675268991Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2023-11-27T11:36:09.676648888Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.379957ms grafana | logger=migrator t=2023-11-27T11:36:09.680457567Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2023-11-27T11:36:09.693703535Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=13.246778ms grafana | logger=migrator t=2023-11-27T11:36:09.698011507Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2023-11-27T11:36:09.69850432Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=492.383µs grafana | logger=migrator t=2023-11-27T11:36:09.701760177Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2023-11-27T11:36:09.70244238Z 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=682.173µs grafana | logger=migrator t=2023-11-27T11:36:09.706175889Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2023-11-27T11:36:09.706701551Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=525.062µs grafana | logger=migrator t=2023-11-27T11:36:09.711063413Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2023-11-27T11:36:09.711651827Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=587.994µs grafana | logger=migrator t=2023-11-27T11:36:09.714860033Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2023-11-27T11:36:09.715613977Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=753.384µs grafana | logger=migrator t=2023-11-27T11:36:09.72001945Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2023-11-27T11:36:09.725662749Z level=info msg="Migration successfully executed" id="Add column is_default" duration=5.663109ms grafana | logger=migrator t=2023-11-27T11:36:09.730349493Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2023-11-27T11:36:09.73381418Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.463997ms grafana | logger=migrator t=2023-11-27T11:36:09.737376218Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2023-11-27T11:36:09.740869306Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.492348ms grafana | logger=migrator t=2023-11-27T11:36:09.744847876Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2023-11-27T11:36:09.751284199Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=6.440893ms grafana | logger=migrator t=2023-11-27T11:36:09.754470125Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2023-11-27T11:36:09.755416031Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=945.106µs grafana | logger=migrator t=2023-11-27T11:36:09.758405806Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2023-11-27T11:36:09.758431886Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=38.62µs grafana | logger=migrator t=2023-11-27T11:36:09.763322111Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2023-11-27T11:36:09.763347102Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=25.981µs 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 | -------------- mariadb | 2023-11-27 11:36:09+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-27 11:36:09+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2023-11-27 11:36:09+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-27 11:36:10+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2023-11-27 11:36:10 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-11-27 11:36:10 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-27 11:36:10 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2023-11-27 11:36:11+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2023-11-27 11:36:11+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2023-11-27 11:36:11+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2023-11-27 11:36:11 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 94 ... mariadb | 2023-11-27 11:36:11 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-11-27 11:36:11 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-11-27 11:36:11 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-11-27 11:36:11 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-11-27 11:36:11 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-11-27 11:36:11 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-27 11:36:11 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB grafana | logger=migrator t=2023-11-27T11:36:09.766299617Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2023-11-27T11:36:09.7671778Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=873.793µs grafana | logger=migrator t=2023-11-27T11:36:09.770182896Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-11-27T11:36:09.771214521Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.030195ms grafana | logger=migrator t=2023-11-27T11:36:09.774313457Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2023-11-27T11:36:09.775066571Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=752.664µs grafana | logger=migrator t=2023-11-27T11:36:09.780201157Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2023-11-27T11:36:09.781089081Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=887.664µs grafana | logger=migrator t=2023-11-27T11:36:09.785744936Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-11-27T11:36:09.787473315Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.727519ms grafana | logger=migrator t=2023-11-27T11:36:09.79266058Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2023-11-27T11:36:09.797547936Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=4.888206ms grafana | logger=migrator t=2023-11-27T11:36:09.801133215Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2023-11-27T11:36:09.804698563Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.563037ms policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-27T11:36:09.808887754Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2023-11-27T11:36:09.809110905Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=218.971µs grafana | logger=migrator t=2023-11-27T11:36:09.813859269Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2023-11-27T11:36:09.814643063Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=783.674µs grafana | logger=migrator t=2023-11-27T11:36:09.821163947Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2023-11-27T11:36:09.821727499Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=566.482µs grafana | logger=migrator t=2023-11-27T11:36:09.828192543Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2023-11-27T11:36:09.832133913Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.94156ms grafana | logger=migrator t=2023-11-27T11:36:09.837185758Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2023-11-27T11:36:09.837273739Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=88.641µs grafana | logger=migrator t=2023-11-27T11:36:09.840302325Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2023-11-27T11:36:09.84134956Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.046495ms grafana | logger=migrator t=2023-11-27T11:36:09.844823768Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2023-11-27T11:36:09.845786102Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=961.784µs grafana | logger=migrator t=2023-11-27T11:36:09.850883438Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2023-11-27T11:36:09.851014799Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=130.041µs grafana | logger=migrator t=2023-11-27T11:36:09.862206336Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2023-11-27T11:36:09.863480913Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.274147ms grafana | logger=migrator t=2023-11-27T11:36:09.870334558Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2023-11-27T11:36:09.871782805Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.448097ms grafana | logger=migrator t=2023-11-27T11:36:09.875061492Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2023-11-27T11:36:09.876033767Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=971.995µs grafana | logger=migrator t=2023-11-27T11:36:09.880230098Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2023-11-27T11:36:09.881226784Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=996.356µs grafana | logger=migrator t=2023-11-27T11:36:09.884815801Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2023-11-27T11:36:09.886520961Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.70434ms grafana | logger=migrator t=2023-11-27T11:36:09.891210715Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2023-11-27T11:36:09.89230792Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.097105ms grafana | logger=migrator t=2023-11-27T11:36:09.898762283Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2023-11-27T11:36:09.898953554Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=190.351µs grafana | logger=migrator t=2023-11-27T11:36:09.904192821Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2023-11-27T11:36:09.910845705Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.649054ms grafana | logger=migrator t=2023-11-27T11:36:09.914851345Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2023-11-27T11:36:09.915705559Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=853.864µs grafana | logger=migrator t=2023-11-27T11:36:09.920998387Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2023-11-27T11:36:09.926406204Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=5.408107ms grafana | logger=migrator t=2023-11-27T11:36:09.930304525Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2023-11-27T11:36:09.931236259Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=932.204µs grafana | logger=migrator t=2023-11-27T11:36:09.93912222Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2023-11-27T11:36:09.940811288Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.691839ms grafana | logger=migrator t=2023-11-27T11:36:09.945783914Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2023-11-27T11:36:09.946626997Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=843.163µs grafana | logger=migrator t=2023-11-27T11:36:09.95288435Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2023-11-27T11:36:09.971618955Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=18.729935ms grafana | logger=migrator t=2023-11-27T11:36:09.9745561Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2023-11-27T11:36:09.975061204Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=504.824µs grafana | logger=migrator t=2023-11-27T11:36:09.979821047Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" grafana | logger=migrator t=2023-11-27T11:36:09.980797742Z 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=977.375µs grafana | logger=migrator t=2023-11-27T11:36:09.983914628Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2023-11-27T11:36:09.984218129Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=300.481µs grafana | logger=migrator t=2023-11-27T11:36:09.986929453Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2023-11-27T11:36:09.987473597Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=544.074µs grafana | logger=migrator t=2023-11-27T11:36:09.996510233Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2023-11-27T11:36:09.997082705Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=576.332µs grafana | logger=migrator t=2023-11-27T11:36:10.000559704Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2023-11-27T11:36:10.005042406Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.482022ms grafana | logger=migrator t=2023-11-27T11:36:10.00993198Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2023-11-27T11:36:10.014155731Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.223241ms grafana | logger=migrator t=2023-11-27T11:36:10.017192416Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2023-11-27T11:36:10.018118681Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=925.595µs grafana | logger=migrator t=2023-11-27T11:36:10.021116125Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2023-11-27T11:36:10.022060679Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=943.784µs grafana | logger=migrator t=2023-11-27T11:36:10.027209335Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2023-11-27T11:36:10.027465426Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=258.751µs grafana | logger=migrator t=2023-11-27T11:36:10.032015338Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2023-11-27T11:36:10.03634804Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.352122ms grafana | logger=migrator t=2023-11-27T11:36:10.039639915Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2023-11-27T11:36:10.04052422Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=884.055µs grafana | logger=migrator t=2023-11-27T11:36:10.045137072Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2023-11-27T11:36:10.045393983Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=259.131µs grafana | logger=migrator t=2023-11-27T11:36:10.048389968Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2023-11-27T11:36:10.04880686Z level=info msg="Migration successfully executed" id="Move region to single row" duration=416.612µs grafana | logger=migrator t=2023-11-27T11:36:10.051592813Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2023-11-27T11:36:10.052502038Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=908.955µs grafana | logger=migrator t=2023-11-27T11:36:10.057245681Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2023-11-27T11:36:10.058061065Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=814.924µs grafana | logger=migrator t=2023-11-27T11:36:10.061658903Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-11-27T11:36:10.063451612Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.792509ms grafana | logger=migrator t=2023-11-27T11:36:10.066960188Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-11-27T11:36:10.068452656Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.492078ms grafana | logger=migrator t=2023-11-27T11:36:10.071783503Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2023-11-27T11:36:10.072731677Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=946.844µs grafana | logger=migrator t=2023-11-27T11:36:10.083108078Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2023-11-27T11:36:10.084251554Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.146146ms grafana | logger=migrator t=2023-11-27T11:36:10.088642555Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2023-11-27T11:36:10.088734075Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=92.35µs grafana | logger=migrator t=2023-11-27T11:36:10.09198518Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2023-11-27T11:36:10.092943275Z level=info msg="Migration successfully executed" id="create test_data table" duration=953.825µs grafana | logger=migrator t=2023-11-27T11:36:10.09605191Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2023-11-27T11:36:10.096794274Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=742.394µs grafana | logger=migrator t=2023-11-27T11:36:10.104980145Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-27T11:36:10.105887268Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=907.013µs grafana | logger=migrator t=2023-11-27T11:36:10.109187575Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2023-11-27T11:36:10.11024075Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.054394ms grafana | logger=migrator t=2023-11-27T11:36:10.113232494Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2023-11-27T11:36:10.113448056Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=215.672µs grafana | logger=migrator t=2023-11-27T11:36:10.119435145Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2023-11-27T11:36:10.119804566Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=369.541µs grafana | logger=migrator t=2023-11-27T11:36:10.123886996Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2023-11-27T11:36:10.123968717Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=80.561µs grafana | logger=migrator t=2023-11-27T11:36:10.12671227Z level=info msg="Executing migration" id="create team table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0690-toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0770-toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0780-toscarequirements.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-27T11:36:10.127438434Z level=info msg="Migration successfully executed" id="create team table" duration=723.714µs grafana | logger=migrator t=2023-11-27T11:36:10.13062191Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2023-11-27T11:36:10.131730335Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.108265ms grafana | logger=migrator t=2023-11-27T11:36:10.140584688Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2023-11-27T11:36:10.141316882Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=733.044µs grafana | logger=migrator t=2023-11-27T11:36:10.143691433Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2023-11-27T11:36:10.14696487Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=3.273307ms grafana | logger=migrator t=2023-11-27T11:36:10.14908874Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2023-11-27T11:36:10.14924853Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=159.99µs grafana | logger=migrator t=2023-11-27T11:36:10.154579767Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2023-11-27T11:36:10.156351855Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.774699ms grafana | logger=migrator t=2023-11-27T11:36:10.162006552Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2023-11-27T11:36:10.163071957Z level=info msg="Migration successfully executed" id="create team member table" duration=1.064705ms grafana | logger=migrator t=2023-11-27T11:36:10.166382543Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2023-11-27T11:36:10.167232568Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=849.725µs grafana | logger=migrator t=2023-11-27T11:36:10.170517524Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2023-11-27T11:36:10.171382878Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=865.154µs grafana | logger=migrator t=2023-11-27T11:36:10.176845225Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2023-11-27T11:36:10.177669748Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=824.153µs grafana | logger=migrator t=2023-11-27T11:36:10.180971735Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2023-11-27T11:36:10.185666638Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.694473ms grafana | logger=migrator t=2023-11-27T11:36:10.188942964Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2023-11-27T11:36:10.193372196Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.428552ms grafana | logger=migrator t=2023-11-27T11:36:10.197503676Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2023-11-27T11:36:10.201937728Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.433292ms grafana | logger=migrator t=2023-11-27T11:36:10.207424215Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2023-11-27T11:36:10.208353588Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=929.223µs grafana | logger=migrator t=2023-11-27T11:36:10.219680534Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2023-11-27T11:36:10.22089917Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.222976ms grafana | logger=migrator t=2023-11-27T11:36:10.233990484Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2023-11-27T11:36:10.235610352Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.612728ms grafana | logger=migrator t=2023-11-27T11:36:10.241627841Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2023-11-27T11:36:10.242551936Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=924.215µs grafana | logger=migrator t=2023-11-27T11:36:10.247467059Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2023-11-27T11:36:10.248507804Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.040465ms grafana | logger=migrator t=2023-11-27T11:36:10.252831605Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2023-11-27T11:36:10.254164332Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.332787ms grafana | logger=migrator t=2023-11-27T11:36:10.259737139Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2023-11-27T11:36:10.260832795Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.094206ms grafana | logger=migrator t=2023-11-27T11:36:10.26600936Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2023-11-27T11:36:10.266752434Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=743.044µs prometheus | ts=2023-11-27T11:36:07.754Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2023-11-27T11:36:07.754Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.0, branch=HEAD, revision=6d80b30990bc297d95b5c844e118c4011fad8054)" prometheus | ts=2023-11-27T11:36:07.754Z caller=main.go:588 level=info build_context="(go=go1.21.4, platform=linux/amd64, user=root@26117804242c, date=20231116-04:35:21, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2023-11-27T11:36:07.754Z caller=main.go:589 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" prometheus | ts=2023-11-27T11:36:07.754Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2023-11-27T11:36:07.754Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2023-11-27T11:36:07.758Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2023-11-27T11:36:07.758Z caller=main.go:1024 level=info msg="Starting TSDB ..." prometheus | ts=2023-11-27T11:36:07.760Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2023-11-27T11:36:07.760Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2023-11-27T11:36:07.761Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2023-11-27T11:36:07.761Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=1.63µs prometheus | ts=2023-11-27T11:36:07.761Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2023-11-27T11:36:07.762Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2023-11-27T11:36:07.762Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=20.26µs wal_replay_duration=659.871µs wbl_replay_duration=290ns total_replay_duration=701.261µs prometheus | ts=2023-11-27T11:36:07.767Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2023-11-27T11:36:07.767Z caller=main.go:1048 level=info msg="TSDB started" prometheus | ts=2023-11-27T11:36:07.767Z caller=main.go:1229 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2023-11-27T11:36:07.768Z caller=main.go:1266 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=994.413µs db_storage=1.64µs remote_storage=1.87µs web_handler=800ns query_engine=890ns scrape=256.17µs scrape_sd=112.73µs notify=33.16µs notify_sd=12.98µs rules=1.65µs tracing=4.82µs prometheus | ts=2023-11-27T11:36:07.768Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." prometheus | ts=2023-11-27T11:36:07.768Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-27T11:36:10.273485517Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2023-11-27T11:36:10.274068949Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=582.512µs grafana | logger=migrator t=2023-11-27T11:36:10.278547212Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2023-11-27T11:36:10.279081824Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=533.852µs grafana | logger=migrator t=2023-11-27T11:36:10.283978897Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2023-11-27T11:36:10.285272474Z level=info msg="Migration successfully executed" id="create tag table" duration=1.292397ms grafana | logger=migrator t=2023-11-27T11:36:10.289856367Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2023-11-27T11:36:10.290970142Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.112035ms grafana | logger=migrator t=2023-11-27T11:36:10.294949921Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2023-11-27T11:36:10.295714335Z level=info msg="Migration successfully executed" id="create login attempt table" duration=765.654µs grafana | logger=migrator t=2023-11-27T11:36:10.301317892Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2023-11-27T11:36:10.302312007Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=994.364µs 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 | -------------- mariadb | 2023-11-27 11:36:11 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-11-27 11:36:11 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-11-27 11:36:11 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-11-27 11:36:11 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-11-27 11:36:11 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-11-27 11:36:11 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2023-11-27 11:36:11 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-11-27 11:36:11 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-11-27 11:36:11 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-27 11:36:11 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-27 11:36:11 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2023-11-27 11:36:12+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2023-11-27 11:36:14+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2023-11-27 11:36:14+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2023-11-27 11:36:14+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2023-11-27 11:36:14+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'\''@'\''%'\'' ;' policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdp.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE jpapdpstatistics_enginestats a policy-db-migrator | JOIN pdpstatistics b policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp policy-db-migrator | SET a.id = b.id policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | 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 | policy-db-migrator | > upgrade 0210-sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-sequence.sql policy-db-migrator | -------------- policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscatrigger policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaparameter policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-27T11:36:10.30693384Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2023-11-27T11:36:10.308074666Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.139435ms grafana | logger=migrator t=2023-11-27T11:36:10.312937639Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-27T11:36:10.331940982Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=19.003063ms grafana | logger=migrator t=2023-11-27T11:36:10.338016811Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2023-11-27T11:36:10.338570644Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=553.783µs grafana | logger=migrator t=2023-11-27T11:36:10.343294217Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2023-11-27T11:36:10.345120856Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.825989ms grafana | logger=migrator t=2023-11-27T11:36:10.351048335Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2023-11-27T11:36:10.351398207Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=349.452µs grafana | logger=migrator t=2023-11-27T11:36:10.357129615Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2023-11-27T11:36:10.358120579Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=988.174µs grafana | logger=migrator t=2023-11-27T11:36:10.363692286Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2023-11-27T11:36:10.365048463Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.355307ms grafana | logger=migrator t=2023-11-27T11:36:10.368128029Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2023-11-27T11:36:10.369220113Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.091304ms grafana | logger=migrator t=2023-11-27T11:36:10.375633025Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2023-11-27T11:36:10.375813586Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=175.791µs grafana | logger=migrator t=2023-11-27T11:36:10.380594669Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2023-11-27T11:36:10.386646659Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=6.05047ms grafana | logger=migrator t=2023-11-27T11:36:10.390138965Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2023-11-27T11:36:10.396209726Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=6.070831ms grafana | logger=migrator t=2023-11-27T11:36:10.400650807Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2023-11-27T11:36:10.409126449Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=8.483572ms grafana | logger=migrator t=2023-11-27T11:36:10.414281473Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2023-11-27T11:36:10.419578539Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.296446ms grafana | logger=migrator t=2023-11-27T11:36:10.423675159Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2023-11-27T11:36:10.424572294Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=897.195µs grafana | logger=migrator t=2023-11-27T11:36:10.429099466Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2023-11-27T11:36:10.438298141Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=9.200676ms grafana | logger=migrator t=2023-11-27T11:36:10.442051679Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2023-11-27T11:36:10.442622932Z level=info msg="Migration successfully executed" id="create server_lock table" duration=565.633µs grafana | logger=migrator t=2023-11-27T11:36:10.446526511Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2023-11-27T11:36:10.447573326Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.046855ms grafana | logger=migrator t=2023-11-27T11:36:10.451927317Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2023-11-27T11:36:10.452687721Z level=info msg="Migration successfully executed" id="create user auth token table" duration=759.704µs grafana | logger=migrator t=2023-11-27T11:36:10.457622785Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2023-11-27T11:36:10.458517089Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=893.724µs grafana | logger=migrator t=2023-11-27T11:36:10.463391754Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2023-11-27T11:36:10.465011231Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.617617ms grafana | logger=migrator t=2023-11-27T11:36:10.470416708Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2023-11-27T11:36:10.471622243Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.204585ms grafana | logger=migrator t=2023-11-27T11:36:10.478845839Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2023-11-27T11:36:10.489072379Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=10.22554ms grafana | logger=migrator t=2023-11-27T11:36:10.493211449Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2023-11-27T11:36:10.493926682Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=714.653µs grafana | logger=migrator t=2023-11-27T11:36:10.502345843Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" grafana | logger=migrator t=2023-11-27T11:36:10.503579369Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.231986ms policy-db-migrator | mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' grafana | logger=migrator t=2023-11-27T11:36:10.508127792Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql grafana | logger=migrator t=2023-11-27T11:36:10.50978065Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.651989ms policy-db-migrator | -------------- mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp grafana | logger=migrator t=2023-11-27T11:36:10.514352502Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY mariadb | grafana | logger=migrator t=2023-11-27T11:36:10.515569498Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.217206ms policy-db-migrator | -------------- mariadb | 2023-11-27 11:36:14+00:00 [Note] [Entrypoint]: Stopping temporary server policy-db-migrator | grafana | logger=migrator t=2023-11-27T11:36:10.521651257Z level=info msg="Executing migration" id="add index short_url.org_id-uid" mariadb | 2023-11-27 11:36:14 0 [Note] mariadbd (initiated by: unknown): Normal shutdown policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-27T11:36:10.522645882Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=993.875µs mariadb | 2023-11-27 11:36:14 0 [Note] InnoDB: FTS optimize thread exiting. policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2023-11-27T11:36:10.527472925Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" mariadb | 2023-11-27 11:36:14 0 [Note] InnoDB: Starting shutdown... policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-27T11:36:10.527580626Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=108.101µs mariadb | 2023-11-27 11:36:14 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool policy-db-migrator | grafana | logger=migrator t=2023-11-27T11:36:10.534078658Z level=info msg="Executing migration" id="delete alert_definition table" mariadb | 2023-11-27 11:36:14 0 [Note] InnoDB: Buffer pool(s) dump completed at 231127 11:36:14 policy-db-migrator | grafana | logger=migrator t=2023-11-27T11:36:10.534235629Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=153.391µs mariadb | 2023-11-27 11:36:15 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2023-11-27T11:36:10.538816711Z level=info msg="Executing migration" id="recreate alert_definition table" mariadb | 2023-11-27 11:36:15 0 [Note] InnoDB: Shutdown completed; log sequence number 327895; transaction id 298 policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-27T11:36:10.540199238Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.382747ms mariadb | 2023-11-27 11:36:15 0 [Note] mariadbd: Shutdown complete policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2023-11-27T11:36:10.54674919Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" mariadb | policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-27T11:36:10.547742135Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=992.755µs policy-db-migrator | mariadb | 2023-11-27 11:36:15+00:00 [Note] [Entrypoint]: Temporary server stopped grafana | logger=migrator t=2023-11-27T11:36:10.551279712Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- mariadb | grafana | logger=migrator t=2023-11-27T11:36:10.55291235Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.628888ms policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) mariadb | 2023-11-27 11:36:15+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. grafana | logger=migrator t=2023-11-27T11:36:10.556845229Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | -------------- mariadb | grafana | logger=migrator t=2023-11-27T11:36:10.557140081Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=294.722µs policy-db-migrator | mariadb | 2023-11-27 11:36:15 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... grafana | logger=migrator t=2023-11-27T11:36:10.564220835Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" policy-db-migrator | mariadb | 2023-11-27 11:36:15 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 grafana | logger=migrator t=2023-11-27T11:36:10.56523262Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.011695ms policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql mariadb | 2023-11-27 11:36:15 0 [Note] InnoDB: Number of transaction pools: 1 grafana | logger=migrator t=2023-11-27T11:36:10.571565001Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- mariadb | 2023-11-27 11:36:15 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions grafana | logger=migrator t=2023-11-27T11:36:10.573119648Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.554367ms policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT mariadb | 2023-11-27 11:36:15 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) grafana | logger=migrator t=2023-11-27T11:36:10.57753887Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" policy-db-migrator | -------------- mariadb | 2023-11-27 11:36:15 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) grafana | logger=migrator t=2023-11-27T11:36:10.579315068Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.774908ms policy-db-migrator | mariadb | 2023-11-27 11:36:15 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF grafana | logger=migrator t=2023-11-27T11:36:10.585518919Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | mariadb | 2023-11-27 11:36:15 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB grafana | logger=migrator t=2023-11-27T11:36:10.586513243Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=993.904µs policy-db-migrator | > upgrade 0100-upgrade.sql mariadb | 2023-11-27 11:36:15 0 [Note] InnoDB: Completed initialization of buffer pool grafana | logger=migrator t=2023-11-27T11:36:10.58983413Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | -------------- mariadb | 2023-11-27 11:36:15 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) grafana | logger=migrator t=2023-11-27T11:36:10.595521888Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.689408ms policy-db-migrator | select 'upgrade to 1100 completed' as msg mariadb | 2023-11-27 11:36:15 0 [Note] InnoDB: 128 rollback segments are active. grafana | logger=migrator t=2023-11-27T11:36:10.599381907Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | -------------- mariadb | 2023-11-27 11:36:15 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... grafana | logger=migrator t=2023-11-27T11:36:10.600392631Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.006824ms policy-db-migrator | mariadb | 2023-11-27 11:36:15 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. grafana | logger=migrator t=2023-11-27T11:36:10.605097625Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | msg mariadb | 2023-11-27 11:36:15 0 [Note] InnoDB: log sequence number 327895; transaction id 299 grafana | logger=migrator t=2023-11-27T11:36:10.605263196Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=166.551µs policy-db-migrator | upgrade to 1100 completed mariadb | 2023-11-27 11:36:15 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool grafana | logger=migrator t=2023-11-27T11:36:10.608633772Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | mariadb | 2023-11-27 11:36:15 0 [Note] Plugin 'FEEDBACK' is disabled. grafana | logger=migrator t=2023-11-27T11:36:10.609514506Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=880.084µs policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql mariadb | 2023-11-27 11:36:15 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. grafana | logger=migrator t=2023-11-27T11:36:10.613817067Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" policy-db-migrator | -------------- mariadb | 2023-11-27 11:36:15 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. grafana | logger=migrator t=2023-11-27T11:36:10.614816092Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=998.695µs policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME mariadb | 2023-11-27 11:36:15 0 [Note] Server socket created on IP: '0.0.0.0'. grafana | logger=migrator t=2023-11-27T11:36:10.619359794Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" policy-db-migrator | -------------- mariadb | 2023-11-27 11:36:15 0 [Note] Server socket created on IP: '::'. grafana | logger=migrator t=2023-11-27T11:36:10.62038713Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.026876ms policy-db-migrator | mariadb | 2023-11-27 11:36:15 0 [Note] mariadbd: ready for connections. grafana | logger=migrator t=2023-11-27T11:36:10.623523075Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" policy-db-migrator | mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution grafana | logger=migrator t=2023-11-27T11:36:10.623661735Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=137.52µs policy-db-migrator | > upgrade 0110-idx_tsidx1.sql mariadb | 2023-11-27 11:36:15 0 [Note] InnoDB: Buffer pool(s) load completed at 231127 11:36:15 grafana | logger=migrator t=2023-11-27T11:36:10.628814451Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | -------------- mariadb | 2023-11-27 11:36:15 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) grafana | logger=migrator t=2023-11-27T11:36:10.629805675Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=990.764µs policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics mariadb | 2023-11-27 11:36:15 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) grafana | logger=migrator t=2023-11-27T11:36:10.634252757Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-27T11:36:10.635648754Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.394837ms policy-db-migrator | grafana | logger=migrator t=2023-11-27T11:36:10.639912355Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-27T11:36:10.640936899Z 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.024204ms policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2023-11-27T11:36:10.645815623Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-27T11:36:10.647392241Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.576008ms grafana | logger=migrator t=2023-11-27T11:36:10.652239364Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | grafana | logger=migrator t=2023-11-27T11:36:10.658646366Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=6.407602ms policy-db-migrator | grafana | logger=migrator t=2023-11-27T11:36:10.665183248Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=migrator t=2023-11-27T11:36:10.666121772Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=938.644µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-27T11:36:10.670683315Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2023-11-27T11:36:10.672197862Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.510967ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-27T11:36:10.676866025Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" policy-db-migrator | grafana | logger=migrator t=2023-11-27T11:36:10.715610404Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=38.745289ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-27T11:36:10.723595122Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) grafana | logger=migrator t=2023-11-27T11:36:10.7723115Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=48.710728ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-27T11:36:10.785200493Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2023-11-27T11:36:10.789258683Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=4.06141ms policy-db-migrator | grafana | logger=migrator t=2023-11-27T11:36:10.795297443Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2023-11-27T11:36:10.796473758Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.175945ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-27T11:36:10.801331052Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2023-11-27T11:36:10.810047845Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=8.717133ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-27T11:36:10.814905069Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | grafana | logger=migrator t=2023-11-27T11:36:10.815513601Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=608.512µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-27T11:36:10.82556889Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2023-11-27T11:36:10.827128078Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.558908ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-27T11:36:10.833146398Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2023-11-27T11:36:10.834748175Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.602547ms policy-db-migrator | policyadmin: OK: upgrade (1200) grafana | logger=migrator t=2023-11-27T11:36:10.843640378Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | name version grafana | logger=migrator t=2023-11-27T11:36:10.845414277Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.772469ms policy-db-migrator | policyadmin 1200 grafana | logger=migrator t=2023-11-27T11:36:10.853552087Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | ID script operation from_version to_version tag success atTime grafana | logger=migrator t=2023-11-27T11:36:10.853618977Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=68.71µs policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:16 grafana | logger=migrator t=2023-11-27T11:36:10.857265695Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:16 grafana | logger=migrator t=2023-11-27T11:36:10.867422804Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=10.151829ms policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:16 grafana | logger=migrator t=2023-11-27T11:36:10.872191118Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:16 grafana | logger=migrator t=2023-11-27T11:36:10.878222058Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.03179ms policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:16 grafana | logger=migrator t=2023-11-27T11:36:10.883377293Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:16 grafana | logger=migrator t=2023-11-27T11:36:10.889315212Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.937849ms policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:16 grafana | logger=migrator t=2023-11-27T11:36:10.893057649Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:16 grafana | logger=migrator t=2023-11-27T11:36:10.893953884Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=896.185µs policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:16 grafana | logger=migrator t=2023-11-27T11:36:10.898281925Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:16 grafana | logger=migrator t=2023-11-27T11:36:10.899912653Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.630498ms policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:16 grafana | logger=migrator t=2023-11-27T11:36:10.906223324Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:16 grafana | logger=migrator t=2023-11-27T11:36:10.912106432Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=5.883238ms policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:16 grafana | logger=migrator t=2023-11-27T11:36:10.917221228Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:16 grafana | logger=migrator t=2023-11-27T11:36:10.923202347Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.980519ms policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:16 grafana | logger=migrator t=2023-11-27T11:36:10.926858455Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:16 grafana | logger=migrator t=2023-11-27T11:36:10.927786639Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=927.904µs policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:16 grafana | logger=migrator t=2023-11-27T11:36:10.933765309Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:16 grafana | logger=migrator t=2023-11-27T11:36:10.943975418Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=10.203059ms policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:16 grafana | logger=migrator t=2023-11-27T11:36:10.948739081Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:16 grafana | logger=migrator t=2023-11-27T11:36:10.954778751Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.04219ms policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:16 grafana | logger=migrator t=2023-11-27T11:36:10.960188617Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:16 grafana | logger=migrator t=2023-11-27T11:36:10.960253887Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=66.06µs policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:16 grafana | logger=migrator t=2023-11-27T11:36:10.964150867Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:16 grafana | logger=migrator t=2023-11-27T11:36:10.965386103Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.234926ms policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:16 grafana | logger=migrator t=2023-11-27T11:36:10.970192547Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:16 grafana | logger=migrator t=2023-11-27T11:36:10.971205471Z 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.009034ms policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:16 grafana | logger=migrator t=2023-11-27T11:36:10.977035159Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:16 grafana | logger=migrator t=2023-11-27T11:36:10.978213115Z 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.177556ms policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:16 grafana | logger=migrator t=2023-11-27T11:36:10.982565356Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:16 grafana | logger=migrator t=2023-11-27T11:36:10.982639316Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=73.96µs policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:17 grafana | logger=migrator t=2023-11-27T11:36:10.985983013Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:17 grafana | logger=migrator t=2023-11-27T11:36:10.994441834Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=8.452881ms policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:17 grafana | logger=migrator t=2023-11-27T11:36:10.998799786Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:17 grafana | logger=migrator t=2023-11-27T11:36:11.005085936Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.28506ms policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:17 grafana | logger=migrator t=2023-11-27T11:36:11.011807051Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:17 grafana | logger=migrator t=2023-11-27T11:36:11.022250594Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=10.443763ms policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:17 grafana | logger=migrator t=2023-11-27T11:36:11.028100143Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:17 grafana | logger=migrator t=2023-11-27T11:36:11.033670181Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=5.569298ms policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:17 grafana | logger=migrator t=2023-11-27T11:36:11.038019882Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:17 grafana | logger=migrator t=2023-11-27T11:36:11.044146493Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.126011ms policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:17 grafana | logger=migrator t=2023-11-27T11:36:11.04961195Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:17 grafana | logger=migrator t=2023-11-27T11:36:11.049678941Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=67.271µs policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:17 grafana | logger=migrator t=2023-11-27T11:36:11.055392949Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:17 grafana | logger=migrator t=2023-11-27T11:36:11.056553135Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.162346ms policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:17 grafana | logger=migrator t=2023-11-27T11:36:11.061595291Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:17 grafana | logger=migrator t=2023-11-27T11:36:11.069714752Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=8.121301ms policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:17 grafana | logger=migrator t=2023-11-27T11:36:11.07348933Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:17 grafana | logger=migrator t=2023-11-27T11:36:11.073550081Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=60.791µs grafana | logger=migrator t=2023-11-27T11:36:11.078745297Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2023-11-27T11:36:11.084800977Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.08794ms grafana | logger=migrator t=2023-11-27T11:36:11.089372581Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2023-11-27T11:36:11.090351505Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=978.844µs grafana | logger=migrator t=2023-11-27T11:36:11.093659603Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2023-11-27T11:36:11.101823184Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=8.162071ms grafana | logger=migrator t=2023-11-27T11:36:11.109408722Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2023-11-27T11:36:11.110105925Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=697.143µs grafana | logger=migrator t=2023-11-27T11:36:11.114183795Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2023-11-27T11:36:11.115659902Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.475467ms grafana | logger=migrator t=2023-11-27T11:36:11.121292891Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2023-11-27T11:36:11.130572538Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=9.279147ms grafana | logger=migrator t=2023-11-27T11:36:11.135203761Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2023-11-27T11:36:11.135703034Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=501.423µs grafana | logger=migrator t=2023-11-27T11:36:11.139801304Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2023-11-27T11:36:11.141383482Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.581298ms grafana | logger=migrator t=2023-11-27T11:36:11.147873015Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2023-11-27T11:36:11.149077441Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.203276ms grafana | logger=migrator t=2023-11-27T11:36:11.152269397Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2023-11-27T11:36:11.153957766Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.687869ms grafana | logger=migrator t=2023-11-27T11:36:11.160221917Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2023-11-27T11:36:11.160281047Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=60.34µs grafana | logger=migrator t=2023-11-27T11:36:11.164611449Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2023-11-27T11:36:11.166007506Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.395508ms grafana | logger=migrator t=2023-11-27T11:36:11.169703185Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:17 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:17 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:17 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:17 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:17 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:17 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:17 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:17 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:17 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:17 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:17 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:17 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:18 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:18 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:18 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:18 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:18 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:18 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:18 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:18 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:18 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:18 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:18 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:18 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:18 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:18 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:18 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:18 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:18 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:18 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:18 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:18 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:18 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:18 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:18 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:18 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:18 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:18 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:18 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:19 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:19 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:19 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:19 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:19 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:19 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:19 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:19 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2711231136150800u 1 2023-11-27 11:36:19 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2711231136150900u 1 2023-11-27 11:36:19 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2711231136150900u 1 2023-11-27 11:36:19 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2711231136150900u 1 2023-11-27 11:36:19 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2711231136150900u 1 2023-11-27 11:36:19 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2711231136150900u 1 2023-11-27 11:36:19 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2711231136150900u 1 2023-11-27 11:36:19 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2711231136150900u 1 2023-11-27 11:36:19 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2711231136150900u 1 2023-11-27 11:36:19 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2711231136150900u 1 2023-11-27 11:36:19 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2711231136150900u 1 2023-11-27 11:36:19 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2711231136150900u 1 2023-11-27 11:36:19 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2711231136150900u 1 2023-11-27 11:36:19 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2711231136150900u 1 2023-11-27 11:36:19 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2711231136151000u 1 2023-11-27 11:36:20 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2711231136151000u 1 2023-11-27 11:36:20 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2711231136151000u 1 2023-11-27 11:36:20 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2711231136151000u 1 2023-11-27 11:36:20 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2711231136151000u 1 2023-11-27 11:36:20 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2711231136151000u 1 2023-11-27 11:36:20 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2711231136151000u 1 2023-11-27 11:36:20 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2711231136151000u 1 2023-11-27 11:36:20 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2711231136151000u 1 2023-11-27 11:36:20 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2711231136151100u 1 2023-11-27 11:36:20 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2711231136151200u 1 2023-11-27 11:36:20 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2711231136151200u 1 2023-11-27 11:36:20 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2711231136151200u 1 2023-11-27 11:36:20 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2711231136151200u 1 2023-11-27 11:36:20 policy-db-migrator | policyadmin: OK @ 1200 grafana | logger=migrator t=2023-11-27T11:36:11.171468553Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.767548ms grafana | logger=migrator t=2023-11-27T11:36:11.176189958Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2023-11-27T11:36:11.176554499Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2023-11-27T11:36:11.180835051Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2023-11-27T11:36:11.181181942Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=346.751µs grafana | logger=migrator t=2023-11-27T11:36:11.184914321Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2023-11-27T11:36:11.186490219Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.572958ms grafana | logger=migrator t=2023-11-27T11:36:11.192165928Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2023-11-27T11:36:11.19864753Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.484582ms grafana | logger=migrator t=2023-11-27T11:36:11.202460709Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2023-11-27T11:36:11.203274623Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=814.764µs grafana | logger=migrator t=2023-11-27T11:36:11.207922377Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2023-11-27T11:36:11.209767927Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.84499ms grafana | logger=migrator t=2023-11-27T11:36:11.215611966Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2023-11-27T11:36:11.216778302Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.165916ms grafana | logger=migrator t=2023-11-27T11:36:11.220245329Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2023-11-27T11:36:11.222015457Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.768478ms grafana | logger=migrator t=2023-11-27T11:36:11.226656142Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2023-11-27T11:36:11.227638356Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=981.914µs grafana | logger=migrator t=2023-11-27T11:36:11.233478396Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2023-11-27T11:36:11.233519766Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=40.03µs grafana | logger=migrator t=2023-11-27T11:36:11.240030898Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2023-11-27T11:36:11.240200239Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=169.891µs grafana | logger=migrator t=2023-11-27T11:36:11.244581141Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2023-11-27T11:36:11.244982004Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=400.893µs grafana | logger=migrator t=2023-11-27T11:36:11.251107854Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2023-11-27T11:36:11.252572081Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.460167ms grafana | logger=migrator t=2023-11-27T11:36:11.256370321Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2023-11-27T11:36:11.257504556Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.131135ms grafana | logger=migrator t=2023-11-27T11:36:11.261481867Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2023-11-27T11:36:11.306581864Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=45.101237ms grafana | logger=migrator t=2023-11-27T11:36:11.310559564Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2023-11-27T11:36:11.317352887Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=6.792893ms grafana | logger=migrator t=2023-11-27T11:36:11.324490154Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2023-11-27T11:36:11.324623764Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=133.74µs grafana | logger=migrator t=2023-11-27T11:36:11.330376683Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2023-11-27T11:36:11.374987618Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=44.610815ms grafana | logger=migrator t=2023-11-27T11:36:11.378699926Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2023-11-27T11:36:11.423665642Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=44.965316ms grafana | logger=migrator t=2023-11-27T11:36:11.429597342Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2023-11-27T11:36:11.430134565Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=537.013µs grafana | logger=migrator t=2023-11-27T11:36:11.433714143Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2023-11-27T11:36:11.434691247Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=978.054µs grafana | logger=migrator t=2023-11-27T11:36:11.437815164Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2023-11-27T11:36:11.438012465Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=197.441µs grafana | logger=migrator t=2023-11-27T11:36:11.443398321Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2023-11-27T11:36:11.444174125Z level=info msg="Migration successfully executed" id="create permission table" duration=775.544µs grafana | logger=migrator t=2023-11-27T11:36:11.450087315Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2023-11-27T11:36:11.451361811Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.274376ms grafana | logger=migrator t=2023-11-27T11:36:11.454480157Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2023-11-27T11:36:11.455638103Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.157566ms grafana | logger=migrator t=2023-11-27T11:36:11.45886204Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2023-11-27T11:36:11.460340737Z level=info msg="Migration successfully executed" id="create role table" duration=1.477877ms grafana | logger=migrator t=2023-11-27T11:36:11.465604843Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2023-11-27T11:36:11.473052161Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.448198ms grafana | logger=migrator t=2023-11-27T11:36:11.476247347Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2023-11-27T11:36:11.482375887Z level=info msg="Migration successfully executed" id="add column group_name" duration=6.12839ms grafana | logger=migrator t=2023-11-27T11:36:11.487678614Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2023-11-27T11:36:11.48873417Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.055606ms grafana | logger=migrator t=2023-11-27T11:36:11.491710364Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2023-11-27T11:36:11.494670449Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=2.958185ms grafana | logger=migrator t=2023-11-27T11:36:11.49874847Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2023-11-27T11:36:11.500631109Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.882159ms grafana | logger=migrator t=2023-11-27T11:36:11.504150787Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2023-11-27T11:36:11.505087862Z level=info msg="Migration successfully executed" id="create team role table" duration=937.655µs grafana | logger=migrator t=2023-11-27T11:36:11.509623285Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2023-11-27T11:36:11.511884825Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=2.26037ms grafana | logger=migrator t=2023-11-27T11:36:11.516080807Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2023-11-27T11:36:11.518391289Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=2.308752ms grafana | logger=migrator t=2023-11-27T11:36:11.523722696Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2023-11-27T11:36:11.524826571Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.103605ms grafana | logger=migrator t=2023-11-27T11:36:11.528163688Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2023-11-27T11:36:11.528955592Z level=info msg="Migration successfully executed" id="create user role table" duration=791.344µs grafana | logger=migrator t=2023-11-27T11:36:11.532581Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2023-11-27T11:36:11.533628205Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.047335ms grafana | logger=migrator t=2023-11-27T11:36:11.537122963Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2023-11-27T11:36:11.538809622Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.685629ms grafana | logger=migrator t=2023-11-27T11:36:11.54842258Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2023-11-27T11:36:11.549714116Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.291376ms grafana | logger=migrator t=2023-11-27T11:36:11.559307634Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2023-11-27T11:36:11.561232205Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.926531ms grafana | logger=migrator t=2023-11-27T11:36:11.572644412Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2023-11-27T11:36:11.574037589Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.395097ms grafana | logger=migrator t=2023-11-27T11:36:11.585450676Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2023-11-27T11:36:11.58817563Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=2.727594ms grafana | logger=migrator t=2023-11-27T11:36:11.599037135Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2023-11-27T11:36:11.610012369Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=10.974834ms grafana | logger=migrator t=2023-11-27T11:36:11.621354207Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2023-11-27T11:36:11.623044875Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.675648ms grafana | logger=migrator t=2023-11-27T11:36:11.626543632Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2023-11-27T11:36:11.631502228Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=4.958616ms grafana | logger=migrator t=2023-11-27T11:36:11.637279597Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2023-11-27T11:36:11.638366362Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.084185ms grafana | logger=migrator t=2023-11-27T11:36:11.644448443Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2023-11-27T11:36:11.64590087Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.450467ms grafana | logger=migrator t=2023-11-27T11:36:11.649345808Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2023-11-27T11:36:11.650222992Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=876.654µs grafana | logger=migrator t=2023-11-27T11:36:11.65367871Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2023-11-27T11:36:11.654827576Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.148736ms grafana | logger=migrator t=2023-11-27T11:36:11.659073157Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2023-11-27T11:36:11.666931686Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=7.857759ms grafana | logger=migrator t=2023-11-27T11:36:11.670186152Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2023-11-27T11:36:11.678360663Z level=info msg="Migration successfully executed" id="permission kind migration" duration=8.174641ms grafana | logger=migrator t=2023-11-27T11:36:11.68170022Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2023-11-27T11:36:11.68756471Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=5.86268ms grafana | logger=migrator t=2023-11-27T11:36:11.692777446Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2023-11-27T11:36:11.699859822Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.083276ms grafana | logger=migrator t=2023-11-27T11:36:11.703309009Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2023-11-27T11:36:11.704616795Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.332546ms grafana | logger=migrator t=2023-11-27T11:36:11.708108434Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2023-11-27T11:36:11.709292349Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.183265ms grafana | logger=migrator t=2023-11-27T11:36:11.714549595Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2023-11-27T11:36:11.715690961Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.108676ms grafana | logger=migrator t=2023-11-27T11:36:11.719810762Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2023-11-27T11:36:11.719873152Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=63.08µs grafana | logger=migrator t=2023-11-27T11:36:11.724513486Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2023-11-27T11:36:11.724573376Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=61.08µs grafana | logger=migrator t=2023-11-27T11:36:11.729635722Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2023-11-27T11:36:11.730676947Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=1.041245ms grafana | logger=migrator t=2023-11-27T11:36:11.7352241Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2023-11-27T11:36:11.736175355Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=952.655µs grafana | logger=migrator t=2023-11-27T11:36:11.741189179Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2023-11-27T11:36:11.741881593Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=692.304µs grafana | logger=migrator t=2023-11-27T11:36:11.745946284Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2023-11-27T11:36:11.746200825Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=254.151µs grafana | logger=migrator t=2023-11-27T11:36:11.751918274Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2023-11-27T11:36:11.752514276Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=601.782µs grafana | logger=migrator t=2023-11-27T11:36:11.757804423Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2023-11-27T11:36:11.759441361Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.634978ms grafana | logger=migrator t=2023-11-27T11:36:11.764132726Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2023-11-27T11:36:11.76524492Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.112094ms grafana | logger=migrator t=2023-11-27T11:36:11.76912991Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2023-11-27T11:36:11.777725233Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.594793ms grafana | logger=migrator t=2023-11-27T11:36:11.784057546Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2023-11-27T11:36:11.784166036Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=108.99µs grafana | logger=migrator t=2023-11-27T11:36:11.788722849Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2023-11-27T11:36:11.789702414Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=979.005µs grafana | logger=migrator t=2023-11-27T11:36:11.793275471Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2023-11-27T11:36:11.794454177Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.178726ms grafana | logger=migrator t=2023-11-27T11:36:11.800326256Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2023-11-27T11:36:11.801403312Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.074606ms grafana | logger=migrator t=2023-11-27T11:36:11.805116521Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2023-11-27T11:36:11.817494284Z level=info msg="Migration successfully executed" id="add correlation config column" duration=12.379473ms grafana | logger=migrator t=2023-11-27T11:36:11.820620219Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2023-11-27T11:36:11.821586305Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=969.506µs grafana | logger=migrator t=2023-11-27T11:36:11.825730325Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2023-11-27T11:36:11.82682161Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.091905ms grafana | logger=migrator t=2023-11-27T11:36:11.830267678Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-27T11:36:11.859876737Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=29.609029ms grafana | logger=migrator t=2023-11-27T11:36:11.864278429Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2023-11-27T11:36:11.865048603Z level=info msg="Migration successfully executed" id="create correlation v2" duration=769.694µs grafana | logger=migrator t=2023-11-27T11:36:11.86842692Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2023-11-27T11:36:11.870347199Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.920129ms grafana | logger=migrator t=2023-11-27T11:36:11.874180898Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2023-11-27T11:36:11.875456935Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.273987ms grafana | logger=migrator t=2023-11-27T11:36:11.880504551Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2023-11-27T11:36:11.8823587Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.852609ms grafana | logger=migrator t=2023-11-27T11:36:11.886993633Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2023-11-27T11:36:11.887480926Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=486.823µs grafana | logger=migrator t=2023-11-27T11:36:11.895152704Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2023-11-27T11:36:11.896143229Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=993.225µs grafana | logger=migrator t=2023-11-27T11:36:11.899640876Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2023-11-27T11:36:11.905690757Z level=info msg="Migration successfully executed" id="add provisioning column" duration=6.049431ms grafana | logger=migrator t=2023-11-27T11:36:11.908385961Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2023-11-27T11:36:11.908983384Z level=info msg="Migration successfully executed" id="create entity_events table" duration=596.893µs grafana | logger=migrator t=2023-11-27T11:36:11.912879213Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2023-11-27T11:36:11.913762617Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=882.634µs grafana | logger=migrator t=2023-11-27T11:36:11.916994874Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-27T11:36:11.917570637Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-27T11:36:11.921028855Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-27T11:36:11.921511367Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-27T11:36:11.924913163Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2023-11-27T11:36:11.925763248Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=849.805µs grafana | logger=migrator t=2023-11-27T11:36:11.930353311Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2023-11-27T11:36:11.931816218Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.460497ms grafana | logger=migrator t=2023-11-27T11:36:11.935797869Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-27T11:36:11.937730679Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.93264ms grafana | logger=migrator t=2023-11-27T11:36:11.94206999Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-27T11:36:11.943118085Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.048095ms grafana | logger=migrator t=2023-11-27T11:36:11.946466202Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-11-27T11:36:11.94804509Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.577258ms grafana | logger=migrator t=2023-11-27T11:36:11.951783849Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-11-27T11:36:11.953576528Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.792449ms grafana | logger=migrator t=2023-11-27T11:36:11.958089441Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2023-11-27T11:36:11.959046266Z level=info msg="Migration successfully executed" id="Drop public config table" duration=956.615µs grafana | logger=migrator t=2023-11-27T11:36:11.962517073Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2023-11-27T11:36:11.963571528Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.053775ms grafana | logger=migrator t=2023-11-27T11:36:11.967715159Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-11-27T11:36:11.968826355Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.108116ms grafana | logger=migrator t=2023-11-27T11:36:11.972203181Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-11-27T11:36:11.973694709Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.489798ms grafana | logger=migrator t=2023-11-27T11:36:11.977393148Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2023-11-27T11:36:11.979054926Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.661318ms grafana | logger=migrator t=2023-11-27T11:36:11.983146477Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2023-11-27T11:36:12.016432846Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=33.285369ms grafana | logger=migrator t=2023-11-27T11:36:12.019693562Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2023-11-27T11:36:12.027263462Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=7.56913ms grafana | logger=migrator t=2023-11-27T11:36:12.030425308Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2023-11-27T11:36:12.03864246Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.217282ms grafana | logger=migrator t=2023-11-27T11:36:12.043319774Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2023-11-27T11:36:12.043486705Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=166.811µs grafana | logger=migrator t=2023-11-27T11:36:12.046645131Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2023-11-27T11:36:12.059303407Z level=info msg="Migration successfully executed" id="add share column" duration=12.657956ms grafana | logger=migrator t=2023-11-27T11:36:12.062146951Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2023-11-27T11:36:12.062365713Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=221.382µs grafana | logger=migrator t=2023-11-27T11:36:12.067548269Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2023-11-27T11:36:12.068970287Z level=info msg="Migration successfully executed" id="create file table" duration=1.421388ms grafana | logger=migrator t=2023-11-27T11:36:12.072249924Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2023-11-27T11:36:12.074011083Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.760669ms grafana | logger=migrator t=2023-11-27T11:36:12.077240929Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2023-11-27T11:36:12.078356935Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.115666ms grafana | logger=migrator t=2023-11-27T11:36:12.083703693Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2023-11-27T11:36:12.08497263Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.264977ms grafana | logger=migrator t=2023-11-27T11:36:12.088422077Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2023-11-27T11:36:12.090426788Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=2.004351ms grafana | logger=migrator t=2023-11-27T11:36:12.095315733Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2023-11-27T11:36:12.095384963Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=67.84µs grafana | logger=migrator t=2023-11-27T11:36:12.099999986Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2023-11-27T11:36:12.100186308Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=185.592µs grafana | logger=migrator t=2023-11-27T11:36:12.103890237Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2023-11-27T11:36:12.104800092Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=909.485µs grafana | logger=migrator t=2023-11-27T11:36:12.108103299Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2023-11-27T11:36:12.10840152Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=272.141µs grafana | logger=migrator t=2023-11-27T11:36:12.111273836Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2023-11-27T11:36:12.112112969Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=838.813µs grafana | logger=migrator t=2023-11-27T11:36:12.117049125Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2023-11-27T11:36:12.12583424Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.784525ms grafana | logger=migrator t=2023-11-27T11:36:12.129001556Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2023-11-27T11:36:12.129235798Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=233.581µs grafana | logger=migrator t=2023-11-27T11:36:12.132277604Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2023-11-27T11:36:12.133421869Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.144055ms grafana | logger=migrator t=2023-11-27T11:36:12.136570446Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2023-11-27T11:36:12.137021438Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=451.862µs grafana | logger=migrator t=2023-11-27T11:36:12.141637302Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2023-11-27T11:36:12.141905433Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=267.211µs grafana | logger=migrator t=2023-11-27T11:36:12.144261125Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2023-11-27T11:36:12.14507433Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=812.195µs grafana | logger=migrator t=2023-11-27T11:36:12.148625168Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2023-11-27T11:36:12.15876474Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=10.140232ms grafana | logger=migrator t=2023-11-27T11:36:12.161828297Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2023-11-27T11:36:12.168037348Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.208271ms grafana | logger=migrator t=2023-11-27T11:36:12.173108485Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2023-11-27T11:36:12.17419851Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.090035ms grafana | logger=migrator t=2023-11-27T11:36:12.177618408Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2023-11-27T11:36:12.283895816Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=106.273348ms grafana | logger=migrator t=2023-11-27T11:36:12.287924947Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2023-11-27T11:36:12.288912692Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=988.615µs grafana | logger=migrator t=2023-11-27T11:36:12.294178589Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2023-11-27T11:36:12.295421586Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.242677ms grafana | logger=migrator t=2023-11-27T11:36:12.298617872Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2023-11-27T11:36:12.334912579Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=36.292627ms grafana | logger=migrator t=2023-11-27T11:36:12.340731039Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2023-11-27T11:36:12.340971721Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=237.652µs grafana | logger=migrator t=2023-11-27T11:36:12.343699425Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2023-11-27T11:36:12.343904326Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=204.491µs grafana | logger=migrator t=2023-11-27T11:36:12.346669561Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2023-11-27T11:36:12.347133993Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=464.202µs grafana | logger=migrator t=2023-11-27T11:36:12.350115658Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2023-11-27T11:36:12.351183034Z level=info msg="Migration successfully executed" id="create folder table" duration=1.064136ms grafana | logger=migrator t=2023-11-27T11:36:12.356058198Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2023-11-27T11:36:12.357314115Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.256857ms grafana | logger=migrator t=2023-11-27T11:36:12.36027541Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2023-11-27T11:36:12.36206392Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.78725ms grafana | logger=migrator t=2023-11-27T11:36:12.367702219Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2023-11-27T11:36:12.367743949Z level=info msg="Migration successfully executed" id="Update folder title length" duration=42.91µs grafana | logger=migrator t=2023-11-27T11:36:12.371151556Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-11-27T11:36:12.372459883Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.309627ms grafana | logger=migrator t=2023-11-27T11:36:12.3757611Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-11-27T11:36:12.376979146Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.219136ms grafana | logger=migrator t=2023-11-27T11:36:12.381562531Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2023-11-27T11:36:12.382784576Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.222265ms grafana | logger=migrator t=2023-11-27T11:36:12.386080664Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2023-11-27T11:36:12.387041158Z level=info msg="Migration successfully executed" id="create anon_device table" duration=960.414µs grafana | logger=migrator t=2023-11-27T11:36:12.39122126Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2023-11-27T11:36:12.392560607Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.338797ms grafana | logger=migrator t=2023-11-27T11:36:12.396241046Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2023-11-27T11:36:12.397496693Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.254937ms grafana | logger=migrator t=2023-11-27T11:36:12.401421353Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2023-11-27T11:36:12.40268498Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.262407ms grafana | logger=migrator t=2023-11-27T11:36:12.407570825Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2023-11-27T11:36:12.409573585Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=2.002631ms grafana | logger=migrator t=2023-11-27T11:36:12.413312534Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2023-11-27T11:36:12.414575691Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.262307ms grafana | logger=migrator t=2023-11-27T11:36:12.418404641Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2023-11-27T11:36:12.418782282Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=380.121µs grafana | logger=migrator t=2023-11-27T11:36:12.422997024Z level=info msg="migrations completed" performed=517 skipped=0 duration=3.685814543s grafana | logger=sqlstore t=2023-11-27T11:36:12.432387583Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2023-11-27T11:36:12.432739064Z level=info msg="Created default organization" grafana | logger=secrets t=2023-11-27T11:36:12.436301923Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=local.finder t=2023-11-27T11:36:12.500970797Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=query_data t=2023-11-27T11:36:12.503659891Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2023-11-27T11:36:12.507666932Z level=info msg="Live Push Gateway initialization" grafana | logger=infra.usagestats.collector t=2023-11-27T11:36:14.704336267Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2023-11-27T11:36:14.706219906Z level=info msg="inserting datasource from configuration " name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2023-11-27T11:36:14.717821647Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2023-11-27T11:36:14.717843357Z level=info msg="finished to provision alerting" grafana | logger=ngalert.state.manager t=2023-11-27T11:36:14.719006653Z level=info msg="Warming state cache for startup" grafana | logger=grafanaStorageLogger t=2023-11-27T11:36:14.719019633Z level=info msg="Storage starting" grafana | logger=ngalert.migration t=2023-11-27T11:36:14.730026961Z level=info msg=Starting grafana | logger=ngalert.migration t=2023-11-27T11:36:14.730746344Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-11-27T11:36:14.731041687Z level=info msg="Migrating alerts for organisation" grafana | logger=http.server t=2023-11-27T11:36:14.732894226Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=ngalert.migration orgID=1 t=2023-11-27T11:36:14.736912017Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-11-27T11:36:14.73746525Z level=warn msg="No available receivers" grafana | logger=sqlstore.transactions t=2023-11-27T11:36:14.750212406Z level=info msg="Database locked, sleeping then retrying" error="executing migration: database is locked" retry=0 code="database is locked" grafana | logger=grafana.update.checker t=2023-11-27T11:36:14.76440694Z level=info msg="Update check succeeded" duration=44.376671ms grafana | logger=ngalert.state.manager t=2023-11-27T11:36:14.779851721Z level=info msg="State cache has been initialized" states=0 duration=60.848428ms grafana | logger=ngalert.scheduler t=2023-11-27T11:36:14.779909292Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2023-11-27T11:36:14.780049153Z level=info msg=starting first_tick=2023-11-27T11:36:20Z grafana | logger=ngalert.multiorg.alertmanager t=2023-11-27T11:36:14.780040623Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=ngalert.migration t=2023-11-27T11:36:14.786942089Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-11-27T11:36:14.787321401Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-11-27T11:36:14.788011714Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-11-27T11:36:14.788775599Z level=warn msg="No available receivers" grafana | logger=sqlstore.transactions t=2023-11-27T11:36:14.790201616Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=ngalert.migration t=2023-11-27T11:36:14.791615023Z level=info msg="Completed legacy migration" grafana | logger=sqlstore.transactions t=2023-11-27T11:36:14.801947427Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" grafana | logger=plugins.update.checker t=2023-11-27T11:36:14.802000217Z level=info msg="Update check succeeded" duration=80.701502ms grafana | logger=infra.usagestats t=2023-11-27T11:37:29.733778093Z 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 prometheus ... Stopping mariadb ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing prometheus ... Removing mariadb ... Removing prometheus ... done Removing policy-api ... done Removing policy-db-migrator ... done Removing grafana ... done Removing mariadb ... done Removing network compose_default ++ cd /w/workspace/policy-api-london-project-csit-api + load_set + _setopts=hxB ++ 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 ++ sed 's/./& /g' ++ echo hxB + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.FUlc48S5zl ]] + rsync -av /tmp/tmp.FUlc48S5zl/ /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,347,546 bytes received 95 bytes 2,695,282.00 bytes/sec total size is 1,346,900 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 2023 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/jenkins3736689813976320876.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins4877847551995179106.sh ---> package-listing.sh ++ tr '[:upper:]' '[:lower:]' ++ facter osfamily + 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/jenkins4415919948374730293.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-qHJg from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-qHJg/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins8949618962352371759.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config12756438552542567549tmp 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/jenkins5346636423656914585.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins4267345794055402527.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-qHJg from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-qHJg/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins10776030660191533068.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins2605087397140448485.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-qHJg 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-qHJg/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/jenkins12403589330122509152.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-qHJg from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-qHJg/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/192 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-5136 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 824 27430 0 3912 30886 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:18:65:7f brd ff:ff:ff:ff:ff:ff inet 10.30.106.146/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86072sec preferred_lft 86072sec inet6 fe80::f816:3eff:fe18:657f/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:23:d8:77:36 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-5136) 11/27/23 _x86_64_ (8 CPU) 11:33:24 LINUX RESTART (8 CPU) 11:34:02 tps rtps wtps bread/s bwrtn/s 11:35:01 133.20 18.03 115.17 1039.15 79600.20 11:36:01 152.71 23.03 129.68 2761.01 57078.22 11:37:01 352.89 12.75 340.14 821.20 59727.25 11:38:01 24.95 0.08 24.86 14.40 1538.39 Average: 166.07 13.45 152.62 1159.44 49360.04 11:34:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:35:01 30112004 31728740 2827216 8.58 70684 1855380 1383088 4.07 852168 1688756 175888 11:36:01 28292144 31667820 4647076 14.11 108572 3517224 1563384 4.60 997064 3254652 1469084 11:37:01 26934756 30529996 6004464 18.23 125828 3671616 4641068 13.66 2219848 3341836 84 11:38:01 27131268 30749404 5807952 17.63 126144 3698824 3028216 8.91 2024892 3353608 232 Average: 28117543 31168990 4821677 14.64 107807 3185761 2653939 7.81 1523493 2909713 411322 11:34:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:35:01 lo 1.49 1.49 0.16 0.16 0.00 0.00 0.00 0.00 11:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 ens3 60.09 39.94 991.65 7.39 0.00 0.00 0.00 0.00 11:36:01 lo 9.33 9.33 0.86 0.86 0.00 0.00 0.00 0.00 11:36:01 br-0342e32c14e7 0.00 0.00 0.00 0.00 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 ens3 307.92 198.17 9264.31 18.85 0.00 0.00 0.00 0.00 11:37:01 lo 8.32 8.32 8.20 8.20 0.00 0.00 0.00 0.00 11:37:01 veth7422c9c 0.13 0.43 0.01 0.27 0.00 0.00 0.00 0.00 11:37:01 veth8cfaeda 119.20 149.18 119.65 44.70 0.00 0.00 0.00 0.01 11:37:01 br-0342e32c14e7 3.57 4.05 5.94 2.52 0.00 0.00 0.00 0.00 11:38:01 lo 10.40 10.40 0.80 0.80 0.00 0.00 0.00 0.00 11:38:01 br-0342e32c14e7 1.87 2.08 0.15 0.20 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 ens3 643.64 454.14 11011.89 90.69 0.00 0.00 0.00 0.00 Average: lo 7.41 7.41 2.51 2.51 0.00 0.00 0.00 0.00 Average: br-0342e32c14e7 1.36 1.54 1.53 0.68 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: ens3 96.99 64.60 2573.17 8.81 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-5136) 11/27/23 _x86_64_ (8 CPU) 11:33:24 LINUX RESTART (8 CPU) 11:34:02 CPU %user %nice %system %iowait %steal %idle 11:35:01 all 9.85 0.00 0.73 3.82 0.03 85.57 11:35:01 0 0.56 0.00 0.29 0.10 0.02 99.03 11:35:01 1 12.42 0.00 0.78 0.42 0.02 86.36 11:35:01 2 28.96 0.00 1.71 4.50 0.05 64.78 11:35:01 3 1.45 0.00 0.41 23.41 0.03 74.71 11:35:01 4 21.82 0.00 1.22 0.68 0.05 76.22 11:35:01 5 4.30 0.00 0.53 0.99 0.07 94.11 11:35:01 6 8.18 0.00 0.56 0.12 0.02 91.12 11:35:01 7 1.05 0.00 0.31 0.37 0.02 98.25 11:36:01 all 12.33 0.00 2.77 1.05 0.05 83.79 11:36:01 0 11.04 0.00 2.68 0.10 0.03 86.15 11:36:01 1 10.40 0.00 2.65 1.04 0.03 85.87 11:36:01 2 7.11 0.00 1.97 0.45 0.03 90.44 11:36:01 3 6.03 0.00 2.16 4.00 0.03 87.78 11:36:01 4 19.13 0.00 3.10 1.26 0.08 76.42 11:36:01 5 6.40 0.00 2.65 0.84 0.05 90.06 11:36:01 6 26.24 0.00 2.67 0.39 0.07 70.63 11:36:01 7 12.36 0.00 4.32 0.34 0.05 82.93 11:37:01 all 17.53 0.00 2.52 1.69 0.06 78.19 11:37:01 0 11.57 0.00 1.71 2.84 0.07 83.82 11:37:01 1 16.22 0.00 3.46 5.88 0.07 74.37 11:37:01 2 22.07 0.00 2.92 1.68 0.05 73.29 11:37:01 3 19.32 0.00 2.75 0.62 0.07 77.25 11:37:01 4 16.70 0.00 2.41 1.06 0.05 79.78 11:37:01 5 16.01 0.00 2.44 0.75 0.03 80.76 11:37:01 6 17.22 0.00 1.88 0.37 0.07 80.46 11:37:01 7 21.16 0.00 2.63 0.35 0.07 75.79 11:38:01 all 0.73 0.00 0.26 0.07 0.03 98.91 11:38:01 0 1.03 0.00 0.40 0.12 0.07 98.38 11:38:01 1 0.45 0.00 0.30 0.08 0.02 99.15 11:38:01 2 1.48 0.00 0.28 0.17 0.03 98.03 11:38:01 3 1.03 0.00 0.20 0.00 0.00 98.77 11:38:01 4 0.28 0.00 0.22 0.08 0.03 99.38 11:38:01 5 0.60 0.00 0.22 0.00 0.02 99.17 11:38:01 6 0.53 0.00 0.13 0.02 0.03 99.28 11:38:01 7 0.43 0.00 0.27 0.10 0.02 99.18 Average: all 10.10 0.00 1.57 1.65 0.04 86.64 Average: 0 6.06 0.00 1.27 0.79 0.05 91.83 Average: 1 9.85 0.00 1.80 1.86 0.03 86.46 Average: 2 14.85 0.00 1.72 1.69 0.04 81.70 Average: 3 6.97 0.00 1.38 6.93 0.03 84.68 Average: 4 14.44 0.00 1.74 0.77 0.05 83.00 Average: 5 6.83 0.00 1.46 0.64 0.04 91.02 Average: 6 13.04 0.00 1.31 0.22 0.05 85.38 Average: 7 8.76 0.00 1.88 0.29 0.04 89.03