Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-6229 (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-hG9DN3DIIYQa/agent.2071 SSH_AGENT_PID=2073 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_9203200391526936206.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_9203200391526936206.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/jenkins15279386816257021632.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-QGUz 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-QGUz/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.2 from /tmp/venv-QGUz/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.1 aspy.yaml==1.3.0 attrs==23.1.0 autopage==0.5.2 Babel==2.14.0 beautifulsoup4==4.12.2 boto3==1.34.3 botocore==1.34.3 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.2.2 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.40 google-auth==2.25.2 httplib2==0.22.0 identify==2.5.33 idna==3.6 importlib-metadata==7.0.0 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.2 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.20.0 jsonschema-specifications==2023.11.2 keystoneauth1==5.4.0 kubernetes==28.1.0 lftools==0.37.8 lxml==4.9.3 MarkupSafe==2.1.3 msgpack==1.0.7 multi-key-dict==2.0.3 munch==4.0.0 netaddr==0.9.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==2.9.0 oslo.config==9.2.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.2.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==4.1.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.3.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.32.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.15.2 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.9.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.3 urllib3==1.26.18 virtualenv==20.25.0 wcwidth==0.2.12 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 zipp==3.17.0 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-london-project-csit-api] $ /bin/sh /tmp/jenkins4187818760546710210.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/jenkins10580286566621282821.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.YB3TSQue0k ++ echo ROBOT_VENV=/tmp/tmp.YB3TSQue0k +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.YB3TSQue0k ++ source /tmp/tmp.YB3TSQue0k/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.YB3TSQue0k +++ 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.YB3TSQue0k/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.YB3TSQue0k) ' '!=' x ']' +++ PS1='(tmp.YB3TSQue0k) ' +++ 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.0 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==4.9.3 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.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.YB3TSQue0k/src/onap ++ rm -rf /tmp/tmp.YB3TSQue0k/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.0 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==0.18.3 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==4.9.3 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.YB3TSQue0k/bin/activate + '[' -z /tmp/tmp.YB3TSQue0k/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.YB3TSQue0k/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.YB3TSQue0k ++ 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.YB3TSQue0k/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.YB3TSQue0k) ' ++ '[' 'x(tmp.YB3TSQue0k) ' '!=' x ']' ++ PS1='(tmp.YB3TSQue0k) (tmp.YB3TSQue0k) ' ++ 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.ZZapen3byr + cd /tmp/tmp.ZZapen3byr + 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:e3e9c2b5776fe3657f4954dfa91579224f98a0316f51d431989b15425e95530f 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 policy-api Up 12 seconds mariadb Up 14 seconds prometheus Up 11 seconds NAMES STATUS policy-api Up 17 seconds mariadb Up 19 seconds prometheus Up 16 seconds NAMES STATUS policy-api Up 22 seconds mariadb Up 24 seconds prometheus Up 21 seconds NAMES STATUS policy-api Up 27 seconds mariadb Up 29 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:58 up 3 min, 0 users, load average: 3.03, 1.16, 0.44 Tasks: 176 total, 1 running, 98 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.9 us, 2.0 sy, 0.0 ni, 82.9 id, 4.1 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.8G 25G 932K 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 27 seconds mariadb Up 29 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 3d08e2289875 policy-api 0.15% 907.1MiB / 31.41GiB 2.82% 1.04MB / 739kB 0B / 0B 50 b75dd0dbb1c8 mariadb 0.02% 100.7MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11.2MB / 53.5MB 27 7209d4082d19 prometheus 0.00% 18.41MiB / 31.41GiB 0.06% 1.12kB / 158B 0B / 0B 12 + echo + cd /tmp/tmp.ZZapen3byr + 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.ZZapen3byr/output.xml Log: /tmp/tmp.ZZapen3byr/log.html Report: /tmp/tmp.ZZapen3byr/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-london-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute 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:08 up 4 min, 0 users, load average: 1.08, 0.98, 0.43 Tasks: 174 total, 1 running, 96 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.2 us, 1.6 sy, 0.0 ni, 85.7 id, 3.4 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.8G 25G 932K 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute 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 3d08e2289875 policy-api 0.10% 953.8MiB / 31.41GiB 2.97% 7.32MB / 2.87MB 0B / 0B 52 b75dd0dbb1c8 mariadb 0.02% 101.4MiB / 31.41GiB 0.32% 2.75MB / 7.36MB 11.2MB / 53.7MB 19 7209d4082d19 prometheus 0.00% 23.48MiB / 31.41GiB 0.07% 37.6kB / 7.08kB 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=2023-12-19T11:35:32.7343994Z level=info msg="Starting Grafana" version=10.2.2 commit=161e3cac5075540918e3a39004f2364ad104d5bb branch=HEAD compiled=2023-11-20T12:28:00Z grafana | logger=settings t=2023-12-19T11:35:32.734595523Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2023-12-19T11:35:32.734606463Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2023-12-19T11:35:32.734610813Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2023-12-19T11:35:32.734614283Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2023-12-19T11:35:32.734617613Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2023-12-19T11:35:32.734621994Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2023-12-19T11:35:32.734625544Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2023-12-19T11:35:32.734629044Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2023-12-19T11:35:32.734633374Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2023-12-19T11:35:32.734637404Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2023-12-19T11:35:32.734640734Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2023-12-19T11:35:32.734644274Z level=info msg=Target target=[all] grafana | logger=settings t=2023-12-19T11:35:32.734649654Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2023-12-19T11:35:32.734653144Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2023-12-19T11:35:32.734657054Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2023-12-19T11:35:32.734661624Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2023-12-19T11:35:32.734665104Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2023-12-19T11:35:32.734669304Z level=info msg="App mode production" grafana | logger=sqlstore t=2023-12-19T11:35:32.734900428Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2023-12-19T11:35:32.734918018Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2023-12-19T11:35:32.735555708Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2023-12-19T11:35:32.736423611Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2023-12-19T11:35:32.737127662Z level=info msg="Migration successfully executed" id="create migration_log table" duration=703.761µs grafana | logger=migrator t=2023-12-19T11:35:32.740560734Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2023-12-19T11:35:32.741081692Z level=info msg="Migration successfully executed" id="create user table" duration=521.168µs grafana | logger=migrator t=2023-12-19T11:35:32.745384128Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2023-12-19T11:35:32.745995977Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=608.779µs grafana | logger=migrator t=2023-12-19T11:35:32.750915302Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2023-12-19T11:35:32.751476091Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=558.659µs grafana | logger=migrator t=2023-12-19T11:35:32.75537818Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2023-12-19T11:35:32.756109921Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=731.141µs grafana | logger=migrator t=2023-12-19T11:35:32.760056732Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2023-12-19T11:35:32.760885624Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=832.592µs grafana | logger=migrator t=2023-12-19T11:35:32.76320099Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2023-12-19T11:35:32.767195981Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=3.99217ms grafana | logger=migrator t=2023-12-19T11:35:32.773412815Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2023-12-19T11:35:32.774350349Z level=info msg="Migration successfully executed" id="create user table v2" duration=939.574µs grafana | logger=migrator t=2023-12-19T11:35:32.777643949Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2023-12-19T11:35:32.778536033Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=891.744µs grafana | logger=migrator t=2023-12-19T11:35:32.781691021Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2023-12-19T11:35:32.782468573Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=779.802µs grafana | logger=migrator t=2023-12-19T11:35:32.789035783Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2023-12-19T11:35:32.789462Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=426.007µs grafana | logger=migrator t=2023-12-19T11:35:32.792042859Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2023-12-19T11:35:32.792608818Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=566.309µs grafana | logger=migrator t=2023-12-19T11:35:32.794682469Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2023-12-19T11:35:32.795834107Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.150598ms grafana | logger=migrator t=2023-12-19T11:35:32.798421397Z level=info msg="Executing migration" id="Update user table charset" mariadb | 2023-12-19 11:35:28+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-12-19 11:35:28+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2023-12-19 11:35:28+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-12-19 11:35:28+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2023-12-19 11:35:28 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-12-19 11:35:28 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-19 11:35:28 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2023-12-19 11:35:30+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2023-12-19 11:35:30+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2023-12-19 11:35:30+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2023-12-19 11:35:30 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 100 ... mariadb | 2023-12-19 11:35:30 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-12-19 11:35:30 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-12-19 11:35:30 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-12-19 11:35:30 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-12-19 11:35:30 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-12-19 11:35:30 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-19 11:35:30 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-12-19 11:35:30 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-12-19 11:35:30 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-12-19 11:35:30 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-12-19 11:35:30 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-12-19 11:35:30 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-12-19 11:35:30 0 [Note] InnoDB: log sequence number 45452; transaction id 14 mariadb | 2023-12-19 11:35:30 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-12-19 11:35:30 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-12-19 11:35:30 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-12-19 11:35:30 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-12-19 11:35:30 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2023-12-19 11:35:31+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2023-12-19 11:35:32+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2023-12-19 11:35:32+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2023-12-19 11:35:32+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | grafana | logger=migrator t=2023-12-19T11:35:32.798467437Z level=info msg="Migration successfully executed" id="Update user table charset" duration=46.331µs grafana | logger=migrator t=2023-12-19T11:35:32.803583495Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2023-12-19T11:35:32.804709582Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.125387ms grafana | logger=migrator t=2023-12-19T11:35:32.807658917Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2023-12-19T11:35:32.808095684Z level=info msg="Migration successfully executed" id="Add missing user data" duration=436.927µs grafana | logger=migrator t=2023-12-19T11:35:32.81109696Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2023-12-19T11:35:32.812299538Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.204558ms grafana | logger=migrator t=2023-12-19T11:35:32.814742646Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2023-12-19T11:35:32.815554068Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=810.992µs grafana | logger=migrator t=2023-12-19T11:35:32.819723822Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2023-12-19T11:35:32.820881249Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.157207ms grafana | logger=migrator t=2023-12-19T11:35:32.8248491Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2023-12-19T11:35:32.834906413Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=10.056113ms grafana | logger=migrator t=2023-12-19T11:35:32.841116658Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2023-12-19T11:35:32.841633276Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=516.488µs grafana | logger=migrator t=2023-12-19T11:35:32.848494991Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2023-12-19T11:35:32.84975113Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.252919ms grafana | logger=migrator t=2023-12-19T11:35:32.896719716Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2023-12-19T11:35:32.897754872Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.036246ms grafana | logger=migrator t=2023-12-19T11:35:32.903034453Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2023-12-19T11:35:32.904486885Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.451072ms grafana | logger=migrator t=2023-12-19T11:35:32.911836297Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2023-12-19T11:35:32.913236598Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.401121ms grafana | logger=migrator t=2023-12-19T11:35:32.918409407Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2023-12-19T11:35:32.918498328Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=86.681µs grafana | logger=migrator t=2023-12-19T11:35:32.927948862Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2023-12-19T11:35:32.928985068Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.037496ms grafana | logger=migrator t=2023-12-19T11:35:32.935415806Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2023-12-19T11:35:32.936704066Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.29012ms grafana | logger=migrator t=2023-12-19T11:35:32.941508899Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2023-12-19T11:35:32.942769439Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.25996ms grafana | logger=migrator t=2023-12-19T11:35:32.948581517Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2023-12-19T11:35:32.949283778Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=701.911µs grafana | logger=migrator t=2023-12-19T11:35:32.955719906Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-19T11:35:32.961326482Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=5.607396ms grafana | logger=migrator t=2023-12-19T11:35:32.965725469Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2023-12-19T11:35:32.966529081Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=803.622µs grafana | logger=migrator t=2023-12-19T11:35:32.97300622Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2023-12-19T11:35:32.974446802Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.440222ms grafana | logger=migrator t=2023-12-19T11:35:32.977422797Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2023-12-19T11:35:32.978658196Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.234879ms grafana | logger=migrator t=2023-12-19T11:35:32.985746394Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2023-12-19T11:35:32.986512316Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=765.062µs grafana | logger=migrator t=2023-12-19T11:35:32.991432991Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2023-12-19T11:35:32.992767841Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.33722ms grafana | logger=migrator t=2023-12-19T11:35:32.996957685Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2023-12-19T11:35:32.998027562Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=1.069657ms grafana | logger=migrator t=2023-12-19T11:35:33.00312943Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2023-12-19T11:35:33.003752398Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=622.448µs grafana | logger=migrator t=2023-12-19T11:35:33.011908979Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2023-12-19T11:35:33.012557558Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=645.409µs grafana | logger=migrator t=2023-12-19T11:35:33.020117872Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2023-12-19T11:35:33.020682969Z level=info msg="Migration successfully executed" id="create star table" duration=565.137µs grafana | logger=migrator t=2023-12-19T11:35:33.028243853Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2023-12-19T11:35:33.029792054Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.545981ms grafana | logger=migrator t=2023-12-19T11:35:33.036736669Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2023-12-19T11:35:33.037846155Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.113106ms grafana | logger=migrator t=2023-12-19T11:35:33.044451915Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2023-12-19T11:35:33.045681622Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.229587ms grafana | logger=migrator t=2023-12-19T11:35:33.051411671Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2023-12-19T11:35:33.052511676Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.100325ms grafana | logger=migrator t=2023-12-19T11:35:33.058164943Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2023-12-19T11:35:33.05944188Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.276507ms grafana | logger=migrator t=2023-12-19T11:35:33.065479523Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2023-12-19T11:35:33.066256033Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=773.51µs grafana | logger=migrator t=2023-12-19T11:35:33.076720406Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2023-12-19T11:35:33.077984463Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.264087ms grafana | logger=migrator t=2023-12-19T11:35:33.084855647Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2023-12-19T11:35:33.084899857Z level=info msg="Migration successfully executed" id="Update org table charset" duration=45.42µs grafana | logger=migrator t=2023-12-19T11:35:33.090832738Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2023-12-19T11:35:33.090868389Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=36.601µs grafana | logger=migrator t=2023-12-19T11:35:33.099378265Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2023-12-19T11:35:33.09973276Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=353.435µs grafana | logger=migrator t=2023-12-19T11:35:33.107583826Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2023-12-19T11:35:33.108734752Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.150966ms grafana | logger=migrator t=2023-12-19T11:35:33.114330698Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2023-12-19T11:35:33.115599806Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.267908ms grafana | logger=migrator t=2023-12-19T11:35:33.121546457Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2023-12-19T11:35:33.122673482Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.123935ms grafana | logger=migrator t=2023-12-19T11:35:33.130412897Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2023-12-19T11:35:33.131436511Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.023944ms grafana | logger=migrator t=2023-12-19T11:35:33.139816156Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2023-12-19T11:35:33.141176974Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.360928ms grafana | logger=migrator t=2023-12-19T11:35:33.145904968Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2023-12-19T11:35:33.147060544Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.155926ms grafana | logger=migrator t=2023-12-19T11:35:33.151765739Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2023-12-19T11:35:33.158443299Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=6.67616ms grafana | logger=migrator t=2023-12-19T11:35:33.168581468Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2023-12-19T11:35:33.169666282Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=1.083894ms grafana | logger=migrator t=2023-12-19T11:35:33.175022766Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2023-12-19T11:35:33.17681578Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.793494ms grafana | logger=migrator t=2023-12-19T11:35:33.180095395Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2023-12-19T11:35:33.181122089Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.026933ms grafana | logger=migrator t=2023-12-19T11:35:33.189677565Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2023-12-19T11:35:33.190360035Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=681.559µs grafana | logger=migrator t=2023-12-19T11:35:33.197698195Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2023-12-19T11:35:33.199143604Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.444359ms grafana | logger=migrator t=2023-12-19T11:35:33.207902443Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2023-12-19T11:35:33.208105126Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=202.053µs grafana | logger=migrator t=2023-12-19T11:35:33.213230006Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2023-12-19T11:35:33.216555021Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=3.323485ms grafana | logger=migrator t=2023-12-19T11:35:33.22083201Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2023-12-19T11:35:33.222541633Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.708803ms grafana | logger=migrator t=2023-12-19T11:35:33.226249984Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2023-12-19T11:35:33.22816592Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.915306ms grafana | logger=migrator t=2023-12-19T11:35:33.280734176Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2023-12-19T11:35:33.282018024Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.284327ms grafana | logger=migrator t=2023-12-19T11:35:33.287316846Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2023-12-19T11:35:33.289529846Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.21237ms grafana | logger=migrator t=2023-12-19T11:35:33.292592148Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2023-12-19T11:35:33.29351415Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=921.692µs grafana | logger=migrator t=2023-12-19T11:35:33.299762805Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2023-12-19T11:35:33.301476709Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.716874ms grafana | logger=migrator t=2023-12-19T11:35:33.306992384Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2023-12-19T11:35:33.307018624Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=27.24µs grafana | logger=migrator t=2023-12-19T11:35:33.311745569Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2023-12-19T11:35:33.311791189Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=48.131µs grafana | logger=migrator t=2023-12-19T11:35:33.316565394Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2023-12-19T11:35:33.319674097Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.107253ms grafana | logger=migrator t=2023-12-19T11:35:33.328669629Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2023-12-19T11:35:33.331760661Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=3.094262ms grafana | logger=migrator t=2023-12-19T11:35:33.33680919Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2023-12-19T11:35:33.338756196Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.946746ms grafana | logger=migrator t=2023-12-19T11:35:33.345335256Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2023-12-19T11:35:33.347342034Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.005888ms grafana | logger=migrator t=2023-12-19T11:35:33.354552532Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2023-12-19T11:35:33.354808316Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=255.634µs grafana | logger=migrator t=2023-12-19T11:35:33.36465304Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2023-12-19T11:35:33.365939797Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.286547ms grafana | logger=migrator t=2023-12-19T11:35:33.370829744Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2023-12-19T11:35:33.372215583Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.384639ms grafana | logger=migrator t=2023-12-19T11:35:33.37934478Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2023-12-19T11:35:33.379525282Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=180.652µs grafana | logger=migrator t=2023-12-19T11:35:33.384856835Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2023-12-19T11:35:33.387074815Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=2.2209ms grafana | logger=migrator t=2023-12-19T11:35:33.393149678Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2023-12-19T11:35:33.393767316Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=617.658µs grafana | logger=migrator t=2023-12-19T11:35:33.406012333Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-19T11:35:33.417854565Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=11.843042ms grafana | logger=migrator t=2023-12-19T11:35:33.422911113Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2023-12-19T11:35:33.423562642Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=651.279µs grafana | logger=migrator t=2023-12-19T11:35:33.430657549Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2023-12-19T11:35:33.431409119Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=751.69µs grafana | logger=migrator t=2023-12-19T11:35:33.439791533Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2023-12-19T11:35:33.441556808Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.764035ms grafana | logger=migrator t=2023-12-19T11:35:33.446237471Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2023-12-19T11:35:33.447094233Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=858.762µs grafana | logger=migrator t=2023-12-19T11:35:33.455816512Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2023-12-19T11:35:33.456790105Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=973.853µs grafana | logger=migrator t=2023-12-19T11:35:33.466304425Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2023-12-19T11:35:33.470246689Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.942264ms grafana | logger=migrator t=2023-12-19T11:35:33.477478357Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2023-12-19T11:35:33.478320798Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=841.881µs grafana | logger=migrator t=2023-12-19T11:35:33.484547283Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2023-12-19T11:35:33.484783087Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=233.614µs grafana | logger=migrator t=2023-12-19T11:35:33.489285068Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2023-12-19T11:35:33.489811495Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=529.017µs grafana | logger=migrator t=2023-12-19T11:35:33.496213932Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2023-12-19T11:35:33.497404379Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.194737ms grafana | logger=migrator t=2023-12-19T11:35:33.503444941Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2023-12-19T11:35:33.506257529Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.811518ms grafana | logger=migrator t=2023-12-19T11:35:33.511311848Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2023-12-19T11:35:33.51217109Z level=info msg="Migration successfully executed" id="create data_source table" duration=858.692µs grafana | logger=migrator t=2023-12-19T11:35:33.51655531Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2023-12-19T11:35:33.517257209Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=701.829µs grafana | logger=migrator t=2023-12-19T11:35:33.519938286Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2023-12-19T11:35:33.520713806Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=775.1µs grafana | logger=migrator t=2023-12-19T11:35:33.524924344Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2023-12-19T11:35:33.525621303Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=695.549µs grafana | logger=migrator t=2023-12-19T11:35:33.531185739Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2023-12-19T11:35:33.53194955Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=763.721µs grafana | logger=migrator t=2023-12-19T11:35:33.536567292Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2023-12-19T11:35:33.54371719Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=7.148518ms grafana | logger=migrator t=2023-12-19T11:35:33.549773742Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2023-12-19T11:35:33.550852597Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=1.079895ms grafana | logger=migrator t=2023-12-19T11:35:33.557370846Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2023-12-19T11:35:33.558189207Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=817.891µs grafana | logger=migrator t=2023-12-19T11:35:33.56207286Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2023-12-19T11:35:33.56280631Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=733.1µs grafana | logger=migrator t=2023-12-19T11:35:33.567104918Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2023-12-19T11:35:33.567634166Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=528.667µs grafana | logger=migrator t=2023-12-19T11:35:33.571172414Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2023-12-19T11:35:33.57310225Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=1.925726ms grafana | logger=migrator t=2023-12-19T11:35:33.578701116Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2023-12-19T11:35:33.580602412Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=1.900556ms grafana | logger=migrator t=2023-12-19T11:35:33.587320784Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2023-12-19T11:35:33.587343474Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=21.68µs grafana | logger=migrator t=2023-12-19T11:35:33.590149592Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2023-12-19T11:35:33.590284964Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=135.582µs grafana | logger=migrator t=2023-12-19T11:35:33.593093193Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2023-12-19T11:35:33.594967938Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=1.874355ms grafana | logger=migrator t=2023-12-19T11:35:33.598565657Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2023-12-19T11:35:33.59875211Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=185.373µs grafana | logger=migrator t=2023-12-19T11:35:33.602991777Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2023-12-19T11:35:33.60317582Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=184.153µs grafana | logger=migrator t=2023-12-19T11:35:33.607668651Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2023-12-19T11:35:33.609551747Z level=info msg="Migration successfully executed" id="Add uid column" duration=1.882526ms grafana | logger=migrator t=2023-12-19T11:35:33.611842698Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2023-12-19T11:35:33.612026201Z level=info msg="Migration successfully executed" id="Update uid value" duration=182.393µs grafana | logger=migrator t=2023-12-19T11:35:33.651202404Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2023-12-19T11:35:33.651959645Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=768.061µs grafana | logger=migrator t=2023-12-19T11:35:33.654775833Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2023-12-19T11:35:33.655535353Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=758.47µs grafana | logger=migrator t=2023-12-19T11:35:33.658274311Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2023-12-19T11:35:33.65892829Z level=info msg="Migration successfully executed" id="create api_key table" duration=654.239µs grafana | logger=migrator t=2023-12-19T11:35:33.663126567Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2023-12-19T11:35:33.663842007Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=715.24µs grafana | logger=migrator t=2023-12-19T11:35:33.666587344Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2023-12-19T11:35:33.667343074Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=755.04µs grafana | logger=migrator t=2023-12-19T11:35:33.670120352Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2023-12-19T11:35:33.670888333Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=767.691µs grafana | logger=migrator t=2023-12-19T11:35:33.675421585Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2023-12-19T11:35:33.676115064Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=691.86µs grafana | logger=migrator t=2023-12-19T11:35:33.678860121Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2023-12-19T11:35:33.679579731Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=718.9µs grafana | logger=migrator t=2023-12-19T11:35:33.682311869Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2023-12-19T11:35:33.682990908Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=678.319µs grafana | logger=migrator t=2023-12-19T11:35:33.68759585Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2023-12-19T11:35:33.695242444Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=7.644944ms grafana | logger=migrator t=2023-12-19T11:35:33.698059993Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2023-12-19T11:35:33.698677811Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=617.468µs grafana | logger=migrator t=2023-12-19T11:35:33.703386466Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2023-12-19T11:35:33.704084885Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=697.8µs grafana | logger=migrator t=2023-12-19T11:35:33.706823122Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2023-12-19T11:35:33.707541262Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=717.06µs grafana | logger=migrator t=2023-12-19T11:35:33.710515093Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2023-12-19T11:35:33.711280903Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=765.51µs grafana | logger=migrator t=2023-12-19T11:35:33.71619432Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2023-12-19T11:35:33.716561765Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=366.765µs grafana | logger=migrator t=2023-12-19T11:35:33.71910957Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2023-12-19T11:35:33.719657597Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=547.597µs grafana | logger=migrator t=2023-12-19T11:35:33.722223392Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2023-12-19T11:35:33.722245273Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=22.191µs grafana | logger=migrator t=2023-12-19T11:35:33.725192673Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2023-12-19T11:35:33.727424533Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.23124ms grafana | logger=migrator t=2023-12-19T11:35:33.732545593Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2023-12-19T11:35:33.734726493Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.17987ms grafana | logger=migrator t=2023-12-19T11:35:33.737322848Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2023-12-19T11:35:33.737502401Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=179.213µs grafana | logger=migrator t=2023-12-19T11:35:33.739533038Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2023-12-19T11:35:33.741789879Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.256541ms grafana | logger=migrator t=2023-12-19T11:35:33.746464773Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2023-12-19T11:35:33.748503461Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.041288ms grafana | logger=migrator t=2023-12-19T11:35:33.751210547Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2023-12-19T11:35:33.751772035Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=558.498µs grafana | logger=migrator t=2023-12-19T11:35:33.75434708Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2023-12-19T11:35:33.754808346Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=460.516µs grafana | logger=migrator t=2023-12-19T11:35:33.759358209Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2023-12-19T11:35:33.759968767Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=609.518µs grafana | logger=migrator t=2023-12-19T11:35:33.762583382Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2023-12-19T11:35:33.763210361Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=625.379µs grafana | logger=migrator t=2023-12-19T11:35:33.765940848Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2023-12-19T11:35:33.766565766Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=624.928µs grafana | logger=migrator t=2023-12-19T11:35:33.771683756Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2023-12-19T11:35:33.772383346Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=698.61µs grafana | logger=migrator t=2023-12-19T11:35:33.775214274Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2023-12-19T11:35:33.775339826Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=125.642µs grafana | logger=migrator t=2023-12-19T11:35:33.778361897Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2023-12-19T11:35:33.778381798Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=21.201µs grafana | logger=migrator t=2023-12-19T11:35:33.780985313Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2023-12-19T11:35:33.783067051Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=2.081138ms grafana | logger=migrator t=2023-12-19T11:35:33.787528442Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2023-12-19T11:35:33.789639681Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.108559ms grafana | logger=migrator t=2023-12-19T11:35:33.792386608Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2023-12-19T11:35:33.79247851Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=91.472µs grafana | logger=migrator t=2023-12-19T11:35:33.794979364Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2023-12-19T11:35:33.795543061Z level=info msg="Migration successfully executed" id="create quota table v1" duration=563.317µs grafana | logger=migrator t=2023-12-19T11:35:33.800439728Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" mariadb | 2023-12-19 11:35:32+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" grafana | logger=migrator t=2023-12-19T11:35:33.801144688Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=705.05µs grafana | logger=migrator t=2023-12-19T11:35:33.803774324Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2023-12-19T11:35:33.803797864Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=21.92µs grafana | logger=migrator t=2023-12-19T11:35:33.806568162Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2023-12-19T11:35:33.80718028Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=611.918µs grafana | logger=migrator t=2023-12-19T11:35:33.815243Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2023-12-19T11:35:33.817957407Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=2.714107ms grafana | logger=migrator t=2023-12-19T11:35:33.826312001Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2023-12-19T11:35:33.829107819Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.795118ms grafana | logger=migrator t=2023-12-19T11:35:33.837718106Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2023-12-19T11:35:33.837744996Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=27.63µs grafana | logger=migrator t=2023-12-19T11:35:33.844706621Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2023-12-19T11:35:33.845426531Z level=info msg="Migration successfully executed" id="create session table" duration=718.58µs grafana | logger=migrator t=2023-12-19T11:35:33.8534419Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2023-12-19T11:35:33.853555062Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=113.402µs grafana | logger=migrator t=2023-12-19T11:35:33.858244306Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2023-12-19T11:35:33.858344697Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=99.741µs grafana | logger=migrator t=2023-12-19T11:35:33.866384837Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2023-12-19T11:35:33.867008395Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=622.958µs grafana | logger=migrator t=2023-12-19T11:35:33.875266508Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2023-12-19T11:35:33.876688197Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.424139ms grafana | logger=migrator t=2023-12-19T11:35:33.913206875Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2023-12-19T11:35:33.913264326Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=63.121µs grafana | logger=migrator t=2023-12-19T11:35:33.917707076Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2023-12-19T11:35:33.917729116Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=22.3µs grafana | logger=migrator t=2023-12-19T11:35:33.922831966Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2023-12-19T11:35:33.926889021Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.054035ms grafana | logger=migrator t=2023-12-19T11:35:33.93120147Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2023-12-19T11:35:33.935311886Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=4.111836ms grafana | logger=migrator t=2023-12-19T11:35:33.939352711Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2023-12-19T11:35:33.939650755Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=304.504µs grafana | logger=migrator t=2023-12-19T11:35:33.943986804Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2023-12-19T11:35:33.944146036Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=160.852µs grafana | logger=migrator t=2023-12-19T11:35:33.949492859Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2023-12-19T11:35:33.950902409Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.40994ms grafana | logger=migrator t=2023-12-19T11:35:33.954899293Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2023-12-19T11:35:33.954925143Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=26.54µs grafana | logger=migrator t=2023-12-19T11:35:33.957663431Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2023-12-19T11:35:33.961139938Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.475787ms grafana | logger=migrator t=2023-12-19T11:35:33.966561522Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2023-12-19T11:35:33.966752185Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=189.953µs grafana | logger=migrator t=2023-12-19T11:35:34.018572841Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2023-12-19T11:35:34.022792548Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=4.221177ms grafana | logger=migrator t=2023-12-19T11:35:34.026476378Z level=info msg="Executing migration" id="Add column preferences.json_data" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2023-12-19 11:35:33+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2023-12-19 11:35:33 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2023-12-19 11:35:33 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2023-12-19 11:35:33 0 [Note] InnoDB: Starting shutdown... mariadb | 2023-12-19 11:35:33 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2023-12-19 11:35:33 0 [Note] InnoDB: Buffer pool(s) dump completed at 231219 11:35:33 mariadb | 2023-12-19 11:35:33 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2023-12-19 11:35:33 0 [Note] InnoDB: Shutdown completed; log sequence number 339945; transaction id 298 mariadb | 2023-12-19 11:35:33 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2023-12-19 11:35:33+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2023-12-19 11:35:33+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2023-12-19 11:35:33 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2023-12-19 11:35:34 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-12-19 11:35:34 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-12-19 11:35:34 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-12-19 11:35:34 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-12-19 11:35:34 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-12-19 11:35:34 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-19 11:35:34 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-12-19 11:35:34 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-12-19 11:35:34 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-12-19 11:35:34 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-12-19 11:35:34 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-12-19 11:35:34 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-12-19 11:35:34 0 [Note] InnoDB: log sequence number 339945; transaction id 299 mariadb | 2023-12-19 11:35:34 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2023-12-19 11:35:34 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-12-19 11:35:34 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-12-19 11:35:34 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2023-12-19 11:35:34 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2023-12-19 11:35:34 0 [Note] Server socket created on IP: '::'. mariadb | 2023-12-19 11:35:34 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2023-12-19 11:35:34 0 [Note] InnoDB: Buffer pool(s) load completed at 231219 11:35:34 mariadb | 2023-12-19 11:35:34 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) mariadb | 2023-12-19 11:35:34 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=2023-12-19T11:35:34.031922893Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=5.445925ms grafana | logger=migrator t=2023-12-19T11:35:34.061379614Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2023-12-19T11:35:34.061478765Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=99.881µs grafana | logger=migrator t=2023-12-19T11:35:34.068358489Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2023-12-19T11:35:34.070018282Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.660032ms grafana | logger=migrator t=2023-12-19T11:35:34.073357987Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2023-12-19T11:35:34.074631654Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.273877ms grafana | logger=migrator t=2023-12-19T11:35:34.081428487Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2023-12-19T11:35:34.082865616Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.436559ms grafana | logger=migrator t=2023-12-19T11:35:34.088908179Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2023-12-19T11:35:34.089950683Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.046764ms grafana | logger=migrator t=2023-12-19T11:35:34.0934199Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2023-12-19T11:35:34.094206501Z level=info msg="Migration successfully executed" id="add index alert state" duration=788.701µs grafana | logger=migrator t=2023-12-19T11:35:34.099531043Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2023-12-19T11:35:34.100362285Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=830.702µs grafana | logger=migrator t=2023-12-19T11:35:34.103293065Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2023-12-19T11:35:34.103885883Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=590.088µs grafana | logger=migrator t=2023-12-19T11:35:34.107210028Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2023-12-19T11:35:34.10807727Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=866.502µs grafana | logger=migrator t=2023-12-19T11:35:34.112958626Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2023-12-19T11:35:34.113704027Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=745.281µs grafana | logger=migrator t=2023-12-19T11:35:34.117311626Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2023-12-19T11:35:34.131459189Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=14.146843ms grafana | logger=migrator t=2023-12-19T11:35:34.13525929Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2023-12-19T11:35:34.135694076Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=434.516µs grafana | logger=migrator t=2023-12-19T11:35:34.141769299Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2023-12-19T11:35:34.143078636Z level=info msg="Migration successfully executed" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" duration=1.309417ms grafana | logger=migrator t=2023-12-19T11:35:34.146696236Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2023-12-19T11:35:34.147340795Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=647.369µs grafana | logger=migrator t=2023-12-19T11:35:34.150896043Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2023-12-19T11:35:34.151938777Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=1.041484ms grafana | logger=migrator t=2023-12-19T11:35:34.158792671Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2023-12-19T11:35:34.159564591Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=769.24µs grafana | logger=migrator t=2023-12-19T11:35:34.162626403Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2023-12-19T11:35:34.168813597Z level=info msg="Migration successfully executed" id="Add column is_default" duration=6.186264ms grafana | logger=migrator t=2023-12-19T11:35:34.174288972Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2023-12-19T11:35:34.178139824Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.849962ms grafana | logger=migrator t=2023-12-19T11:35:34.186545109Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2023-12-19T11:35:34.192102705Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=5.557876ms grafana | logger=migrator t=2023-12-19T11:35:34.195565062Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2023-12-19T11:35:34.199006808Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.441466ms grafana | logger=migrator t=2023-12-19T11:35:34.201854677Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2023-12-19T11:35:34.202725399Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=869.812µs grafana | logger=migrator t=2023-12-19T11:35:34.205415186Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2023-12-19T11:35:34.205440096Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=25.96µs grafana | logger=migrator t=2023-12-19T11:35:34.209742305Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2023-12-19T11:35:34.209782755Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=41.6µs grafana | logger=migrator t=2023-12-19T11:35:34.212805516Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2023-12-19T11:35:34.213921472Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.115496ms grafana | logger=migrator t=2023-12-19T11:35:34.217087605Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-12-19T11:35:34.218016348Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=929.153µs grafana | logger=migrator t=2023-12-19T11:35:34.222649901Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2023-12-19T11:35:34.223374631Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=724.299µs grafana | logger=migrator t=2023-12-19T11:35:34.22631168Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2023-12-19T11:35:34.22699053Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=678.46µs grafana | logger=migrator t=2023-12-19T11:35:34.229820808Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-12-19T11:35:34.23068476Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=863.542µs grafana | logger=migrator t=2023-12-19T11:35:34.234604254Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2023-12-19T11:35:34.238303214Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.69865ms grafana | logger=migrator t=2023-12-19T11:35:34.241326485Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2023-12-19T11:35:34.244858233Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.531298ms 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 | [2023-12-19T11:35:42.719+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 32 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2023-12-19T11:35:42.721+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2023-12-19T11:35:44.090+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2023-12-19T11:35:44.175+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 73 ms. Found 6 JPA repository interfaces. policy-api | [2023-12-19T11:35:45.228+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2023-12-19T11:35:45.242+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2023-12-19T11:35:45.242+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2023-12-19T11:35:45.242+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2023-12-19T11:35:45.330+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2023-12-19T11:35:45.330+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2541 ms policy-api | [2023-12-19T11:35:45.856+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2023-12-19T11:35:45.987+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2023-12-19T11:35:46.190+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2023-12-19T11:35:46.344+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2023-12-19T11:35:46.442+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2023-12-19T11:35:46.465+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2023-12-19T11:35:47.886+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2023-12-19T11:35:47.897+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2023-12-19T11:35:49.561+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2023-12-19T11:35:50.281+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2023-12-19T11:35:51.216+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@337f6716, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@4734a551, org.springframework.security.web.context.SecurityContextPersistenceFilter@674c9079, org.springframework.security.web.header.HeaderWriterFilter@33f17d3d, org.springframework.security.web.authentication.logout.LogoutFilter@a555005, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@4d19ddeb, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@4cf5cf47, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@556d8c78, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@780ccdc9, org.springframework.security.web.session.SessionManagementFilter@119b837, org.springframework.security.web.access.ExceptionTranslationFilter@50fd7d94, org.springframework.security.web.access.intercept.AuthorizationFilter@427faf19] policy-api | [2023-12-19T11:35:51.339+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2023-12-19T11:35:54.821+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2023-12-19T11:35:54.846+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2023-12-19T11:35:54.875+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2023-12-19T11:35:54.892+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 12.973 seconds (JVM running for 13.602) policy-api | [2023-12-19T11:36:00.991+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2023-12-19T11:36:00.991+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2023-12-19T11:36:00.993+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms policy-api | [2023-12-19T11:36:03.683+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2023-12-19T11:36:03.797+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2023-12-19T11:36:04.031+00:00|WARN|CommonRestController|http-nio-6969-exec-7] POST /policytypes policy-api | [2023-12-19T11:36:05.128+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2023-12-19T11:36:06.993+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2023-12-19T11:36:07.399+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2023-12-19T11:36:07.624+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2023-12-19T11:36:07.854+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2023-12-19T11:36:08.088+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2023-12-19T11:36:08.305+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 prometheus | ts=2023-12-19T11:35:31.618Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2023-12-19T11:35:31.618Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.1, branch=HEAD, revision=63894216648f0d6be310c9d16fb48293c45c9310)" prometheus | ts=2023-12-19T11:35:31.618Z 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=2023-12-19T11:35:31.618Z caller=main.go:589 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" prometheus | ts=2023-12-19T11:35:31.618Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2023-12-19T11:35:31.618Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2023-12-19T11:35:31.620Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2023-12-19T11:35:31.620Z caller=main.go:1024 level=info msg="Starting TSDB ..." prometheus | ts=2023-12-19T11:35:31.624Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2023-12-19T11:35:31.624Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2023-12-19T11:35:31.631Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2023-12-19T11:35:31.631Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=16.67µs prometheus | ts=2023-12-19T11:35:31.631Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2023-12-19T11:35:31.632Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2023-12-19T11:35:31.632Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=111.792µs wal_replay_duration=567.108µs wbl_replay_duration=490ns total_replay_duration=931.794µs prometheus | ts=2023-12-19T11:35:31.634Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2023-12-19T11:35:31.635Z caller=main.go:1048 level=info msg="TSDB started" prometheus | ts=2023-12-19T11:35:31.635Z caller=main.go:1230 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2023-12-19T11:35:31.635Z caller=main.go:1267 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=924.894µs db_storage=2.14µs remote_storage=1.78µs web_handler=570ns query_engine=1.22µs scrape=184.623µs scrape_sd=153.132µs notify=29.851µs notify_sd=22.49µs rules=2.14µs tracing=5.8µs prometheus | ts=2023-12-19T11:35:31.636Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." prometheus | ts=2023-12-19T11:35:31.636Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb 3306 port [tcp/mysql] succeeded! policy-db-migrator | 314 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 policy-db-migrator | upgrade: 0 -> 1200 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-19T11:35:34.247914445Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2023-12-19T11:35:34.248093757Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=174.742µs grafana | logger=migrator t=2023-12-19T11:35:34.252034881Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2023-12-19T11:35:34.252844552Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=808.911µs grafana | logger=migrator t=2023-12-19T11:35:34.256044005Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2023-12-19T11:35:34.256803836Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=757.261µs grafana | logger=migrator t=2023-12-19T11:35:34.26005422Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2023-12-19T11:35:34.263641549Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.586859ms grafana | logger=migrator t=2023-12-19T11:35:34.267726355Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2023-12-19T11:35:34.267790756Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=64.971µs grafana | logger=migrator t=2023-12-19T11:35:34.271941452Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2023-12-19T11:35:34.272737803Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=795.981µs grafana | logger=migrator t=2023-12-19T11:35:34.276041918Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2023-12-19T11:35:34.277563479Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.520661ms grafana | logger=migrator t=2023-12-19T11:35:34.281636454Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2023-12-19T11:35:34.281714145Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=77.911µs grafana | logger=migrator t=2023-12-19T11:35:34.284939189Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2023-12-19T11:35:34.28574275Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=803.091µs grafana | logger=migrator t=2023-12-19T11:35:34.289137976Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2023-12-19T11:35:34.290387993Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.245717ms grafana | logger=migrator t=2023-12-19T11:35:34.294846564Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2023-12-19T11:35:34.296176892Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.329368ms grafana | logger=migrator t=2023-12-19T11:35:34.29972387Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2023-12-19T11:35:34.300602102Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=878.182µs grafana | logger=migrator t=2023-12-19T11:35:34.303938338Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2023-12-19T11:35:34.30485908Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=917.502µs grafana | logger=migrator t=2023-12-19T11:35:34.309015937Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2023-12-19T11:35:34.310032001Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.037624ms grafana | logger=migrator t=2023-12-19T11:35:34.313502798Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2023-12-19T11:35:34.313542749Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=41.081µs grafana | logger=migrator t=2023-12-19T11:35:34.316945545Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2023-12-19T11:35:34.322678133Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=5.732888ms grafana | logger=migrator t=2023-12-19T11:35:34.326600117Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2023-12-19T11:35:34.327508459Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=907.982µs grafana | logger=migrator t=2023-12-19T11:35:34.330861485Z level=info msg="Executing migration" id="Add column tags to annotation table" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql grafana | logger=migrator t=2023-12-19T11:35:34.334836019Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.974464ms grafana | logger=migrator t=2023-12-19T11:35:34.338126134Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2023-12-19T11:35:34.338778843Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=652.139µs grafana | logger=migrator t=2023-12-19T11:35:34.342939819Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2023-12-19T11:35:34.343872082Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=931.503µs grafana | logger=migrator t=2023-12-19T11:35:34.347312789Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2023-12-19T11:35:34.34816196Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=849.111µs grafana | logger=migrator t=2023-12-19T11:35:34.351519366Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2023-12-19T11:35:34.370654676Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=19.1341ms grafana | logger=migrator t=2023-12-19T11:35:34.394379589Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2023-12-19T11:35:34.395003338Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=624.209µs grafana | logger=migrator t=2023-12-19T11:35:34.398486745Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" grafana | logger=migrator t=2023-12-19T11:35:34.399894474Z 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.406099ms grafana | logger=migrator t=2023-12-19T11:35:34.403905959Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2023-12-19T11:35:34.404322804Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=417.185µs grafana | logger=migrator t=2023-12-19T11:35:34.409426204Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-12-19T11:35:34.410325886Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=899.142µs grafana | logger=migrator t=2023-12-19T11:35:34.41497606Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2023-12-19T11:35:34.415294474Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=317.615µs grafana | logger=migrator t=2023-12-19T11:35:34.419241007Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2023-12-19T11:35:34.424581561Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=5.340993ms grafana | logger=migrator t=2023-12-19T11:35:34.429062541Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2023-12-19T11:35:34.435439108Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=6.377277ms grafana | logger=migrator t=2023-12-19T11:35:34.440741501Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2023-12-19T11:35:34.441780585Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.038524ms grafana | logger=migrator t=2023-12-19T11:35:34.447697075Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2023-12-19T11:35:34.448512966Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=816.231µs grafana | logger=migrator t=2023-12-19T11:35:34.452407449Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2023-12-19T11:35:34.452745474Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=338.045µs grafana | logger=migrator t=2023-12-19T11:35:34.456629487Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2023-12-19T11:35:34.462776451Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.147813ms grafana | logger=migrator t=2023-12-19T11:35:34.466241118Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2023-12-19T11:35:34.467079069Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=837.521µs grafana | logger=migrator t=2023-12-19T11:35:34.471276617Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2023-12-19T11:35:34.471432669Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=156.853µs grafana | logger=migrator t=2023-12-19T11:35:34.474803854Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2023-12-19T11:35:34.47519943Z level=info msg="Migration successfully executed" id="Move region to single row" duration=395.406µs grafana | logger=migrator t=2023-12-19T11:35:34.478593146Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2023-12-19T11:35:34.479893774Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.303928ms grafana | logger=migrator t=2023-12-19T11:35:34.484604658Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2023-12-19T11:35:34.486039358Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.43501ms grafana | logger=migrator t=2023-12-19T11:35:34.490092693Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-12-19T11:35:34.490968725Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=875.912µs grafana | logger=migrator t=2023-12-19T11:35:34.494176409Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-12-19T11:35:34.495085571Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=908.592µs grafana | logger=migrator t=2023-12-19T11:35:34.499374629Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2023-12-19T11:35:34.500402013Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.027254ms grafana | logger=migrator t=2023-12-19T11:35:34.50381773Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2023-12-19T11:35:34.504834454Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.016563ms grafana | logger=migrator t=2023-12-19T11:35:34.508112468Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2023-12-19T11:35:34.508196679Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=85.091µs grafana | logger=migrator t=2023-12-19T11:35:34.512083663Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2023-12-19T11:35:34.51261413Z level=info msg="Migration successfully executed" id="create test_data table" duration=530.198µs grafana | logger=migrator t=2023-12-19T11:35:34.515719782Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2023-12-19T11:35:34.516237789Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=517.637µs grafana | logger=migrator t=2023-12-19T11:35:34.51926012Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2023-12-19T11:35:34.520665849Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.406299ms grafana | logger=migrator t=2023-12-19T11:35:34.523502978Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2023-12-19T11:35:34.524665524Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.159006ms grafana | logger=migrator t=2023-12-19T11:35:34.528543767Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2023-12-19T11:35:34.528923932Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=380.465µs grafana | logger=migrator t=2023-12-19T11:35:34.533769128Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2023-12-19T11:35:34.534235054Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=465.986µs grafana | logger=migrator t=2023-12-19T11:35:34.537060283Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2023-12-19T11:35:34.537262645Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=202.222µs grafana | logger=migrator t=2023-12-19T11:35:34.539713999Z level=info msg="Executing migration" id="create team table" policy-db-migrator | policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-12-19T11:35:34.54053025Z level=info msg="Migration successfully executed" id="create team table" duration=816.051µs grafana | logger=migrator t=2023-12-19T11:35:34.543345088Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2023-12-19T11:35:34.544469154Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.123736ms grafana | logger=migrator t=2023-12-19T11:35:34.549129867Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2023-12-19T11:35:34.550229732Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.110415ms grafana | logger=migrator t=2023-12-19T11:35:34.552888888Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2023-12-19T11:35:34.557720234Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.830706ms grafana | logger=migrator t=2023-12-19T11:35:34.562671161Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2023-12-19T11:35:34.562883134Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=211.223µs grafana | logger=migrator t=2023-12-19T11:35:34.565590671Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2023-12-19T11:35:34.566532604Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=941.223µs grafana | logger=migrator t=2023-12-19T11:35:34.569321692Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2023-12-19T11:35:34.570154413Z level=info msg="Migration successfully executed" id="create team member table" duration=832.631µs grafana | logger=migrator t=2023-12-19T11:35:34.573866994Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2023-12-19T11:35:34.575876951Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=2.008097ms grafana | logger=migrator t=2023-12-19T11:35:34.581730271Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2023-12-19T11:35:34.583058719Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.324088ms grafana | logger=migrator t=2023-12-19T11:35:34.586005169Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2023-12-19T11:35:34.586897452Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=893.163µs grafana | logger=migrator t=2023-12-19T11:35:34.589371415Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2023-12-19T11:35:34.592710661Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=3.334785ms grafana | logger=migrator t=2023-12-19T11:35:34.598151165Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2023-12-19T11:35:34.606510499Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=8.355483ms grafana | logger=migrator t=2023-12-19T11:35:34.60959169Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2023-12-19T11:35:34.613036467Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=3.443797ms grafana | logger=migrator t=2023-12-19T11:35:34.615556982Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2023-12-19T11:35:34.616225371Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=668.249µs grafana | logger=migrator t=2023-12-19T11:35:34.620088324Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2023-12-19T11:35:34.621080657Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=992.303µs grafana | logger=migrator t=2023-12-19T11:35:34.624124469Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2023-12-19T11:35:34.625258374Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.134945ms grafana | logger=migrator t=2023-12-19T11:35:34.629863757Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2023-12-19T11:35:34.630899561Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.035664ms grafana | logger=migrator t=2023-12-19T11:35:34.634186866Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2023-12-19T11:35:34.635142469Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=955.043µs grafana | logger=migrator t=2023-12-19T11:35:34.638437503Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2023-12-19T11:35:34.639568889Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.131196ms grafana | logger=migrator t=2023-12-19T11:35:34.643523563Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2023-12-19T11:35:34.644526317Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.002484ms grafana | logger=migrator t=2023-12-19T11:35:34.650501518Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2023-12-19T11:35:34.651508132Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.006173ms grafana | logger=migrator t=2023-12-19T11:35:34.654557613Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2023-12-19T11:35:34.655138531Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=580.368µs grafana | logger=migrator t=2023-12-19T11:35:34.659276098Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2023-12-19T11:35:34.659609292Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=332.514µs grafana | logger=migrator t=2023-12-19T11:35:34.663486595Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2023-12-19T11:35:34.664268285Z level=info msg="Migration successfully executed" id="create tag table" duration=781.48µs grafana | logger=migrator t=2023-12-19T11:35:34.668818517Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2023-12-19T11:35:34.669830381Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.011674ms grafana | logger=migrator t=2023-12-19T11:35:34.672810392Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2023-12-19T11:35:34.673635573Z level=info msg="Migration successfully executed" id="create login attempt table" duration=823.151µs grafana | logger=migrator t=2023-12-19T11:35:34.679019576Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2023-12-19T11:35:34.680196012Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.176036ms policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0450-pdpgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-19T11:35:34.68658598Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2023-12-19T11:35:34.687595643Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.009453ms grafana | logger=migrator t=2023-12-19T11:35:34.691549317Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-19T11:35:34.711195665Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=19.645668ms grafana | logger=migrator t=2023-12-19T11:35:34.739405339Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2023-12-19T11:35:34.741146353Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=1.739813ms grafana | logger=migrator t=2023-12-19T11:35:34.748852118Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2023-12-19T11:35:34.749820511Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=968.373µs grafana | logger=migrator t=2023-12-19T11:35:34.752887063Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2023-12-19T11:35:34.753240047Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=349.944µs grafana | logger=migrator t=2023-12-19T11:35:34.75567054Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2023-12-19T11:35:34.756408111Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=737.211µs grafana | logger=migrator t=2023-12-19T11:35:34.760464586Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2023-12-19T11:35:34.761276867Z level=info msg="Migration successfully executed" id="create user auth table" duration=812.351µs grafana | logger=migrator t=2023-12-19T11:35:34.766131593Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2023-12-19T11:35:34.767144567Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.013054ms grafana | logger=migrator t=2023-12-19T11:35:34.770411211Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2023-12-19T11:35:34.770592504Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=181.153µs grafana | logger=migrator t=2023-12-19T11:35:34.776668867Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2023-12-19T11:35:34.781822737Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.15354ms grafana | logger=migrator t=2023-12-19T11:35:34.787037018Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2023-12-19T11:35:34.792099077Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.061579ms grafana | logger=migrator t=2023-12-19T11:35:34.79524102Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2023-12-19T11:35:34.800449671Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.20797ms grafana | logger=migrator t=2023-12-19T11:35:34.803660344Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2023-12-19T11:35:34.808609852Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=4.948728ms grafana | logger=migrator t=2023-12-19T11:35:34.814826826Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2023-12-19T11:35:34.815957822Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.130426ms grafana | logger=migrator t=2023-12-19T11:35:34.821087192Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2023-12-19T11:35:34.826473125Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.384883ms grafana | logger=migrator t=2023-12-19T11:35:34.829618278Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2023-12-19T11:35:34.830461799Z level=info msg="Migration successfully executed" id="create server_lock table" duration=842.871µs grafana | logger=migrator t=2023-12-19T11:35:34.835440457Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2023-12-19T11:35:34.836547102Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.106275ms grafana | logger=migrator t=2023-12-19T11:35:34.840563657Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2023-12-19T11:35:34.841471589Z level=info msg="Migration successfully executed" id="create user auth token table" duration=910.022µs grafana | logger=migrator t=2023-12-19T11:35:34.844704003Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2023-12-19T11:35:34.845823929Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.119616ms grafana | logger=migrator t=2023-12-19T11:35:34.852983476Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2023-12-19T11:35:34.85402611Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.042564ms grafana | logger=migrator t=2023-12-19T11:35:34.86281506Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2023-12-19T11:35:34.864965709Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=2.151449ms grafana | logger=migrator t=2023-12-19T11:35:34.868842622Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2023-12-19T11:35:34.879946424Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=11.097451ms grafana | logger=migrator t=2023-12-19T11:35:34.887552467Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2023-12-19T11:35:34.88847789Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=925.913µs grafana | logger=migrator t=2023-12-19T11:35:34.893230004Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2023-12-19T11:35:34.893929214Z level=info msg="Migration successfully executed" id="create cache_data table" duration=698.61µs grafana | logger=migrator t=2023-12-19T11:35:34.899986236Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2023-12-19T11:35:34.901520167Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.533831ms grafana | logger=migrator t=2023-12-19T11:35:34.905665904Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2023-12-19T11:35:34.906598066Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=932.052µ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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-19T11:35:34.910061524Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2023-12-19T11:35:34.911587375Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.52139ms grafana | logger=migrator t=2023-12-19T11:35:34.915137793Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2023-12-19T11:35:34.915230234Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=92.081µs grafana | logger=migrator t=2023-12-19T11:35:34.91931891Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2023-12-19T11:35:34.919568453Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=248.763µs grafana | logger=migrator t=2023-12-19T11:35:34.923116342Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2023-12-19T11:35:34.924617902Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.49983ms grafana | logger=migrator t=2023-12-19T11:35:34.931291183Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-12-19T11:35:34.932987156Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.700423ms grafana | logger=migrator t=2023-12-19T11:35:34.937444917Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-12-19T11:35:34.938471081Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.025924ms grafana | logger=migrator t=2023-12-19T11:35:34.942320883Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-19T11:35:34.942425685Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=104.312µs grafana | logger=migrator t=2023-12-19T11:35:34.946778484Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-12-19T11:35:34.948353395Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.575061ms grafana | logger=migrator t=2023-12-19T11:35:34.951913944Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-12-19T11:35:34.953370784Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.45231ms grafana | logger=migrator t=2023-12-19T11:35:34.958846978Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-12-19T11:35:34.959848422Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.000994ms grafana | logger=migrator t=2023-12-19T11:35:34.96849691Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-12-19T11:35:34.970083231Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.582581ms grafana | logger=migrator t=2023-12-19T11:35:34.97440216Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2023-12-19T11:35:34.983428013Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=9.025573ms grafana | logger=migrator t=2023-12-19T11:35:34.987099433Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2023-12-19T11:35:34.988112537Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.012684ms grafana | logger=migrator t=2023-12-19T11:35:34.995077472Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2023-12-19T11:35:34.995303385Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=225.553µs grafana | logger=migrator t=2023-12-19T11:35:35.00300178Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2023-12-19T11:35:35.00450475Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.50219ms grafana | logger=migrator t=2023-12-19T11:35:35.007969847Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" grafana | logger=migrator t=2023-12-19T11:35:35.008969571Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=999.294µs grafana | logger=migrator t=2023-12-19T11:35:35.012018463Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" grafana | logger=migrator t=2023-12-19T11:35:35.013037647Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.017714ms grafana | logger=migrator t=2023-12-19T11:35:35.017304815Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-19T11:35:35.017542008Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=236.993µs grafana | logger=migrator t=2023-12-19T11:35:35.022395454Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2023-12-19T11:35:35.023988875Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.592141ms grafana | logger=migrator t=2023-12-19T11:35:35.030452274Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2023-12-19T11:35:35.031374816Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=921.332µs grafana | logger=migrator t=2023-12-19T11:35:35.042893323Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" grafana | logger=migrator t=2023-12-19T11:35:35.044720698Z 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.826975ms grafana | logger=migrator t=2023-12-19T11:35:35.047979802Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2023-12-19T11:35:35.049544144Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.563622ms grafana | logger=migrator t=2023-12-19T11:35:35.053635419Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2023-12-19T11:35:35.059460398Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.821449ms grafana | logger=migrator t=2023-12-19T11:35:35.094216332Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0690-toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0770-toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2023-12-19T11:35:35.095828504Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.612162ms grafana | logger=migrator t=2023-12-19T11:35:35.100312415Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-12-19T11:35:35.101891436Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.578811ms grafana | logger=migrator t=2023-12-19T11:35:35.106039433Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2023-12-19T11:35:35.142648711Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=36.609268ms grafana | logger=migrator t=2023-12-19T11:35:35.148492461Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2023-12-19T11:35:35.186126414Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=37.634303ms grafana | logger=migrator t=2023-12-19T11:35:35.189173635Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2023-12-19T11:35:35.189999586Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=824.921µs grafana | logger=migrator t=2023-12-19T11:35:35.194127392Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-12-19T11:35:35.195150686Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.025724ms grafana | logger=migrator t=2023-12-19T11:35:35.198617193Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2023-12-19T11:35:35.207016648Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=8.400345ms grafana | logger=migrator t=2023-12-19T11:35:35.210298393Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2023-12-19T11:35:35.211003652Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=704.649µs grafana | logger=migrator t=2023-12-19T11:35:35.220288349Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2023-12-19T11:35:35.221356213Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.067834ms grafana | logger=migrator t=2023-12-19T11:35:35.225627731Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2023-12-19T11:35:35.226962719Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.335708ms grafana | logger=migrator t=2023-12-19T11:35:35.230213234Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2023-12-19T11:35:35.2313786Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.164825ms grafana | logger=migrator t=2023-12-19T11:35:35.235902511Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-19T11:35:35.236009933Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=108.232µs grafana | logger=migrator t=2023-12-19T11:35:35.239317558Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2023-12-19T11:35:35.245297279Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=5.978791ms grafana | logger=migrator t=2023-12-19T11:35:35.248603854Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2023-12-19T11:35:35.254636746Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.030352ms grafana | logger=migrator t=2023-12-19T11:35:35.259716956Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2023-12-19T11:35:35.265611506Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.89396ms grafana | logger=migrator t=2023-12-19T11:35:35.270069107Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2023-12-19T11:35:35.271206992Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.138245ms grafana | logger=migrator t=2023-12-19T11:35:35.27475878Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2023-12-19T11:35:35.276494444Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.735084ms grafana | logger=migrator t=2023-12-19T11:35:35.282307333Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2023-12-19T11:35:35.288292035Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=5.984322ms grafana | logger=migrator t=2023-12-19T11:35:35.293620667Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2023-12-19T11:35:35.299798611Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.177324ms grafana | logger=migrator t=2023-12-19T11:35:35.303650314Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" grafana | logger=migrator t=2023-12-19T11:35:35.304689218Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.036454ms grafana | logger=migrator t=2023-12-19T11:35:35.309013507Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2023-12-19T11:35:35.314869316Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=5.854689ms grafana | logger=migrator t=2023-12-19T11:35:35.318564287Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2023-12-19T11:35:35.324513888Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=5.951781ms grafana | logger=migrator t=2023-12-19T11:35:35.329015449Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2023-12-19T11:35:35.329119831Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=103.812µs grafana | logger=migrator t=2023-12-19T11:35:35.333274737Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2023-12-19T11:35:35.334324881Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.049554ms grafana | logger=migrator t=2023-12-19T11:35:35.337653037Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" grafana | logger=migrator t=2023-12-19T11:35:35.338786972Z 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.133395ms grafana | logger=migrator t=2023-12-19T11:35:35.342211919Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" grafana | logger=migrator t=2023-12-19T11:35:35.343362155Z 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.149666ms grafana | logger=migrator t=2023-12-19T11:35:35.347662623Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-19T11:35:35.347764154Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=100.651µs grafana | logger=migrator t=2023-12-19T11:35:35.35261478Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2023-12-19T11:35:35.358824125Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.208205ms grafana | logger=migrator t=2023-12-19T11:35:35.363138654Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2023-12-19T11:35:35.369200236Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.060712ms grafana | logger=migrator t=2023-12-19T11:35:35.373463364Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2023-12-19T11:35:35.379671719Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.205675ms grafana | logger=migrator t=2023-12-19T11:35:35.383231457Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2023-12-19T11:35:35.389409812Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.177645ms grafana | logger=migrator t=2023-12-19T11:35:35.396094383Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2023-12-19T11:35:35.402264277Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.169134ms grafana | logger=migrator t=2023-12-19T11:35:35.406585175Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2023-12-19T11:35:35.406688287Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=102.482µs grafana | logger=migrator t=2023-12-19T11:35:35.452563042Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2023-12-19T11:35:35.453367712Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=803.961µs grafana | logger=migrator t=2023-12-19T11:35:35.462506467Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2023-12-19T11:35:35.468985085Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=6.477918ms grafana | logger=migrator t=2023-12-19T11:35:35.473515637Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2023-12-19T11:35:35.473612578Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=95.811µs grafana | logger=migrator t=2023-12-19T11:35:35.477827946Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2023-12-19T11:35:35.484279974Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.451307ms grafana | logger=migrator t=2023-12-19T11:35:35.488153196Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2023-12-19T11:35:35.489250281Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.096595ms grafana | logger=migrator t=2023-12-19T11:35:35.497887649Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2023-12-19T11:35:35.504471538Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.583359ms grafana | logger=migrator t=2023-12-19T11:35:35.509917242Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2023-12-19T11:35:35.510792014Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=871.962µs grafana | logger=migrator t=2023-12-19T11:35:35.514181371Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2023-12-19T11:35:35.515296906Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.114945ms grafana | logger=migrator t=2023-12-19T11:35:35.51852376Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2023-12-19T11:35:35.524879786Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.355396ms grafana | logger=migrator t=2023-12-19T11:35:35.53172802Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2023-12-19T11:35:35.532288977Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=560.477µs grafana | logger=migrator t=2023-12-19T11:35:35.53546055Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2023-12-19T11:35:35.537269945Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.809655ms grafana | logger=migrator t=2023-12-19T11:35:35.542372404Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2023-12-19T11:35:35.543195846Z level=info msg="Migration successfully executed" id="create alert_image table" duration=822.912µs grafana | logger=migrator t=2023-12-19T11:35:35.548270435Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2023-12-19T11:35:35.549510782Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.237997ms grafana | logger=migrator t=2023-12-19T11:35:35.553134411Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2023-12-19T11:35:35.553344064Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=208.983µs grafana | logger=migrator t=2023-12-19T11:35:35.558013027Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2023-12-19T11:35:35.559922263Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.911726ms grafana | logger=migrator t=2023-12-19T11:35:35.563979899Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-19T11:35:35.565045513Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.066014ms grafana | logger=migrator t=2023-12-19T11:35:35.56921626Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2023-12-19T11:35:35.569691347Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2023-12-19T11:35:35.574449421Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2023-12-19T11:35:35.574952828Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=502.457µs grafana | logger=migrator t=2023-12-19T11:35:35.579719343Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2023-12-19T11:35:35.581440337Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.720833ms grafana | logger=migrator t=2023-12-19T11:35:35.587416668Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2023-12-19T11:35:35.594559175Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=7.139777ms grafana | logger=migrator t=2023-12-19T11:35:35.59932452Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2023-12-19T11:35:35.600262043Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=936.643µs grafana | logger=migrator t=2023-12-19T11:35:35.6036919Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2023-12-19T11:35:35.604774724Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.082424ms grafana | logger=migrator t=2023-12-19T11:35:35.609267075Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2023-12-19T11:35:35.610075696Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=807.841µs grafana | logger=migrator t=2023-12-19T11:35:35.613619975Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2023-12-19T11:35:35.615321318Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.698873ms grafana | logger=migrator t=2023-12-19T11:35:35.61912169Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2023-12-19T11:35:35.620988905Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.869835ms grafana | logger=migrator t=2023-12-19T11:35:35.628160893Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2023-12-19T11:35:35.628186863Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=26.75µs grafana | logger=migrator t=2023-12-19T11:35:35.63532247Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2023-12-19T11:35:35.635562444Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=239.554µs grafana | logger=migrator t=2023-12-19T11:35:35.639503617Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2023-12-19T11:35:35.640176206Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=671.189µs grafana | logger=migrator t=2023-12-19T11:35:35.645322256Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2023-12-19T11:35:35.646879827Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.556921ms grafana | logger=migrator t=2023-12-19T11:35:35.652008628Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2023-12-19T11:35:35.652837319Z level=info msg="Migration successfully executed" id="create secrets table" duration=828.041µs grafana | logger=migrator t=2023-12-19T11:35:35.657733335Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2023-12-19T11:35:35.706010683Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=48.277488ms grafana | logger=migrator t=2023-12-19T11:35:35.709274837Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2023-12-19T11:35:35.71459625Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.329453ms grafana | logger=migrator t=2023-12-19T11:35:35.719054621Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2023-12-19T11:35:35.719340465Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=285.334µs grafana | logger=migrator t=2023-12-19T11:35:35.726992139Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2023-12-19T11:35:35.792102795Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=65.109526ms grafana | logger=migrator t=2023-12-19T11:35:35.804296341Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2023-12-19T11:35:35.852804612Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=48.509721ms grafana | logger=migrator t=2023-12-19T11:35:35.857239112Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2023-12-19T11:35:35.858156835Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=916.963µs grafana | logger=migrator t=2023-12-19T11:35:35.893719629Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" 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 | grafana | logger=migrator t=2023-12-19T11:35:35.895519544Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.799075ms grafana | logger=migrator t=2023-12-19T11:35:35.922997937Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2023-12-19T11:35:35.923491314Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=492.317µs grafana | logger=migrator t=2023-12-19T11:35:35.966957356Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2023-12-19T11:35:35.967670746Z level=info msg="Migration successfully executed" id="create permission table" duration=713.25µs grafana | logger=migrator t=2023-12-19T11:35:35.974973755Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2023-12-19T11:35:35.976871311Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.897376ms grafana | logger=migrator t=2023-12-19T11:35:36.029952475Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2023-12-19T11:35:36.031961672Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=2.013397ms grafana | logger=migrator t=2023-12-19T11:35:36.036012047Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2023-12-19T11:35:36.037486877Z level=info msg="Migration successfully executed" id="create role table" duration=1.47259ms grafana | logger=migrator t=2023-12-19T11:35:36.043652821Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2023-12-19T11:35:36.051378116Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.727215ms grafana | logger=migrator t=2023-12-19T11:35:36.054727131Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2023-12-19T11:35:36.062203113Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.474652ms grafana | logger=migrator t=2023-12-19T11:35:36.066548722Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2023-12-19T11:35:36.067395114Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=846.332µs grafana | logger=migrator t=2023-12-19T11:35:36.072772487Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2023-12-19T11:35:36.07448771Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.714713ms grafana | logger=migrator t=2023-12-19T11:35:36.078267352Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2023-12-19T11:35:36.08035626Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=2.089768ms grafana | logger=migrator t=2023-12-19T11:35:36.085413269Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2023-12-19T11:35:36.08626023Z level=info msg="Migration successfully executed" id="create team role table" duration=846.611µs grafana | logger=migrator t=2023-12-19T11:35:36.091504132Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2023-12-19T11:35:36.092667868Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.163475ms grafana | logger=migrator t=2023-12-19T11:35:36.096041053Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2023-12-19T11:35:36.099142996Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=3.100503ms grafana | logger=migrator t=2023-12-19T11:35:36.103015329Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2023-12-19T11:35:36.104943035Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.927306ms grafana | logger=migrator t=2023-12-19T11:35:36.109169012Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2023-12-19T11:35:36.109980303Z level=info msg="Migration successfully executed" id="create user role table" duration=810.681µs grafana | logger=migrator t=2023-12-19T11:35:36.158018747Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2023-12-19T11:35:36.159906513Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.888676ms grafana | logger=migrator t=2023-12-19T11:35:36.164514076Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2023-12-19T11:35:36.165662291Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.147785ms grafana | logger=migrator t=2023-12-19T11:35:36.170384186Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2023-12-19T11:35:36.171629922Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.245776ms grafana | logger=migrator t=2023-12-19T11:35:36.176749092Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2023-12-19T11:35:36.177888608Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.139056ms grafana | logger=migrator t=2023-12-19T11:35:36.181299724Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2023-12-19T11:35:36.182417179Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.117365ms grafana | logger=migrator t=2023-12-19T11:35:36.185886607Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2023-12-19T11:35:36.187137104Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.250587ms grafana | logger=migrator t=2023-12-19T11:35:36.193916626Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2023-12-19T11:35:36.201904024Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.986928ms grafana | logger=migrator t=2023-12-19T11:35:36.205338601Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2023-12-19T11:35:36.206149982Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=811.181µs grafana | logger=migrator t=2023-12-19T11:35:36.209704731Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2023-12-19T11:35:36.210552142Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=847.061µs grafana | logger=migrator t=2023-12-19T11:35:36.21477553Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2023-12-19T11:35:36.216895319Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=2.120539ms grafana | logger=migrator t=2023-12-19T11:35:36.220513398Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2023-12-19T11:35:36.221573892Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.060424ms grafana | logger=migrator t=2023-12-19T11:35:36.230114349Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2023-12-19T11:35:36.231299705Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.182186ms grafana | logger=migrator t=2023-12-19T11:35:36.236706798Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2023-12-19T11:35:36.237850664Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.143546ms grafana | logger=migrator t=2023-12-19T11:35:36.241155119Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2023-12-19T11:35:36.249755856Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.600447ms grafana | logger=migrator t=2023-12-19T11:35:36.253209343Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2023-12-19T11:35:36.262856054Z level=info msg="Migration successfully executed" id="permission kind migration" duration=9.646151ms grafana | logger=migrator t=2023-12-19T11:35:36.268946917Z level=info msg="Executing migration" id="permission attribute migration" 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 | -------------- 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 | -------------- grafana | logger=migrator t=2023-12-19T11:35:36.277054578Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=8.106681ms grafana | logger=migrator t=2023-12-19T11:35:36.28016902Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2023-12-19T11:35:36.288136008Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.964108ms grafana | logger=migrator t=2023-12-19T11:35:36.294547626Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2023-12-19T11:35:36.298050723Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=3.502727ms grafana | logger=migrator t=2023-12-19T11:35:36.301995787Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2023-12-19T11:35:36.303621459Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.629202ms grafana | logger=migrator t=2023-12-19T11:35:36.307317949Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2023-12-19T11:35:36.308388434Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.070995ms grafana | logger=migrator t=2023-12-19T11:35:36.3125019Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2023-12-19T11:35:36.312563201Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=61.631µs grafana | logger=migrator t=2023-12-19T11:35:36.315144076Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2023-12-19T11:35:36.315188827Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=45.411µs grafana | logger=migrator t=2023-12-19T11:35:36.32130862Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2023-12-19T11:35:36.321694165Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=385.155µs grafana | logger=migrator t=2023-12-19T11:35:36.330015079Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2023-12-19T11:35:36.330807409Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=793.17µs grafana | logger=migrator t=2023-12-19T11:35:36.334210236Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2023-12-19T11:35:36.3352663Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.056014ms grafana | logger=migrator t=2023-12-19T11:35:36.338729067Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2023-12-19T11:35:36.339125933Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=396.875µs grafana | logger=migrator t=2023-12-19T11:35:36.343555913Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2023-12-19T11:35:36.344003709Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=447.686µs grafana | logger=migrator t=2023-12-19T11:35:36.348968997Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2023-12-19T11:35:36.350099322Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.130046ms grafana | logger=migrator t=2023-12-19T11:35:36.353447248Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2023-12-19T11:35:36.354484372Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.036504ms grafana | logger=migrator t=2023-12-19T11:35:36.359840165Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2023-12-19T11:35:36.371870498Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=12.030434ms grafana | logger=migrator t=2023-12-19T11:35:36.374881679Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2023-12-19T11:35:36.37492678Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=45.101µs grafana | logger=migrator t=2023-12-19T11:35:36.379671634Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2023-12-19T11:35:36.380285343Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=613.149µs grafana | logger=migrator t=2023-12-19T11:35:36.384613622Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2023-12-19T11:35:36.386332535Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.718223ms grafana | logger=migrator t=2023-12-19T11:35:36.391196251Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2023-12-19T11:35:36.392227225Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.030574ms grafana | logger=migrator t=2023-12-19T11:35:36.399589296Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2023-12-19T11:35:36.411811632Z level=info msg="Migration successfully executed" id="add correlation config column" duration=12.223606ms grafana | logger=migrator t=2023-12-19T11:35:36.414652211Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2023-12-19T11:35:36.415418531Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=764.12µs grafana | logger=migrator t=2023-12-19T11:35:36.4190335Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2023-12-19T11:35:36.420020454Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=986.104µs grafana | logger=migrator t=2023-12-19T11:35:36.423957777Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-19T11:35:36.455478846Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=31.521149ms grafana | logger=migrator t=2023-12-19T11:35:36.459221267Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2023-12-19T11:35:36.459865496Z level=info msg="Migration successfully executed" id="create correlation v2" duration=643.949µs grafana | logger=migrator t=2023-12-19T11:35:36.496961011Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2023-12-19T11:35:36.5005396Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=3.578179ms grafana | logger=migrator t=2023-12-19T11:35:36.510772279Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2023-12-19T11:35:36.512858477Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=2.090148ms grafana | logger=migrator t=2023-12-19T11:35:36.516378665Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-19T11:35:36.518006288Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.626873ms grafana | logger=migrator t=2023-12-19T11:35:36.521338563Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2023-12-19T11:35:36.521574326Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=235.883µs grafana | logger=migrator t=2023-12-19T11:35:36.525582861Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2023-12-19T11:35:36.526933649Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.354898ms grafana | logger=migrator t=2023-12-19T11:35:36.530906333Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2023-12-19T11:35:36.539909275Z level=info msg="Migration successfully executed" id="add provisioning column" duration=9.003422ms grafana | logger=migrator t=2023-12-19T11:35:36.547527169Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2023-12-19T11:35:36.548059717Z level=info msg="Migration successfully executed" id="create entity_events table" duration=532.238µs grafana | logger=migrator t=2023-12-19T11:35:36.552025701Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2023-12-19T11:35:36.55347392Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.44797ms grafana | logger=migrator t=2023-12-19T11:35:36.556526732Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-12-19T11:35:36.556953437Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-12-19T11:35:36.559268019Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-12-19T11:35:36.559697305Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-12-19T11:35:36.564108145Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2023-12-19T11:35:36.564853815Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=743.68µs grafana | logger=migrator t=2023-12-19T11:35:36.567705974Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2023-12-19T11:35:36.568607206Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=901.012µs grafana | logger=migrator t=2023-12-19T11:35:36.574105581Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-12-19T11:35:36.576638845Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=2.532964ms grafana | logger=migrator t=2023-12-19T11:35:36.58139343Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-12-19T11:35:36.582445185Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.051685ms grafana | logger=migrator t=2023-12-19T11:35:36.585619328Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-12-19T11:35:36.587045907Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.426229ms grafana | logger=migrator t=2023-12-19T11:35:36.591245284Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-12-19T11:35:36.59315423Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.914496ms grafana | logger=migrator t=2023-12-19T11:35:36.597207465Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2023-12-19T11:35:36.597966316Z level=info msg="Migration successfully executed" id="Drop public config table" duration=758.661µs grafana | logger=migrator t=2023-12-19T11:35:36.601151939Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2023-12-19T11:35:36.602096302Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=944.143µs grafana | logger=migrator t=2023-12-19T11:35:36.606148697Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-12-19T11:35:36.60780054Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.651193ms grafana | logger=migrator t=2023-12-19T11:35:36.615644277Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-12-19T11:35:36.616975835Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.329869ms grafana | logger=migrator t=2023-12-19T11:35:36.62108489Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2023-12-19T11:35:36.622734723Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.649163ms grafana | logger=migrator t=2023-12-19T11:35:36.62692341Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2023-12-19T11:35:36.659368762Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=32.446312ms grafana | logger=migrator t=2023-12-19T11:35:36.664714845Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2023-12-19T11:35:36.671584168Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.868604ms grafana | logger=migrator t=2023-12-19T11:35:36.674829482Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2023-12-19T11:35:36.685176273Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=10.349831ms grafana | logger=migrator t=2023-12-19T11:35:36.68934137Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2023-12-19T11:35:36.689498492Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=157.042µs grafana | logger=migrator t=2023-12-19T11:35:36.692776137Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2023-12-19T11:35:36.705262416Z level=info msg="Migration successfully executed" id="add share column" duration=12.480629ms grafana | logger=migrator t=2023-12-19T11:35:36.709758138Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2023-12-19T11:35:36.710346426Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=588.748µs grafana | logger=migrator t=2023-12-19T11:35:36.714279449Z level=info msg="Executing migration" id="create file table" 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 grafana | logger=migrator t=2023-12-19T11:35:36.715206092Z level=info msg="Migration successfully executed" id="create file table" duration=928.033µs grafana | logger=migrator t=2023-12-19T11:35:36.718299774Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2023-12-19T11:35:36.719527761Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.227777ms grafana | logger=migrator t=2023-12-19T11:35:36.722504741Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2023-12-19T11:35:36.723835359Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.329868ms grafana | logger=migrator t=2023-12-19T11:35:36.726765849Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2023-12-19T11:35:36.727749122Z level=info msg="Migration successfully executed" id="create file_meta table" duration=982.953µs grafana | logger=migrator t=2023-12-19T11:35:36.730427759Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2023-12-19T11:35:36.731757727Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.329818ms grafana | logger=migrator t=2023-12-19T11:35:36.736144157Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2023-12-19T11:35:36.736231628Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=87.981µs grafana | logger=migrator t=2023-12-19T11:35:36.741121135Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2023-12-19T11:35:36.741205356Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=84.461µs grafana | logger=migrator t=2023-12-19T11:35:36.747204857Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2023-12-19T11:35:36.747816686Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=611.769µs grafana | logger=migrator t=2023-12-19T11:35:36.750777286Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2023-12-19T11:35:36.75102373Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=246.414µs grafana | logger=migrator t=2023-12-19T11:35:36.753933649Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2023-12-19T11:35:36.75475341Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=822.071µs grafana | logger=migrator t=2023-12-19T11:35:36.758219627Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2023-12-19T11:35:36.767118328Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.897141ms grafana | logger=migrator t=2023-12-19T11:35:36.770026418Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2023-12-19T11:35:36.770250031Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=222.713µs grafana | logger=migrator t=2023-12-19T11:35:36.776268393Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2023-12-19T11:35:36.77748096Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.214337ms grafana | logger=migrator t=2023-12-19T11:35:36.783833506Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2023-12-19T11:35:36.784264522Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=431.416µs grafana | logger=migrator t=2023-12-19T11:35:36.787019899Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2023-12-19T11:35:36.787286853Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=266.844µs grafana | logger=migrator t=2023-12-19T11:35:36.790560647Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2023-12-19T11:35:36.791143195Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=582.438µs grafana | logger=migrator t=2023-12-19T11:35:36.795392694Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2023-12-19T11:35:36.809536206Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=14.144753ms grafana | logger=migrator t=2023-12-19T11:35:36.813188056Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2023-12-19T11:35:36.821000642Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=7.811086ms grafana | logger=migrator t=2023-12-19T11:35:36.854341836Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2023-12-19T11:35:36.856214921Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.873175ms grafana | logger=migrator t=2023-12-19T11:35:36.85977605Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2023-12-19T11:35:36.969623895Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=109.849075ms grafana | logger=migrator t=2023-12-19T11:35:36.973405246Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2023-12-19T11:35:36.974331609Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=925.753µs grafana | logger=migrator t=2023-12-19T11:35:36.977084776Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2023-12-19T11:35:36.978007279Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=920.763µs grafana | logger=migrator t=2023-12-19T11:35:36.980629065Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2023-12-19T11:35:37.012423618Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=31.793933ms grafana | logger=migrator t=2023-12-19T11:35:37.015411428Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2023-12-19T11:35:37.015668932Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=257.044µs grafana | logger=migrator t=2023-12-19T11:35:37.018338118Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2023-12-19T11:35:37.018572451Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=233.633µs grafana | logger=migrator t=2023-12-19T11:35:37.022212621Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2023-12-19T11:35:37.022480204Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=267.343µs policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE jpapdpstatistics_enginestats a policy-db-migrator | JOIN pdpstatistics b policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp policy-db-migrator | SET a.id = b.id policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-sequence.sql policy-db-migrator | -------------- policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscatrigger policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2023-12-19T11:35:37.025253202Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2023-12-19T11:35:37.025975012Z level=info msg="Migration successfully executed" id="create folder table" duration=719.72µs grafana | logger=migrator t=2023-12-19T11:35:37.033225351Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2023-12-19T11:35:37.034151453Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=926.002µs grafana | logger=migrator t=2023-12-19T11:35:37.037368417Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2023-12-19T11:35:37.03832968Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=961.393µs grafana | logger=migrator t=2023-12-19T11:35:37.04125943Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2023-12-19T11:35:37.04128065Z level=info msg="Migration successfully executed" id="Update folder title length" duration=23.95µs grafana | logger=migrator t=2023-12-19T11:35:37.043364669Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-12-19T11:35:37.044347822Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=982.603µs grafana | logger=migrator t=2023-12-19T11:35:37.047217181Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-12-19T11:35:37.048093043Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=875.742µs grafana | logger=migrator t=2023-12-19T11:35:37.050683898Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2023-12-19T11:35:37.051634091Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=949.873µs grafana | logger=migrator t=2023-12-19T11:35:37.055333062Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2023-12-19T11:35:37.056038051Z level=info msg="Migration successfully executed" id="create anon_device table" duration=704.219µs grafana | logger=migrator t=2023-12-19T11:35:37.058833559Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2023-12-19T11:35:37.059923264Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.087745ms grafana | logger=migrator t=2023-12-19T11:35:37.06550259Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2023-12-19T11:35:37.066405172Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=902.382µs grafana | logger=migrator t=2023-12-19T11:35:37.069836419Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2023-12-19T11:35:37.070483728Z level=info msg="Migration successfully executed" id="create signing_key table" duration=646.699µs grafana | logger=migrator t=2023-12-19T11:35:37.073323426Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2023-12-19T11:35:37.074214958Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=891.272µs grafana | logger=migrator t=2023-12-19T11:35:37.07731611Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2023-12-19T11:35:37.078232043Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=917.683µs grafana | logger=migrator t=2023-12-19T11:35:37.082160497Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2023-12-19T11:35:37.082447631Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=287.414µs grafana | logger=migrator t=2023-12-19T11:35:37.085949678Z level=info msg="migrations completed" performed=517 skipped=0 duration=4.349564718s grafana | logger=sqlstore t=2023-12-19T11:35:37.098204015Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2023-12-19T11:35:37.098472028Z level=info msg="Created default organization" grafana | logger=secrets t=2023-12-19T11:35:37.105021867Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=local.finder t=2023-12-19T11:35:37.172014489Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=query_data t=2023-12-19T11:35:37.174599714Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2023-12-19T11:35:37.178613539Z level=info msg="Live Push Gateway initialization" grafana | logger=infra.usagestats.collector t=2023-12-19T11:35:39.366467171Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2023-12-19T11:35:39.368265515Z level=info msg="inserting datasource from configuration " name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2023-12-19T11:35:39.386670395Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2023-12-19T11:35:39.386699276Z level=info msg="finished to provision alerting" grafana | logger=ngalert.state.manager t=2023-12-19T11:35:39.388920656Z level=info msg="Warming state cache for startup" grafana | logger=http.server t=2023-12-19T11:35:39.389739167Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafanaStorageLogger t=2023-12-19T11:35:39.389843718Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2023-12-19T11:35:39.423297574Z level=info msg="State cache has been initialized" states=0 duration=34.373297ms grafana | logger=ngalert.scheduler t=2023-12-19T11:35:39.423417185Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ngalert.multiorg.alertmanager t=2023-12-19T11:35:39.423478556Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=ticker t=2023-12-19T11:35:39.423566477Z level=info msg=starting first_tick=2023-12-19T11:35:40Z grafana | logger=ngalert.migration t=2023-12-19T11:35:39.436804477Z level=info msg=Starting grafana | logger=ngalert.migration t=2023-12-19T11:35:39.43775378Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-12-19T11:35:39.438217486Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-12-19T11:35:39.438941846Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-12-19T11:35:39.439744577Z level=warn msg="No available receivers" grafana | logger=sqlstore.transactions t=2023-12-19T11:35:39.451577958Z level=info msg="Database locked, sleeping then retrying" error="executing migration: database is locked" retry=0 code="database is locked" grafana | logger=ngalert.migration t=2023-12-19T11:35:39.452581202Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-12-19T11:35:39.453001227Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-12-19T11:35:39.453777698Z level=info msg="Alerts found to migrate" alerts=0 policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata policy-db-migrator | -------------- policy-db-migrator | grafana | logger=ngalert.migration orgID=1 t=2023-12-19T11:35:39.454546698Z level=warn msg="No available receivers" grafana | logger=plugins.update.checker t=2023-12-19T11:35:39.471801003Z level=info msg="Update check succeeded" duration=83.130991ms grafana | logger=sqlstore.transactions t=2023-12-19T11:35:39.476094772Z level=info msg="Database locked, sleeping then retrying" error="executing migration: database is locked" retry=1 code="database is locked" grafana | logger=sqlstore.transactions t=2023-12-19T11:35:39.482315676Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=ngalert.migration t=2023-12-19T11:35:39.510395528Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-12-19T11:35:39.510852074Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-12-19T11:35:39.511606714Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-12-19T11:35:39.512217542Z level=warn msg="No available receivers" grafana | logger=sqlstore.transactions t=2023-12-19T11:35:39.523129261Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" grafana | logger=sqlstore.transactions t=2023-12-19T11:35:39.527938606Z level=info msg="Database locked, sleeping then retrying" error="executing migration: database is locked" retry=2 code="database is locked" grafana | logger=ngalert.migration t=2023-12-19T11:35:39.528629806Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-12-19T11:35:39.529206054Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-12-19T11:35:39.52967758Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-12-19T11:35:39.530157937Z level=warn msg="No available receivers" grafana | logger=sqlstore.transactions t=2023-12-19T11:35:39.542420733Z level=info msg="Database locked, sleeping then retrying" error="executing migration: database is locked" retry=3 code="database is locked" grafana | logger=sqlstore.transactions t=2023-12-19T11:35:39.542582136Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=2 code="database is locked" grafana | logger=sqlstore.transactions t=2023-12-19T11:35:39.58854839Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=grafana.update.checker t=2023-12-19T11:35:39.634168581Z level=info msg="Update check succeeded" duration=247.05281ms grafana | logger=ngalert.migration t=2023-12-19T11:35:39.671938644Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-12-19T11:35:39.672707505Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-12-19T11:35:39.673529186Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-12-19T11:35:39.674301577Z level=warn msg="No available receivers" grafana | logger=sqlstore.transactions t=2023-12-19T11:35:39.687001729Z level=info msg="Database locked, sleeping then retrying" error="executing migration: database is locked" retry=4 code="database is locked" grafana | logger=ngalert.migration t=2023-12-19T11:35:39.688048203Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-12-19T11:35:39.688478179Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-12-19T11:35:39.689350581Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-12-19T11:35:39.690255953Z level=warn msg="No available receivers" grafana | logger=server t=2023-12-19T11:35:39.738999116Z level=error msg="Stopped background service" service=*migration.MigrationService reason="migration failed: executing migration: database is locked" grafana | logger=tracing t=2023-12-19T11:35:39.739197279Z level=info msg="Closing tracing" grafana | logger=ticker t=2023-12-19T11:35:39.739503453Z level=info msg=stopped last_tick=2023-12-19T11:35:30Z grafana | logger=dashboard-service t=2023-12-19T11:35:39.775935109Z level=error msg="Could not set default permissions" dashboard="Policy PAP Jakarta" error="context canceled" grafana | logger=provisioning.dashboard type=file name="Policy Framework" t=2023-12-19T11:35:39.777303867Z level=error msg="failed to save dashboard" file=/var/lib/grafana/dashboards/sla-metrics.json error="SQL query for existing dashboard by UID failed: context canceled" grafana | Error: ✗ *migration.MigrationService run error: migration failed: executing migration: database is locked 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 1912231135340800u 1 2023-12-19 11:35:34 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:34 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:34 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:34 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:34 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:34 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:34 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:34 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:34 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:35 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:35 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:35 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:35 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:35 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:35 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:35 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:35 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:35 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:35 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:35 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:35 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:35 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:35 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:35 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:35 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:35 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:35 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:35 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:35 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:35 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:35 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:35 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:35 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:36 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:36 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:36 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:36 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:36 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:36 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:36 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:36 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:36 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:36 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:36 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:36 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:36 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:36 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:36 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:36 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:36 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:36 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:36 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:36 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:36 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:36 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:36 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:36 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:36 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:37 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:37 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:37 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:37 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:37 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:37 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:37 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:37 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:37 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:37 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:37 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:37 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:37 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:37 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:37 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:37 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:37 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:37 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:37 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:37 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:37 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:37 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:37 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:37 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:38 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:38 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:38 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:38 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:38 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:38 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:38 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:38 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:38 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:38 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:38 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:38 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:38 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1912231135340800u 1 2023-12-19 11:35:38 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1912231135340900u 1 2023-12-19 11:35:38 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1912231135340900u 1 2023-12-19 11:35:38 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1912231135340900u 1 2023-12-19 11:35:38 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1912231135340900u 1 2023-12-19 11:35:39 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1912231135340900u 1 2023-12-19 11:35:39 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1912231135340900u 1 2023-12-19 11:35:39 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1912231135340900u 1 2023-12-19 11:35:39 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1912231135340900u 1 2023-12-19 11:35:39 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1912231135340900u 1 2023-12-19 11:35:39 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1912231135340900u 1 2023-12-19 11:35:39 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1912231135340900u 1 2023-12-19 11:35:39 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1912231135340900u 1 2023-12-19 11:35:39 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1912231135340900u 1 2023-12-19 11:35:39 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1912231135341000u 1 2023-12-19 11:35:39 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1912231135341000u 1 2023-12-19 11:35:39 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1912231135341000u 1 2023-12-19 11:35:39 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1912231135341000u 1 2023-12-19 11:35:39 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1912231135341000u 1 2023-12-19 11:35:39 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1912231135341000u 1 2023-12-19 11:35:39 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1912231135341000u 1 2023-12-19 11:35:39 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1912231135341000u 1 2023-12-19 11:35:39 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1912231135341000u 1 2023-12-19 11:35:39 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1912231135341100u 1 2023-12-19 11:35:39 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1912231135341200u 1 2023-12-19 11:35:39 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1912231135341200u 1 2023-12-19 11:35:40 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1912231135341200u 1 2023-12-19 11:35:40 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1912231135341200u 1 2023-12-19 11:35:40 policy-db-migrator | policyadmin: OK @ 1200 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping mariadb ... Stopping prometheus ... Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing grafana ... Removing policy-api ... Removing policy-db-migrator ... Removing mariadb ... Removing prometheus ... Removing prometheus ... done Removing grafana ... done Removing policy-db-migrator ... done Removing policy-api ... done Removing mariadb ... done Removing network compose_default ++ cd /w/workspace/policy-api-london-project-csit-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.ZZapen3byr ]] + rsync -av /tmp/tmp.ZZapen3byr/ /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,345,727 bytes received 95 bytes 2,691,644.00 bytes/sec total size is 1,345,077 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 2073 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/jenkins17432106439161465203.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins6518967772540511209.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/policy-api-london-project-csit-api + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/policy-api-london-project-csit-api ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/policy-api-london-project-csit-api ']' + mkdir -p /w/workspace/policy-api-london-project-csit-api/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-london-project-csit-api/archives/ [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins16619701550469134649.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-QGUz from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-QGUz/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins17982293606247045899.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config235324586346975243tmp 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/jenkins3345000759797700165.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins16045211985173869102.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-QGUz from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-QGUz/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins12577150334258494351.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins4595041901006082277.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-QGUz 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-QGUz/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/jenkins13518259181266534113.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-QGUz 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-QGUz/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/214 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-6229 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 27428 0 3920 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:10:8a:b3 brd ff:ff:ff:ff:ff:ff inet 10.30.107.99/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86046sec preferred_lft 86046sec inet6 fe80::f816:3eff:fe10:8ab3/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:4f:ab:1a:23 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-6229) 12/19/23 _x86_64_ (8 CPU) 11:32:22 LINUX RESTART (8 CPU) 11:33:02 tps rtps wtps bread/s bwrtn/s 11:34:01 96.39 18.01 78.38 1038.74 28725.57 11:35:01 131.81 22.88 108.93 2731.28 36589.37 11:36:01 383.64 12.41 371.22 848.49 81087.69 11:37:01 18.03 0.00 18.03 0.00 22523.86 11:38:01 70.92 2.77 68.16 128.38 27001.93 Average: 140.30 11.19 129.11 949.08 39220.66 11:33:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:34:01 30152184 31747016 2787036 8.46 68728 1836812 1359484 4.00 822940 1672560 158936 11:35:01 29151136 31685072 3788084 11.50 96636 2716324 1568772 4.62 967724 2459620 658788 11:36:01 27018300 30622012 5920920 17.98 126464 3676860 4124408 12.13 2124628 3350156 584 11:37:01 26974436 30578220 5964784 18.11 126592 3677544 4107792 12.09 2169568 3349228 36 11:38:01 28135312 31680504 4803908 14.58 130128 3651472 1434080 4.22 1110600 3266484 31476 Average: 28286274 31262565 4652946 14.13 109710 3111802 2518907 7.41 1439092 2819610 169964 11:33:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:34:01 ens3 59.26 42.52 974.91 7.12 0.00 0.00 0.00 0.00 11:34:01 lo 1.36 1.36 0.15 0.15 0.00 0.00 0.00 0.00 11:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 ens3 119.25 82.25 2964.56 10.75 0.00 0.00 0.00 0.00 11:35:01 lo 5.47 5.47 0.51 0.51 0.00 0.00 0.00 0.00 11:35:01 br-480091f12ee3 0.00 0.00 0.00 0.00 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:36:01 ens3 182.74 116.41 6344.71 9.36 0.00 0.00 0.00 0.00 11:36:01 veth95af2d7 30.84 27.56 14.18 24.58 0.00 0.00 0.00 0.00 11:36:01 lo 5.58 5.58 0.52 0.52 0.00 0.00 0.00 0.00 11:36:01 br-480091f12ee3 0.95 1.03 0.11 0.34 0.00 0.00 0.00 0.00 11:37:01 ens3 3.20 2.83 0.61 0.77 0.00 0.00 0.00 0.00 11:37:01 veth95af2d7 84.39 67.64 32.51 94.52 0.00 0.00 0.00 0.01 11:37:01 lo 9.87 9.87 8.21 8.21 0.00 0.00 0.00 0.00 11:37:01 br-480091f12ee3 2.72 3.13 5.83 2.19 0.00 0.00 0.00 0.00 11:38:01 ens3 54.11 49.39 122.83 25.53 0.00 0.00 0.00 0.00 11:38:01 lo 7.63 7.63 0.67 0.67 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 Average: ens3 83.79 58.74 2085.22 10.72 0.00 0.00 0.00 0.00 Average: lo 6.00 6.00 2.02 2.02 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 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-6229) 12/19/23 _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 8.64 0.00 0.60 2.78 0.03 87.95 11:34:01 0 4.98 0.00 0.55 17.44 0.03 77.00 11:34:01 1 31.49 0.00 1.85 2.74 0.05 63.87 11:34:01 2 14.85 0.00 0.70 0.54 0.03 83.87 11:34:01 3 10.81 0.00 0.70 0.63 0.02 87.85 11:34:01 4 1.70 0.00 0.34 0.32 0.02 97.63 11:34:01 5 3.26 0.00 0.38 0.45 0.02 95.90 11:34:01 6 1.47 0.00 0.20 0.12 0.03 98.17 11:34:01 7 0.49 0.00 0.14 0.07 0.02 99.29 11:35:01 all 10.33 0.00 1.34 3.10 0.04 85.20 11:35:01 0 1.65 0.00 0.77 14.88 0.03 82.67 11:35:01 1 7.81 0.00 1.39 2.10 0.03 88.66 11:35:01 2 2.63 0.00 0.77 0.03 0.05 96.51 11:35:01 3 20.07 0.00 1.89 1.68 0.05 76.31 11:35:01 4 12.56 0.00 1.07 0.97 0.03 85.37 11:35:01 5 6.06 0.00 1.22 0.15 0.02 92.55 11:35:01 6 10.48 0.00 1.94 2.56 0.03 84.98 11:35:01 7 21.39 0.00 1.64 2.45 0.05 74.47 11:36:01 all 17.47 0.00 3.55 6.04 0.07 72.88 11:36:01 0 14.73 0.00 3.15 12.47 0.08 69.56 11:36:01 1 19.56 0.00 3.19 7.38 0.07 69.80 11:36:01 2 16.46 0.00 2.48 1.06 0.05 79.94 11:36:01 3 17.39 0.00 3.36 1.28 0.05 77.93 11:36:01 4 14.43 0.00 4.26 21.12 0.07 60.12 11:36:01 5 23.00 0.00 5.03 2.25 0.07 69.66 11:36:01 6 19.58 0.00 3.71 1.51 0.07 75.12 11:36:01 7 14.61 0.00 3.20 1.26 0.07 80.86 11:37:01 all 3.95 0.00 0.33 1.34 0.03 94.35 11:37:01 0 3.62 0.00 0.27 0.20 0.00 95.92 11:37:01 1 3.82 0.00 0.38 10.42 0.03 85.34 11:37:01 2 4.18 0.00 0.13 0.00 0.10 95.59 11:37:01 3 2.80 0.00 0.38 0.05 0.02 96.75 11:37:01 4 4.05 0.00 0.27 0.00 0.02 95.66 11:37:01 5 3.17 0.00 0.28 0.00 0.00 96.55 11:37:01 6 5.76 0.00 0.60 0.05 0.02 93.57 11:37:01 7 4.25 0.00 0.37 0.00 0.03 95.35 11:38:01 all 6.80 0.00 0.67 1.77 0.03 90.73 11:38:01 0 3.24 0.00 0.68 0.55 0.03 95.49 11:38:01 1 0.64 0.00 0.42 11.75 0.02 87.18 11:38:01 2 3.49 0.00 0.54 0.35 0.03 95.59 11:38:01 3 17.23 0.00 1.10 0.78 0.05 80.84 11:38:01 4 0.92 0.00 0.45 0.10 0.02 98.51 11:38:01 5 15.02 0.00 0.58 0.33 0.03 84.03 11:38:01 6 12.41 0.00 1.07 0.33 0.05 86.13 11:38:01 7 1.38 0.00 0.45 0.02 0.03 98.11 Average: all 9.42 0.00 1.30 3.00 0.04 86.24 Average: 0 5.63 0.00 1.08 9.06 0.04 84.19 Average: 1 12.59 0.00 1.44 6.89 0.04 79.04 Average: 2 8.29 0.00 0.92 0.40 0.05 90.33 Average: 3 13.66 0.00 1.49 0.88 0.04 83.94 Average: 4 6.73 0.00 1.27 4.48 0.03 87.49 Average: 5 10.10 0.00 1.49 0.63 0.03 87.74 Average: 6 9.95 0.00 1.51 0.92 0.04 87.58 Average: 7 8.43 0.00 1.16 0.76 0.04 89.62