Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-10712 (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-vrUpOSt6h2JA/agent.2093 SSH_AGENT_PID=2095 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_13421601941564329908.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_13421601941564329908.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/jenkins5408882044390149809.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-TyWf 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-TyWf/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.2 from /tmp/venv-TyWf/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.15 botocore==1.34.15 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.26.1 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==29.0.0 lftools==0.37.8 lxml==5.1.0 MarkupSafe==2.1.3 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==0.10.1 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.1 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.13 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/jenkins11149407486440940501.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/jenkins10296736134338410406.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.t2epPAJvRg ++ echo ROBOT_VENV=/tmp/tmp.t2epPAJvRg +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.t2epPAJvRg ++ source /tmp/tmp.t2epPAJvRg/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.t2epPAJvRg +++ 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.t2epPAJvRg/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.t2epPAJvRg) ' '!=' x ']' +++ PS1='(tmp.t2epPAJvRg) ' +++ 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.1.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.t2epPAJvRg/src/onap ++ rm -rf /tmp/tmp.t2epPAJvRg/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.1.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 ++ tr : ' ' ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o 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.t2epPAJvRg/bin/activate + '[' -z /tmp/tmp.t2epPAJvRg/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.t2epPAJvRg/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.t2epPAJvRg ++ 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.t2epPAJvRg/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.t2epPAJvRg) ' ++ '[' 'x(tmp.t2epPAJvRg) ' '!=' x ']' ++ PS1='(tmp.t2epPAJvRg) (tmp.t2epPAJvRg) ' ++ 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.OEfLMlEofR + cd /tmp/tmp.OEfLMlEofR + 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 mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done Creating prometheus ... done Creating grafana ... Creating grafana ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-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 grafana Up 10 seconds policy-api Up 11 seconds policy-db-migrator Up 12 seconds mariadb Up 13 seconds prometheus Up 10 seconds NAMES STATUS grafana Up 15 seconds policy-api Up 16 seconds mariadb Up 18 seconds prometheus Up 16 seconds NAMES STATUS grafana Up 20 seconds policy-api Up 21 seconds mariadb Up 23 seconds prometheus Up 21 seconds NAMES STATUS grafana Up 25 seconds policy-api Up 26 seconds mariadb Up 28 seconds prometheus Up 26 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-london-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:35:50 up 3 min, 0 users, load average: 2.18, 0.90, 0.35 Tasks: 178 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.2 us, 2.1 sy, 0.0 ni, 82.7 id, 3.9 wa, 0.0 hi, 0.1 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.8G 25G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up 25 seconds policy-api Up 26 seconds mariadb Up 28 seconds prometheus Up 26 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 79a1da365a41 grafana 0.03% 52.36MiB / 31.41GiB 0.16% 18.3kB / 3.23kB 0B / 23.7MB 18 f1091ae80005 policy-api 0.15% 905.4MiB / 31.41GiB 2.81% 1.04MB / 739kB 0B / 0B 50 14aea5f1c0d4 mariadb 0.02% 100.7MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11.2MB / 67.8MB 28 8ce560ed3a95 prometheus 0.00% 17.88MiB / 31.41GiB 0.06% 1.01kB / 158B 0B / 0B 13 + echo + cd /tmp/tmp.OEfLMlEofR + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + sed 's|^|/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot' + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ... + relax_set + set +e + set +o pipefail + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ============================================================================== api ============================================================================== api.Api-Test ============================================================================== Healthcheck :: Verify policy api health check | PASS | ------------------------------------------------------------------------------ Statistics :: Verify policy api statistics | PASS | ------------------------------------------------------------------------------ RetrievePolicyTypes :: Retrieve all policy types | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | ------------------------------------------------------------------------------ RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNodeTemplates :: Create node templates in database using spe... | PASS | ------------------------------------------------------------------------------ RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | ------------------------------------------------------------------------------ RetrieveAllPolicies :: Retrieve all policies | PASS | ------------------------------------------------------------------------------ RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | ------------------------------------------------------------------------------ RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | ------------------------------------------------------------------------------ RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | ------------------------------------------------------------------------------ DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ Metrics :: Verify policy-api is exporting prometheus metrics | PASS | ------------------------------------------------------------------------------ api.Api-Test | PASS | 23 tests, 23 passed, 0 failed ============================================================================== api.Api-Slas ============================================================================== WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForStatistics :: Validate statistics response ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ api.Api-Slas | PASS | 10 tests, 10 passed, 0 failed ============================================================================== api | PASS | 33 tests, 33 passed, 0 failed ============================================================================== Output: /tmp/tmp.OEfLMlEofR/output.xml Log: /tmp/tmp.OEfLMlEofR/log.html Report: /tmp/tmp.OEfLMlEofR/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 grafana Up About a minute policy-api 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:01 up 4 min, 0 users, load average: 0.76, 0.75, 0.34 Tasks: 176 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.5 us, 1.7 sy, 0.0 ni, 85.5 id, 3.3 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.9G 25G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api 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 79a1da365a41 grafana 1.45% 58.64MiB / 31.41GiB 0.18% 19.4kB / 4.48kB 0B / 23.7MB 18 f1091ae80005 policy-api 0.15% 940.7MiB / 31.41GiB 2.92% 7.32MB / 2.87MB 0B / 0B 52 14aea5f1c0d4 mariadb 0.02% 101.5MiB / 31.41GiB 0.32% 2.75MB / 7.36MB 11.2MB / 68MB 19 8ce560ed3a95 prometheus 0.00% 24.14MiB / 31.41GiB 0.08% 37.6kB / 7.1kB 0B / 0B 13 + echo + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose ++ cd /w/workspace/policy-api-london-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to grafana, policy-api, policy-db-migrator, mariadb, prometheus grafana | logger=settings t=2024-01-09T11:35:24.850553221Z 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-09T11:35:24.850844603Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-01-09T11:35:24.850858573Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-01-09T11:35:24.850863813Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-01-09T11:35:24.850873824Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-01-09T11:35:24.850878664Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-01-09T11:35:24.850884114Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-01-09T11:35:24.850888814Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-01-09T11:35:24.850893844Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-01-09T11:35:24.850898834Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-01-09T11:35:24.850903284Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-01-09T11:35:24.850907624Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-01-09T11:35:24.850912314Z level=info msg=Target target=[all] grafana | logger=settings t=2024-01-09T11:35:24.850919844Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-01-09T11:35:24.850924424Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-01-09T11:35:24.850929674Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-01-09T11:35:24.850934994Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-01-09T11:35:24.850940104Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-01-09T11:35:24.850944714Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-01-09T11:35:24.851342847Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-01-09T11:35:24.851366007Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-01-09T11:35:24.852154904Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-01-09T11:35:24.853265812Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-01-09T11:35:24.854330841Z level=info msg="Migration successfully executed" id="create migration_log table" duration=1.064409ms grafana | logger=migrator t=2024-01-09T11:35:24.859508571Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-01-09T11:35:24.859970655Z level=info msg="Migration successfully executed" id="create user table" duration=462.034µs grafana | logger=migrator t=2024-01-09T11:35:24.863442252Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-01-09T11:35:24.86452061Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.078868ms grafana | logger=migrator t=2024-01-09T11:35:24.870552937Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-01-09T11:35:24.871608186Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.055399ms grafana | logger=migrator t=2024-01-09T11:35:24.875223544Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-01-09T11:35:24.876306662Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.082858ms grafana | logger=migrator t=2024-01-09T11:35:24.879438437Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-01-09T11:35:24.880103772Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=660.985µs grafana | logger=migrator t=2024-01-09T11:35:24.884577847Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-01-09T11:35:24.887559241Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.980883ms grafana | logger=migrator t=2024-01-09T11:35:24.890620914Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-01-09T11:35:24.8913268Z level=info msg="Migration successfully executed" id="create user table v2" duration=705.756µs grafana | logger=migrator t=2024-01-09T11:35:24.894405074Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-01-09T11:35:24.89512787Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=722.666µs grafana | logger=migrator t=2024-01-09T11:35:24.900073138Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-01-09T11:35:24.900793084Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=719.826µs grafana | logger=migrator t=2024-01-09T11:35:24.904005429Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-01-09T11:35:24.904390142Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=384.623µs grafana | logger=migrator t=2024-01-09T11:35:24.907004513Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-01-09T11:35:24.907502947Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=498.434µs grafana | logger=migrator t=2024-01-09T11:35:24.909619793Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-01-09T11:35:24.910806513Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.1879ms grafana | logger=migrator t=2024-01-09T11:35:24.915845992Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-01-09T11:35:24.915877502Z level=info msg="Migration successfully executed" id="Update user table charset" duration=32.17µs grafana | logger=migrator t=2024-01-09T11:35:24.918380542Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-01-09T11:35:24.9194826Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.101558ms grafana | logger=migrator t=2024-01-09T11:35:24.922870237Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-01-09T11:35:24.923194999Z level=info msg="Migration successfully executed" id="Add missing user data" duration=324.972µs grafana | logger=migrator t=2024-01-09T11:35:24.926478935Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-01-09T11:35:24.928184268Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.704743ms grafana | logger=migrator t=2024-01-09T11:35:24.932524402Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-01-09T11:35:24.933258978Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=734.176µs grafana | logger=migrator t=2024-01-09T11:35:24.936155501Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-01-09T11:35:24.93734537Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.194549ms grafana | logger=migrator t=2024-01-09T11:35:24.940332014Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-01-09T11:35:24.95264498Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=12.313456ms grafana | logger=migrator t=2024-01-09T11:35:24.957279716Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-01-09T11:35:24.958031942Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=752.846µs grafana | logger=migrator t=2024-01-09T11:35:24.960852914Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-01-09T11:35:24.96156376Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=710.326µs grafana | logger=migrator t=2024-01-09T11:35:24.964888115Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-01-09T11:35:24.965597851Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=709.416µs grafana | logger=migrator t=2024-01-09T11:35:24.970151367Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-01-09T11:35:24.970881752Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=726.785µs grafana | logger=migrator t=2024-01-09T11:35:24.973931066Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-01-09T11:35:24.974686452Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=755.596µs grafana | logger=migrator t=2024-01-09T11:35:24.977750616Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-01-09T11:35:24.977776736Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=26.45µs grafana | logger=migrator t=2024-01-09T11:35:24.981018242Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-01-09T11:35:24.981667637Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=650.785µs grafana | logger=migrator t=2024-01-09T11:35:24.986350003Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-01-09T11:35:24.987013558Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=662.845µs grafana | logger=migrator t=2024-01-09T11:35:24.989923581Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-01-09T11:35:24.990593917Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=670.136µs grafana | logger=migrator t=2024-01-09T11:35:24.995098042Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-01-09T11:35:24.995693956Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=595.784µs grafana | logger=migrator t=2024-01-09T11:35:24.99867256Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-09T11:35:25.002177617Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.504317ms grafana | logger=migrator t=2024-01-09T11:35:25.004870498Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-01-09T11:35:25.005575154Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=704.396µs grafana | logger=migrator t=2024-01-09T11:35:25.008692229Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-01-09T11:35:25.009376244Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=683.505µs grafana | logger=migrator t=2024-01-09T11:35:25.015822335Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-01-09T11:35:25.016975854Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.172259ms grafana | logger=migrator t=2024-01-09T11:35:25.020611573Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-01-09T11:35:25.021394539Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=782.466µs grafana | logger=migrator t=2024-01-09T11:35:25.024532374Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-01-09T11:35:25.02531452Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=781.636µs grafana | logger=migrator t=2024-01-09T11:35:25.029945677Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-01-09T11:35:25.030468281Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=521.904µs grafana | logger=migrator t=2024-01-09T11:35:25.033819808Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-01-09T11:35:25.034536283Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=712.975µs grafana | logger=migrator t=2024-01-09T11:35:25.03793266Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-01-09T11:35:25.038447584Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=514.674µs grafana | logger=migrator t=2024-01-09T11:35:25.042009553Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-01-09T11:35:25.042728988Z level=info msg="Migration successfully executed" id="create star table" duration=764.526µs grafana | logger=migrator t=2024-01-09T11:35:25.045860543Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-01-09T11:35:25.04678284Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=917.777µs grafana | logger=migrator t=2024-01-09T11:35:25.049900575Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-01-09T11:35:25.0506249Z level=info msg="Migration successfully executed" id="create org table v1" duration=723.165µs grafana | logger=migrator t=2024-01-09T11:35:25.056556787Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-01-09T11:35:25.057361054Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=789.667µs grafana | logger=migrator t=2024-01-09T11:35:25.060383048Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-01-09T11:35:25.061049323Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=666.065µs grafana | logger=migrator t=2024-01-09T11:35:25.064368999Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-01-09T11:35:25.065240166Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=871.207µs grafana | logger=migrator t=2024-01-09T11:35:25.068058908Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-01-09T11:35:25.068926225Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=866.707µs grafana | logger=migrator t=2024-01-09T11:35:25.073438611Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-01-09T11:35:25.07448711Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.048678ms grafana | logger=migrator t=2024-01-09T11:35:25.077436693Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-01-09T11:35:25.077461993Z level=info msg="Migration successfully executed" id="Update org table charset" duration=26.12µs grafana | logger=migrator t=2024-01-09T11:35:25.080221375Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-01-09T11:35:25.080246395Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=25.36µs grafana | logger=migrator t=2024-01-09T11:35:25.083128448Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-01-09T11:35:25.083296579Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=168.271µs grafana | logger=migrator t=2024-01-09T11:35:25.088094507Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-01-09T11:35:25.089142686Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.048259ms grafana | logger=migrator t=2024-01-09T11:35:25.092363081Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-01-09T11:35:25.093615571Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.24445ms grafana | logger=migrator t=2024-01-09T11:35:25.096704135Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-01-09T11:35:25.097492671Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=788.546µs grafana | logger=migrator t=2024-01-09T11:35:25.100389275Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-01-09T11:35:25.1010312Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=641.875µs grafana | logger=migrator t=2024-01-09T11:35:25.105559385Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-01-09T11:35:25.106359142Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=799.347µs grafana | logger=migrator t=2024-01-09T11:35:25.109601938Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-01-09T11:35:25.110422064Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=819.866µs grafana | logger=migrator t=2024-01-09T11:35:25.113320007Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-01-09T11:35:25.119868639Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=6.548312ms grafana | logger=migrator t=2024-01-09T11:35:25.124579276Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-01-09T11:35:25.125242661Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=663.275µs grafana | logger=migrator t=2024-01-09T11:35:25.128382346Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-01-09T11:35:25.129129162Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=788.706µs grafana | logger=migrator t=2024-01-09T11:35:25.131882894Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-01-09T11:35:25.13263141Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=748.116µs grafana | logger=migrator t=2024-01-09T11:35:25.137477538Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-01-09T11:35:25.137810631Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=333.173µs grafana | logger=migrator t=2024-01-09T11:35:25.140733374Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-01-09T11:35:25.141555781Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=822.217µs grafana | logger=migrator t=2024-01-09T11:35:25.144258562Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-01-09T11:35:25.144323972Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=66.1µs grafana | logger=migrator t=2024-01-09T11:35:25.149331342Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-01-09T11:35:25.151096036Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.764344ms grafana | logger=migrator t=2024-01-09T11:35:25.153986809Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-01-09T11:35:25.155792223Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.806194ms grafana | logger=migrator t=2024-01-09T11:35:25.158638126Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-01-09T11:35:25.1604425Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.801544ms grafana | logger=migrator t=2024-01-09T11:35:25.164779244Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-01-09T11:35:25.16554726Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=767.686µs grafana | logger=migrator t=2024-01-09T11:35:25.168455723Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-01-09T11:35:25.170689161Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.232988ms grafana | logger=migrator t=2024-01-09T11:35:25.173790836Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-01-09T11:35:25.175932623Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=2.137967ms grafana | logger=migrator t=2024-01-09T11:35:25.181136094Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-01-09T11:35:25.182440324Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.30445ms grafana | logger=migrator t=2024-01-09T11:35:25.185602869Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-01-09T11:35:25.18567031Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=39.14µs grafana | logger=migrator t=2024-01-09T11:35:25.188971996Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-01-09T11:35:25.188998706Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=27.65µs grafana | logger=migrator t=2024-01-09T11:35:25.229534387Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-01-09T11:35:25.231951946Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.49467ms grafana | logger=migrator t=2024-01-09T11:35:25.236993936Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-01-09T11:35:25.238960102Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.965986ms grafana | logger=migrator t=2024-01-09T11:35:25.242307558Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-01-09T11:35:25.244197503Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.893395ms grafana | logger=migrator t=2024-01-09T11:35:25.248983991Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-01-09T11:35:25.250961917Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.977526ms grafana | logger=migrator t=2024-01-09T11:35:25.254099651Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-01-09T11:35:25.254354763Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=254.792µs grafana | logger=migrator t=2024-01-09T11:35:25.257256777Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-01-09T11:35:25.258233674Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=976.418µs grafana | logger=migrator t=2024-01-09T11:35:25.26148404Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-01-09T11:35:25.262424507Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=940.547µs grafana | logger=migrator t=2024-01-09T11:35:25.267597708Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-01-09T11:35:25.267630419Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=33.641µs grafana | logger=migrator t=2024-01-09T11:35:25.270182189Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-01-09T11:35:25.271079656Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=893.907µs grafana | logger=migrator t=2024-01-09T11:35:25.274076959Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-01-09T11:35:25.274779595Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=702.206µs grafana | logger=migrator t=2024-01-09T11:35:25.279527073Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-09T11:35:25.287171113Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=7.6373ms grafana | logger=migrator t=2024-01-09T11:35:25.290304208Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-01-09T11:35:25.291057764Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=753.566µs grafana | logger=migrator t=2024-01-09T11:35:25.294200259Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-01-09T11:35:25.295088986Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=882.637µs grafana | logger=migrator t=2024-01-09T11:35:25.301132764Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-01-09T11:35:25.302628126Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.494672ms grafana | logger=migrator t=2024-01-09T11:35:25.306081123Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-01-09T11:35:25.306685278Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=602.745µs grafana | logger=migrator t=2024-01-09T11:35:25.310076405Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-01-09T11:35:25.310659539Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=582.474µs grafana | logger=migrator t=2024-01-09T11:35:25.315416087Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-01-09T11:35:25.317478533Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.062136ms grafana | logger=migrator t=2024-01-09T11:35:25.320784029Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-01-09T11:35:25.321679646Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=895.357µs grafana | logger=migrator t=2024-01-09T11:35:25.324764711Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-01-09T11:35:25.325029503Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=264.432µs grafana | logger=migrator t=2024-01-09T11:35:25.3297792Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-01-09T11:35:25.330054433Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=271.433µs grafana | logger=migrator t=2024-01-09T11:35:25.333139077Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-01-09T11:35:25.334066835Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=922.398µs grafana | logger=migrator t=2024-01-09T11:35:25.33729107Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-01-09T11:35:25.340727607Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.435497ms grafana | logger=migrator t=2024-01-09T11:35:25.344274155Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-01-09T11:35:25.345192293Z level=info msg="Migration successfully executed" id="create data_source table" duration=918.748µs grafana | logger=migrator t=2024-01-09T11:35:25.350154932Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-01-09T11:35:25.350987438Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=828.856µs grafana | logger=migrator t=2024-01-09T11:35:25.354191754Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-01-09T11:35:25.355071481Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=879.457µs grafana | logger=migrator t=2024-01-09T11:35:25.358233746Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-01-09T11:35:25.359095223Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=861.527µs grafana | logger=migrator t=2024-01-09T11:35:25.36380311Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-01-09T11:35:25.364620547Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=817.536µs grafana | logger=migrator t=2024-01-09T11:35:25.368049793Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-01-09T11:35:25.376202748Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=8.150515ms grafana | logger=migrator t=2024-01-09T11:35:25.380950136Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-01-09T11:35:25.381872563Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=916.737µs grafana | logger=migrator t=2024-01-09T11:35:25.385211209Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-01-09T11:35:25.386145337Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=933.748µs grafana | logger=migrator t=2024-01-09T11:35:25.389268661Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-01-09T11:35:25.390242079Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=972.898µs grafana | logger=migrator t=2024-01-09T11:35:25.39541824Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-01-09T11:35:25.396044335Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=629.915µs grafana | logger=migrator t=2024-01-09T11:35:25.39923102Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-01-09T11:35:25.40167102Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.43894ms grafana | logger=migrator t=2024-01-09T11:35:25.405043466Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-01-09T11:35:25.407442876Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.39862ms grafana | logger=migrator t=2024-01-09T11:35:25.412341034Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-01-09T11:35:25.412372535Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=24.541µs grafana | logger=migrator t=2024-01-09T11:35:25.415705681Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-01-09T11:35:25.415969533Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=261.542µs grafana | logger=migrator t=2024-01-09T11:35:25.419647662Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-01-09T11:35:25.422009831Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.361999ms grafana | logger=migrator t=2024-01-09T11:35:25.425045315Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-01-09T11:35:25.425330027Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=284.682µs grafana | logger=migrator t=2024-01-09T11:35:25.431394315Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-01-09T11:35:25.431757488Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=362.613µs grafana | logger=migrator t=2024-01-09T11:35:25.435340436Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-01-09T11:35:25.439029125Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.687809ms grafana | logger=migrator t=2024-01-09T11:35:25.442445543Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-01-09T11:35:25.442700585Z level=info msg="Migration successfully executed" id="Update uid value" duration=254.582µs grafana | logger=migrator t=2024-01-09T11:35:25.445700958Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-01-09T11:35:25.446999189Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.297061ms grafana | logger=migrator t=2024-01-09T11:35:25.451770486Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-01-09T11:35:25.453114247Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.343211ms grafana | logger=migrator t=2024-01-09T11:35:25.456328942Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-01-09T11:35:25.457503822Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.17577ms grafana | logger=migrator t=2024-01-09T11:35:25.462488221Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-01-09T11:35:25.463321408Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=833.097µs grafana | logger=migrator t=2024-01-09T11:35:25.466613094Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-01-09T11:35:25.467508471Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=889.237µs grafana | logger=migrator t=2024-01-09T11:35:25.470420704Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-01-09T11:35:25.471333821Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=912.567µs grafana | logger=migrator t=2024-01-09T11:35:25.477617251Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-01-09T11:35:25.478611089Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=996.038µs grafana | logger=migrator t=2024-01-09T11:35:25.482264468Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-01-09T11:35:25.483364826Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.100268ms grafana | logger=migrator t=2024-01-09T11:35:25.486712173Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-01-09T11:35:25.487448289Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=735.876µs grafana | logger=migrator t=2024-01-09T11:35:25.492989493Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-01-09T11:35:25.503868189Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=10.878956ms grafana | logger=migrator t=2024-01-09T11:35:25.507011644Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-01-09T11:35:25.507469167Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=457.053µs grafana | logger=migrator t=2024-01-09T11:35:25.510155979Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-01-09T11:35:25.510712263Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=559.814µs grafana | logger=migrator t=2024-01-09T11:35:25.515003687Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-01-09T11:35:25.515729003Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=725.076µs grafana | logger=migrator t=2024-01-09T11:35:25.518991269Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-01-09T11:35:25.519770125Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=778.246µs grafana | logger=migrator t=2024-01-09T11:35:25.522793729Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-01-09T11:35:25.523347153Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=553.114µs grafana | logger=migrator t=2024-01-09T11:35:25.527744778Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-01-09T11:35:25.528595425Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=850.607µs grafana | logger=migrator t=2024-01-09T11:35:25.53177576Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-01-09T11:35:25.53179712Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=22µs grafana | logger=migrator t=2024-01-09T11:35:25.534237149Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-01-09T11:35:25.5368218Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.611801ms grafana | logger=migrator t=2024-01-09T11:35:25.541640608Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-01-09T11:35:25.544100987Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.463279ms grafana | logger=migrator t=2024-01-09T11:35:25.547526285Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-01-09T11:35:25.547693796Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=167.481µs grafana | logger=migrator t=2024-01-09T11:35:25.550167505Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-01-09T11:35:25.552568344Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.400359ms grafana | logger=migrator t=2024-01-09T11:35:25.557220461Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-01-09T11:35:25.559804702Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.581011ms grafana | logger=migrator t=2024-01-09T11:35:25.562875886Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-01-09T11:35:25.563538901Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=661.225µs grafana | logger=migrator t=2024-01-09T11:35:25.566609446Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-01-09T11:35:25.56712292Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=513.364µs grafana | logger=migrator t=2024-01-09T11:35:25.571243952Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-01-09T11:35:25.571965878Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=721.476µs grafana | logger=migrator t=2024-01-09T11:35:25.609145552Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-01-09T11:35:25.610612814Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.465162ms grafana | logger=migrator t=2024-01-09T11:35:25.615654144Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-01-09T11:35:25.616897974Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.24553ms grafana | logger=migrator t=2024-01-09T11:35:25.620843645Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-01-09T11:35:25.621640761Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=796.666µs grafana | logger=migrator t=2024-01-09T11:35:25.625458042Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-01-09T11:35:25.625515592Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=58.41µs grafana | logger=migrator t=2024-01-09T11:35:25.62904914Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-01-09T11:35:25.62908737Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=39.49µs grafana | logger=migrator t=2024-01-09T11:35:25.633335544Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-01-09T11:35:25.63793573Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.597656ms grafana | logger=migrator t=2024-01-09T11:35:25.641428248Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-01-09T11:35:25.644108279Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.679651ms grafana | logger=migrator t=2024-01-09T11:35:25.647824239Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-01-09T11:35:25.647889499Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=65.941µs grafana | logger=migrator t=2024-01-09T11:35:25.652184563Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-01-09T11:35:25.652841748Z level=info msg="Migration successfully executed" id="create quota table v1" duration=657.005µs grafana | logger=migrator t=2024-01-09T11:35:25.656422647Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-01-09T11:35:25.657755897Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.33243ms grafana | logger=migrator t=2024-01-09T11:35:25.661349826Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-01-09T11:35:25.661387176Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=38.91µs grafana | logger=migrator t=2024-01-09T11:35:25.665314637Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-01-09T11:35:25.666031223Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=716.506µs grafana | logger=migrator t=2024-01-09T11:35:25.670318467Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-01-09T11:35:25.671169723Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=850.506µs grafana | logger=migrator t=2024-01-09T11:35:25.674625281Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-01-09T11:35:25.679100696Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.479295ms grafana | logger=migrator t=2024-01-09T11:35:25.682551584Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-01-09T11:35:25.682572934Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=22.21µs grafana | logger=migrator t=2024-01-09T11:35:25.686845187Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-01-09T11:35:25.687587823Z level=info msg="Migration successfully executed" id="create session table" duration=742.316µs grafana | logger=migrator t=2024-01-09T11:35:25.69100912Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-01-09T11:35:25.691136521Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=121.501µs grafana | logger=migrator t=2024-01-09T11:35:25.69476458Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-01-09T11:35:25.694879711Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=115.781µs grafana | logger=migrator t=2024-01-09T11:35:25.699893801Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-01-09T11:35:25.700862119Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=967.938µs grafana | logger=migrator t=2024-01-09T11:35:25.704418947Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-01-09T11:35:25.705402284Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=984.187µs grafana | logger=migrator t=2024-01-09T11:35:25.708876232Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-01-09T11:35:25.708898432Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=23.19µs grafana | logger=migrator t=2024-01-09T11:35:25.712065597Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-01-09T11:35:25.712086077Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=21.17µs grafana | logger=migrator t=2024-01-09T11:35:25.716524872Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-01-09T11:35:25.72121494Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.689348ms grafana | logger=migrator t=2024-01-09T11:35:25.724848498Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-01-09T11:35:25.727783782Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=2.937974ms grafana | logger=migrator t=2024-01-09T11:35:25.731139358Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-01-09T11:35:25.731225299Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=86.211µs grafana | logger=migrator t=2024-01-09T11:35:25.73512142Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-01-09T11:35:25.73520138Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=80.54µs grafana | logger=migrator t=2024-01-09T11:35:25.737983072Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-01-09T11:35:25.738651758Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=671.506µs grafana | logger=migrator t=2024-01-09T11:35:25.808662492Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-01-09T11:35:25.808710872Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=49.93µs grafana | logger=migrator t=2024-01-09T11:35:25.886158826Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-01-09T11:35:25.892209653Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=6.054687ms grafana | logger=migrator t=2024-01-09T11:35:25.898706155Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-01-09T11:35:25.899171388Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=462.143µs grafana | logger=migrator t=2024-01-09T11:35:25.902873098Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-01-09T11:35:25.906299795Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.425217ms grafana | logger=migrator t=2024-01-09T11:35:25.910218406Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2024-01-09T11:35:25.913971866Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.75421ms grafana | logger=migrator t=2024-01-09T11:35:25.919647131Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-01-09T11:35:25.919725921Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=79.22µs grafana | logger=migrator t=2024-01-09T11:35:25.92333193Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-01-09T11:35:25.924501339Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.167279ms grafana | logger=migrator t=2024-01-09T11:35:25.928337259Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-01-09T11:35:25.929299397Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=957.858µs grafana | logger=migrator t=2024-01-09T11:35:25.933836393Z level=info msg="Executing migration" id="create alert table 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 | Connection to mariadb 3306 port [tcp/mysql] succeeded! policy-db-migrator | 314 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 policy-db-migrator | upgrade: 0 -> 1200 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:25.934996672Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.160059ms grafana | logger=migrator t=2024-01-09T11:35:25.938362569Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-01-09T11:35:25.939191105Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=824.936µs grafana | logger=migrator t=2024-01-09T11:35:25.94236273Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-01-09T11:35:25.943014505Z level=info msg="Migration successfully executed" id="add index alert state" duration=651.915µs grafana | logger=migrator t=2024-01-09T11:35:25.948099466Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-01-09T11:35:25.948864912Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=765.316µs grafana | logger=migrator t=2024-01-09T11:35:25.952088267Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-01-09T11:35:25.952545261Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=456.474µs grafana | logger=migrator t=2024-01-09T11:35:25.956095909Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-01-09T11:35:25.95745627Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.359991ms grafana | logger=migrator t=2024-01-09T11:35:25.992559148Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-01-09T11:35:25.993923849Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.356841ms grafana | logger=migrator t=2024-01-09T11:35:25.998000651Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-01-09T11:35:26.012646797Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=14.647016ms grafana | logger=migrator t=2024-01-09T11:35:26.016290874Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-01-09T11:35:26.016766389Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=475.325µs grafana | logger=migrator t=2024-01-09T11:35:26.020972272Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2024-01-09T11:35:26.02179979Z 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=827.488µs grafana | logger=migrator t=2024-01-09T11:35:26.133943363Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-01-09T11:35:26.134522389Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=584.226µs grafana | logger=migrator t=2024-01-09T11:35:26.138575589Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-01-09T11:35:26.139438498Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=871.829µs grafana | logger=migrator t=2024-01-09T11:35:26.144856182Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2024-01-09T11:35:26.145994103Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.137521ms grafana | logger=migrator t=2024-01-09T11:35:26.150160555Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-01-09T11:35:26.15359963Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.438685ms grafana | logger=migrator t=2024-01-09T11:35:26.157349297Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-01-09T11:35:26.160856892Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.506995ms grafana | logger=migrator t=2024-01-09T11:35:26.165442588Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-01-09T11:35:26.168864102Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.416504ms grafana | logger=migrator t=2024-01-09T11:35:26.173453978Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-01-09T11:35:26.176916113Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.461805ms grafana | logger=migrator t=2024-01-09T11:35:26.188315167Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-01-09T11:35:26.189410068Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.089141ms grafana | logger=migrator t=2024-01-09T11:35:26.195807362Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-01-09T11:35:26.195841923Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=35.831µs grafana | logger=migrator t=2024-01-09T11:35:26.314746813Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-01-09T11:35:26.314823354Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=79.961µs grafana | logger=migrator t=2024-01-09T11:35:26.32037242Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-01-09T11:35:26.321578602Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.210332ms grafana | logger=migrator t=2024-01-09T11:35:26.327802884Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-01-09T11:35:26.329276199Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.473485ms grafana | logger=migrator t=2024-01-09T11:35:26.334529661Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2024-01-09T11:35:26.335673013Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.142232ms grafana | logger=migrator t=2024-01-09T11:35:26.340647213Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2024-01-09T11:35:26.34138448Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=736.837µs grafana | logger=migrator t=2024-01-09T11:35:26.376826845Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-01-09T11:35:26.37829865Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.477625ms grafana | logger=migrator t=2024-01-09T11:35:26.382169298Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2024-01-09T11:35:26.38734589Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=5.177402ms grafana | logger=migrator t=2024-01-09T11:35:26.390935906Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2024-01-09T11:35:26.394583593Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.647157ms grafana | logger=migrator t=2024-01-09T11:35:26.423639614Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-01-09T11:35:26.423933467Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=292.523µs grafana | logger=migrator t=2024-01-09T11:35:26.427412081Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2024-01-09T11:35:26.428831996Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.419505ms grafana | logger=migrator t=2024-01-09T11:35:26.443355381Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2024-01-09T11:35:26.444679064Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.322803ms grafana | logger=migrator t=2024-01-09T11:35:26.449572093Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2024-01-09T11:35:26.453475182Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.903879ms grafana | logger=migrator t=2024-01-09T11:35:26.459699755Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2024-01-09T11:35:26.459801396Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=101.391µs grafana | logger=migrator t=2024-01-09T11:35:26.464430072Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-01-09T11:35:26.46524602Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=815.608µs grafana | logger=migrator t=2024-01-09T11:35:26.468809726Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2024-01-09T11:35:26.470549273Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.738667ms grafana | logger=migrator t=2024-01-09T11:35:26.476540833Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2024-01-09T11:35:26.476707675Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=187.622µs grafana | logger=migrator t=2024-01-09T11:35:26.481437042Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2024-01-09T11:35:26.482382302Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=946.6µs grafana | logger=migrator t=2024-01-09T11:35:26.486844227Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2024-01-09T11:35:26.488435353Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.587505ms grafana | logger=migrator t=2024-01-09T11:35:26.494535534Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2024-01-09T11:35:26.496286111Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.749987ms grafana | logger=migrator t=2024-01-09T11:35:26.506859917Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2024-01-09T11:35:26.510658885Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=3.774618ms grafana | logger=migrator t=2024-01-09T11:35:26.518029489Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2024-01-09T11:35:26.51914717Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.117791ms grafana | logger=migrator t=2024-01-09T11:35:26.522847627Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2024-01-09T11:35:26.524044669Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.196982ms grafana | logger=migrator t=2024-01-09T11:35:26.531392333Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2024-01-09T11:35:26.531468773Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=69.55µs grafana | logger=migrator t=2024-01-09T11:35:26.534668275Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2024-01-09T11:35:26.540465474Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=5.798038ms grafana | logger=migrator t=2024-01-09T11:35:26.54514432Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2024-01-09T11:35:26.546163141Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=1.018791ms grafana | logger=migrator t=2024-01-09T11:35:26.550452874Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2024-01-09T11:35:26.554964049Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=4.510716ms grafana | logger=migrator t=2024-01-09T11:35:26.560240142Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-01-09T11:35:26.560970139Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=729.408µs grafana | logger=migrator t=2024-01-09T11:35:26.564269732Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2024-01-09T11:35:26.565499054Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.217762ms grafana | logger=migrator t=2024-01-09T11:35:26.569269582Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2024-01-09T11:35:26.570747707Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.478055ms grafana | logger=migrator t=2024-01-09T11:35:26.57605835Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2024-01-09T11:35:26.594264732Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=18.206872ms grafana | logger=migrator t=2024-01-09T11:35:26.597453274Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2024-01-09T11:35:26.597985649Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=532.195µs grafana | logger=migrator t=2024-01-09T11:35:26.60502695Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" grafana | logger=migrator t=2024-01-09T11:35:26.606569235Z level=info msg="Migration successfully executed" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" duration=1.541935ms grafana | logger=migrator t=2024-01-09T11:35:26.610088931Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2024-01-09T11:35:26.610631376Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=541.235µs grafana | logger=migrator t=2024-01-09T11:35:26.614767698Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2024-01-09T11:35:26.615429214Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=661.276µs grafana | logger=migrator t=2024-01-09T11:35:26.618805898Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2024-01-09T11:35:26.619064811Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=258.693µs grafana | logger=migrator t=2024-01-09T11:35:26.62600663Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2024-01-09T11:35:26.632077171Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.076461ms grafana | logger=migrator t=2024-01-09T11:35:26.636914699Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2024-01-09T11:35:26.641085371Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.169922ms grafana | logger=migrator t=2024-01-09T11:35:26.644634117Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2024-01-09T11:35:26.645782268Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.141661ms grafana | logger=migrator t=2024-01-09T11:35:26.651758918Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2024-01-09T11:35:26.653689687Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.883419ms grafana | logger=migrator t=2024-01-09T11:35:26.657745408Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2024-01-09T11:35:26.658274933Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=528.705µs grafana | logger=migrator t=2024-01-09T11:35:26.662159422Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2024-01-09T11:35:26.669829019Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=7.666957ms grafana | logger=migrator t=2024-01-09T11:35:26.679639377Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2024-01-09T11:35:26.681464385Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.823868ms grafana | logger=migrator t=2024-01-09T11:35:26.688744598Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2024-01-09T11:35:26.688982921Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=202.602µs grafana | logger=migrator t=2024-01-09T11:35:26.694794169Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2024-01-09T11:35:26.695289784Z level=info msg="Migration successfully executed" id="Move region to single row" duration=494.235µs grafana | logger=migrator t=2024-01-09T11:35:26.701821889Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2024-01-09T11:35:26.703281204Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.459305ms grafana | logger=migrator t=2024-01-09T11:35:26.708118882Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2024-01-09T11:35:26.709035171Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=921.779µs grafana | logger=migrator t=2024-01-09T11:35:26.715065312Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-01-09T11:35:26.716571887Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.505915ms grafana | logger=migrator t=2024-01-09T11:35:26.723510846Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-01-09T11:35:26.724455556Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=944.56µs grafana | logger=migrator t=2024-01-09T11:35:26.763258824Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2024-01-09T11:35:26.76481697Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.562356ms grafana | logger=migrator t=2024-01-09T11:35:26.76980957Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2024-01-09T11:35:26.770720029Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=910.259µs grafana | logger=migrator t=2024-01-09T11:35:26.778163964Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2024-01-09T11:35:26.778271945Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=109.001µs grafana | logger=migrator t=2024-01-09T11:35:26.785244735Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2024-01-09T11:35:26.786959142Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.713427ms grafana | logger=migrator t=2024-01-09T11:35:26.791970632Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2024-01-09T11:35:26.79281288Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=841.838µs grafana | logger=migrator t=2024-01-09T11:35:26.799436907Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2024-01-09T11:35:26.800678899Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.240452ms grafana | logger=migrator t=2024-01-09T11:35:26.80674214Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2024-01-09T11:35:26.808641629Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.892529ms grafana | logger=migrator t=2024-01-09T11:35:26.81373923Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2024-01-09T11:35:26.814017063Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=252.482µs grafana | logger=migrator t=2024-01-09T11:35:26.819180994Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2024-01-09T11:35:26.819960782Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=778.828µs grafana | logger=migrator t=2024-01-09T11:35:26.826481218Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2024-01-09T11:35:26.826583709Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=103.132µs grafana | logger=migrator t=2024-01-09T11:35:26.834031513Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2024-01-09T11:35:26.835283316Z level=info msg="Migration successfully executed" id="create team table" duration=1.242093ms grafana | logger=migrator t=2024-01-09T11:35:26.841773441Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2024-01-09T11:35:26.843005623Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.226132ms grafana | logger=migrator t=2024-01-09T11:35:26.85170983Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2024-01-09T11:35:26.853553629Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.838429ms grafana | logger=migrator t=2024-01-09T11:35:26.859324626Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2024-01-09T11:35:26.864562479Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=5.238893ms grafana | logger=migrator t=2024-01-09T11:35:26.869439818Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2024-01-09T11:35:26.869889742Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=444.834µs grafana | logger=migrator t=2024-01-09T11:35:26.875818432Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2024-01-09T11:35:26.877576659Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.757577ms grafana | logger=migrator t=2024-01-09T11:35:26.88167705Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2024-01-09T11:35:26.882705471Z level=info msg="Migration successfully executed" id="create team member table" duration=1.02807ms grafana | logger=migrator t=2024-01-09T11:35:26.888741451Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2024-01-09T11:35:26.890385787Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.644416ms grafana | logger=migrator t=2024-01-09T11:35:26.898378237Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2024-01-09T11:35:26.899443958Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.065621ms grafana | logger=migrator t=2024-01-09T11:35:26.905023904Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2024-01-09T11:35:26.906541689Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.526205ms grafana | logger=migrator t=2024-01-09T11:35:26.912322617Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2024-01-09T11:35:26.920544799Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=8.221932ms grafana | logger=migrator t=2024-01-09T11:35:26.929674621Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2024-01-09T11:35:26.936855763Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=7.182672ms grafana | logger=migrator t=2024-01-09T11:35:26.943360798Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2024-01-09T11:35:26.946631371Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=3.270383ms grafana | logger=migrator t=2024-01-09T11:35:26.953194646Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2024-01-09T11:35:26.954767842Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.572716ms grafana | logger=migrator t=2024-01-09T11:35:26.963259657Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2024-01-09T11:35:26.964741482Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.481735ms grafana | logger=migrator t=2024-01-09T11:35:26.969738532Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2024-01-09T11:35:26.970786323Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.05118ms grafana | logger=migrator t=2024-01-09T11:35:26.976806043Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2024-01-09T11:35:26.977935164Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.127371ms grafana | logger=migrator t=2024-01-09T11:35:26.989160216Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2024-01-09T11:35:26.990860184Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.689207ms grafana | logger=migrator t=2024-01-09T11:35:26.997878744Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2024-01-09T11:35:26.99950013Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.621136ms grafana | logger=migrator t=2024-01-09T11:35:27.006106246Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2024-01-09T11:35:27.007151836Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.0452ms grafana | logger=migrator t=2024-01-09T11:35:27.017611789Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2024-01-09T11:35:27.019156794Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.545655ms grafana | logger=migrator t=2024-01-09T11:35:27.023499556Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2024-01-09T11:35:27.024334124Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=833.928µs grafana | logger=migrator t=2024-01-09T11:35:27.03003917Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2024-01-09T11:35:27.030498065Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=467.314µs grafana | logger=migrator t=2024-01-09T11:35:27.034813747Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2024-01-09T11:35:27.036029979Z level=info msg="Migration successfully executed" id="create tag table" duration=1.215482ms grafana | logger=migrator t=2024-01-09T11:35:27.044181159Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2024-01-09T11:35:27.045220729Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.04085ms grafana | logger=migrator t=2024-01-09T11:35:27.053026957Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2024-01-09T11:35:27.054456251Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.434615ms grafana | logger=migrator t=2024-01-09T11:35:27.059266618Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:27.061021996Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.754328ms grafana | logger=migrator t=2024-01-09T11:35:27.066378729Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2024-01-09T11:35:27.067393249Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.01493ms grafana | logger=migrator t=2024-01-09T11:35:27.073742841Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-09T11:35:27.098076001Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=24.33467ms grafana | logger=migrator t=2024-01-09T11:35:27.104887649Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2024-01-09T11:35:27.105724947Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=841.238µs grafana | logger=migrator t=2024-01-09T11:35:27.119307421Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2024-01-09T11:35:27.120904977Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.597376ms grafana | logger=migrator t=2024-01-09T11:35:27.127556013Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2024-01-09T11:35:27.128171069Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=624.747µs grafana | logger=migrator t=2024-01-09T11:35:27.138262578Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2024-01-09T11:35:27.139341299Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.078341ms grafana | logger=migrator t=2024-01-09T11:35:27.148422499Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2024-01-09T11:35:27.149730061Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.306662ms grafana | logger=migrator t=2024-01-09T11:35:27.155332367Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2024-01-09T11:35:27.156898072Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.568455ms grafana | logger=migrator t=2024-01-09T11:35:27.164318786Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2024-01-09T11:35:27.164434267Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=109.271µs grafana | logger=migrator t=2024-01-09T11:35:27.174961241Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2024-01-09T11:35:27.182881229Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=7.920638ms grafana | logger=migrator t=2024-01-09T11:35:27.189377083Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2024-01-09T11:35:27.194401143Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.02332ms grafana | logger=migrator t=2024-01-09T11:35:27.20319718Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2024-01-09T11:35:27.212458241Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=9.260562ms grafana | logger=migrator t=2024-01-09T11:35:27.217194058Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2024-01-09T11:35:27.220911495Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=3.717087ms grafana | logger=migrator t=2024-01-09T11:35:27.228189437Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2024-01-09T11:35:27.229266217Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.076581ms grafana | logger=migrator t=2024-01-09T11:35:27.236228816Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2024-01-09T11:35:27.244516567Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=8.287041ms grafana | logger=migrator t=2024-01-09T11:35:27.251706338Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2024-01-09T11:35:27.252305564Z level=info msg="Migration successfully executed" id="create server_lock table" duration=598.886µs grafana | logger=migrator t=2024-01-09T11:35:27.258875278Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2024-01-09T11:35:27.260536875Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.661837ms grafana | logger=migrator t=2024-01-09T11:35:27.265709936Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2024-01-09T11:35:27.266608865Z level=info msg="Migration successfully executed" id="create user auth token table" duration=897.779µs grafana | logger=migrator t=2024-01-09T11:35:27.270991438Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2024-01-09T11:35:27.272640595Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.647607ms grafana | logger=migrator t=2024-01-09T11:35:27.282023937Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2024-01-09T11:35:27.283843705Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.819348ms grafana | logger=migrator t=2024-01-09T11:35:27.290781414Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2024-01-09T11:35:27.291838584Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.06092ms grafana | logger=migrator t=2024-01-09T11:35:27.296711582Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2024-01-09T11:35:27.305297837Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=8.569045ms grafana | logger=migrator t=2024-01-09T11:35:27.312190765Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2024-01-09T11:35:27.312942172Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=751.347µs grafana | logger=migrator t=2024-01-09T11:35:27.317688709Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2024-01-09T11:35:27.319129924Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.440625ms grafana | logger=migrator t=2024-01-09T11:35:27.324232014Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2024-01-09T11:35:27.326643218Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=2.410104ms grafana | logger=migrator t=2024-01-09T11:35:27.332121302Z level=info msg="Executing migration" id="create short_url table v1" policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.3:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.4:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v2.7.8) policy-api | policy-api | [2024-01-09T11:35:35.939+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 32 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-01-09T11:35:35.942+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-01-09T11:35:37.264+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-01-09T11:35:37.350+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 75 ms. Found 6 JPA repository interfaces. policy-api | [2024-01-09T11:35:38.408+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-01-09T11:35:38.421+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-01-09T11:35:38.421+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-01-09T11:35:38.422+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2024-01-09T11:35:38.507+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-01-09T11:35:38.507+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2491 ms policy-api | [2024-01-09T11:35:39.059+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-01-09T11:35:39.135+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2024-01-09T11:35:39.353+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2024-01-09T11:35:39.483+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-01-09T11:35:39.581+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-01-09T11:35:39.609+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2024-01-09T11:35:40.999+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2024-01-09T11:35:41.011+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-01-09T11:35:42.059+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-01-09T11:35:42.745+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-01-09T11:35:43.747+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@14d294f4, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@4c902a72, org.springframework.security.web.context.SecurityContextPersistenceFilter@40eb85e9, org.springframework.security.web.header.HeaderWriterFilter@68a0a4ae, org.springframework.security.web.authentication.logout.LogoutFilter@312eb, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@644a12be, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@55e073c8, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@bb0dcb6, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@78571a17, org.springframework.security.web.session.SessionManagementFilter@5434de8, org.springframework.security.web.access.ExceptionTranslationFilter@2411cf8b, org.springframework.security.web.access.intercept.AuthorizationFilter@2162b22d] policy-api | [2024-01-09T11:35:43.880+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-09T11:35:46.841+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-01-09T11:35:46.869+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-01-09T11:35:46.903+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-01-09T11:35:46.923+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.795 seconds (JVM running for 12.413) policy-api | [2024-01-09T11:35:53.106+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-01-09T11:35:53.106+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-01-09T11:35:53.107+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-api | [2024-01-09T11:35:56.086+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-01-09T11:35:56.207+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2024-01-09T11:35:56.454+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2024-01-09T11:35:57.580+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2024-01-09T11:35:59.560+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-01-09T11:35:59.995+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-01-09T11:36:00.233+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2024-01-09T11:36:00.474+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-01-09T11:36:00.689+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-01-09T11:36:00.901+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 prometheus | ts=2024-01-09T11:35:23.823Z 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-09T11:35:23.823Z 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-09T11:35:23.823Z 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-09T11:35:23.823Z 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-09T11:35:23.823Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-01-09T11:35:23.823Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-01-09T11:35:23.825Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-01-09T11:35:23.825Z caller=main.go:1024 level=info msg="Starting TSDB ..." prometheus | ts=2024-01-09T11:35:23.828Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-01-09T11:35:23.828Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-01-09T11:35:23.829Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-01-09T11:35:23.829Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.34µs prometheus | ts=2024-01-09T11:35:23.829Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-01-09T11:35:23.829Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-01-09T11:35:23.829Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=24.021µs wal_replay_duration=284.012µs wbl_replay_duration=310ns total_replay_duration=328.483µs prometheus | ts=2024-01-09T11:35:23.831Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-01-09T11:35:23.831Z caller=main.go:1048 level=info msg="TSDB started" prometheus | ts=2024-01-09T11:35:23.831Z caller=main.go:1230 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-01-09T11:35:23.831Z caller=main.go:1267 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=681.305µs db_storage=1.55µs remote_storage=2.51µs web_handler=290ns query_engine=1.25µs scrape=168.391µs scrape_sd=78.831µs notify=26.56µs notify_sd=17.43µs rules=2.47µs tracing=4.86µs prometheus | ts=2024-01-09T11:35:23.832Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." prometheus | ts=2024-01-09T11:35:23.832Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2024-01-09T11:35:27.333122402Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.0008ms grafana | logger=migrator t=2024-01-09T11:35:27.338635366Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2024-01-09T11:35:27.340412894Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.767538ms grafana | logger=migrator t=2024-01-09T11:35:27.346968539Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2024-01-09T11:35:27.34706863Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=101.231µs grafana | logger=migrator t=2024-01-09T11:35:27.351776566Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2024-01-09T11:35:27.351966058Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=188.502µs grafana | logger=migrator t=2024-01-09T11:35:27.356457782Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2024-01-09T11:35:27.357570553Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.110671ms grafana | logger=migrator t=2024-01-09T11:35:27.36133671Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-01-09T11:35:27.363012217Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.675477ms grafana | logger=migrator t=2024-01-09T11:35:27.367075197Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-01-09T11:35:27.368116297Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.04061ms grafana | logger=migrator t=2024-01-09T11:35:27.3774916Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-09T11:35:27.377681592Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=112.111µs grafana | logger=migrator t=2024-01-09T11:35:27.3825583Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-01-09T11:35:27.384133526Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.572826ms grafana | logger=migrator t=2024-01-09T11:35:27.390825782Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-01-09T11:35:27.392004243Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.180401ms grafana | logger=migrator t=2024-01-09T11:35:27.399647329Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-01-09T11:35:27.401091223Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.441514ms grafana | logger=migrator t=2024-01-09T11:35:27.409282294Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-01-09T11:35:27.410361804Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.07863ms grafana | logger=migrator t=2024-01-09T11:35:27.414744048Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2024-01-09T11:35:27.424501714Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=9.749096ms grafana | logger=migrator t=2024-01-09T11:35:27.42910376Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2024-01-09T11:35:27.429876068Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=771.778µs grafana | logger=migrator t=2024-01-09T11:35:27.4331843Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2024-01-09T11:35:27.433245171Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=60.881µs grafana | logger=migrator t=2024-01-09T11:35:27.437856066Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2024-01-09T11:35:27.43926266Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.397934ms grafana | logger=migrator t=2024-01-09T11:35:27.443400561Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" grafana | logger=migrator t=2024-01-09T11:35:27.445127888Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.726937ms grafana | logger=migrator t=2024-01-09T11:35:27.449252799Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" grafana | logger=migrator t=2024-01-09T11:35:27.450884025Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.625746ms grafana | logger=migrator t=2024-01-09T11:35:27.455727333Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-09T11:35:27.455798134Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=71.511µs grafana | logger=migrator t=2024-01-09T11:35:27.459231697Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2024-01-09T11:35:27.460196967Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=964.94µs grafana | logger=migrator t=2024-01-09T11:35:27.501367283Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2024-01-09T11:35:27.502862198Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.491645ms grafana | logger=migrator t=2024-01-09T11:35:27.50809629Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" grafana | logger=migrator t=2024-01-09T11:35:27.509694226Z 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.597346ms grafana | logger=migrator t=2024-01-09T11:35:27.513931787Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2024-01-09T11:35:27.515450082Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.519615ms grafana | logger=migrator t=2024-01-09T11:35:27.519721755Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2024-01-09T11:35:27.525501832Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.783077ms 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 grafana | logger=migrator t=2024-01-09T11:35:27.529977896Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2024-01-09T11:35:27.530912915Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=939.009µs grafana | logger=migrator t=2024-01-09T11:35:27.534622192Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-01-09T11:35:27.535559871Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=937.639µs grafana | logger=migrator t=2024-01-09T11:35:27.540290228Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2024-01-09T11:35:27.577770868Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=37.48092ms grafana | logger=migrator t=2024-01-09T11:35:27.582487535Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2024-01-09T11:35:27.623651721Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=41.158656ms grafana | logger=migrator t=2024-01-09T11:35:27.634316217Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2024-01-09T11:35:27.636103524Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.806358ms grafana | logger=migrator t=2024-01-09T11:35:27.647942651Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-01-09T11:35:27.64990448Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.961039ms grafana | logger=migrator t=2024-01-09T11:35:27.655868149Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2024-01-09T11:35:27.661753508Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.882728ms grafana | logger=migrator t=2024-01-09T11:35:27.67115889Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2024-01-09T11:35:27.672583054Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.413544ms grafana | logger=migrator t=2024-01-09T11:35:27.687739894Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2024-01-09T11:35:27.689581942Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.861238ms grafana | logger=migrator t=2024-01-09T11:35:27.694614832Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2024-01-09T11:35:27.696266468Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.651116ms grafana | logger=migrator t=2024-01-09T11:35:27.701386259Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2024-01-09T11:35:27.703435719Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=2.04887ms grafana | logger=migrator t=2024-01-09T11:35:27.709527819Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-09T11:35:27.70960104Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=73.901µs grafana | logger=migrator t=2024-01-09T11:35:27.713859082Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2024-01-09T11:35:27.72073558Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=6.864538ms grafana | logger=migrator t=2024-01-09T11:35:27.725099433Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2024-01-09T11:35:27.731294654Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.191551ms grafana | logger=migrator t=2024-01-09T11:35:27.73591114Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2024-01-09T11:35:27.742278463Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.355353ms grafana | logger=migrator t=2024-01-09T11:35:27.745811478Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2024-01-09T11:35:27.746872378Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.06129ms grafana | logger=migrator t=2024-01-09T11:35:27.750237571Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2024-01-09T11:35:27.751297662Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.0527ms grafana | logger=migrator t=2024-01-09T11:35:27.755809336Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2024-01-09T11:35:27.761963617Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.153551ms grafana | logger=migrator t=2024-01-09T11:35:27.765413471Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2024-01-09T11:35:27.771837015Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.423184ms grafana | logger=migrator t=2024-01-09T11:35:27.775202898Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" grafana | logger=migrator t=2024-01-09T11:35:27.776268208Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.06479ms grafana | logger=migrator t=2024-01-09T11:35:27.800536818Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2024-01-09T11:35:27.808598378Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=8.06219ms grafana | logger=migrator t=2024-01-09T11:35:27.827921968Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2024-01-09T11:35:27.83615944Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=8.239872ms grafana | logger=migrator t=2024-01-09T11:35:27.839905957Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2024-01-09T11:35:27.840119889Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=213.692µs grafana | logger=migrator t=2024-01-09T11:35:27.844446952Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2024-01-09T11:35:27.846216189Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.768777ms 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)) mariadb | 2024-01-09 11:35:21+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-01-09 11:35:21+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-01-09 11:35:21+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-01-09 11:35:22+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-01-09 11:35:22 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-09 11:35:22 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-09 11:35:22 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/ policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:27.879227795Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" mariadb | policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:27.880452887Z 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.224612ms mariadb | 2024-01-09 11:35:23+00:00 [Note] [Entrypoint]: Database files initialized policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:27.885320265Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" mariadb | 2024-01-09 11:35:23+00:00 [Note] [Entrypoint]: Starting temporary server policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2024-01-09T11:35:27.887264945Z 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.944299ms mariadb | 2024-01-09 11:35:23+00:00 [Note] [Entrypoint]: Waiting for server startup policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:27.89286895Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" mariadb | 2024-01-09 11:35:23 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 100 ... grafana | logger=migrator t=2024-01-09T11:35:27.893050672Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=180.822µs 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)) mariadb | 2024-01-09 11:35:23 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 grafana | logger=migrator t=2024-01-09T11:35:27.897301224Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | -------------- mariadb | 2024-01-09 11:35:23 0 [Note] InnoDB: Number of transaction pools: 1 grafana | logger=migrator t=2024-01-09T11:35:27.903919849Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.621835ms policy-db-migrator | mariadb | 2024-01-09 11:35:23 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions grafana | logger=migrator t=2024-01-09T11:35:27.907646786Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | mariadb | 2024-01-09 11:35:23 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) grafana | logger=migrator t=2024-01-09T11:35:27.914339102Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.691946ms policy-db-migrator | > upgrade 0500-pdpsubgroup.sql mariadb | 2024-01-09 11:35:23 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) grafana | logger=migrator t=2024-01-09T11:35:27.918832686Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | -------------- mariadb | 2024-01-09 11:35:23 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF grafana | logger=migrator t=2024-01-09T11:35:27.925030368Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.191332ms 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)) mariadb | 2024-01-09 11:35:23 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB grafana | logger=migrator t=2024-01-09T11:35:27.930685003Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | -------------- mariadb | 2024-01-09 11:35:23 0 [Note] InnoDB: Completed initialization of buffer pool grafana | logger=migrator t=2024-01-09T11:35:27.936941935Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.256642ms policy-db-migrator | mariadb | 2024-01-09 11:35:23 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) grafana | logger=migrator t=2024-01-09T11:35:27.941552721Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | mariadb | 2024-01-09 11:35:23 0 [Note] InnoDB: 128 rollback segments are active. grafana | logger=migrator t=2024-01-09T11:35:27.947908964Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.355583ms policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql mariadb | 2024-01-09 11:35:23 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... grafana | logger=migrator t=2024-01-09T11:35:27.951946304Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | -------------- mariadb | 2024-01-09 11:35:23 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. grafana | logger=migrator t=2024-01-09T11:35:27.952010804Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=65.19µs 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)) mariadb | 2024-01-09 11:35:23 0 [Note] InnoDB: log sequence number 46590; transaction id 14 grafana | logger=migrator t=2024-01-09T11:35:27.956734211Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | -------------- mariadb | 2024-01-09 11:35:23 0 [Note] Plugin 'FEEDBACK' is disabled. grafana | logger=migrator t=2024-01-09T11:35:27.957536778Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=801.907µs policy-db-migrator | mariadb | 2024-01-09 11:35:23 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. grafana | logger=migrator t=2024-01-09T11:35:27.961067853Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | mariadb | 2024-01-09 11:35:23 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. grafana | logger=migrator t=2024-01-09T11:35:27.971332145Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=10.254702ms policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql mariadb | 2024-01-09 11:35:23 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. grafana | logger=migrator t=2024-01-09T11:35:27.978263793Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | -------------- mariadb | 2024-01-09 11:35:23 0 [Note] mariadbd: ready for connections. grafana | logger=migrator t=2024-01-09T11:35:27.978328204Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=65.191µs 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)) mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution grafana | logger=migrator t=2024-01-09T11:35:27.986385193Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | -------------- mariadb | 2024-01-09 11:35:24+00:00 [Note] [Entrypoint]: Temporary server started. grafana | logger=migrator t=2024-01-09T11:35:27.993822457Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=7.438214ms policy-db-migrator | mariadb | 2024-01-09 11:35:26+00:00 [Note] [Entrypoint]: Creating user policy_user grafana | logger=migrator t=2024-01-09T11:35:27.996934278Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | mariadb | 2024-01-09 11:35:26+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) grafana | logger=migrator t=2024-01-09T11:35:27.998053259Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.119071ms policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql mariadb | grafana | logger=migrator t=2024-01-09T11:35:28.001558973Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | -------------- mariadb | 2024-01-09 11:35:26+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf grafana | logger=migrator t=2024-01-09T11:35:28.007862866Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.303433ms 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)) mariadb | grafana | logger=migrator t=2024-01-09T11:35:28.012020876Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | -------------- mariadb | 2024-01-09 11:35:26+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh grafana | logger=migrator t=2024-01-09T11:35:28.012841985Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=821.139µs policy-db-migrator | mariadb | #!/bin/bash -xv grafana | logger=migrator t=2024-01-09T11:35:28.016067887Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved grafana | logger=migrator t=2024-01-09T11:35:28.017154417Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.089391ms policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. grafana | logger=migrator t=2024-01-09T11:35:28.02044965Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | -------------- mariadb | # grafana | logger=migrator t=2024-01-09T11:35:28.026884353Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.434213ms 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)) mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); grafana | logger=migrator t=2024-01-09T11:35:28.031131155Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | -------------- mariadb | # you may not use this file except in compliance with the License. grafana | logger=migrator t=2024-01-09T11:35:28.031895833Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=764.448µs policy-db-migrator | mariadb | # You may obtain a copy of the License at grafana | logger=migrator t=2024-01-09T11:35:28.035515488Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | mariadb | # grafana | logger=migrator t=2024-01-09T11:35:28.036616799Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.095961ms policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql mariadb | # http://www.apache.org/licenses/LICENSE-2.0 grafana | logger=migrator t=2024-01-09T11:35:28.041552898Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | -------------- mariadb | # grafana | logger=migrator t=2024-01-09T11:35:28.042392967Z level=info msg="Migration successfully executed" id="create alert_image table" duration=839.648µs 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)) mariadb | # Unless required by applicable law or agreed to in writing, software grafana | logger=migrator t=2024-01-09T11:35:28.047205624Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | -------------- mariadb | # distributed under the License is distributed on an "AS IS" BASIS, grafana | logger=migrator t=2024-01-09T11:35:28.04880179Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.595526ms policy-db-migrator | mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. grafana | logger=migrator t=2024-01-09T11:35:28.05287897Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | mariadb | # See the License for the specific language governing permissions and grafana | logger=migrator t=2024-01-09T11:35:28.052978811Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=100.631µs policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql mariadb | # limitations under the License. grafana | logger=migrator t=2024-01-09T11:35:28.056348904Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | -------------- mariadb | grafana | logger=migrator t=2024-01-09T11:35:28.057252363Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=903.329µs 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)) mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.06199776Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" mariadb | do policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.062942509Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=944.609µs mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.066320262Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2024-01-09T11:35:28.066719706Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" mariadb | done policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.069807297Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 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)) grafana | logger=migrator t=2024-01-09T11:35:28.070227221Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=423.724µs mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.073480533Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.074522873Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.04216ms mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.078441832Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2024-01-09T11:35:28.085105128Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.662876ms mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.08836947Z level=info msg="Executing migration" id="create library_element table v1" mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 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)) grafana | logger=migrator t=2024-01-09T11:35:28.089253519Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=883.209µs mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.09240734Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.093508841Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.101301ms mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.097545471Z level=info msg="Executing migration" id="create library_element_connection table v1" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2024-01-09T11:35:28.098315808Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=766.597µs mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.101591271Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 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)) grafana | logger=migrator t=2024-01-09T11:35:28.102725812Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.134151ms mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.107125665Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.108137925Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.01759ms mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.111342077Z level=info msg="Executing migration" id="increase max description length to 2048" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2024-01-09T11:35:28.111375727Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=34.91µs mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.113965063Z level=info msg="Executing migration" id="alter library_element model to mediumtext" mariadb | 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)) grafana | logger=migrator t=2024-01-09T11:35:28.114028963Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=64.29µs policy-db-migrator | -------------- mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" grafana | logger=migrator t=2024-01-09T11:35:28.117234455Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' grafana | logger=migrator t=2024-01-09T11:35:28.11768775Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=452.315µs policy-db-migrator | mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql grafana | logger=migrator t=2024-01-09T11:35:28.122155614Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | > upgrade 0610-toscanodetemplates.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp grafana | logger=migrator t=2024-01-09T11:35:28.123480807Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.324913ms policy-db-migrator | -------------- mariadb | grafana | logger=migrator t=2024-01-09T11:35:28.126812849Z level=info msg="Executing migration" id="create secrets table" 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)) mariadb | 2024-01-09 11:35:27+00:00 [Note] [Entrypoint]: Stopping temporary server grafana | logger=migrator t=2024-01-09T11:35:28.127617407Z level=info msg="Migration successfully executed" id="create secrets table" duration=804.218µs policy-db-migrator | -------------- mariadb | 2024-01-09 11:35:27 0 [Note] mariadbd (initiated by: unknown): Normal shutdown grafana | logger=migrator t=2024-01-09T11:35:28.130590687Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | mariadb | 2024-01-09 11:35:27 0 [Note] InnoDB: FTS optimize thread exiting. grafana | logger=migrator t=2024-01-09T11:35:28.178356618Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=47.763321ms policy-db-migrator | mariadb | 2024-01-09 11:35:27 0 [Note] InnoDB: Starting shutdown... grafana | logger=migrator t=2024-01-09T11:35:28.182223616Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql mariadb | 2024-01-09 11:35:27 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool grafana | logger=migrator t=2024-01-09T11:35:28.189136965Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=6.913329ms policy-db-migrator | -------------- mariadb | 2024-01-09 11:35:27 0 [Note] InnoDB: Buffer pool(s) dump completed at 240109 11:35:27 grafana | logger=migrator t=2024-01-09T11:35:28.192357336Z level=info msg="Executing migration" id="copy data_keys id column values into name" 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)) mariadb | 2024-01-09 11:35:27 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" grafana | logger=migrator t=2024-01-09T11:35:28.192463348Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=103.562µs policy-db-migrator | -------------- mariadb | 2024-01-09 11:35:27 0 [Note] InnoDB: Shutdown completed; log sequence number 329484; transaction id 298 grafana | logger=migrator t=2024-01-09T11:35:28.195454897Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | mariadb | 2024-01-09 11:35:27 0 [Note] mariadbd: Shutdown complete grafana | logger=migrator t=2024-01-09T11:35:28.238623853Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=43.168456ms policy-db-migrator | mariadb | grafana | logger=migrator t=2024-01-09T11:35:28.265312456Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | > upgrade 0630-toscanodetype.sql mariadb | 2024-01-09 11:35:27+00:00 [Note] [Entrypoint]: Temporary server stopped grafana | logger=migrator t=2024-01-09T11:35:28.314578613Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=49.263117ms policy-db-migrator | -------------- mariadb | grafana | logger=migrator t=2024-01-09T11:35:28.319784454Z level=info msg="Executing migration" id="create kv_store table v1" 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)) mariadb | 2024-01-09 11:35:27+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. grafana | logger=migrator t=2024-01-09T11:35:28.320629592Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=846.978µs policy-db-migrator | -------------- mariadb | grafana | logger=migrator t=2024-01-09T11:35:28.324025876Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | mariadb | 2024-01-09 11:35:27 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... grafana | logger=migrator t=2024-01-09T11:35:28.325063466Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.03715ms policy-db-migrator | mariadb | 2024-01-09 11:35:27 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 grafana | logger=migrator t=2024-01-09T11:35:28.328400229Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | > upgrade 0640-toscanodetypes.sql mariadb | 2024-01-09 11:35:27 0 [Note] InnoDB: Number of transaction pools: 1 grafana | logger=migrator t=2024-01-09T11:35:28.328669082Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=268.943µs policy-db-migrator | -------------- mariadb | 2024-01-09 11:35:27 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions grafana | logger=migrator t=2024-01-09T11:35:28.33354656Z level=info msg="Executing migration" id="create permission table" 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)) mariadb | 2024-01-09 11:35:27 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) grafana | logger=migrator t=2024-01-09T11:35:28.334313608Z level=info msg="Migration successfully executed" id="create permission table" duration=764.148µs policy-db-migrator | -------------- mariadb | 2024-01-09 11:35:27 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) grafana | logger=migrator t=2024-01-09T11:35:28.33967138Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | mariadb | 2024-01-09 11:35:27 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF grafana | logger=migrator t=2024-01-09T11:35:28.341234056Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.562636ms policy-db-migrator | mariadb | 2024-01-09 11:35:27 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql mariadb | 2024-01-09 11:35:27 0 [Note] InnoDB: Completed initialization of buffer pool grafana | logger=migrator t=2024-01-09T11:35:28.344864342Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | -------------- mariadb | 2024-01-09 11:35:27 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) grafana | logger=migrator t=2024-01-09T11:35:28.345979633Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.109621ms 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)) mariadb | 2024-01-09 11:35:27 0 [Note] InnoDB: 128 rollback segments are active. grafana | logger=migrator t=2024-01-09T11:35:28.350424747Z level=info msg="Executing migration" id="create role table" policy-db-migrator | -------------- mariadb | 2024-01-09 11:35:27 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... grafana | logger=migrator t=2024-01-09T11:35:28.351292485Z level=info msg="Migration successfully executed" id="create role table" duration=861.758µs policy-db-migrator | mariadb | 2024-01-09 11:35:27 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. grafana | logger=migrator t=2024-01-09T11:35:28.354713719Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | mariadb | 2024-01-09 11:35:27 0 [Note] InnoDB: log sequence number 329484; transaction id 299 grafana | logger=migrator t=2024-01-09T11:35:28.361994351Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.280162ms policy-db-migrator | > upgrade 0660-toscaparameter.sql mariadb | 2024-01-09 11:35:27 0 [Note] Plugin 'FEEDBACK' is disabled. grafana | logger=migrator t=2024-01-09T11:35:28.438158071Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | -------------- mariadb | 2024-01-09 11:35:27 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool grafana | logger=migrator t=2024-01-09T11:35:28.449537343Z level=info msg="Migration successfully executed" id="add column group_name" duration=11.380752ms mariadb | 2024-01-09 11:35:27 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. grafana | logger=migrator t=2024-01-09T11:35:28.453771665Z level=info msg="Executing migration" id="add index role.org_id" 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)) mariadb | 2024-01-09 11:35:27 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. grafana | logger=migrator t=2024-01-09T11:35:28.454501853Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=730.848µs policy-db-migrator | -------------- mariadb | 2024-01-09 11:35:27 0 [Note] Server socket created on IP: '0.0.0.0'. grafana | logger=migrator t=2024-01-09T11:35:28.45828809Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | mariadb | 2024-01-09 11:35:27 0 [Note] Server socket created on IP: '::'. grafana | logger=migrator t=2024-01-09T11:35:28.45931157Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.023ms policy-db-migrator | mariadb | 2024-01-09 11:35:27 0 [Note] mariadbd: ready for connections. grafana | logger=migrator t=2024-01-09T11:35:28.462795715Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | > upgrade 0670-toscapolicies.sql mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution grafana | logger=migrator t=2024-01-09T11:35:28.463825745Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.02539ms policy-db-migrator | -------------- mariadb | 2024-01-09 11:35:27 0 [Note] InnoDB: Buffer pool(s) load completed at 240109 11:35:27 grafana | logger=migrator t=2024-01-09T11:35:28.468230178Z level=info msg="Executing migration" id="create team role table" 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)) mariadb | 2024-01-09 11:35:28 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) grafana | logger=migrator t=2024-01-09T11:35:28.469029566Z level=info msg="Migration successfully executed" id="create team role table" duration=801.048µs policy-db-migrator | -------------- mariadb | 2024-01-09 11:35:28 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) grafana | logger=migrator t=2024-01-09T11:35:28.472613692Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.474386599Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.772617ms policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.478318678Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2024-01-09T11:35:28.480088006Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.765438ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.485206386Z level=info msg="Executing migration" id="add index team_role.team_id" 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)) grafana | logger=migrator t=2024-01-09T11:35:28.486220666Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.01409ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.490221856Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.490960423Z level=info msg="Migration successfully executed" id="create user role table" duration=738.367µs policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.494227036Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2024-01-09T11:35:28.495301196Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.07353ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.49971199Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" 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)) grafana | logger=migrator t=2024-01-09T11:35:28.500780421Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.06793ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.504151214Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.505161723Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.013759ms policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.50983227Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2024-01-09T11:35:28.510625747Z level=info msg="Migration successfully executed" id="create builtin role table" duration=793.267µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.514148692Z level=info msg="Executing migration" id="add index builtin_role.role_id" 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)) grafana | logger=migrator t=2024-01-09T11:35:28.515195863Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.046961ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.519451905Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.520469975Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.0178ms policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.523723147Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2024-01-09T11:35:28.531342792Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.619415ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.534589784Z level=info msg="Executing migration" id="add index builtin_role.org_id" 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)) grafana | logger=migrator t=2024-01-09T11:35:28.535317611Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=727.707µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.539354381Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.540097419Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=742.758µs policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.543387361Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2024-01-09T11:35:28.544958686Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.571075ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.548739184Z level=info msg="Executing migration" id="add unique index role.uid" 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)) grafana | logger=migrator t=2024-01-09T11:35:28.55037738Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.627896ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.55443656Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.555229098Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=792.068µs policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.558717542Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2024-01-09T11:35:28.559755633Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.037821ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.563264957Z level=info msg="Executing migration" id="add column hidden to role table" 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)) grafana | logger=migrator t=2024-01-09T11:35:28.571061284Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=7.793867ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.576789281Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.584651168Z level=info msg="Migration successfully executed" id="permission kind migration" duration=7.865557ms policy-db-migrator | policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2024-01-09T11:35:28.589171543Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.594688627Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=5.516754ms 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)) grafana | logger=migrator t=2024-01-09T11:35:28.598138191Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.605927618Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.788717ms policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.610348932Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.611359072Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.00984ms policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-01-09T11:35:28.647799861Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.649572239Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.771728ms 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)) grafana | logger=migrator t=2024-01-09T11:35:28.656660969Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.658672519Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=2.01556ms policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.664745629Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.66486598Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=118.432µs policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2024-01-09T11:35:28.668568866Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.668639227Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=74.271µs 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)) grafana | logger=migrator t=2024-01-09T11:35:28.671517536Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.67199934Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=487.665µs policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.675247422Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.676101401Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=855.039µs policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2024-01-09T11:35:28.681864787Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.682986499Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.121541ms 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)) grafana | logger=migrator t=2024-01-09T11:35:28.689955107Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.690269761Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=315.414µs policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.693500713Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.694007128Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=506.304µs policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-01-09T11:35:28.697483552Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.698734674Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.250993ms 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-09T11:35:28.704216368Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.705340179Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.123821ms policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.708600201Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.719470839Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=10.877748ms policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-01-09T11:35:28.722822942Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.722874592Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=52.12µs 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-09T11:35:28.729537128Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.730563158Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.02564ms policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.734306155Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.736214954Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.908409ms policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-01-09T11:35:28.741306784Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.743296734Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.99021ms 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)) grafana | logger=migrator t=2024-01-09T11:35:28.749720317Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.757905898Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.185211ms policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.761690885Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.762697765Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.00667ms policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-01-09T11:35:28.765919577Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.766925677Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.0139ms 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-09T11:35:28.772784455Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.805070164Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=32.284529ms policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.808462607Z level=info msg="Executing migration" id="create correlation v2" policy-db-migrator | grafana | logger=migrator t=2024-01-09T11:35:28.809138414Z level=info msg="Migration successfully executed" id="create correlation v2" duration=675.687µs policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-01-09T11:35:28.814743979Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:28.81588948Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.145771ms grafana | logger=migrator t=2024-01-09T11:35:28.819181363Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2024-01-09T11:35:28.820351514Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.170201ms grafana | logger=migrator t=2024-01-09T11:35:28.823875379Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2024-01-09T11:35:28.826035131Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=2.157552ms grafana | logger=migrator t=2024-01-09T11:35:28.830306083Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2024-01-09T11:35:28.830771697Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=464.024µs grafana | logger=migrator t=2024-01-09T11:35:28.835721306Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2024-01-09T11:35:28.836755576Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.03461ms grafana | logger=migrator t=2024-01-09T11:35:28.840358402Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2024-01-09T11:35:28.848998597Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.639385ms grafana | logger=migrator t=2024-01-09T11:35:28.852738604Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2024-01-09T11:35:28.854133588Z level=info msg="Migration successfully executed" id="create entity_events table" duration=1.394514ms grafana | logger=migrator t=2024-01-09T11:35:28.859042046Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2024-01-09T11:35:28.860244168Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.201792ms grafana | logger=migrator t=2024-01-09T11:35:28.863788383Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-01-09T11:35:28.864395739Z 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-09T11:35:28.868124456Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-01-09T11:35:28.868731592Z 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-09T11:35:28.873215516Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2024-01-09T11:35:28.874129295Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=913.929µs grafana | logger=migrator t=2024-01-09T11:35:28.877808591Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2024-01-09T11:35:28.879420647Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.613726ms grafana | logger=migrator t=2024-01-09T11:35:28.883993683Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-01-09T11:35:28.885262585Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.269102ms grafana | logger=migrator t=2024-01-09T11:35:28.891292744Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-01-09T11:35:28.89283509Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.541536ms grafana | logger=migrator t=2024-01-09T11:35:28.897328704Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-01-09T11:35:28.899741248Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=2.412474ms grafana | logger=migrator t=2024-01-09T11:35:28.904636776Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-01-09T11:35:28.905808358Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.171252ms grafana | logger=migrator t=2024-01-09T11:35:28.912359502Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-01-09T11:35:28.913924988Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.564786ms grafana | logger=migrator t=2024-01-09T11:35:28.918615424Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2024-01-09T11:35:28.919875187Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.259423ms grafana | logger=migrator t=2024-01-09T11:35:28.925528423Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-01-09T11:35:28.927073808Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.548135ms grafana | logger=migrator t=2024-01-09T11:35:28.93136961Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-01-09T11:35:28.932698443Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.328663ms grafana | logger=migrator t=2024-01-09T11:35:28.940665262Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2024-01-09T11:35:28.941999805Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.336583ms grafana | logger=migrator t=2024-01-09T11:35:28.949496019Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2024-01-09T11:35:28.986291542Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=36.776933ms grafana | logger=migrator t=2024-01-09T11:35:28.989979728Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2024-01-09T11:35:28.999101869Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=9.121261ms grafana | logger=migrator t=2024-01-09T11:35:29.058200841Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2024-01-09T11:35:29.070123199Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=11.920898ms grafana | logger=migrator t=2024-01-09T11:35:29.074717334Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2024-01-09T11:35:29.075074378Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=353.544µs grafana | logger=migrator t=2024-01-09T11:35:29.079225159Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2024-01-09T11:35:29.088234928Z level=info msg="Migration successfully executed" id="add share column" duration=9.009299ms grafana | logger=migrator t=2024-01-09T11:35:29.095388448Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2024-01-09T11:35:29.095758702Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=369.954µ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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:29.105712Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2024-01-09T11:35:29.107229625Z level=info msg="Migration successfully executed" id="create file table" duration=1.517735ms grafana | logger=migrator t=2024-01-09T11:35:29.111585628Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-01-09T11:35:29.112925811Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.340533ms grafana | logger=migrator t=2024-01-09T11:35:29.116738289Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-01-09T11:35:29.118246924Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.508825ms grafana | logger=migrator t=2024-01-09T11:35:29.12292089Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-01-09T11:35:29.123819039Z level=info msg="Migration successfully executed" id="create file_meta table" duration=897.839µs grafana | logger=migrator t=2024-01-09T11:35:29.12800386Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-01-09T11:35:29.130494654Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=2.486554ms grafana | logger=migrator t=2024-01-09T11:35:29.136519254Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-01-09T11:35:29.136916768Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=397.984µs grafana | logger=migrator t=2024-01-09T11:35:29.141746296Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-01-09T11:35:29.141993888Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=247.402µs grafana | logger=migrator t=2024-01-09T11:35:29.147481932Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-01-09T11:35:29.148632983Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=1.160181ms grafana | logger=migrator t=2024-01-09T11:35:29.152789044Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-01-09T11:35:29.15339074Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=597.676µs grafana | logger=migrator t=2024-01-09T11:35:29.15842761Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-01-09T11:35:29.160100706Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.669066ms grafana | logger=migrator t=2024-01-09T11:35:29.166951974Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-01-09T11:35:29.179056733Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=12.105789ms grafana | logger=migrator t=2024-01-09T11:35:29.188349645Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-01-09T11:35:29.188667618Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=317.773µs grafana | logger=migrator t=2024-01-09T11:35:29.192989771Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-01-09T11:35:29.195640337Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=2.644446ms grafana | logger=migrator t=2024-01-09T11:35:29.20203221Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-01-09T11:35:29.202556125Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=524.555µs grafana | logger=migrator t=2024-01-09T11:35:29.206821457Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-01-09T11:35:29.20714526Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=323.433µs grafana | logger=migrator t=2024-01-09T11:35:29.210723316Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-01-09T11:35:29.211728946Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=1.00519ms grafana | logger=migrator t=2024-01-09T11:35:29.216507613Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-01-09T11:35:29.22635612Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=9.848397ms grafana | logger=migrator t=2024-01-09T11:35:29.231260428Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-01-09T11:35:29.241083825Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=9.829997ms grafana | logger=migrator t=2024-01-09T11:35:29.24562374Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-01-09T11:35:29.251080164Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=5.455584ms grafana | logger=migrator t=2024-01-09T11:35:29.258462617Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-01-09T11:35:29.364186659Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=105.724032ms grafana | logger=migrator t=2024-01-09T11:35:29.368844025Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-01-09T11:35:29.369682334Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=838.019µs grafana | logger=migrator t=2024-01-09T11:35:29.373935335Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-01-09T11:35:29.376012316Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=2.079711ms grafana | logger=migrator t=2024-01-09T11:35:29.381043246Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-01-09T11:35:29.422976209Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=41.933123ms grafana | logger=migrator t=2024-01-09T11:35:29.479403986Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-01-09T11:35:29.480165523Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=749.827µs grafana | logger=migrator t=2024-01-09T11:35:29.487304083Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-01-09T11:35:29.487767498Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=464.125µs grafana | logger=migrator t=2024-01-09T11:35:29.491704997Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-09T11:35:29.492205662Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=505.705µs grafana | logger=migrator t=2024-01-09T11:35:29.498509394Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-01-09T11:35:29.500250741Z level=info msg="Migration successfully executed" id="create folder table" duration=1.745777ms grafana | logger=migrator t=2024-01-09T11:35:29.504129649Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-01-09T11:35:29.505748285Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.619226ms grafana | logger=migrator t=2024-01-09T11:35:29.509603334Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-01-09T11:35:29.511170369Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.568995ms grafana | logger=migrator t=2024-01-09T11:35:29.517523202Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-01-09T11:35:29.517573932Z level=info msg="Migration successfully executed" id="Update folder title length" duration=58.441µs grafana | logger=migrator t=2024-01-09T11:35:29.528237988Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-01-09T11:35:29.530761292Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=2.529155ms grafana | logger=migrator t=2024-01-09T11:35:29.535512809Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-01-09T11:35:29.536709481Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.197592ms grafana | logger=migrator t=2024-01-09T11:35:29.540061224Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-01-09T11:35:29.541395457Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.333343ms grafana | logger=migrator t=2024-01-09T11:35:29.54576794Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-01-09T11:35:29.54675369Z level=info msg="Migration successfully executed" id="create anon_device table" duration=987.44µs grafana | logger=migrator t=2024-01-09T11:35:29.550956991Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-01-09T11:35:29.552958951Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.99975ms grafana | logger=migrator t=2024-01-09T11:35:29.556818009Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-01-09T11:35:29.558780029Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.96206ms grafana | logger=migrator t=2024-01-09T11:35:29.562807078Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-01-09T11:35:29.563708267Z level=info msg="Migration successfully executed" id="create signing_key table" duration=901.449µs grafana | logger=migrator t=2024-01-09T11:35:29.571472584Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-01-09T11:35:29.572639845Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.167131ms grafana | logger=migrator t=2024-01-09T11:35:29.576031269Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-01-09T11:35:29.578022068Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.990579ms grafana | logger=migrator t=2024-01-09T11:35:29.581993167Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-01-09T11:35:29.582430472Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=440.565µs grafana | logger=migrator t=2024-01-09T11:35:29.586103848Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-01-09T11:35:29.596196388Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=10.092369ms grafana | logger=migrator t=2024-01-09T11:35:29.60255972Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-01-09T11:35:29.603333028Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=774.098µs grafana | logger=migrator t=2024-01-09T11:35:29.613363727Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-01-09T11:35:29.615192795Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.828398ms grafana | logger=migrator t=2024-01-09T11:35:29.618968172Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-01-09T11:35:29.620553218Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.584996ms grafana | logger=migrator t=2024-01-09T11:35:29.626127593Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-01-09T11:35:29.627271124Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.144781ms grafana | logger=migrator t=2024-01-09T11:35:29.630605597Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-01-09T11:35:29.63091174Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=307.963µs grafana | logger=migrator t=2024-01-09T11:35:29.634187262Z level=info msg="migrations completed" performed=523 skipped=0 duration=4.78096031s grafana | logger=sqlstore t=2024-01-09T11:35:29.643544855Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-01-09T11:35:29.643824687Z level=info msg="Created default organization" grafana | logger=secrets t=2024-01-09T11:35:29.648358202Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-01-09T11:35:29.665464681Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-01-09T11:35:29.701765269Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-01-09T11:35:29.701823739Z level=info msg="Plugins loaded" count=55 duration=36.360678ms grafana | logger=query_data t=2024-01-09T11:35:29.705315144Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-01-09T11:35:29.708597196Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-01-09T11:35:29.716039389Z level=info msg=Starting grafana | logger=ngalert.migration orgID=1 t=2024-01-09T11:35:29.716857758Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-01-09T11:35:29.717315652Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2024-01-09T11:35:29.717759656Z level=warn msg="No available receivers" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdp.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE jpapdpstatistics_enginestats a policy-db-migrator | JOIN pdpstatistics b policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp policy-db-migrator | SET a.id = b.id policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-01-09T11:35:29.720676755Z level=info msg="Completed legacy migration" grafana | logger=infra.usagestats.collector t=2024-01-09T11:35:29.755992054Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-01-09T11:35:29.759514518Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-01-09T11:35:29.773009291Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-01-09T11:35:29.773027051Z level=info msg="finished to provision alerting" grafana | logger=ngalert.state.manager t=2024-01-09T11:35:29.773182633Z level=info msg="Warming state cache for startup" grafana | logger=grafanaStorageLogger t=2024-01-09T11:35:29.773707388Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2024-01-09T11:35:29.773787219Z level=info msg="State cache has been initialized" states=0 duration=603.326µs grafana | logger=ngalert.scheduler t=2024-01-09T11:35:29.773822299Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2024-01-09T11:35:29.77393856Z level=info msg=starting first_tick=2024-01-09T11:35:30Z grafana | logger=ngalert.multiorg.alertmanager t=2024-01-09T11:35:29.773962831Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=http.server t=2024-01-09T11:35:29.778204513Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafana.update.checker t=2024-01-09T11:35:29.814964855Z level=info msg="Update check succeeded" duration=36.48086ms grafana | logger=plugins.update.checker t=2024-01-09T11:35:29.853062731Z level=info msg="Update check succeeded" duration=77.594925ms grafana | logger=infra.usagestats t=2024-01-09T11:37:02.787799994Z level=info msg="Usage stats are ready to report" policy-db-migrator | policy-db-migrator | > upgrade 0210-sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-sequence.sql policy-db-migrator | -------------- policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscatrigger policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaparameter policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-upgrade.sql policy-db-migrator | -------------- policy-db-migrator | select 'upgrade to 1100 completed' as msg policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | msg policy-db-migrator | upgrade to 1100 completed policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1200) policy-db-migrator | name version policy-db-migrator | policyadmin 1200 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:28 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:28 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:28 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:29 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:29 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:29 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:29 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:29 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:29 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:29 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:29 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:29 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:29 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:29 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:29 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:29 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:29 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:29 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:29 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:29 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:29 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:29 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:29 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:29 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:29 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:30 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:30 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:30 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:30 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:30 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:30 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:30 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:30 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:30 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:30 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:30 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:30 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:30 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:30 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:30 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:30 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:30 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:30 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:30 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:30 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:30 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:30 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:30 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:30 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:30 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:30 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:30 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:31 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:31 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:31 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:31 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:31 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:31 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:31 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:31 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:31 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:31 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:31 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:31 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:31 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:31 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:31 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:31 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:31 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:31 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:31 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:31 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:31 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:31 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:31 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:31 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:31 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:32 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:32 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:32 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:32 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:32 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:32 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:32 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:32 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:32 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:32 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:32 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:32 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:32 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:32 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:32 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:32 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:32 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:32 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0901241135280800u 1 2024-01-09 11:35:33 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 0901241135280900u 1 2024-01-09 11:35:33 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 0901241135280900u 1 2024-01-09 11:35:33 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 0901241135280900u 1 2024-01-09 11:35:33 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 0901241135280900u 1 2024-01-09 11:35:33 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 0901241135280900u 1 2024-01-09 11:35:33 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 0901241135280900u 1 2024-01-09 11:35:33 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0901241135280900u 1 2024-01-09 11:35:33 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0901241135280900u 1 2024-01-09 11:35:33 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0901241135280900u 1 2024-01-09 11:35:33 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 0901241135280900u 1 2024-01-09 11:35:33 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 0901241135280900u 1 2024-01-09 11:35:33 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 0901241135280900u 1 2024-01-09 11:35:33 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 0901241135280900u 1 2024-01-09 11:35:33 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 0901241135281000u 1 2024-01-09 11:35:33 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 0901241135281000u 1 2024-01-09 11:35:33 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 0901241135281000u 1 2024-01-09 11:35:33 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 0901241135281000u 1 2024-01-09 11:35:33 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 0901241135281000u 1 2024-01-09 11:35:33 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 0901241135281000u 1 2024-01-09 11:35:33 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 0901241135281000u 1 2024-01-09 11:35:33 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 0901241135281000u 1 2024-01-09 11:35:33 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 0901241135281000u 1 2024-01-09 11:35:34 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 0901241135281100u 1 2024-01-09 11:35:34 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 0901241135281200u 1 2024-01-09 11:35:34 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 0901241135281200u 1 2024-01-09 11:35:34 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 0901241135281200u 1 2024-01-09 11:35:34 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 0901241135281200u 1 2024-01-09 11:35:34 policy-db-migrator | policyadmin: OK @ 1200 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping grafana ... Stopping policy-api ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing grafana ... Removing policy-api ... Removing policy-db-migrator ... Removing mariadb ... Removing prometheus ... Removing policy-api ... done Removing grafana ... done Removing policy-db-migrator ... done Removing prometheus ... 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.OEfLMlEofR ]] + rsync -av /tmp/tmp.OEfLMlEofR/ /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,033 bytes received 95 bytes 2,694,256.00 bytes/sec total size is 1,346,384 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 2095 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/jenkins14071072259744177069.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins2101901775035915579.sh ---> package-listing.sh ++ tr '[:upper:]' '[:lower:]' ++ facter osfamily + OS_FAMILY=debian + workspace=/w/workspace/policy-api-london-project-csit-api + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/policy-api-london-project-csit-api ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/policy-api-london-project-csit-api ']' + mkdir -p /w/workspace/policy-api-london-project-csit-api/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-london-project-csit-api/archives/ [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins15069447068937211065.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-TyWf from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-TyWf/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins14589642497295345944.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config11190212854667074515tmp 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/jenkins9409603848074673523.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins16103158024190021348.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-TyWf from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-TyWf/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins8697080952379853846.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins3367902330143738149.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-TyWf 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-TyWf/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/jenkins3919386336552799599.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-TyWf 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-TyWf/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/235 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-10712 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 818 27421 0 3926 30892 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:91:e2:f6 brd ff:ff:ff:ff:ff:ff inet 10.30.106.208/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86052sec preferred_lft 86052sec inet6 fe80::f816:3eff:fe91:e2f6/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:f6:ba:09:11 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-10712) 01/09/24 _x86_64_ (8 CPU) 11:32:22 LINUX RESTART (8 CPU) 11:33:02 tps rtps wtps bread/s bwrtn/s 11:34:01 103.07 22.56 80.51 1158.31 27976.82 11:35:01 131.94 23.13 108.82 2772.60 34601.57 11:36:01 372.54 12.46 360.07 811.76 80107.90 11:37:01 14.85 0.00 14.85 0.00 20591.27 11:38:01 62.96 1.98 60.97 115.71 24717.58 Average: 137.18 11.99 125.19 971.06 37631.20 11:33:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:34:01 30061868 31682640 2877352 8.74 70860 1859752 1465188 4.31 892840 1692664 178296 11:35:01 28668832 31685196 4270388 12.96 103208 3179520 1505880 4.43 970160 2917668 1121176 11:36:01 26883308 30532136 6055912 18.39 126736 3684596 4624648 13.61 2212644 3393648 144 11:37:01 26938708 30551700 6000512 18.22 126792 3685312 4555352 13.40 2194796 3356944 764 11:38:01 28067048 31619112 4872172 14.79 130724 3658104 1471300 4.33 1164844 3285880 54304 Average: 28123953 31214157 4815267 14.62 111664 3213457 2724474 8.02 1487057 2929361 270937 11:33:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:34:01 ens3 58.79 40.21 1013.85 7.39 0.00 0.00 0.00 0.00 11:34:01 lo 1.49 1.49 0.16 0.16 0.00 0.00 0.00 0.00 11:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 ens3 260.02 166.97 7480.63 16.60 0.00 0.00 0.00 0.00 11:35:01 br-e50d0e7cd39b 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 lo 8.27 8.27 0.76 0.76 0.00 0.00 0.00 0.00 11:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 veth9a034fe 115.01 95.00 46.22 119.08 0.00 0.00 0.00 0.01 11:36:01 veth900df8b 0.50 0.67 0.06 0.30 0.00 0.00 0.00 0.00 11:36:01 veth59b6d58 0.05 0.27 0.00 0.02 0.00 0.00 0.00 0.00 11:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:37:01 veth9a034fe 1.13 1.20 0.53 0.08 0.00 0.00 0.00 0.00 11:37:01 veth900df8b 0.27 0.22 0.02 0.01 0.00 0.00 0.00 0.00 11:37:01 veth59b6d58 0.80 1.10 0.11 0.59 0.00 0.00 0.00 0.00 11:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:01 ens3 734.54 505.15 11182.77 111.45 0.00 0.00 0.00 0.00 11:38:01 lo 34.24 34.24 10.43 10.43 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: ens3 92.92 62.50 2090.77 11.18 0.00 0.00 0.00 0.00 Average: lo 6.08 6.08 2.03 2.03 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-10712) 01/09/24 _x86_64_ (8 CPU) 11:32:22 LINUX RESTART (8 CPU) 11:33:02 CPU %user %nice %system %iowait %steal %idle 11:34:01 all 10.21 0.00 0.68 2.58 0.03 86.50 11:34:01 0 4.60 0.00 0.47 4.58 0.03 90.32 11:34:01 1 1.97 0.00 0.47 0.41 0.00 97.15 11:34:01 2 3.82 0.00 0.19 0.22 0.05 95.72 11:34:01 3 3.07 0.00 0.37 0.10 0.00 96.46 11:34:01 4 8.57 0.00 0.68 11.94 0.02 78.79 11:34:01 5 13.20 0.00 0.83 1.00 0.03 84.93 11:34:01 6 30.39 0.00 1.51 1.97 0.05 66.08 11:34:01 7 16.09 0.00 0.95 0.41 0.05 82.50 11:35:01 all 11.30 0.00 2.09 2.49 0.05 84.07 11:35:01 0 5.83 0.00 1.99 8.88 0.03 83.26 11:35:01 1 6.79 0.00 1.88 0.44 0.03 90.87 11:35:01 2 39.81 0.00 3.29 2.17 0.08 54.64 11:35:01 3 14.50 0.00 2.35 0.84 0.05 82.27 11:35:01 4 9.39 0.00 2.53 2.38 0.05 85.65 11:35:01 5 5.39 0.00 1.75 4.77 0.07 88.02 11:35:01 6 6.04 0.00 1.57 0.37 0.03 91.98 11:35:01 7 2.54 0.00 1.29 0.08 0.03 96.05 11:36:01 all 19.27 0.00 3.05 5.95 0.07 71.65 11:36:01 0 21.46 0.00 2.88 3.85 0.07 71.74 11:36:01 1 24.19 0.00 3.61 3.26 0.08 68.86 11:36:01 2 21.91 0.00 3.02 1.61 0.07 73.39 11:36:01 3 14.42 0.00 2.25 0.80 0.07 82.47 11:36:01 4 16.45 0.00 2.66 4.71 0.08 76.10 11:36:01 5 13.26 0.00 3.19 20.82 0.07 62.66 11:36:01 6 19.62 0.00 3.44 11.69 0.07 65.18 11:36:01 7 22.91 0.00 3.36 0.96 0.07 72.71 11:37:01 all 0.22 0.00 0.05 1.40 0.02 98.31 11:37:01 0 0.07 0.00 0.05 0.00 0.02 99.87 11:37:01 1 0.10 0.00 0.05 0.00 0.03 99.82 11:37:01 2 0.12 0.00 0.02 0.00 0.02 99.85 11:37:01 3 0.62 0.00 0.05 0.00 0.00 99.33 11:37:01 4 0.05 0.00 0.02 11.20 0.02 88.72 11:37:01 5 0.03 0.00 0.05 0.00 0.02 99.90 11:37:01 6 0.07 0.00 0.05 0.02 0.00 99.87 11:37:01 7 0.68 0.00 0.17 0.00 0.03 99.12 11:38:01 all 8.13 0.00 0.72 2.02 0.03 89.10 11:38:01 0 2.69 0.00 0.60 11.04 0.05 85.62 11:38:01 1 3.04 0.00 0.72 0.28 0.02 95.95 11:38:01 2 11.14 0.00 0.62 0.65 0.03 87.55 11:38:01 3 5.08 0.00 0.58 0.25 0.02 94.07 11:38:01 4 1.10 0.00 0.52 2.02 0.03 96.33 11:38:01 5 23.38 0.00 1.10 0.42 0.05 75.06 11:38:01 6 1.43 0.00 0.48 0.37 0.02 97.70 11:38:01 7 17.18 0.00 1.09 1.20 0.03 80.50 Average: all 9.81 0.00 1.32 2.89 0.04 85.94 Average: 0 6.93 0.00 1.20 5.67 0.04 86.16 Average: 1 7.21 0.00 1.35 0.88 0.03 90.54 Average: 2 15.38 0.00 1.43 0.93 0.05 82.20 Average: 3 7.54 0.00 1.12 0.40 0.03 90.91 Average: 4 7.09 0.00 1.28 6.43 0.04 85.16 Average: 5 11.05 0.00 1.38 5.39 0.05 82.13 Average: 6 11.44 0.00 1.41 2.87 0.03 84.25 Average: 7 11.86 0.00 1.37 0.53 0.04 86.19