Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-9140 (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-PcnuOZmMPale/agent.2105 SSH_AGENT_PID=2107 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_514757119097781962.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_514757119097781962.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/jenkins14086786619120630382.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-8vjd 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-8vjd/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.2 from /tmp/venv-8vjd/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.1 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 Babel==2.14.0 beautifulsoup4==4.12.2 boto3==1.34.11 botocore==1.34.11 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.4.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.3.0 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.40 google-auth==2.25.2 httplib2==0.22.0 identify==2.5.33 idna==3.6 importlib-metadata==7.0.1 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.12.1 keystoneauth1==5.4.0 kubernetes==28.1.0 lftools==0.37.8 lxml==5.0.0 MarkupSafe==2.1.3 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==0.10.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==2.9.0 oslo.config==9.2.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.2.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==4.1.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.3.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.32.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.16.2 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.10.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.9.0 tzdata==2023.4 urllib3==1.26.18 virtualenv==20.25.0 wcwidth==0.2.12 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 zipp==3.17.0 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-london-project-csit-api] $ /bin/sh /tmp/jenkins10929963277216545526.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/jenkins3166925685826197846.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.CfFz0T4xPP ++ echo ROBOT_VENV=/tmp/tmp.CfFz0T4xPP +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.CfFz0T4xPP ++ source /tmp/tmp.CfFz0T4xPP/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.CfFz0T4xPP +++ 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.CfFz0T4xPP/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.CfFz0T4xPP) ' '!=' x ']' +++ PS1='(tmp.CfFz0T4xPP) ' +++ 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.9.2 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==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 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.CfFz0T4xPP/src/onap ++ rm -rf /tmp/tmp.CfFz0T4xPP/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.9.2 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==5.0.0 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.4.0 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.CfFz0T4xPP/bin/activate + '[' -z /tmp/tmp.CfFz0T4xPP/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.CfFz0T4xPP/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.CfFz0T4xPP ++ 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.CfFz0T4xPP/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.CfFz0T4xPP) ' ++ '[' 'x(tmp.CfFz0T4xPP) ' '!=' x ']' ++ PS1='(tmp.CfFz0T4xPP) (tmp.CfFz0T4xPP) ' ++ 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.0VU6f6sCzz + cd /tmp/tmp.0VU6f6sCzz + 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:a67e5e402ff5410b86ec48b39eab1a3c4df2a7e78a71bf025ec5e32e09090ad4 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... latest: Pulling from grafana/grafana Digest: sha256:6b5b37eb35bbf30e7f64bd7f0fd41c0a5b7637f65d3bf93223b04a192b8bf3e2 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 12 seconds grafana Up 14 seconds mariadb Up 13 seconds prometheus Up 15 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 19 seconds mariadb Up 18 seconds prometheus Up 20 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 24 seconds mariadb Up 23 seconds prometheus Up 25 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 29 seconds mariadb Up 28 seconds prometheus Up 30 seconds NAMES STATUS policy-api Up 30 seconds grafana Up 34 seconds mariadb Up 33 seconds prometheus Up 35 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 ++ 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 + 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:34 up 4 min, 0 users, load average: 2.43, 1.08, 0.43 Tasks: 178 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.0 us, 2.0 sy, 0.0 ni, 83.5 id, 4.5 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 2.0G 25G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 30 seconds grafana Up 35 seconds mariadb Up 34 seconds prometheus Up 36 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 4ea9550bcfc6 policy-api 0.12% 1.006GiB / 31.41GiB 3.20% 1.04MB / 740kB 0B / 0B 50 b590bab55246 grafana 0.02% 52.22MiB / 31.41GiB 0.16% 19kB / 3.23kB 0B / 23.7MB 19 577e8c023dfd mariadb 0.02% 100.4MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11MB / 67.7MB 31 690c36eacbad prometheus 0.31% 18.76MiB / 31.41GiB 0.06% 1.38kB / 0B 229kB / 0B 13 + echo + cd /tmp/tmp.0VU6f6sCzz + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' api-slas.robot' + sed 's|^|/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot' + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ... + relax_set + set +e + set +o pipefail + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ============================================================================== api ============================================================================== api.Api-Test ============================================================================== Healthcheck :: Verify policy api health check | PASS | ------------------------------------------------------------------------------ Statistics :: Verify policy api statistics | PASS | ------------------------------------------------------------------------------ RetrievePolicyTypes :: Retrieve all policy types | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | ------------------------------------------------------------------------------ RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNodeTemplates :: Create node templates in database using spe... | PASS | ------------------------------------------------------------------------------ RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | ------------------------------------------------------------------------------ RetrieveAllPolicies :: Retrieve all policies | PASS | ------------------------------------------------------------------------------ RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | ------------------------------------------------------------------------------ RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | ------------------------------------------------------------------------------ RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | ------------------------------------------------------------------------------ DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ Metrics :: Verify policy-api is exporting prometheus metrics | PASS | ------------------------------------------------------------------------------ api.Api-Test | PASS | 23 tests, 23 passed, 0 failed ============================================================================== api.Api-Slas ============================================================================== WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForStatistics :: Validate statistics response ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ api.Api-Slas | PASS | 10 tests, 10 passed, 0 failed ============================================================================== api | PASS | 33 tests, 33 passed, 0 failed ============================================================================== Output: /tmp/tmp.0VU6f6sCzz/output.xml Log: /tmp/tmp.0VU6f6sCzz/log.html Report: /tmp/tmp.0VU6f6sCzz/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-london-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:37:45 up 5 min, 0 users, load average: 0.93, 0.93, 0.43 Tasks: 171 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.7 us, 1.6 sy, 0.0 ni, 86.0 id, 3.7 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 2.1G 25G 1.0M 3.9G 28G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 4ea9550bcfc6 policy-api 0.11% 1.074GiB / 31.41GiB 3.42% 7.32MB / 2.89MB 0B / 0B 53 b590bab55246 grafana 0.05% 58.75MiB / 31.41GiB 0.18% 20kB / 4.47kB 0B / 23.7MB 19 577e8c023dfd mariadb 0.02% 101.1MiB / 31.41GiB 0.31% 2.75MB / 7.35MB 11MB / 67.8MB 18 690c36eacbad prometheus 0.00% 25.41MiB / 31.41GiB 0.08% 54.4kB / 7.77kB 229kB / 0B 13 + echo + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose ++ cd /w/workspace/policy-api-london-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, policy-db-migrator, grafana, mariadb, prometheus grafana | logger=settings t=2024-01-02T11:35:59.898682789Z level=info msg="Starting Grafana" version=10.2.3 commit=1e84fede543acc892d2a2515187e545eb047f237 branch=HEAD compiled=2023-12-18T15:46:07Z grafana | logger=settings t=2024-01-02T11:35:59.898941283Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-01-02T11:35:59.898955743Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-01-02T11:35:59.898960213Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-01-02T11:35:59.898963213Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-01-02T11:35:59.898968113Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-01-02T11:35:59.898971003Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-01-02T11:35:59.898973753Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-01-02T11:35:59.898976663Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-01-02T11:35:59.899009094Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-01-02T11:35:59.899012824Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-01-02T11:35:59.899015824Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-01-02T11:35:59.899019224Z level=info msg=Target target=[all] grafana | logger=settings t=2024-01-02T11:35:59.899028794Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-01-02T11:35:59.899033134Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-01-02T11:35:59.899035964Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-01-02T11:35:59.899039124Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-01-02T11:35:59.899042264Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-01-02T11:35:59.899046024Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-01-02T11:35:59.899470091Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-01-02T11:35:59.899496361Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-01-02T11:35:59.90012901Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-01-02T11:35:59.901284997Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-01-02T11:35:59.902141Z level=info msg="Migration successfully executed" id="create migration_log table" duration=855.553µs grafana | logger=migrator t=2024-01-02T11:35:59.907083393Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-01-02T11:35:59.90759407Z level=info msg="Migration successfully executed" id="create user table" duration=510.637µs grafana | logger=migrator t=2024-01-02T11:35:59.914329439Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-01-02T11:35:59.915117621Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=788.122µs grafana | logger=migrator t=2024-01-02T11:35:59.919455265Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-01-02T11:35:59.920733134Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.272929ms policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.3:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.5:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v2.7.8) policy-api | policy-api | [2024-01-02T11:36:19.715+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 38 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-01-02T11:36:19.718+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-01-02T11:36:21.070+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-01-02T11:36:21.160+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 78 ms. Found 6 JPA repository interfaces. policy-api | [2024-01-02T11:36:22.259+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-01-02T11:36:22.279+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-01-02T11:36:22.280+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-01-02T11:36:22.280+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2024-01-02T11:36:22.381+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-01-02T11:36:22.381+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2596 ms policy-api | [2024-01-02T11:36:22.903+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-01-02T11:36:22.967+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2024-01-02T11:36:23.189+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2024-01-02T11:36:23.365+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-01-02T11:36:23.488+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-01-02T11:36:23.513+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2024-01-02T11:36:25.039+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2024-01-02T11:36:25.054+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-01-02T11:36:26.210+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-01-02T11:36:27.005+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-01-02T11:36:28.104+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@204bd52d, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@72bf63a, org.springframework.security.web.context.SecurityContextPersistenceFilter@376ba8e3, org.springframework.security.web.header.HeaderWriterFilter@4628344c, org.springframework.security.web.authentication.logout.LogoutFilter@43ee4942, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@5e4874ae, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@2c84d6c4, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@40eb85e9, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@2162b22d, org.springframework.security.web.session.SessionManagementFilter@2692910f, org.springframework.security.web.access.ExceptionTranslationFilter@359ae83a, org.springframework.security.web.access.intercept.AuthorizationFilter@975f349] policy-api | [2024-01-02T11:36:28.264+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 | [2024-01-02T11:36:32.234+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-01-02T11:36:32.263+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-01-02T11:36:32.299+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-01-02T11:36:32.319+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 13.426 seconds (JVM running for 14.065) policy-api | [2024-01-02T11:36:37.784+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-01-02T11:36:37.785+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-01-02T11:36:37.786+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-api | [2024-01-02T11:36:40.179+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-6] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-01-02T11:36:40.311+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2024-01-02T11:36:40.593+00:00|WARN|CommonRestController|http-nio-6969-exec-7] POST /policytypes policy-api | [2024-01-02T11:36:41.750+00:00|WARN|CommonRestController|http-nio-6969-exec-1] POST /policies policy-api | [2024-01-02T11:36:43.799+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-01-02T11:36:44.231+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-01-02T11:36:44.472+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2024-01-02T11:36:44.725+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-01-02T11:36:44.957+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-01-02T11:36:45.183+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2024-01-02T11:35:59.926216455Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-01-02T11:35:59.927361902Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.145216ms grafana | logger=migrator t=2024-01-02T11:35:59.93404034Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-01-02T11:35:59.935236358Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.195748ms grafana | logger=migrator t=2024-01-02T11:35:59.939793685Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-01-02T11:35:59.944389713Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.602188ms grafana | logger=migrator t=2024-01-02T11:35:59.949369916Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-01-02T11:35:59.950131847Z level=info msg="Migration successfully executed" id="create user table v2" duration=761.591µs grafana | logger=migrator t=2024-01-02T11:35:59.954539772Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-01-02T11:35:59.955323024Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=783.142µs grafana | logger=migrator t=2024-01-02T11:35:59.962182275Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-01-02T11:35:59.963424173Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.241848ms grafana | logger=migrator t=2024-01-02T11:35:59.969725736Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-01-02T11:35:59.970491877Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=765.411µs grafana | logger=migrator t=2024-01-02T11:35:59.97471734Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-01-02T11:35:59.97538908Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=675.009µs grafana | logger=migrator t=2024-01-02T11:35:59.982475284Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-01-02T11:35:59.984502464Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=2.02667ms grafana | logger=migrator t=2024-01-02T11:35:59.99034949Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-01-02T11:35:59.99037727Z level=info msg="Migration successfully executed" id="Update user table charset" duration=28.85µs grafana | logger=migrator t=2024-01-02T11:35:59.994380819Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-01-02T11:35:59.995600777Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.219598ms grafana | logger=migrator t=2024-01-02T11:35:59.99982486Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-01-02T11:36:00.000312777Z level=info msg="Migration successfully executed" id="Add missing user data" duration=487.547µs grafana | logger=migrator t=2024-01-02T11:36:00.008183068Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-01-02T11:36:00.010247322Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=2.063894ms grafana | logger=migrator t=2024-01-02T11:36:00.014772305Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-01-02T11:36:00.015624305Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=851.97µs grafana | logger=migrator t=2024-01-02T11:36:00.020820074Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-01-02T11:36:00.02219249Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.369906ms grafana | logger=migrator t=2024-01-02T11:36:00.026251236Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-01-02T11:36:00.036936469Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=10.684453ms grafana | logger=migrator t=2024-01-02T11:36:00.043717576Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-01-02T11:36:00.044617137Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=899.561µs grafana | logger=migrator t=2024-01-02T11:36:00.048656383Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-01-02T11:36:00.050037899Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.378576ms grafana | logger=migrator t=2024-01-02T11:36:00.054961555Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-01-02T11:36:00.05626957Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.308275ms grafana | logger=migrator t=2024-01-02T11:36:00.063913047Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-01-02T11:36:00.064739327Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=826.18µs grafana | logger=migrator t=2024-01-02T11:36:00.069802045Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-01-02T11:36:00.071032859Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.224204ms grafana | logger=migrator t=2024-01-02T11:36:00.075697872Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-01-02T11:36:00.075736153Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=39.691µs grafana | logger=migrator t=2024-01-02T11:36:00.082561471Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-01-02T11:36:00.083783805Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.221874ms grafana | logger=migrator t=2024-01-02T11:36:00.088953214Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-01-02T11:36:00.090090247Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.136803ms grafana | logger=migrator t=2024-01-02T11:36:00.094253445Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-01-02T11:36:00.095540719Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.287224ms grafana | logger=migrator t=2024-01-02T11:36:00.104469082Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-01-02T11:36:00.105589564Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.120892ms grafana | logger=migrator t=2024-01-02T11:36:00.110959266Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-02T11:36:00.117357319Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=6.397553ms grafana | logger=migrator t=2024-01-02T11:36:00.123313467Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-01-02T11:36:00.124835455Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=1.524748ms grafana | logger=migrator t=2024-01-02T11:36:00.133378832Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-01-02T11:36:00.134581426Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.207514ms grafana | logger=migrator t=2024-01-02T11:36:00.139691325Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-01-02T11:36:00.141192262Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.504077ms grafana | logger=migrator t=2024-01-02T11:36:00.14542892Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-01-02T11:36:00.14628348Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=847.54µs grafana | logger=migrator t=2024-01-02T11:36:00.155612117Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-01-02T11:36:00.156439436Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=824.879µs grafana | logger=migrator t=2024-01-02T11:36:00.159944696Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-01-02T11:36:00.160451662Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=506.246µs grafana | logger=migrator t=2024-01-02T11:36:00.16371679Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-01-02T11:36:00.164388027Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=670.827µs grafana | logger=migrator t=2024-01-02T11:36:00.168054079Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-01-02T11:36:00.168552515Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=498.026µs grafana | logger=migrator t=2024-01-02T11:36:00.174389032Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-01-02T11:36:00.175695057Z level=info msg="Migration successfully executed" id="create star table" duration=1.315595ms grafana | logger=migrator t=2024-01-02T11:36:00.179834214Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-01-02T11:36:00.180682854Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=848.27µs grafana | logger=migrator t=2024-01-02T11:36:00.184491657Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-01-02T11:36:00.185258026Z level=info msg="Migration successfully executed" id="create org table v1" duration=765.979µs grafana | logger=migrator t=2024-01-02T11:36:00.264034678Z level=info msg="Executing migration" id="create index UQE_org_name - 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 | 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 | grafana | logger=migrator t=2024-01-02T11:36:00.26596355Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.933992ms grafana | logger=migrator t=2024-01-02T11:36:00.2703374Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-01-02T11:36:00.271562664Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.215434ms grafana | logger=migrator t=2024-01-02T11:36:00.276666122Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-01-02T11:36:00.277553102Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=884.1µs grafana | logger=migrator t=2024-01-02T11:36:00.281617359Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-01-02T11:36:00.282536729Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=919.81µs grafana | logger=migrator t=2024-01-02T11:36:00.288381376Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-01-02T11:36:00.289503369Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.121873ms grafana | logger=migrator t=2024-01-02T11:36:00.294237603Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-01-02T11:36:00.294281174Z level=info msg="Migration successfully executed" id="Update org table charset" duration=54.911µs grafana | logger=migrator t=2024-01-02T11:36:00.298632794Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-01-02T11:36:00.298676044Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=44.97µs grafana | logger=migrator t=2024-01-02T11:36:00.302511298Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-01-02T11:36:00.302800141Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=288.373µs grafana | logger=migrator t=2024-01-02T11:36:00.308936152Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-01-02T11:36:00.31058415Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.649379ms grafana | logger=migrator t=2024-01-02T11:36:00.315434566Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-01-02T11:36:00.317107345Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.672179ms grafana | logger=migrator t=2024-01-02T11:36:00.321620977Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-01-02T11:36:00.322645288Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.023541ms grafana | logger=migrator t=2024-01-02T11:36:00.325991757Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-01-02T11:36:00.326828636Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=833.919µs grafana | logger=migrator t=2024-01-02T11:36:00.3323696Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-01-02T11:36:00.33327161Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=901.75µs grafana | logger=migrator t=2024-01-02T11:36:00.336649759Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-01-02T11:36:00.337722311Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.072142ms grafana | logger=migrator t=2024-01-02T11:36:00.341767277Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-01-02T11:36:00.347951838Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=6.184691ms grafana | logger=migrator t=2024-01-02T11:36:00.355533445Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-01-02T11:36:00.357127893Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=1.594228ms grafana | logger=migrator t=2024-01-02T11:36:00.361170019Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-01-02T11:36:00.362272592Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.104023ms grafana | logger=migrator t=2024-01-02T11:36:00.366107336Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-01-02T11:36:00.366953885Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=846.969µs grafana | logger=migrator t=2024-01-02T11:36:00.37348209Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-01-02T11:36:00.373873145Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=391.065µs grafana | logger=migrator t=2024-01-02T11:36:00.377542807Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-01-02T11:36:00.3786714Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.128253ms grafana | logger=migrator t=2024-01-02T11:36:00.382858297Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-01-02T11:36:00.38305799Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=204.543µs grafana | logger=migrator t=2024-01-02T11:36:00.391222533Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-01-02T11:36:00.394953776Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=3.729673ms grafana | logger=migrator t=2024-01-02T11:36:00.400168096Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-01-02T11:36:00.40227452Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.106604ms grafana | logger=migrator t=2024-01-02T11:36:00.406779161Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-01-02T11:36:00.408863825Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=2.084854ms grafana | logger=migrator t=2024-01-02T11:36:00.415798474Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-01-02T11:36:00.416815276Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.016152ms grafana | logger=migrator t=2024-01-02T11:36:00.421666492Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-01-02T11:36:00.425579686Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=3.912264ms grafana | logger=migrator t=2024-01-02T11:36:00.431749137Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" mariadb | 2024-01-02 11:36:00+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-01-02 11:36:01+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-01-02 11:36:01+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-01-02 11:36:01+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-01-02 11:36:01 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-01-02 11:36:01 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-02 11:36:01 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 | 2024-01-02 11:36:06+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-01-02 11:36:06+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-01-02 11:36:06+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-01-02 11:36:06 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 96 ... mariadb | 2024-01-02 11:36:06 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-01-02 11:36:06 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-01-02 11:36:06 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-01-02 11:36:06 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-01-02 11:36:06 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-01-02 11:36:06 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-02 11:36:06 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-01-02 11:36:06 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-01-02 11:36:06 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-01-02 11:36:06 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-01-02 11:36:06 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-01-02 11:36:06 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-01-02 11:36:06 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-01-02 11:36:06 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-01-02 11:36:06 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-01-02 11:36:06 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-01-02 11:36:06 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-01-02 11:36:06 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2024-01-02 11:36:07+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-01-02 11:36:09+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-01-02 11:36:09+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 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 | grafana | logger=migrator t=2024-01-02T11:36:00.433426786Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.669599ms grafana | logger=migrator t=2024-01-02T11:36:00.439195622Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-01-02T11:36:00.439992421Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=796.079µs grafana | logger=migrator t=2024-01-02T11:36:00.443948097Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-01-02T11:36:00.444010107Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=60.18µs grafana | logger=migrator t=2024-01-02T11:36:00.449170696Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-01-02T11:36:00.449214817Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=45.171µs grafana | logger=migrator t=2024-01-02T11:36:00.45645776Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-01-02T11:36:00.460119242Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.662602ms grafana | logger=migrator t=2024-01-02T11:36:00.678002565Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-01-02T11:36:00.682019881Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=4.016416ms grafana | logger=migrator t=2024-01-02T11:36:00.685975766Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-01-02T11:36:00.688106841Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.130165ms grafana | logger=migrator t=2024-01-02T11:36:00.691739332Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-01-02T11:36:00.693767406Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.027633ms grafana | logger=migrator t=2024-01-02T11:36:00.699797875Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-01-02T11:36:00.700081448Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=283.023µs grafana | logger=migrator t=2024-01-02T11:36:00.707140309Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-01-02T11:36:00.708851608Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.71366ms grafana | logger=migrator t=2024-01-02T11:36:00.714569924Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-01-02T11:36:00.715364843Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=803.51µs grafana | logger=migrator t=2024-01-02T11:36:00.719001834Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-01-02T11:36:00.719029135Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=28.061µs grafana | logger=migrator t=2024-01-02T11:36:00.722504784Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-01-02T11:36:00.723777619Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.271985ms grafana | logger=migrator t=2024-01-02T11:36:00.729545125Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-01-02T11:36:00.730523416Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=978.221µs grafana | logger=migrator t=2024-01-02T11:36:00.734028596Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-02T11:36:00.743622126Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=9.59376ms grafana | logger=migrator t=2024-01-02T11:36:00.747898235Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-01-02T11:36:00.748595413Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=697.058µs grafana | logger=migrator t=2024-01-02T11:36:00.75442561Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-01-02T11:36:00.755199789Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=778.689µs grafana | logger=migrator t=2024-01-02T11:36:00.758189273Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-01-02T11:36:00.759029402Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=839.799µs grafana | logger=migrator t=2024-01-02T11:36:00.762007896Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-01-02T11:36:00.76231645Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=308.574µs grafana | logger=migrator t=2024-01-02T11:36:00.766950703Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-01-02T11:36:00.767851173Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=899.79µs grafana | logger=migrator t=2024-01-02T11:36:00.772336825Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-01-02T11:36:00.77544961Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.111865ms grafana | logger=migrator t=2024-01-02T11:36:00.779604728Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-01-02T11:36:00.780830682Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=1.225914ms policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0450-pdpgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- mariadb | 2024-01-02 11:36:09+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | 2024-01-02 11:36:09+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2024-01-02 11:36:10+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-01-02 11:36:10 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-01-02 11:36:10 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-01-02 11:36:10 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-01-02 11:36:10 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-01-02 11:36:10 0 [Note] InnoDB: Buffer pool(s) dump completed at 240102 11:36:10 mariadb | 2024-01-02 11:36:10 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-01-02 11:36:10 0 [Note] InnoDB: Shutdown completed; log sequence number 330681; transaction id 298 mariadb | 2024-01-02 11:36:10 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-01-02 11:36:10+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-01-02 11:36:10+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-01-02 11:36:10 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-01-02 11:36:10 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-01-02 11:36:10 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-01-02 11:36:10 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-01-02 11:36:10 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-01-02 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 | 2024-01-02 11:36:10 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-02 11:36:10 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-01-02 11:36:10 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-01-02 11:36:10 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-01-02 11:36:10 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-01-02 11:36:10 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-01-02 11:36:10 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-01-02 11:36:10 0 [Note] InnoDB: log sequence number 330681; transaction id 299 mariadb | 2024-01-02 11:36:10 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-01-02 11:36:10 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-01-02 11:36:10 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-01-02 11:36:10 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-01-02 11:36:10 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-01-02 11:36:10 0 [Note] Server socket created on IP: '::'. mariadb | 2024-01-02 11:36:10 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2024-01-02 11:36:10 0 [Note] InnoDB: Buffer pool(s) load completed at 240102 11:36:10 mariadb | 2024-01-02 11:36:10 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) mariadb | 2024-01-02 11:36:11 24 [Warning] Aborted connection 24 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 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 | -------------- prometheus | ts=2024-01-02T11:35:58.870Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2024-01-02T11:35:58.870Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.1, branch=HEAD, revision=63894216648f0d6be310c9d16fb48293c45c9310)" prometheus | ts=2024-01-02T11:35:58.870Z caller=main.go:588 level=info build_context="(go=go1.21.5, platform=linux/amd64, user=root@71f108ff5632, date=20231208-23:33:22, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2024-01-02T11:35:58.870Z 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=2024-01-02T11:35:58.870Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-01-02T11:35:58.870Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-01-02T11:35:58.873Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-01-02T11:35:58.873Z caller=main.go:1024 level=info msg="Starting TSDB ..." prometheus | ts=2024-01-02T11:35:58.875Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-01-02T11:35:58.875Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-01-02T11:35:58.881Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-01-02T11:35:58.882Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.78µs prometheus | ts=2024-01-02T11:35:58.882Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-01-02T11:35:58.882Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-01-02T11:35:58.882Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=41.081µs wal_replay_duration=469.035µs wbl_replay_duration=300ns total_replay_duration=538.116µs prometheus | ts=2024-01-02T11:35:58.885Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-01-02T11:35:58.885Z caller=main.go:1048 level=info msg="TSDB started" prometheus | ts=2024-01-02T11:35:58.885Z caller=main.go:1230 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-01-02T11:35:58.886Z caller=main.go:1267 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.090202ms db_storage=1.88µs remote_storage=2.87µs web_handler=650ns query_engine=1.47µs scrape=237.843µs scrape_sd=124.151µs notify=36.401µs notify_sd=31.47µs rules=2.51µs tracing=7.06µs prometheus | ts=2024-01-02T11:35:58.886Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." prometheus | ts=2024-01-02T11:35:58.886Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2024-01-02T11:36:00.785326923Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-01-02T11:36:00.785505745Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=178.842µs grafana | logger=migrator t=2024-01-02T11:36:00.789735184Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-01-02T11:36:00.789910586Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=175.452µs grafana | logger=migrator t=2024-01-02T11:36:00.793819211Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-01-02T11:36:00.795166886Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.347426ms grafana | logger=migrator t=2024-01-02T11:36:00.80077593Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-01-02T11:36:00.804162019Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.385419ms grafana | logger=migrator t=2024-01-02T11:36:00.807808051Z level=info msg="Executing migration" id="create data_source 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)) grafana | logger=migrator t=2024-01-02T11:36:00.808839262Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.030461ms grafana | logger=migrator t=2024-01-02T11:36:00.813242863Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-01-02T11:36:00.814083562Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=839.949µs grafana | logger=migrator t=2024-01-02T11:36:00.828094843Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-01-02T11:36:00.82960893Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.504277ms grafana | logger=migrator t=2024-01-02T11:36:00.891945263Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-01-02T11:36:00.894014597Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=2.069664ms grafana | logger=migrator t=2024-01-02T11:36:00.898795842Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-01-02T11:36:00.900043516Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.247844ms grafana | logger=migrator t=2024-01-02T11:36:00.909754747Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-01-02T11:36:00.918081193Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=8.328896ms grafana | logger=migrator t=2024-01-02T11:36:00.920923655Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-01-02T11:36:00.921500402Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=576.577µs grafana | logger=migrator t=2024-01-02T11:36:00.92662975Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-01-02T11:36:00.927252938Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=622.418µs grafana | logger=migrator t=2024-01-02T11:36:00.931924621Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-01-02T11:36:00.933217666Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.292035ms grafana | logger=migrator t=2024-01-02T11:36:00.938092512Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-01-02T11:36:00.938900141Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=810.71µs grafana | logger=migrator t=2024-01-02T11:36:00.952406615Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-01-02T11:36:00.956956967Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=4.551262ms grafana | logger=migrator t=2024-01-02T11:36:00.961656341Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-01-02T11:36:00.963913457Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.256926ms grafana | logger=migrator t=2024-01-02T11:36:00.967155774Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-01-02T11:36:00.967186975Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=32.041µs grafana | logger=migrator t=2024-01-02T11:36:00.973954472Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-01-02T11:36:00.974276576Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=322.404µs grafana | logger=migrator t=2024-01-02T11:36:00.977606834Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-01-02T11:36:00.981703621Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=4.095387ms grafana | logger=migrator t=2024-01-02T11:36:00.985432153Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-01-02T11:36:00.985766087Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=333.434µs grafana | logger=migrator t=2024-01-02T11:36:00.989357008Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-01-02T11:36:00.989563121Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=212.023µs grafana | logger=migrator t=2024-01-02T11:36:00.999697327Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-01-02T11:36:01.004858166Z level=info msg="Migration successfully executed" id="Add uid column" duration=5.161619ms grafana | logger=migrator t=2024-01-02T11:36:01.008717581Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-01-02T11:36:01.008899323Z level=info msg="Migration successfully executed" id="Update uid value" duration=182.412µs grafana | logger=migrator t=2024-01-02T11:36:01.012496235Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-01-02T11:36:01.013406305Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=909.771µs grafana | logger=migrator t=2024-01-02T11:36:01.017736825Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-01-02T11:36:01.018688826Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=951.721µs grafana | logger=migrator t=2024-01-02T11:36:01.028954265Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-01-02T11:36:01.030007657Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.063812ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.034734132Z level=info msg="Executing migration" id="add index api_key.account_id" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.035399689Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=658.807µs policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.040628Z level=info msg="Executing migration" id="add index api_key.key" policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-01-02T11:36:01.041271627Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=643.817µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.04925501Z level=info msg="Executing migration" id="add index api_key.account_id_name" 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)) grafana | logger=migrator t=2024-01-02T11:36:01.050057409Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=803.049µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.057389594Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.058387245Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.001841ms policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.062752326Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-01-02T11:36:01.063306622Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=553.416µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.069228991Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" 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 | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.07000739Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=778.969µs policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.074429221Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.081673944Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=7.244193ms policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-01-02T11:36:01.08647248Z level=info msg="Executing migration" id="create api_key table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.087000406Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=527.856µs grafana | logger=migrator t=2024-01-02T11:36:01.094378631Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-01-02T11:36:01.09511562Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=743.579µs 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)) grafana | logger=migrator t=2024-01-02T11:36:01.099334129Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.100192269Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=858.02µs policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.106495581Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.107721866Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.230375ms policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-01-02T11:36:01.111330627Z level=info msg="Executing migration" id="copy api_key v1 to v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.111700232Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=369.785µs 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)) grafana | logger=migrator t=2024-01-02T11:36:01.115416795Z level=info msg="Executing migration" id="Drop old table api_key_v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.116081352Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=664.387µs policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.119290899Z level=info msg="Executing migration" id="Update api_key table charset" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.11932304Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=32.201µs policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-01-02T11:36:01.123385117Z level=info msg="Executing migration" id="Add expires to api_key table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.126126218Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.744431ms policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-01-02T11:36:01.130962404Z level=info msg="Executing migration" id="Add service account foreign key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.134741138Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=3.776644ms policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.138898076Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.139077768Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=179.952µs policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-01-02T11:36:01.14268234Z level=info msg="Executing migration" id="Add last_used_at to api_key table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.145129658Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.442928ms policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-01-02T11:36:01.151496982Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.153343383Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=1.846191ms policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.156612121Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.157311619Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=699.318µs policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-01-02T11:36:01.160485906Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.161030302Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=547.456µs policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-01-02T11:36:01.166729048Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.168355517Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.628569ms policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.173665208Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.174559628Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=893.79µs policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-01-02T11:36:01.178498894Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.179347514Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=848.38µs policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2024-01-02T11:36:01.182594591Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.183462821Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=868.17µs policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.188700362Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.188813523Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=114.061µs policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-01-02T11:36:01.192318204Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.192362224Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=45.14µs policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-01-02T11:36:01.196856266Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.200160144Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=3.303738ms policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.203742906Z level=info msg="Executing migration" id="Add encrypted dashboard json column" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.208487461Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=4.744715ms policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-01-02T11:36:01.21444446Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.214521451Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=77.841µs policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-01-02T11:36:01.217801428Z level=info msg="Executing migration" id="create quota table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.218523407Z level=info msg="Migration successfully executed" id="create quota table v1" duration=721.669µs policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.225513608Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-01-02T11:36:01.226927454Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.416706ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.231122123Z level=info msg="Executing migration" id="Update quota table charset" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-01-02T11:36:01.231198423Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=79.711µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.237078221Z level=info msg="Executing migration" id="create plugin_setting table" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.238404677Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.327676ms policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.242929499Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-01-02T11:36:01.24387913Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=948.871µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.247846556Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-01-02T11:36:01.250911171Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=3.064475ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.255057819Z level=info msg="Executing migration" id="Update plugin_setting table charset" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.25509127Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=34.711µs policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.260828146Z level=info msg="Executing migration" id="create session table" policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-01-02T11:36:01.262438505Z level=info msg="Migration successfully executed" id="create session table" duration=1.610309ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.268011679Z level=info msg="Executing migration" id="Drop old table playlist table" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-01-02T11:36:01.268190351Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=166.882µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.279243369Z level=info msg="Executing migration" id="Drop old table playlist_item table" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.279405501Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=165.102µs policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.284092315Z level=info msg="Executing migration" id="create playlist table v2" policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-01-02T11:36:01.285577512Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.477167ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.29231182Z level=info msg="Executing migration" id="create playlist item table v2" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-01-02T11:36:01.293141439Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=829.059µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.300410183Z level=info msg="Executing migration" id="Update playlist table charset" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.300444254Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=34.811µs policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.305575523Z level=info msg="Executing migration" id="Update playlist_item table charset" policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2024-01-02T11:36:01.305618723Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=49.42µs grafana | logger=migrator t=2024-01-02T11:36:01.311240398Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-01-02T11:36:01.316656441Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=5.415223ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.32443191Z level=info msg="Executing migration" id="Add playlist column updated_at" policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2024-01-02T11:36:01.328212554Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.782684ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.33306889Z level=info msg="Executing migration" id="drop preferences table v2" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.333156931Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=88.621µs policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.338736685Z level=info msg="Executing migration" id="drop preferences table v3" policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-01-02T11:36:01.338822476Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=85.981µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.344406201Z level=info msg="Executing migration" id="create preferences table v3" policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2024-01-02T11:36:01.345122619Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=716.628µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.356260648Z level=info msg="Executing migration" id="Update preferences table charset" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.356301168Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=39.35µs policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.362053375Z level=info msg="Executing migration" id="Add column team_id in preferences" policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-01-02T11:36:01.367538588Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=5.484563ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.373272724Z level=info msg="Executing migration" id="Update team_id column values in preferences" 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 grafana | logger=migrator t=2024-01-02T11:36:01.373503277Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=230.872µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.378317802Z level=info msg="Executing migration" id="Add column week_start in preferences" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.383971178Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=5.652765ms policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.390399201Z level=info msg="Executing migration" id="Add column preferences.json_data" policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-01-02T11:36:01.394112174Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.704573ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.40067102Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" 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 grafana | logger=migrator t=2024-01-02T11:36:01.400923473Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=255.423µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.408018705Z level=info msg="Executing migration" id="Add preferences index org_id" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.409728174Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.709299ms policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.419212884Z level=info msg="Executing migration" id="Add preferences index user_id" policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-01-02T11:36:01.420320957Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.105283ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.426548279Z level=info msg="Executing migration" id="create alert table v1" 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 | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.428184777Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.634018ms policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.438375225Z level=info msg="Executing migration" id="add index alert org_id & id " policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.439859062Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.481057ms policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-01-02T11:36:01.446262736Z level=info msg="Executing migration" id="add index alert state" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.447881525Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.619009ms policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-02T11:36:01.453289667Z level=info msg="Executing migration" id="add index alert dashboard_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.454245078Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=949.191µs policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.462978299Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.463739298Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=761.899µs policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-01-02T11:36:01.469821928Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.471508987Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.669369ms policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-02T11:36:01.476645957Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.477722789Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.073502ms policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.521643696Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.537875853Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=16.234097ms policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-01-02T11:36:01.542402936Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.543104394Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=692.598µs policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-02T11:36:01.55058491Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.552080417Z level=info msg="Migration successfully executed" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" duration=1.495137ms policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.560013059Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.560489314Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=476.385µs policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-01-02T11:36:01.567170371Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.568050741Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=880.02µs policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-02T11:36:01.574902171Z level=info msg="Executing migration" id="create alert_notification table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.576077804Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.174813ms policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.584703804Z level=info msg="Executing migration" id="Add column is_default" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.590783244Z level=info msg="Migration successfully executed" id="Add column is_default" duration=6.07744ms policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-01-02T11:36:01.599027399Z level=info msg="Executing migration" id="Add column frequency" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.602636261Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.607632ms policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-02T11:36:01.609323538Z level=info msg="Executing migration" id="Add column send_reminder" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.615034474Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=5.715486ms policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.62340833Z level=info msg="Executing migration" id="Add column disable_resolve_message" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.627459807Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=4.048147ms policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-01-02T11:36:01.634190585Z level=info msg="Executing migration" id="add index alert_notification org_id & name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.636777585Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=2.58652ms policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-02T11:36:01.644848068Z level=info msg="Executing migration" id="Update alert table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.644978419Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=130.451µs policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.652677838Z level=info msg="Executing migration" id="Update alert_notification table charset" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.652716868Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=45.95µs policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-01-02T11:36:01.659131783Z level=info msg="Executing migration" id="create notification_journal table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.660426248Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.293755ms policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-02T11:36:01.667055824Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.668236987Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.181293ms policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.67365514Z level=info msg="Executing migration" id="drop alert_notification_journal" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.674983695Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.328265ms policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-01-02T11:36:01.684757378Z level=info msg="Executing migration" id="create alert_notification_state table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.686030383Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.273095ms policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-02T11:36:01.694868435Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.696590515Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.72163ms policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.703008489Z level=info msg="Executing migration" id="Add for to alert table" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.709668976Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=6.662027ms policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-01-02T11:36:01.719071194Z level=info msg="Executing migration" id="Add column uid in alert_notification" policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-01-02T11:36:01.723758628Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=4.689274ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.730565277Z level=info msg="Executing migration" id="Update uid column values in alert_notification" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.730971941Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=407.894µs policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.737924072Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-01-02T11:36:01.739161386Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.236794ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.74818228Z level=info msg="Executing migration" id="Remove unique index org_id_name" policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-01-02T11:36:01.750099512Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.917542ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.759182087Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.764392387Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=5.20458ms policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.772881825Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-01-02T11:36:01.773102708Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=221.273µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.78370411Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-01-02T11:36:01.785895035Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=2.185205ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.791892474Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.792989897Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.093963ms policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.798620342Z level=info msg="Executing migration" id="Drop old annotation table v4" policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-01-02T11:36:01.798951756Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=336.824µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.805055777Z level=info msg="Executing migration" id="create annotation table v5" policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL grafana | logger=migrator t=2024-01-02T11:36:01.806433132Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.376696ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.810349537Z level=info msg="Executing migration" id="add index annotation 0 v3" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.811839765Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.485467ms policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.817310908Z level=info msg="Executing migration" id="add index annotation 1 v3" policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-01-02T11:36:01.81835876Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.043672ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.823906024Z level=info msg="Executing migration" id="add index annotation 2 v3" policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num grafana | logger=migrator t=2024-01-02T11:36:01.825671714Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.76525ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.83225211Z level=info msg="Executing migration" id="add index annotation 3 v3" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.833403823Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.151373ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.838177569Z level=info msg="Executing migration" id="add index annotation 4 v3" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-01-02T11:36:01.840258913Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=2.080004ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.8469795Z level=info msg="Executing migration" id="Update annotation table charset" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.84701127Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=32.43µs policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.853791339Z level=info msg="Executing migration" id="Add column region_id to annotation table" policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-01-02T11:36:01.85737452Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=3.584061ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.866414604Z level=info msg="Executing migration" id="Drop category_id index" policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-01-02T11:36:01.867432736Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=1.014162ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.880404686Z level=info msg="Executing migration" id="Add column tags to annotation table" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.883858136Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.46101ms policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.890048377Z level=info msg="Executing migration" id="Create annotation_tag table v2" policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-01-02T11:36:01.890930167Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=881.39µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.895791353Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-01-02T11:36:01.897146559Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.358146ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:01.903985558Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.904936999Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=951.861µs policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:01.910488503Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-01-02T11:36:02.445142562Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=534.648009ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.103167984Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-01-02T11:36:03.104806773Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=1.640249ms policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-01-02T11:36:03.114546805Z 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" policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-01-02T11:36:03.115498196Z 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=951.411µs policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-01-02T11:36:03.12103992Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.121824879Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=784.829µs policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-01-02T11:36:03.127440094Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.128320845Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=890.42µs policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-01-02T11:36:03.134356994Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.134658007Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=306.373µs policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.145078858Z level=info msg="Executing migration" id="Add created time to annotation table" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.151979987Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.900449ms policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-01-02T11:36:03.156249897Z level=info msg="Executing migration" id="Add updated time to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.160291723Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.044707ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) grafana | logger=migrator t=2024-01-02T11:36:03.166142161Z level=info msg="Executing migration" id="Add index for created in annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.167370905Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.227694ms policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.174276134Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2024-01-02T11:36:03.175722041Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.445327ms grafana | logger=migrator t=2024-01-02T11:36:03.183901666Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2024-01-02T11:36:03.1843014Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=399.914µs policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.192424574Z level=info msg="Executing migration" id="Add epoch_end column" policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-01-02T11:36:03.196604682Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.177248ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.203288529Z level=info msg="Executing migration" id="Add index for epoch_end" policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-01-02T11:36:03.204074509Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=785.76µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.21031817Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.210618204Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=300.524µs policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.217861608Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-01-02T11:36:03.218570006Z level=info msg="Migration successfully executed" id="Move region to single row" duration=708.279µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.225081391Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-01-02T11:36:03.226227654Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.147594ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.234317807Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.236186429Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.868182ms policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.24321258Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-01-02T11:36:03.244185481Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=969.351µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.251332334Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-01-02T11:36:03.252880501Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.538517ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.262152498Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.263060919Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=908.641µs policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.269048768Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-01-02T11:36:03.270467474Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.418206ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.276959799Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) grafana | logger=migrator t=2024-01-02T11:36:03.277110131Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=150.902µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.283571175Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.28483122Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.259905ms policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.292012443Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-01-02T11:36:03.293582001Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.574778ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.30126314Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) grafana | logger=migrator t=2024-01-02T11:36:03.302571915Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.322385ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.310286144Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.31169778Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.412586ms policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.316977741Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-01-02T11:36:03.317392976Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=417.885µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.321956528Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-01-02T11:36:03.322663506Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=713.118µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.327994548Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.32811647Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=124.022µs policy-db-migrator | policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.33247095Z level=info msg="Executing migration" id="create team table" policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-01-02T11:36:03.333849446Z level=info msg="Migration successfully executed" id="create team table" duration=1.377506ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.34032158Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.34203238Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.71247ms policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.349148262Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-01-02T11:36:03.350331776Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.191804ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.358977086Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-01-02T11:36:03.364434399Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=5.461473ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.368526056Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.368774139Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=244.003µs policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.372532532Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-01-02T11:36:03.373573484Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.040822ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.384258967Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-01-02T11:36:03.385697764Z level=info msg="Migration successfully executed" id="create team member table" duration=1.485757ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.392012187Z level=info msg="Executing migration" id="add index team_member.org_id" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.393093339Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.080942ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.398050086Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-01-02T11:36:03.399179059Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.128513ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.405538953Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.406585135Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.046282ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.4130636Z level=info msg="Executing migration" id="Add column email to team table" policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2024-01-02T11:36:03.419863818Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=6.801338ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.424809595Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.429651251Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.838366ms policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.437284819Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2024-01-02T11:36:03.442074054Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.788915ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.445935059Z level=info msg="Executing migration" id="create dashboard acl table" policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2024-01-02T11:36:03.446966221Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.031082ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.451965619Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.4537951Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.834331ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.459485265Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2024-01-02T11:36:03.460544307Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.058522ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.466122962Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.467224585Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.100373ms policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.473013552Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2024-01-02T11:36:03.473919022Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=898.39µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.479250443Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-01-02T11:36:03.481222256Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.965763ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.486470897Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.487433938Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=968.761µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.49194705Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2024-01-02T11:36:03.49287857Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=930.9µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.499055152Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.499625408Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=569.606µs policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.504680147Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-01-02T11:36:03.505068811Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=389.314µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.512620138Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2024-01-02T11:36:03.513336266Z level=info msg="Migration successfully executed" id="create tag table" duration=716.118µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.518162682Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.519291495Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.132253ms policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.523658036Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2024-01-02T11:36:03.524546856Z level=info msg="Migration successfully executed" id="create login attempt table" duration=892.11µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.530730617Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2024-01-02T11:36:03.531666518Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=931.091µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.535862796Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.537252813Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.389457ms policy-db-migrator | msg grafana | logger=migrator t=2024-01-02T11:36:03.541073337Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2024-01-02T11:36:03.56125313Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=20.183653ms policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.566966355Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2024-01-02T11:36:03.567568542Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=601.747µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.571530478Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2024-01-02T11:36:03.572642501Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.112523ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.576768609Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.577098412Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=329.393µs policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.583133672Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-01-02T11:36:03.583737859Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=603.567µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.586926246Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-01-02T11:36:03.588113559Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.176873ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.593477501Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.5951081Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.629909ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.602645247Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-01-02T11:36:03.602719558Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=74.891µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.605884485Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.614409843Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=8.526288ms policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.617334977Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=migrator t=2024-01-02T11:36:03.621316133Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=3.979586ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.86636245Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" 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=2024-01-02T11:36:03.874872678Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=8.515578ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.880876087Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.886194009Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.317202ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.889460467Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" 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=2024-01-02T11:36:03.890442478Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=985.831µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.896880932Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.904448439Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=7.570527ms policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.912755375Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2024-01-02T11:36:03.913584425Z level=info msg="Migration successfully executed" id="create server_lock table" duration=828.74µs grafana | logger=migrator t=2024-01-02T11:36:03.918616333Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2024-01-02T11:36:03.919945728Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.328295ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.92529385Z level=info msg="Executing migration" id="create user auth token table" 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=2024-01-02T11:36:03.926504174Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.211834ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.93483121Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.935824441Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=996.021µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-02T11:36:03.942484998Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" 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=2024-01-02T11:36:03.943970786Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.485807ms policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-01-02T11:36:03.953555326Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | policyadmin: OK: upgrade (1200) grafana | logger=migrator t=2024-01-02T11:36:03.955109784Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.553088ms policy-db-migrator | name version grafana | logger=migrator t=2024-01-02T11:36:03.964140158Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | policyadmin 1200 grafana | logger=migrator t=2024-01-02T11:36:03.97038822Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=6.247602ms policy-db-migrator | ID script operation from_version to_version tag success atTime grafana | logger=migrator t=2024-01-02T11:36:03.975777482Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:11 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:11 grafana | logger=migrator t=2024-01-02T11:36:03.976494311Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=716.719µs policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:11 grafana | logger=migrator t=2024-01-02T11:36:03.981017713Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:11 grafana | logger=migrator t=2024-01-02T11:36:03.98245086Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.421656ms policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:11 grafana | logger=migrator t=2024-01-02T11:36:04.0231841Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:11 grafana | logger=migrator t=2024-01-02T11:36:04.024731597Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.547427ms policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:11 grafana | logger=migrator t=2024-01-02T11:36:04.029961337Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:11 grafana | logger=migrator t=2024-01-02T11:36:04.030627465Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=666.108µs policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:11 grafana | logger=migrator t=2024-01-02T11:36:04.037227111Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:11 grafana | logger=migrator t=2024-01-02T11:36:04.039147294Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.922973ms policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:11 grafana | logger=migrator t=2024-01-02T11:36:04.043282101Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:11 grafana | logger=migrator t=2024-01-02T11:36:04.043386143Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=105.672µs policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:11 grafana | logger=migrator t=2024-01-02T11:36:04.047290847Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:11 grafana | logger=migrator t=2024-01-02T11:36:04.047385229Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=98.512µs policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:11 grafana | logger=migrator t=2024-01-02T11:36:04.052839702Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:11 grafana | logger=migrator t=2024-01-02T11:36:04.054975936Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=2.135655ms policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:11 grafana | logger=migrator t=2024-01-02T11:36:04.061012236Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:12 grafana | logger=migrator t=2024-01-02T11:36:04.062668035Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.658059ms policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:12 grafana | logger=migrator t=2024-01-02T11:36:04.066745302Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:12 grafana | logger=migrator t=2024-01-02T11:36:04.067727103Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=981.481µs policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:12 grafana | logger=migrator t=2024-01-02T11:36:04.071304345Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:12 grafana | logger=migrator t=2024-01-02T11:36:04.071369455Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=65.96µs policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:12 grafana | logger=migrator t=2024-01-02T11:36:04.077489156Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:12 grafana | logger=migrator t=2024-01-02T11:36:04.07873269Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.242764ms policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:12 grafana | logger=migrator t=2024-01-02T11:36:04.082507684Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:12 grafana | logger=migrator t=2024-01-02T11:36:04.084117432Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.609658ms policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:12 grafana | logger=migrator t=2024-01-02T11:36:04.089339633Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:12 grafana | logger=migrator t=2024-01-02T11:36:04.090618517Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.278624ms policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:12 grafana | logger=migrator t=2024-01-02T11:36:04.097869051Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:12 grafana | logger=migrator t=2024-01-02T11:36:04.099422119Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.544558ms policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:12 grafana | logger=migrator t=2024-01-02T11:36:04.103793589Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:12 grafana | logger=migrator t=2024-01-02T11:36:04.110065592Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=6.273373ms policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:12 grafana | logger=migrator t=2024-01-02T11:36:04.114143219Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:12 grafana | logger=migrator t=2024-01-02T11:36:04.115198011Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.054252ms policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:12 grafana | logger=migrator t=2024-01-02T11:36:04.120476962Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:12 grafana | logger=migrator t=2024-01-02T11:36:04.120673274Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=195.722µs policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:12 grafana | logger=migrator t=2024-01-02T11:36:04.124068903Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:12 grafana | logger=migrator t=2024-01-02T11:36:04.12548823Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.418777ms policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:12 grafana | logger=migrator t=2024-01-02T11:36:04.132042225Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:12 grafana | logger=migrator t=2024-01-02T11:36:04.133136148Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.090393ms policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:12 grafana | logger=migrator t=2024-01-02T11:36:04.137823642Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:12 grafana | logger=migrator t=2024-01-02T11:36:04.139506941Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.682799ms policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:13 grafana | logger=migrator t=2024-01-02T11:36:04.143165504Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:13 grafana | logger=migrator t=2024-01-02T11:36:04.143385046Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=218.922µs policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:13 grafana | logger=migrator t=2024-01-02T11:36:04.148283403Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:13 grafana | logger=migrator t=2024-01-02T11:36:04.149211363Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=927.25µs policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:13 grafana | logger=migrator t=2024-01-02T11:36:04.153033048Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:13 grafana | logger=migrator t=2024-01-02T11:36:04.154043739Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.008451ms policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:13 grafana | logger=migrator t=2024-01-02T11:36:04.158823934Z 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 | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:13 grafana | logger=migrator t=2024-01-02T11:36:04.160442763Z 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.618289ms policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:13 grafana | logger=migrator t=2024-01-02T11:36:04.166839177Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:13 grafana | logger=migrator t=2024-01-02T11:36:04.167812018Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=975.431µs policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:13 grafana | logger=migrator t=2024-01-02T11:36:04.171886435Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:13 grafana | logger=migrator t=2024-01-02T11:36:04.179789406Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=7.903751ms policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:13 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:13 grafana | logger=migrator t=2024-01-02T11:36:04.183182815Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:13 grafana | logger=migrator t=2024-01-02T11:36:04.184852205Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.6778ms policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:13 grafana | logger=migrator t=2024-01-02T11:36:04.189372557Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:13 grafana | logger=migrator t=2024-01-02T11:36:04.190992536Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.620399ms policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:13 grafana | logger=migrator t=2024-01-02T11:36:04.194771369Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:13 grafana | logger=migrator t=2024-01-02T11:36:04.240514657Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=45.730778ms policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:13 grafana | logger=migrator t=2024-01-02T11:36:04.245579475Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:13 grafana | logger=migrator t=2024-01-02T11:36:04.280151004Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=34.571629ms policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:14 grafana | logger=migrator t=2024-01-02T11:36:04.285168152Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:14 grafana | logger=migrator t=2024-01-02T11:36:04.286214084Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.045002ms policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:14 grafana | logger=migrator t=2024-01-02T11:36:04.337744419Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:14 grafana | logger=migrator t=2024-01-02T11:36:04.339310797Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.566168ms policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:14 grafana | logger=migrator t=2024-01-02T11:36:04.359814263Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:14 grafana | logger=migrator t=2024-01-02T11:36:04.369209472Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=9.392339ms policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:14 grafana | logger=migrator t=2024-01-02T11:36:04.385334088Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2024-01-02T11:36:04.386691523Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.357205ms policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:14 grafana | logger=migrator t=2024-01-02T11:36:04.41586457Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:14 grafana | logger=migrator t=2024-01-02T11:36:04.417403488Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.538528ms policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:14 grafana | logger=migrator t=2024-01-02T11:36:04.429245224Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:14 grafana | logger=migrator t=2024-01-02T11:36:04.430878483Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.628219ms policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:14 grafana | logger=migrator t=2024-01-02T11:36:04.865634989Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:14 grafana | logger=migrator t=2024-01-02T11:36:04.86745357Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.819501ms policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:14 grafana | logger=migrator t=2024-01-02T11:36:06.385782127Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:14 grafana | logger=migrator t=2024-01-02T11:36:06.38605983Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=279.403µs policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:14 grafana | logger=migrator t=2024-01-02T11:36:06.398893568Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:14 grafana | logger=migrator t=2024-01-02T11:36:06.407561819Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=8.66881ms policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:14 grafana | logger=migrator t=2024-01-02T11:36:06.414908693Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:14 grafana | logger=migrator t=2024-01-02T11:36:06.421374688Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.475015ms policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:14 grafana | logger=migrator t=2024-01-02T11:36:06.429021606Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:14 grafana | logger=migrator t=2024-01-02T11:36:06.435641863Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.619737ms policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:14 grafana | logger=migrator t=2024-01-02T11:36:06.44500211Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:14 grafana | logger=migrator t=2024-01-02T11:36:06.447061524Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=2.062454ms policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:15 grafana | logger=migrator t=2024-01-02T11:36:06.451483385Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:15 grafana | logger=migrator t=2024-01-02T11:36:06.453106454Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.622699ms policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:15 grafana | logger=migrator t=2024-01-02T11:36:06.458441905Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:15 grafana | logger=migrator t=2024-01-02T11:36:06.466288176Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=7.840311ms policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:15 grafana | logger=migrator t=2024-01-02T11:36:06.471450356Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:15 grafana | logger=migrator t=2024-01-02T11:36:06.477294423Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.844217ms policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:15 grafana | logger=migrator t=2024-01-02T11:36:06.48653788Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:15 grafana | logger=migrator t=2024-01-02T11:36:06.48826573Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.679029ms policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:15 grafana | logger=migrator t=2024-01-02T11:36:06.493775003Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0201241136110800u 1 2024-01-02 11:36:15 grafana | logger=migrator t=2024-01-02T11:36:06.503787129Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=10.011446ms policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 0201241136110900u 1 2024-01-02 11:36:15 grafana | logger=migrator t=2024-01-02T11:36:06.511243165Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 0201241136110900u 1 2024-01-02 11:36:15 grafana | logger=migrator t=2024-01-02T11:36:06.515933049Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=4.688964ms policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 0201241136110900u 1 2024-01-02 11:36:15 grafana | logger=migrator t=2024-01-02T11:36:06.520950757Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 0201241136110900u 1 2024-01-02 11:36:15 grafana | logger=migrator t=2024-01-02T11:36:06.521022078Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=71.951µs policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 0201241136110900u 1 2024-01-02 11:36:16 grafana | logger=migrator t=2024-01-02T11:36:06.526971086Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 0201241136110900u 1 2024-01-02 11:36:16 grafana | logger=migrator t=2024-01-02T11:36:06.528558464Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.586828ms policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0201241136110900u 1 2024-01-02 11:36:16 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0201241136110900u 1 2024-01-02 11:36:16 grafana | logger=migrator t=2024-01-02T11:36:06.534646515Z 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 | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0201241136110900u 1 2024-01-02 11:36:16 grafana | logger=migrator t=2024-01-02T11:36:06.536380665Z 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.73331ms policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 0201241136110900u 1 2024-01-02 11:36:16 grafana | logger=migrator t=2024-01-02T11:36:06.540891827Z 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 | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 0201241136110900u 1 2024-01-02 11:36:16 grafana | logger=migrator t=2024-01-02T11:36:06.542103151Z 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.206094ms policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 0201241136110900u 1 2024-01-02 11:36:16 grafana | logger=migrator t=2024-01-02T11:36:06.547167179Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 0201241136110900u 1 2024-01-02 11:36:16 grafana | logger=migrator t=2024-01-02T11:36:06.54723226Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=65.741µs policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 0201241136111000u 1 2024-01-02 11:36:16 grafana | logger=migrator t=2024-01-02T11:36:06.556574118Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 0201241136111000u 1 2024-01-02 11:36:16 grafana | logger=migrator t=2024-01-02T11:36:06.566481902Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=9.907564ms policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 0201241136111000u 1 2024-01-02 11:36:16 grafana | logger=migrator t=2024-01-02T11:36:06.573532313Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 0201241136111000u 1 2024-01-02 11:36:16 grafana | logger=migrator t=2024-01-02T11:36:06.577903744Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=4.367041ms policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 0201241136111000u 1 2024-01-02 11:36:16 grafana | logger=migrator t=2024-01-02T11:36:06.583454628Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 0201241136111000u 1 2024-01-02 11:36:16 grafana | logger=migrator t=2024-01-02T11:36:06.58968999Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.234742ms policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 0201241136111000u 1 2024-01-02 11:36:16 grafana | logger=migrator t=2024-01-02T11:36:06.594601907Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 0201241136111000u 1 2024-01-02 11:36:16 grafana | logger=migrator t=2024-01-02T11:36:06.600874729Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.272173ms policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 0201241136111000u 1 2024-01-02 11:36:16 grafana | logger=migrator t=2024-01-02T11:36:06.60528782Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 0201241136111100u 1 2024-01-02 11:36:16 grafana | logger=migrator t=2024-01-02T11:36:06.61137419Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.08579ms policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 0201241136111200u 1 2024-01-02 11:36:17 grafana | logger=migrator t=2024-01-02T11:36:06.615202394Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 0201241136111200u 1 2024-01-02 11:36:17 grafana | logger=migrator t=2024-01-02T11:36:06.615268275Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=69.401µs policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 0201241136111200u 1 2024-01-02 11:36:17 grafana | logger=migrator t=2024-01-02T11:36:06.619040558Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 0201241136111200u 1 2024-01-02 11:36:17 grafana | logger=migrator t=2024-01-02T11:36:06.619764867Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=723.988µs policy-db-migrator | policyadmin: OK @ 1200 grafana | logger=migrator t=2024-01-02T11:36:06.624574961Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2024-01-02T11:36:06.633440984Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=8.864382ms grafana | logger=migrator t=2024-01-02T11:36:06.637580781Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2024-01-02T11:36:06.637649232Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=68.291µs grafana | logger=migrator t=2024-01-02T11:36:06.642070343Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2024-01-02T11:36:06.648350126Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.278793ms grafana | logger=migrator t=2024-01-02T11:36:06.653523025Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2024-01-02T11:36:06.654558417Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.034902ms grafana | logger=migrator t=2024-01-02T11:36:06.658699665Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2024-01-02T11:36:06.665108969Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.406684ms grafana | logger=migrator t=2024-01-02T11:36:06.668507088Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2024-01-02T11:36:06.669220596Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=713.158µs grafana | logger=migrator t=2024-01-02T11:36:06.673774059Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2024-01-02T11:36:06.67477597Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.001671ms grafana | logger=migrator t=2024-01-02T11:36:06.678746166Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2024-01-02T11:36:06.685044999Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.298663ms grafana | logger=migrator t=2024-01-02T11:36:06.688787592Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2024-01-02T11:36:06.68950238Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=710.978µs grafana | logger=migrator t=2024-01-02T11:36:06.694225075Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2024-01-02T11:36:06.695236276Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.010871ms grafana | logger=migrator t=2024-01-02T11:36:06.700646759Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2024-01-02T11:36:06.701788202Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.141303ms grafana | logger=migrator t=2024-01-02T11:36:06.70593748Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2024-01-02T11:36:06.707516738Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.581978ms grafana | logger=migrator t=2024-01-02T11:36:06.712529586Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2024-01-02T11:36:06.712594627Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=65.761µs grafana | logger=migrator t=2024-01-02T11:36:06.716846406Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2024-01-02T11:36:06.718234522Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.391446ms grafana | logger=migrator t=2024-01-02T11:36:06.722094996Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2024-01-02T11:36:06.723111578Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.015022ms grafana | logger=migrator t=2024-01-02T11:36:06.727998194Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-01-02T11:36:06.728424869Z 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=2024-01-02T11:36:06.732287924Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2024-01-02T11:36:06.732900741Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=612.157µs grafana | logger=migrator t=2024-01-02T11:36:06.73714397Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2024-01-02T11:36:06.73889318Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.74856ms grafana | logger=migrator t=2024-01-02T11:36:06.744053609Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2024-01-02T11:36:06.750604475Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.550816ms grafana | logger=migrator t=2024-01-02T11:36:06.754573471Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2024-01-02T11:36:06.755527182Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=953.171µs grafana | logger=migrator t=2024-01-02T11:36:06.759850932Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2024-01-02T11:36:06.760966474Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.114872ms grafana | logger=migrator t=2024-01-02T11:36:06.766258826Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2024-01-02T11:36:06.76753973Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.279444ms grafana | logger=migrator t=2024-01-02T11:36:06.771978972Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2024-01-02T11:36:06.773797243Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.817481ms grafana | logger=migrator t=2024-01-02T11:36:06.778124753Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2024-01-02T11:36:06.779158144Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.032511ms grafana | logger=migrator t=2024-01-02T11:36:06.78399523Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2024-01-02T11:36:06.784040081Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=46.331µs grafana | logger=migrator t=2024-01-02T11:36:06.788618154Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2024-01-02T11:36:06.788723885Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=106.541µs grafana | logger=migrator t=2024-01-02T11:36:06.792831172Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2024-01-02T11:36:06.793240867Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=409.505µs grafana | logger=migrator t=2024-01-02T11:36:06.797413235Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2024-01-02T11:36:06.798821461Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.425536ms grafana | logger=migrator t=2024-01-02T11:36:06.804468437Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2024-01-02T11:36:06.805322056Z level=info msg="Migration successfully executed" id="create secrets table" duration=853.26µs grafana | logger=migrator t=2024-01-02T11:36:06.80905715Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2024-01-02T11:36:06.856917642Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=47.861352ms grafana | logger=migrator t=2024-01-02T11:36:06.860641115Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2024-01-02T11:36:06.865684473Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.043308ms grafana | logger=migrator t=2024-01-02T11:36:06.870527878Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2024-01-02T11:36:06.87063484Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=106.822µs grafana | logger=migrator t=2024-01-02T11:36:06.874495134Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2024-01-02T11:36:06.915582658Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=41.083454ms grafana | logger=migrator t=2024-01-02T11:36:06.919264541Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2024-01-02T11:36:06.962091185Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=42.826114ms grafana | logger=migrator t=2024-01-02T11:36:06.98415599Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2024-01-02T11:36:06.985412564Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=1.256555ms grafana | logger=migrator t=2024-01-02T11:36:06.990953748Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2024-01-02T11:36:06.992670258Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.716ms grafana | logger=migrator t=2024-01-02T11:36:06.997477093Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2024-01-02T11:36:06.997881718Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=328.974µs grafana | logger=migrator t=2024-01-02T11:36:07.003217049Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2024-01-02T11:36:07.003964008Z level=info msg="Migration successfully executed" id="create permission table" duration=748.389µs grafana | logger=migrator t=2024-01-02T11:36:07.010631055Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2024-01-02T11:36:07.012358405Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.7259ms grafana | logger=migrator t=2024-01-02T11:36:07.016886737Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2024-01-02T11:36:07.018061371Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.174234ms grafana | logger=migrator t=2024-01-02T11:36:07.022555963Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2024-01-02T11:36:07.023429693Z level=info msg="Migration successfully executed" id="create role table" duration=872.57µs grafana | logger=migrator t=2024-01-02T11:36:07.028951256Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2024-01-02T11:36:07.036436123Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.488097ms grafana | logger=migrator t=2024-01-02T11:36:07.045568158Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2024-01-02T11:36:07.053841873Z level=info msg="Migration successfully executed" id="add column group_name" duration=8.279925ms grafana | logger=migrator t=2024-01-02T11:36:07.057548686Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2024-01-02T11:36:07.059789032Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=2.239086ms grafana | logger=migrator t=2024-01-02T11:36:07.063492345Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2024-01-02T11:36:07.065476377Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.983602ms grafana | logger=migrator t=2024-01-02T11:36:07.069590715Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2024-01-02T11:36:07.070765489Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.174144ms grafana | logger=migrator t=2024-01-02T11:36:07.074444811Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2024-01-02T11:36:07.075505653Z level=info msg="Migration successfully executed" id="create team role table" duration=1.060302ms grafana | logger=migrator t=2024-01-02T11:36:07.081126818Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2024-01-02T11:36:07.082392753Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.266455ms grafana | logger=migrator t=2024-01-02T11:36:07.085948144Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2024-01-02T11:36:07.087645983Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.697249ms grafana | logger=migrator t=2024-01-02T11:36:07.090873601Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2024-01-02T11:36:07.092091445Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.217534ms grafana | logger=migrator t=2024-01-02T11:36:07.095268791Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2024-01-02T11:36:07.096174122Z level=info msg="Migration successfully executed" id="create user role table" duration=903.881µs grafana | logger=migrator t=2024-01-02T11:36:07.099841974Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2024-01-02T11:36:07.100968087Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.126333ms grafana | logger=migrator t=2024-01-02T11:36:07.104323546Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2024-01-02T11:36:07.105496489Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.172543ms grafana | logger=migrator t=2024-01-02T11:36:07.109102401Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2024-01-02T11:36:07.110245854Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.143083ms grafana | logger=migrator t=2024-01-02T11:36:07.115595696Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2024-01-02T11:36:07.116785629Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.189323ms grafana | logger=migrator t=2024-01-02T11:36:07.120740515Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2024-01-02T11:36:07.121945339Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.204984ms grafana | logger=migrator t=2024-01-02T11:36:07.126948997Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2024-01-02T11:36:07.12811146Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.158363ms grafana | logger=migrator t=2024-01-02T11:36:07.131369218Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2024-01-02T11:36:07.141238422Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=9.869594ms grafana | logger=migrator t=2024-01-02T11:36:07.144516309Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2024-01-02T11:36:07.145546081Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.033422ms grafana | logger=migrator t=2024-01-02T11:36:07.148314963Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2024-01-02T11:36:07.149195433Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=880.35µs grafana | logger=migrator t=2024-01-02T11:36:07.151982155Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2024-01-02T11:36:07.15409123Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=2.063784ms grafana | logger=migrator t=2024-01-02T11:36:07.159225209Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2024-01-02T11:36:07.160675486Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.451187ms grafana | logger=migrator t=2024-01-02T11:36:07.164709483Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2024-01-02T11:36:07.165551432Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=841.06µs grafana | logger=migrator t=2024-01-02T11:36:07.170290867Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2024-01-02T11:36:07.171495001Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.203324ms grafana | logger=migrator t=2024-01-02T11:36:07.176278776Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2024-01-02T11:36:07.18964887Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=13.370464ms grafana | logger=migrator t=2024-01-02T11:36:07.192602324Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2024-01-02T11:36:07.20001257Z level=info msg="Migration successfully executed" id="permission kind migration" duration=7.412576ms grafana | logger=migrator t=2024-01-02T11:36:07.204548162Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2024-01-02T11:36:07.213450345Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=8.902983ms grafana | logger=migrator t=2024-01-02T11:36:07.216839914Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2024-01-02T11:36:07.223030245Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=6.189081ms grafana | logger=migrator t=2024-01-02T11:36:07.226222392Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2024-01-02T11:36:07.227437676Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.214784ms grafana | logger=migrator t=2024-01-02T11:36:07.230945547Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2024-01-02T11:36:07.232002599Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.056563ms grafana | logger=migrator t=2024-01-02T11:36:07.235758602Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2024-01-02T11:36:07.237029357Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.270195ms grafana | logger=migrator t=2024-01-02T11:36:07.240715199Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2024-01-02T11:36:07.240895651Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=179.602µs grafana | logger=migrator t=2024-01-02T11:36:07.244718975Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2024-01-02T11:36:07.244895577Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=177.282µs grafana | logger=migrator t=2024-01-02T11:36:07.248529269Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2024-01-02T11:36:07.24949237Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=962.051µs grafana | logger=migrator t=2024-01-02T11:36:07.253197543Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2024-01-02T11:36:07.254317026Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.120233ms grafana | logger=migrator t=2024-01-02T11:36:07.259171882Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2024-01-02T11:36:07.260029952Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=856.93µs grafana | logger=migrator t=2024-01-02T11:36:07.264115449Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2024-01-02T11:36:07.264451703Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=335.424µs grafana | logger=migrator t=2024-01-02T11:36:07.267985444Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2024-01-02T11:36:07.268768803Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=783.099µs grafana | logger=migrator t=2024-01-02T11:36:07.272529486Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2024-01-02T11:36:07.274105774Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.570258ms grafana | logger=migrator t=2024-01-02T11:36:07.278633947Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2024-01-02T11:36:07.279904271Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.269675ms grafana | logger=migrator t=2024-01-02T11:36:07.283177179Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2024-01-02T11:36:07.294437639Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=11.26015ms grafana | logger=migrator t=2024-01-02T11:36:07.298209372Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2024-01-02T11:36:07.298338944Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=130.552µs grafana | logger=migrator t=2024-01-02T11:36:07.301592952Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2024-01-02T11:36:07.302660004Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.065143ms grafana | logger=migrator t=2024-01-02T11:36:07.30664255Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2024-01-02T11:36:07.307995076Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.352105ms grafana | logger=migrator t=2024-01-02T11:36:07.313784502Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2024-01-02T11:36:07.314978326Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.192614ms grafana | logger=migrator t=2024-01-02T11:36:07.31879713Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2024-01-02T11:36:07.331994982Z level=info msg="Migration successfully executed" id="add correlation config column" duration=13.196362ms grafana | logger=migrator t=2024-01-02T11:36:07.335836547Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2024-01-02T11:36:07.337050351Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.213445ms grafana | logger=migrator t=2024-01-02T11:36:07.341643824Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2024-01-02T11:36:07.342841228Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.195763ms grafana | logger=migrator t=2024-01-02T11:36:07.347043656Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-02T11:36:07.379045695Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=32.001739ms grafana | logger=migrator t=2024-01-02T11:36:07.383347484Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2024-01-02T11:36:07.384119903Z level=info msg="Migration successfully executed" id="create correlation v2" duration=771.259µs grafana | logger=migrator t=2024-01-02T11:36:07.388009108Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2024-01-02T11:36:07.389048Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.034062ms grafana | logger=migrator t=2024-01-02T11:36:07.394421723Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2024-01-02T11:36:07.396489696Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=2.067244ms grafana | logger=migrator t=2024-01-02T11:36:07.400832936Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2024-01-02T11:36:07.40202559Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.195864ms grafana | logger=migrator t=2024-01-02T11:36:07.406108487Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2024-01-02T11:36:07.406570053Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=460.235µs grafana | logger=migrator t=2024-01-02T11:36:07.410244565Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2024-01-02T11:36:07.411817053Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.568488ms grafana | logger=migrator t=2024-01-02T11:36:07.415519676Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2024-01-02T11:36:07.424036564Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.514418ms grafana | logger=migrator t=2024-01-02T11:36:07.427523124Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2024-01-02T11:36:07.428199522Z level=info msg="Migration successfully executed" id="create entity_events table" duration=675.328µs grafana | logger=migrator t=2024-01-02T11:36:07.432045286Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2024-01-02T11:36:07.432982427Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=935.731µs grafana | logger=migrator t=2024-01-02T11:36:07.436618159Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-01-02T11:36:07.437285457Z 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=2024-01-02T11:36:07.442132193Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-01-02T11:36:07.443240416Z 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=2024-01-02T11:36:07.446975059Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2024-01-02T11:36:07.448652938Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.679109ms grafana | logger=migrator t=2024-01-02T11:36:07.453322232Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2024-01-02T11:36:07.454486065Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.164333ms grafana | logger=migrator t=2024-01-02T11:36:07.458034616Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-01-02T11:36:07.459409832Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.374306ms grafana | logger=migrator t=2024-01-02T11:36:07.463329577Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-01-02T11:36:07.464668373Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.338416ms grafana | logger=migrator t=2024-01-02T11:36:07.47136662Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-01-02T11:36:07.472585264Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.219174ms grafana | logger=migrator t=2024-01-02T11:36:07.48347051Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-01-02T11:36:07.485348001Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.876941ms grafana | logger=migrator t=2024-01-02T11:36:07.491831086Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-01-02T11:36:07.492797777Z level=info msg="Migration successfully executed" id="Drop public config table" duration=967.261µs grafana | logger=migrator t=2024-01-02T11:36:07.502148495Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2024-01-02T11:36:07.504084337Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.935012ms grafana | logger=migrator t=2024-01-02T11:36:07.510641213Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-01-02T11:36:07.511932118Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.290535ms grafana | logger=migrator t=2024-01-02T11:36:07.519400144Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-01-02T11:36:07.521545079Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=2.144545ms grafana | logger=migrator t=2024-01-02T11:36:07.526090011Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2024-01-02T11:36:07.527393556Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.300115ms grafana | logger=migrator t=2024-01-02T11:36:07.533064952Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2024-01-02T11:36:07.564175361Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=31.110339ms grafana | logger=migrator t=2024-01-02T11:36:07.586143104Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2024-01-02T11:36:07.598281704Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=12.14093ms grafana | logger=migrator t=2024-01-02T11:36:07.603237811Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2024-01-02T11:36:07.611758369Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.519338ms grafana | logger=migrator t=2024-01-02T11:36:07.616407723Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2024-01-02T11:36:07.616769577Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=361.494µs grafana | logger=migrator t=2024-01-02T11:36:07.624189523Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2024-01-02T11:36:07.632783602Z level=info msg="Migration successfully executed" id="add share column" duration=8.592619ms grafana | logger=migrator t=2024-01-02T11:36:07.637704629Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2024-01-02T11:36:07.638051413Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=345.934µs grafana | logger=migrator t=2024-01-02T11:36:07.642690126Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2024-01-02T11:36:07.643741928Z level=info msg="Migration successfully executed" id="create file table" duration=1.051252ms grafana | logger=migrator t=2024-01-02T11:36:07.650107162Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-01-02T11:36:07.651351796Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.243654ms grafana | logger=migrator t=2024-01-02T11:36:07.656679438Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-01-02T11:36:07.658813623Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=2.128604ms grafana | logger=migrator t=2024-01-02T11:36:07.663749909Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-01-02T11:36:07.664748261Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.001882ms grafana | logger=migrator t=2024-01-02T11:36:07.669439265Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-01-02T11:36:07.670793381Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.352266ms grafana | logger=migrator t=2024-01-02T11:36:07.676327235Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-01-02T11:36:07.676530557Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=203.322µs grafana | logger=migrator t=2024-01-02T11:36:07.680791866Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-01-02T11:36:07.681094769Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=301.903µs grafana | logger=migrator t=2024-01-02T11:36:07.685540821Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-01-02T11:36:07.686772075Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=1.230224ms grafana | logger=migrator t=2024-01-02T11:36:07.692063686Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-01-02T11:36:07.692508051Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=443.035µs grafana | logger=migrator t=2024-01-02T11:36:07.696127403Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-01-02T11:36:07.697147024Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.019281ms grafana | logger=migrator t=2024-01-02T11:36:07.70105289Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-01-02T11:36:07.712826286Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=11.772986ms grafana | logger=migrator t=2024-01-02T11:36:07.717426088Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-01-02T11:36:07.717785473Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=358.365µs grafana | logger=migrator t=2024-01-02T11:36:07.721546476Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-01-02T11:36:07.722829621Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.282515ms grafana | logger=migrator t=2024-01-02T11:36:07.726667045Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-01-02T11:36:07.727253272Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=586.537µs grafana | logger=migrator t=2024-01-02T11:36:07.731749174Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-01-02T11:36:07.732255089Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=507.025µs grafana | logger=migrator t=2024-01-02T11:36:07.738185998Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-01-02T11:36:07.739348821Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=1.161233ms grafana | logger=migrator t=2024-01-02T11:36:07.743072124Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-01-02T11:36:07.752169839Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=9.097615ms grafana | logger=migrator t=2024-01-02T11:36:07.755873372Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-01-02T11:36:07.764681184Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.807312ms grafana | logger=migrator t=2024-01-02T11:36:07.768306315Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-01-02T11:36:07.769499669Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.197024ms grafana | logger=migrator t=2024-01-02T11:36:07.774553718Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-01-02T11:36:07.891010291Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=116.450053ms grafana | logger=migrator t=2024-01-02T11:36:07.894793945Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-01-02T11:36:07.895954068Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.160373ms grafana | logger=migrator t=2024-01-02T11:36:07.900932436Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-01-02T11:36:07.902697086Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.7621ms grafana | logger=migrator t=2024-01-02T11:36:07.906740672Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-01-02T11:36:07.944141024Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=37.399762ms grafana | logger=migrator t=2024-01-02T11:36:07.948233971Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-01-02T11:36:07.948526634Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=293.003µs grafana | logger=migrator t=2024-01-02T11:36:07.954479873Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-01-02T11:36:07.955002999Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=523.306µs grafana | logger=migrator t=2024-01-02T11:36:07.959235458Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-01-02T11:36:07.959795874Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=560.646µs grafana | logger=migrator t=2024-01-02T11:36:07.963851941Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-01-02T11:36:07.964948724Z level=info msg="Migration successfully executed" id="create folder table" duration=1.096063ms grafana | logger=migrator t=2024-01-02T11:36:07.971191186Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-01-02T11:36:07.973419462Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=2.227636ms grafana | logger=migrator t=2024-01-02T11:36:07.977516259Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-01-02T11:36:07.979061877Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.546178ms grafana | logger=migrator t=2024-01-02T11:36:07.982752979Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-01-02T11:36:07.982888191Z level=info msg="Migration successfully executed" id="Update folder title length" duration=134.782µs grafana | logger=migrator t=2024-01-02T11:36:07.987500634Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-01-02T11:36:07.988791969Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.291215ms grafana | logger=migrator t=2024-01-02T11:36:07.993858187Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-01-02T11:36:07.995067501Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.209524ms grafana | logger=migrator t=2024-01-02T11:36:07.999397621Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-01-02T11:36:08.000692936Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.295055ms grafana | logger=migrator t=2024-01-02T11:36:08.005690824Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-01-02T11:36:08.007387824Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.69703ms grafana | logger=migrator t=2024-01-02T11:36:08.012853357Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-01-02T11:36:08.014188422Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.335015ms grafana | logger=migrator t=2024-01-02T11:36:08.021045191Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-01-02T11:36:08.022961783Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.918242ms grafana | logger=migrator t=2024-01-02T11:36:08.028085542Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-01-02T11:36:08.0295945Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.509078ms grafana | logger=migrator t=2024-01-02T11:36:08.034337004Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-01-02T11:36:08.035599949Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.258585ms grafana | logger=migrator t=2024-01-02T11:36:08.039473634Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-01-02T11:36:08.041276045Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.80076ms grafana | logger=migrator t=2024-01-02T11:36:08.045860467Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-01-02T11:36:08.046502765Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=643.658µs grafana | logger=migrator t=2024-01-02T11:36:08.050615042Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-01-02T11:36:08.060534727Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=9.919055ms grafana | logger=migrator t=2024-01-02T11:36:08.064564863Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-01-02T11:36:08.065522154Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=959.591µs grafana | logger=migrator t=2024-01-02T11:36:08.070577602Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-01-02T11:36:08.071992529Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.414317ms grafana | logger=migrator t=2024-01-02T11:36:08.076154547Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-01-02T11:36:08.077536973Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.380506ms grafana | logger=migrator t=2024-01-02T11:36:08.084570394Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-01-02T11:36:08.085611866Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.043872ms grafana | logger=migrator t=2024-01-02T11:36:08.090686154Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-01-02T11:36:08.091082399Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=396.375µs grafana | logger=migrator t=2024-01-02T11:36:08.095640942Z level=info msg="migrations completed" performed=523 skipped=0 duration=8.194392325s grafana | logger=sqlstore t=2024-01-02T11:36:08.10850533Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-01-02T11:36:08.108904055Z level=info msg="Created default organization" grafana | logger=secrets t=2024-01-02T11:36:08.114380088Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-01-02T11:36:08.135044236Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-01-02T11:36:08.174636333Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-01-02T11:36:08.174906866Z level=info msg="Plugins loaded" count=55 duration=39.86348ms grafana | logger=query_data t=2024-01-02T11:36:08.178567738Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-01-02T11:36:08.182500983Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-01-02T11:36:08.191068692Z level=info msg=Starting grafana | logger=ngalert.migration orgID=1 t=2024-01-02T11:36:08.192038074Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-01-02T11:36:08.19258644Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2024-01-02T11:36:08.193172627Z level=warn msg="No available receivers" grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-01-02T11:36:08.196438134Z level=info msg="Completed legacy migration" grafana | logger=infra.usagestats.collector t=2024-01-02T11:36:08.230060762Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-01-02T11:36:08.232070015Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-01-02T11:36:08.24889551Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-01-02T11:36:08.24891076Z level=info msg="finished to provision alerting" grafana | logger=ngalert.state.manager t=2024-01-02T11:36:08.249020081Z level=info msg="Warming state cache for startup" grafana | logger=ngalert.multiorg.alertmanager t=2024-01-02T11:36:08.249127712Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=ngalert.state.manager t=2024-01-02T11:36:08.249490426Z level=info msg="State cache has been initialized" states=0 duration=469.375µs grafana | logger=ngalert.scheduler t=2024-01-02T11:36:08.249536357Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2024-01-02T11:36:08.249596938Z level=info msg=starting first_tick=2024-01-02T11:36:10Z grafana | logger=grafanaStorageLogger t=2024-01-02T11:36:08.251591431Z level=info msg="Storage starting" grafana | logger=http.server t=2024-01-02T11:36:08.254815158Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=sqlstore.transactions t=2024-01-02T11:36:08.263819782Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=grafana.update.checker t=2024-01-02T11:36:08.285492472Z level=info msg="Update check succeeded" duration=34.471068ms grafana | logger=plugins.update.checker t=2024-01-02T11:36:08.325853457Z level=info msg="Update check succeeded" duration=75.960866ms grafana | logger=infra.usagestats t=2024-01-02T11:36:43.26253902Z level=info msg="Usage stats are ready to report" ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing mariadb ... Removing prometheus ... Removing prometheus ... done Removing grafana ... done Removing policy-db-migrator ... done Removing policy-api ... done Removing mariadb ... done Removing network compose_default ++ cd /w/workspace/policy-api-london-project-csit-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.0VU6f6sCzz ]] + rsync -av /tmp/tmp.0VU6f6sCzz/ /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,552 bytes received 95 bytes 2,695,294.00 bytes/sec total size is 1,346,902 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 2107 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/jenkins5250432577269080152.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins11929734656907004290.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/policy-api-london-project-csit-api + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/policy-api-london-project-csit-api ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/policy-api-london-project-csit-api ']' + mkdir -p /w/workspace/policy-api-london-project-csit-api/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-london-project-csit-api/archives/ [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins16085426566806578851.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-8vjd from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-8vjd/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins8716724100971989941.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config18214788412129426402tmp 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/jenkins10927125982264798735.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins17792820113958181249.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-8vjd from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-8vjd/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins9672083483556549977.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins11198805668844037414.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-8vjd 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-8vjd/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/jenkins4176208828844033578.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-8vjd from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-8vjd/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/228 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-9140 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2800.000 BogoMIPS: 5600.00 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 858 27390 0 3918 30852 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:09:4f:06 brd ff:ff:ff:ff:ff:ff inet 10.30.107.116/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86009sec preferred_lft 86009sec inet6 fe80::f816:3eff:fe09:4f06/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:a1:84:39:b3 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-9140) 01/02/24 _x86_64_ (8 CPU) 11:32:24 LINUX RESTART (8 CPU) 11:33:01 tps rtps wtps bread/s bwrtn/s 11:34:01 103.10 42.56 60.54 1927.30 18730.23 11:35:01 87.15 13.71 73.44 1116.35 22228.96 11:36:01 239.52 12.51 227.01 2122.09 74989.99 11:37:01 202.57 9.29 193.29 372.91 16928.90 11:38:01 32.81 0.07 32.74 7.87 14707.13 Average: 132.90 15.64 117.26 1110.79 29541.80 11:33:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:34:01 30045744 31641560 2893476 8.78 64952 1842404 1481728 4.36 968872 1640112 174784 11:35:01 29745252 31641024 3193968 9.70 82748 2110044 1451748 4.27 955636 1921756 251296 11:36:01 27895188 31452312 5044032 15.31 116892 3674252 3032956 8.92 1237164 3372564 0 11:37:01 26713460 30317496 6225760 18.90 126180 3678060 4779704 14.06 2428988 3348484 12 11:38:01 26868944 30495344 6070276 18.43 126564 3705080 3231988 9.51 2278440 3360292 108 Average: 28253718 31109547 4685502 14.22 103467 3001968 2795625 8.23 1573820 2728642 85240 11:33:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:34:01 ens3 201.22 140.45 1021.14 46.03 0.00 0.00 0.00 0.00 11:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:34:01 lo 0.87 0.87 0.09 0.09 0.00 0.00 0.00 0.00 11:35:01 ens3 53.81 37.56 932.94 7.39 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 lo 1.27 1.27 0.13 0.13 0.00 0.00 0.00 0.00 11:36:01 veth94bb077 0.03 0.08 0.00 0.01 0.00 0.00 0.00 0.00 11:36:01 veth10afede 0.03 0.10 0.00 0.01 0.00 0.00 0.00 0.00 11:36:01 veth3fe6f95 0.00 0.20 0.00 0.02 0.00 0.00 0.00 0.00 11:36:01 ens3 275.81 177.96 8590.25 14.68 0.00 0.00 0.00 0.00 11:37:01 veth3c41b07 116.22 95.68 46.94 120.22 0.00 0.00 0.00 0.01 11:37:01 veth10afede 120.81 150.64 120.83 45.13 0.00 0.00 0.00 0.01 11:37:01 veth3fe6f95 0.15 0.25 0.01 0.28 0.00 0.00 0.00 0.00 11:37:01 ens3 7.34 5.91 1.71 1.76 0.00 0.00 0.00 0.00 11:38:01 veth3c41b07 1.33 1.38 0.54 0.09 0.00 0.00 0.00 0.00 11:38:01 ens3 15.91 16.13 9.32 8.04 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 br-4188553578f2 5.43 6.18 6.09 2.73 0.00 0.00 0.00 0.00 Average: veth3c41b07 23.33 19.26 9.42 23.88 0.00 0.00 0.00 0.00 Average: ens3 111.02 75.74 2115.23 15.61 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: br-4188553578f2 1.09 1.24 1.22 0.55 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-9140) 01/02/24 _x86_64_ (8 CPU) 11:32:24 LINUX RESTART (8 CPU) 11:33:01 CPU %user %nice %system %iowait %steal %idle 11:34:01 all 8.61 0.00 0.76 2.80 0.04 87.78 11:34:01 0 4.59 0.00 0.30 0.25 0.02 94.84 11:34:01 1 28.90 0.00 1.52 2.96 0.08 66.53 11:34:01 2 19.29 0.00 1.89 1.20 0.07 77.56 11:34:01 3 2.10 0.00 0.32 2.25 0.08 95.24 11:34:01 4 4.64 0.00 0.47 0.02 0.03 94.85 11:34:01 5 2.56 0.00 0.57 14.48 0.03 82.36 11:34:01 6 5.47 0.00 0.62 1.09 0.02 92.80 11:34:01 7 1.60 0.00 0.48 0.13 0.03 97.75 11:35:01 all 9.74 0.00 0.68 2.88 0.03 86.68 11:35:01 0 21.07 0.00 1.14 2.25 0.05 75.49 11:35:01 1 13.94 0.00 1.12 5.14 0.03 79.77 11:35:01 2 7.11 0.00 0.64 0.55 0.05 91.65 11:35:01 3 27.11 0.00 1.33 7.23 0.03 64.29 11:35:01 4 6.63 0.00 0.55 0.93 0.02 91.87 11:35:01 5 1.05 0.00 0.37 6.57 0.02 91.99 11:35:01 6 0.92 0.00 0.18 0.15 0.02 98.73 11:35:01 7 0.13 0.00 0.05 0.22 0.00 99.60 11:36:01 all 8.81 0.00 3.39 6.56 0.06 81.18 11:36:01 0 5.24 0.00 3.24 0.19 0.05 91.28 11:36:01 1 8.45 0.00 2.66 4.84 0.03 84.02 11:36:01 2 13.77 0.00 4.15 9.83 0.07 72.18 11:36:01 3 11.28 0.00 3.67 1.66 0.08 83.31 11:36:01 4 13.14 0.00 3.53 1.35 0.07 81.92 11:36:01 5 6.19 0.00 4.53 29.32 0.08 59.88 11:36:01 6 7.11 0.00 2.85 0.57 0.05 89.42 11:36:01 7 5.31 0.00 2.49 4.75 0.05 87.39 11:37:01 all 17.78 0.00 2.20 3.71 0.07 76.25 11:37:01 0 15.78 0.00 2.85 2.23 0.05 79.09 11:37:01 1 15.89 0.00 1.57 1.20 0.07 81.27 11:37:01 2 22.28 0.00 2.70 11.07 0.07 63.88 11:37:01 3 19.73 0.00 2.03 4.13 0.05 74.06 11:37:01 4 16.35 0.00 2.01 0.24 0.07 81.34 11:37:01 5 11.35 0.00 2.13 6.19 0.07 80.27 11:37:01 6 21.11 0.00 2.13 4.10 0.07 72.59 11:37:01 7 19.72 0.00 2.17 0.58 0.05 77.49 11:38:01 all 0.86 0.00 0.29 1.04 0.02 97.79 11:38:01 0 0.97 0.00 0.25 0.72 0.02 98.05 11:38:01 1 0.52 0.00 0.23 0.05 0.02 99.18 11:38:01 2 0.95 0.00 0.37 6.05 0.05 92.58 11:38:01 3 0.52 0.00 0.28 0.15 0.02 99.03 11:38:01 4 1.25 0.00 0.23 0.03 0.02 98.46 11:38:01 5 0.72 0.00 0.42 0.00 0.03 98.83 11:38:01 6 1.55 0.00 0.20 0.15 0.03 98.07 11:38:01 7 0.42 0.00 0.23 1.17 0.02 98.17 Average: all 9.14 0.00 1.46 3.39 0.04 85.97 Average: 0 9.53 0.00 1.55 1.13 0.04 87.75 Average: 1 13.50 0.00 1.42 2.84 0.05 82.20 Average: 2 12.63 0.00 1.94 5.72 0.06 79.65 Average: 3 12.14 0.00 1.52 3.08 0.05 83.19 Average: 4 8.37 0.00 1.35 0.51 0.04 89.72 Average: 5 4.34 0.00 1.59 11.29 0.05 82.73 Average: 6 7.20 0.00 1.19 1.21 0.04 90.36 Average: 7 5.39 0.00 1.08 1.36 0.03 92.13