Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-2849 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-montreal-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-pJhO9tLzQJ9J/agent.2092 SSH_AGENT_PID=2094 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_12285595159937388819.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_12285595159937388819.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-montreal-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/montreal^{commit} # timeout=10 Checking out Revision 828a01cf695f53919dbff4ebbb1499c9674812b5 (refs/remotes/origin/montreal) > git config core.sparsecheckout # timeout=10 > git checkout -f 828a01cf695f53919dbff4ebbb1499c9674812b5 # timeout=30 Commit message: "Set Montreal default branch" > git rev-list --no-walk 828a01cf695f53919dbff4ebbb1499c9674812b5 # 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-montreal-project-csit-api] $ /bin/bash /tmp/jenkins1755735098888754862.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-bV3U 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-bV3U/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-bV3U/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.1.6 aspy.yaml==1.3.0 attrs==23.1.0 autopage==0.5.2 Babel==2.13.1 beautifulsoup4==4.12.2 boto3==1.33.8 botocore==1.33.8 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.4.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.7 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.2.2 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.40 google-auth==2.25.1 httplib2==0.22.0 identify==2.5.32 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.31.1 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.13.2 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.8.2 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.8.0 tzdata==2023.3 urllib3==1.26.18 virtualenv==20.25.0 wcwidth==0.2.12 websocket-client==1.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-montreal-project-csit-api] $ /bin/sh /tmp/jenkins14135553072053394164.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-montreal-project-csit-api] $ /bin/sh -xe /tmp/jenkins13237438191181238110.sh + /w/workspace/policy-api-montreal-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-montreal-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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin + export SCRIPTS=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts + SCRIPTS=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts + export ROBOT_VARIABLES= + ROBOT_VARIABLES= + export PROJECT=api + PROJECT=api + cd /w/workspace/policy-api-montreal-project-csit-api + rm -rf /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' +++ mktemp -d ++ ROBOT_VENV=/tmp/tmp.qhvqGin8gE ++ echo ROBOT_VENV=/tmp/tmp.qhvqGin8gE +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.qhvqGin8gE ++ source /tmp/tmp.qhvqGin8gE/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.qhvqGin8gE +++ 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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin +++ PATH=/tmp/tmp.qhvqGin8gE/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin +++ export PATH +++ '[' -n '' ']' +++ '[' -z '' ']' +++ _OLD_VIRTUAL_PS1= +++ '[' 'x(tmp.qhvqGin8gE) ' '!=' x ']' +++ PS1='(tmp.qhvqGin8gE) ' +++ 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-montreal-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.8.4 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==4.9.3 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.3.1 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.qhvqGin8gE/src/onap ++ rm -rf /tmp/tmp.qhvqGin8gE/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.8.4 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==0.18.3 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==4.9.3 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.3.1 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ tr : ' ' ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.qhvqGin8gE/bin/activate + '[' -z /tmp/tmp.qhvqGin8gE/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.qhvqGin8gE/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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-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.qhvqGin8gE ++ 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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin ++ PATH=/tmp/tmp.qhvqGin8gE/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin ++ export PATH ++ '[' -n '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1='(tmp.qhvqGin8gE) ' ++ '[' 'x(tmp.qhvqGin8gE) ' '!=' x ']' ++ PS1='(tmp.qhvqGin8gE) (tmp.qhvqGin8gE) ' ++ 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-montreal-project-csit-api/csit/resources/tests + TEST_PLAN_DIR=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests + export TEST_OPTIONS= + TEST_OPTIONS= ++ mktemp -d + WORKDIR=/tmp/tmp.nHoNPZK1J9 + cd /tmp/tmp.nHoNPZK1J9 + 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-montreal-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-montreal-project-csit-api/.gitreview +++ GERRIT_BRANCH=montreal +++ echo GERRIT_BRANCH=montreal GERRIT_BRANCH=montreal +++ rm -rf /w/workspace/policy-api-montreal-project-csit-api/models +++ mkdir /w/workspace/policy-api-montreal-project-csit-api/models +++ git clone -b montreal --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-montreal-project-csit-api/models Cloning into '/w/workspace/policy-api-montreal-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-montreal-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-montreal-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-montreal-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-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-montreal-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:3.0.3-SNAPSHOT)... 3.0.3-SNAPSHOT: Pulling from onap/policy-db-migrator Digest: sha256:535b9fec1d4848bde53cf1c2d10e10228e438d5a3d19ff53070fe232da33e1ca Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.0.3-SNAPSHOT Pulling api (nexus3.onap.org:10001/onap/policy-api:3.0.3-SNAPSHOT)... 3.0.3-SNAPSHOT: Pulling from onap/policy-api Digest: sha256:8d92621d8c2db53e521c2d1638b6a3401be0e528ad514a311771ba2d2337d7ea Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.0.3-SNAPSHOT Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:b440bc0e8aa5bab44a782952c09516b6a50f9d7b2325c1ffafac7bc833298e2e Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... latest: Pulling from grafana/grafana Digest: sha256:e3e9c2b5776fe3657f4954dfa91579224f98a0316f51d431989b15425e95530f Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-montreal-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds policy-db-migrator Up 11 seconds grafana Up 13 seconds prometheus Up 14 seconds mariadb Up 11 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds prometheus Up 19 seconds mariadb Up 17 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds prometheus Up 24 seconds mariadb Up 22 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds prometheus Up 29 seconds mariadb Up 27 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-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-montreal-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 18:16:59 up 3 min, 0 users, load average: 2.44, 1.06, 0.42 Tasks: 179 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.4 us, 2.1 sy, 0.0 ni, 83.3 id, 4.2 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.4G 26G 1.0M 4.0G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds prometheus Up 29 seconds mariadb Up 27 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS db07005bd025 policy-api 0.33% 463MiB / 31.41GiB 1.44% 999kB / 710kB 0B / 0B 54 bee0c87248a3 grafana 0.04% 96.64MiB / 31.41GiB 0.30% 18.7kB / 3.16kB 0B / 23.4MB 19 696acbb41fe8 prometheus 0.00% 18.78MiB / 31.41GiB 0.06% 1.45kB / 158B 221kB / 0B 13 d92ab048590b mariadb 0.01% 100.4MiB / 31.41GiB 0.31% 986kB / 1.18MB 11MB / 70.4MB 29 + echo + cd /tmp/tmp.nHoNPZK1J9 + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + sed 's|^|/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-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-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-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-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-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-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ============================================================================== api ============================================================================== api.Api-Test ============================================================================== Healthcheck :: Verify policy api health check | 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 | 22 tests, 22 passed, 0 failed ============================================================================== api.Api-Slas ============================================================================== WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForHealthcheck :: Validate component healthche... | 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 | 9 tests, 9 passed, 0 failed ============================================================================== api | PASS | 31 tests, 31 passed, 0 failed ============================================================================== Output: /tmp/tmp.nHoNPZK1J9/output.xml Log: /tmp/tmp.nHoNPZK1J9/log.html Report: /tmp/tmp.nHoNPZK1J9/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-montreal-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute prometheus Up About a minute mariadb Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 18:18:09 up 5 min, 0 users, load average: 0.93, 0.90, 0.41 Tasks: 177 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.9 us, 1.6 sy, 0.0 ni, 85.9 id, 3.5 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.8G 25G 1.0M 4.0G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute prometheus Up About a minute mariadb Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS db07005bd025 policy-api 0.27% 795.6MiB / 31.41GiB 2.47% 7MB / 2.55MB 0B / 0B 53 bee0c87248a3 grafana 0.18% 96.92MiB / 31.41GiB 0.30% 19.8kB / 4.39kB 0B / 23.4MB 19 696acbb41fe8 prometheus 0.00% 24.82MiB / 31.41GiB 0.08% 55.5kB / 6.57kB 221kB / 0B 13 d92ab048590b mariadb 0.02% 101.3MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 11MB / 70.7MB 18 + echo + source_safely /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose ++ cd /w/workspace/policy-api-montreal-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, policy-db-migrator, grafana, prometheus, mariadb grafana | logger=settings t=2023-12-06T18:16:30.589597781Z 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-06T18:16:30.589897621Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2023-12-06T18:16:30.589931112Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2023-12-06T18:16:30.589939542Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2023-12-06T18:16:30.589943583Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2023-12-06T18:16:30.589946763Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2023-12-06T18:16:30.589950563Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2023-12-06T18:16:30.589983244Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2023-12-06T18:16:30.589990094Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2023-12-06T18:16:30.589996254Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2023-12-06T18:16:30.590000664Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2023-12-06T18:16:30.590006055Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2023-12-06T18:16:30.590011705Z level=info msg=Target target=[all] grafana | logger=settings t=2023-12-06T18:16:30.590019165Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2023-12-06T18:16:30.590023015Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2023-12-06T18:16:30.590050226Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2023-12-06T18:16:30.590064747Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2023-12-06T18:16:30.590070347Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2023-12-06T18:16:30.590075177Z level=info msg="App mode production" grafana | logger=sqlstore t=2023-12-06T18:16:30.590404469Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2023-12-06T18:16:30.59042577Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2023-12-06T18:16:30.59104963Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2023-12-06T18:16:30.592058674Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2023-12-06T18:16:30.59284745Z level=info msg="Migration successfully executed" id="create migration_log table" duration=788.306µs grafana | logger=migrator t=2023-12-06T18:16:30.600354124Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2023-12-06T18:16:30.601093309Z level=info msg="Migration successfully executed" id="create user table" duration=738.605µs grafana | logger=migrator t=2023-12-06T18:16:30.605003741Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2023-12-06T18:16:30.605806928Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=802.957µs grafana | logger=migrator t=2023-12-06T18:16:30.609478492Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2023-12-06T18:16:30.610702053Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.223112ms grafana | logger=migrator t=2023-12-06T18:16:30.618421784Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2023-12-06T18:16:30.619571032Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.149218ms grafana | logger=migrator t=2023-12-06T18:16:30.623600328Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2023-12-06T18:16:30.624606443Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.007264ms grafana | logger=migrator t=2023-12-06T18:16:30.627821961Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2023-12-06T18:16:30.630535482Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.712771ms grafana | logger=migrator t=2023-12-06T18:16:30.637421304Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2023-12-06T18:16:30.638190051Z level=info msg="Migration successfully executed" id="create user table v2" duration=768.267µs grafana | logger=migrator t=2023-12-06T18:16:30.641972928Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2023-12-06T18:16:30.643167058Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.19384ms grafana | logger=migrator t=2023-12-06T18:16:30.646796591Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2023-12-06T18:16:30.648066724Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.269302ms grafana | logger=migrator t=2023-12-06T18:16:30.654041105Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2023-12-06T18:16:30.65448674Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=445.195µs grafana | logger=migrator t=2023-12-06T18:16:30.657848324Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2023-12-06T18:16:30.658753554Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=904.34µs grafana | logger=migrator t=2023-12-06T18:16:30.663005207Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2023-12-06T18:16:30.664681014Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.676247ms grafana | logger=migrator t=2023-12-06T18:16:30.668575045Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2023-12-06T18:16:30.668600186Z level=info msg="Migration successfully executed" id="Update user table charset" duration=27.061µs grafana | logger=migrator t=2023-12-06T18:16:30.676248964Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2023-12-06T18:16:30.678052255Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.802491ms grafana | logger=migrator t=2023-12-06T18:16:30.681662717Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2023-12-06T18:16:30.682117752Z level=info msg="Migration successfully executed" id="Add missing user data" duration=453.955µs grafana | logger=migrator t=2023-12-06T18:16:30.686437668Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2023-12-06T18:16:30.687589167Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.151019ms grafana | logger=migrator t=2023-12-06T18:16:30.691140146Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2023-12-06T18:16:30.692316357Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.1745ms grafana | logger=migrator t=2023-12-06T18:16:30.698811415Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2023-12-06T18:16:30.700579145Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.77002ms grafana | logger=migrator t=2023-12-06T18:16:30.704177286Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2023-12-06T18:16:30.713713959Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=9.536103ms grafana | logger=migrator t=2023-12-06T18:16:30.717283859Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2023-12-06T18:16:30.718054885Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=770.546µs grafana | logger=migrator t=2023-12-06T18:16:30.721502481Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2023-12-06T18:16:30.722270767Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=768.226µs grafana | logger=migrator t=2023-12-06T18:16:30.728990434Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2023-12-06T18:16:30.729809241Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=818.557µs grafana | logger=migrator t=2023-12-06T18:16:30.733997933Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2023-12-06T18:16:30.735210843Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.21619ms grafana | logger=migrator t=2023-12-06T18:16:30.741293058Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2023-12-06T18:16:30.742547731Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.253933ms grafana | logger=migrator t=2023-12-06T18:16:30.746739032Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2023-12-06T18:16:30.746776873Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=40.991µs grafana | logger=migrator t=2023-12-06T18:16:30.750864162Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2023-12-06T18:16:30.751560235Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=696.423µs grafana | logger=migrator t=2023-12-06T18:16:30.755405544Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2023-12-06T18:16:30.756611956Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.206661ms grafana | logger=migrator t=2023-12-06T18:16:30.76297607Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2023-12-06T18:16:30.764229213Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.252643ms grafana | logger=migrator t=2023-12-06T18:16:30.768124484Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2023-12-06T18:16:30.769336524Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.21149ms grafana | logger=migrator t=2023-12-06T18:16:30.775569515Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-06T18:16:30.779150546Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.580311ms grafana | logger=migrator t=2023-12-06T18:16:30.782975574Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2023-12-06T18:16:30.783804523Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=827.759µs grafana | logger=migrator t=2023-12-06T18:16:30.788104948Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2023-12-06T18:16:30.788960516Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=855.618µs grafana | logger=migrator t=2023-12-06T18:16:30.792430454Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2023-12-06T18:16:30.793291403Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=861.169µs grafana | logger=migrator t=2023-12-06T18:16:30.79914506Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2023-12-06T18:16:30.800514737Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.369197ms grafana | logger=migrator t=2023-12-06T18:16:30.804543082Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2023-12-06T18:16:30.805417922Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=874.629µs grafana | logger=migrator t=2023-12-06T18:16:30.809289213Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2023-12-06T18:16:30.810022207Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=725.364µs grafana | logger=migrator t=2023-12-06T18:16:30.816309389Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2023-12-06T18:16:30.817250952Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=941.082µs grafana | logger=migrator t=2023-12-06T18:16:30.821632489Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2023-12-06T18:16:30.822597381Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=963.692µs grafana | logger=migrator t=2023-12-06T18:16:30.826644918Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2023-12-06T18:16:30.82730257Z level=info msg="Migration successfully executed" id="create star table" duration=656.932µs grafana | logger=migrator t=2023-12-06T18:16:30.855866033Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2023-12-06T18:16:30.85724352Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.378827ms grafana | logger=migrator t=2023-12-06T18:16:30.863907875Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2023-12-06T18:16:30.865113906Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.204921ms grafana | logger=migrator t=2023-12-06T18:16:30.869967989Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2023-12-06T18:16:30.870779517Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=810.828µs grafana | logger=migrator t=2023-12-06T18:16:30.874279875Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2023-12-06T18:16:30.875350791Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.069866ms grafana | logger=migrator t=2023-12-06T18:16:30.881048573Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2023-12-06T18:16:30.882762611Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.713758ms grafana | logger=migrator t=2023-12-06T18:16:30.886862319Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2023-12-06T18:16:30.888166263Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.303274ms grafana | logger=migrator t=2023-12-06T18:16:30.892567681Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2023-12-06T18:16:30.893183873Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=615.982µs grafana | logger=migrator t=2023-12-06T18:16:30.895862553Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2023-12-06T18:16:30.895882694Z level=info msg="Migration successfully executed" id="Update org table charset" duration=20.591µs grafana | logger=migrator t=2023-12-06T18:16:30.938664517Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2023-12-06T18:16:30.938724819Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=62.192µs grafana | logger=migrator t=2023-12-06T18:16:30.943676796Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2023-12-06T18:16:30.944068789Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=391.553µs grafana | logger=migrator t=2023-12-06T18:16:30.94856553Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2023-12-06T18:16:30.949819693Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.253353ms grafana | logger=migrator t=2023-12-06T18:16:30.953355922Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2023-12-06T18:16:30.954627546Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.271274ms grafana | logger=migrator t=2023-12-06T18:16:30.995232355Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2023-12-06T18:16:30.996610782Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.377777ms grafana | logger=migrator t=2023-12-06T18:16:31.001389943Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2023-12-06T18:16:31.002524871Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.133699ms grafana | logger=migrator t=2023-12-06T18:16:31.006244185Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2023-12-06T18:16:31.007084863Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=840.378µs grafana | logger=migrator t=2023-12-06T18:16:31.010626263Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2023-12-06T18:16:31.011588885Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=962.741µs grafana | logger=migrator t=2023-12-06T18:16:31.017553994Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2023-12-06T18:16:31.023938968Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=6.384524ms grafana | logger=migrator t=2023-12-06T18:16:31.028548173Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2023-12-06T18:16:31.029297397Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=748.335µs grafana | logger=migrator t=2023-12-06T18:16:31.0326757Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2023-12-06T18:16:31.033511179Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=835.249µs grafana | logger=migrator t=2023-12-06T18:16:31.038806997Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2023-12-06T18:16:31.040042117Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.234651ms grafana | logger=migrator t=2023-12-06T18:16:31.043658718Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2023-12-06T18:16:31.044247439Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=584.901µs grafana | logger=migrator t=2023-12-06T18:16:31.047593231Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2023-12-06T18:16:31.048437109Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=843.208µs grafana | logger=migrator t=2023-12-06T18:16:31.055690942Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2023-12-06T18:16:31.055790425Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=100.543µs grafana | logger=migrator t=2023-12-06T18:16:31.059389316Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2023-12-06T18:16:31.062102717Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.714021ms grafana | logger=migrator t=2023-12-06T18:16:31.065555422Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2023-12-06T18:16:31.067771096Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.215174ms grafana | logger=migrator t=2023-12-06T18:16:31.073673974Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2023-12-06T18:16:31.075467584Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.79312ms mariadb | 2023-12-06 18:16:31+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-12-06 18:16:31+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2023-12-06 18:16:31+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-12-06 18:16:31+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2023-12-06 18:16:32 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-06 18:16:32 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-06 18:16:32 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-06 18:16:34+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2023-12-06 18:16:34+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2023-12-06 18:16:34+00:00 [Note] [Entrypoint]: Waiting for server startup grafana | logger=migrator t=2023-12-06T18:16:31.078647941Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2023-12-06T18:16:31.079941544Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.293113ms grafana | logger=migrator t=2023-12-06T18:16:31.083613377Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2023-12-06T18:16:31.086608708Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.99806ms grafana | logger=migrator t=2023-12-06T18:16:31.092741003Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2023-12-06T18:16:31.093655853Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=914.24µs mariadb | 2023-12-06 18:16:34 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 95 ... mariadb | 2023-12-06 18:16:34 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-12-06 18:16:34 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-12-06 18:16:34 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-12-06 18:16:34 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-12-06 18:16: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-06 18:16:34 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-06 18:16:34 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-12-06 18:16:34 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-12-06 18:16:34 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-12-06 18:16:34 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-12-06 18:16:34 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-12-06 18:16:34 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-12-06 18:16:34 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2023-12-06 18:16:34 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-12-06 18:16:34 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-12-06 18:16:34 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-12-06 18:16:34 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-12-06 18:16: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: 0 mariadb.org binary distribution mariadb | 2023-12-06 18:16:35+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2023-12-06 18:16:36+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2023-12-06 18:16:36+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2023-12-06 18:16:36+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2023-12-06 18:16:36+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | grafana | logger=migrator t=2023-12-06T18:16:31.097675918Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2023-12-06T18:16:31.099025683Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.349065ms grafana | logger=migrator t=2023-12-06T18:16:31.103260315Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2023-12-06T18:16:31.103299227Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=42.902µs grafana | logger=migrator t=2023-12-06T18:16:31.109302908Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2023-12-06T18:16:31.109327468Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=25.39µs grafana | logger=migrator t=2023-12-06T18:16:31.112926259Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2023-12-06T18:16:31.115730253Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.801914ms grafana | logger=migrator t=2023-12-06T18:16:31.121493196Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2023-12-06T18:16:31.124772545Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=3.28395ms grafana | logger=migrator t=2023-12-06T18:16:31.13088022Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2023-12-06T18:16:31.134238923Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=3.357823ms grafana | logger=migrator t=2023-12-06T18:16:31.138150864Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2023-12-06T18:16:31.141347451Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=3.194906ms grafana | logger=migrator t=2023-12-06T18:16:31.14490606Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2023-12-06T18:16:31.145212151Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=303.792µs grafana | logger=migrator t=2023-12-06T18:16:31.148339885Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2023-12-06T18:16:31.149208024Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=867.449µs grafana | logger=migrator t=2023-12-06T18:16:31.154966787Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2023-12-06T18:16:31.156306542Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.342785ms grafana | logger=migrator t=2023-12-06T18:16:31.160774341Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2023-12-06T18:16:31.160799902Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=26.821µs grafana | logger=migrator t=2023-12-06T18:16:31.165437348Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2023-12-06T18:16:31.167239388Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.80508ms grafana | logger=migrator t=2023-12-06T18:16:31.171500391Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2023-12-06T18:16:31.17207389Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=582.26µs grafana | logger=migrator t=2023-12-06T18:16:31.17565617Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-06T18:16:31.180799592Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=5.142892ms grafana | logger=migrator t=2023-12-06T18:16:31.185893413Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2023-12-06T18:16:31.186592766Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=698.613µs grafana | logger=migrator t=2023-12-06T18:16:31.191050786Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2023-12-06T18:16:31.192302417Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.251681ms grafana | logger=migrator t=2023-12-06T18:16:31.196030253Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2023-12-06T18:16:31.197726739Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.695096ms grafana | logger=migrator t=2023-12-06T18:16:31.203025697Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2023-12-06T18:16:31.203384448Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=358.572µs grafana | logger=migrator t=2023-12-06T18:16:31.206974319Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2023-12-06T18:16:31.207752885Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=775.186µs grafana | logger=migrator t=2023-12-06T18:16:31.211448969Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2023-12-06T18:16:31.216293181Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=4.830912ms grafana | logger=migrator t=2023-12-06T18:16:31.220468981Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2023-12-06T18:16:31.221689412Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=1.221511ms grafana | logger=migrator t=2023-12-06T18:16:31.225186559Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2023-12-06T18:16:31.225391746Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=205.587µs grafana | logger=migrator t=2023-12-06T18:16:31.231024994Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2023-12-06T18:16:31.231291603Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=267.829µs mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2023-12-06 18:16:37+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2023-12-06 18:16:37 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2023-12-06 18:16:37 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2023-12-06 18:16:37 0 [Note] InnoDB: Starting shutdown... mariadb | 2023-12-06 18:16:37 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2023-12-06 18:16:37 0 [Note] InnoDB: Buffer pool(s) dump completed at 231206 18:16:37 mariadb | 2023-12-06 18:16:38 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2023-12-06 18:16:38 0 [Note] InnoDB: Shutdown completed; log sequence number 347079; transaction id 298 mariadb | 2023-12-06 18:16:38 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2023-12-06 18:16:38+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2023-12-06 18:16:38+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2023-12-06 18:16:38 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2023-12-06 18:16:38 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-12-06 18:16:38 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-12-06 18:16:38 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-12-06 18:16:38 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-12-06 18:16:38 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-06 18:16:38 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-06 18:16:38 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-12-06 18:16:38 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-12-06 18:16:38 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-12-06 18:16:38 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-12-06 18:16:38 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-12-06 18:16:38 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-12-06 18:16:38 0 [Note] InnoDB: log sequence number 347079; transaction id 299 mariadb | 2023-12-06 18:16:38 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-12-06 18:16:38 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2023-12-06 18:16:38 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-12-06 18:16:38 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2023-12-06 18:16:38 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2023-12-06 18:16:38 0 [Note] Server socket created on IP: '::'. mariadb | 2023-12-06 18:16:38 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-06 18:16:38 0 [Note] InnoDB: Buffer pool(s) load completed at 231206 18:16:38 mariadb | 2023-12-06 18:16:39 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) mariadb | 2023-12-06 18:16:39 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) grafana | logger=migrator t=2023-12-06T18:16:31.234680668Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2023-12-06T18:16:31.235883597Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.20242ms grafana | logger=migrator t=2023-12-06T18:16:31.239166427Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2023-12-06T18:16:31.241270198Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.103361ms grafana | logger=migrator t=2023-12-06T18:16:31.245298792Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2023-12-06T18:16:31.246191023Z level=info msg="Migration successfully executed" id="create data_source table" duration=891.851µs policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb (172.17.0.3) 3306 port [tcp/mysql] succeeded! policy-db-migrator | 321 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 | Preparing upgrade release version: 1300 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 policy-db-migrator | upgrade: 0 -> 1300 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-12-06T18:16:31.251860793Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2023-12-06T18:16:31.252580067Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=718.994µs grafana | logger=migrator t=2023-12-06T18:16:31.255894108Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2023-12-06T18:16:31.257254734Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.360767ms grafana | logger=migrator t=2023-12-06T18:16:31.26072966Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2023-12-06T18:16:31.261978021Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.248191ms grafana | logger=migrator t=2023-12-06T18:16:31.268857422Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2023-12-06T18:16:31.26969781Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=840.388µs grafana | logger=migrator t=2023-12-06T18:16:31.273442555Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2023-12-06T18:16:31.283204473Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=9.759917ms grafana | logger=migrator t=2023-12-06T18:16:31.322251501Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2023-12-06T18:16:31.323548564Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=1.296183ms grafana | logger=migrator t=2023-12-06T18:16:31.328468369Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2023-12-06T18:16:31.329888057Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.419428ms grafana | logger=migrator t=2023-12-06T18:16:31.333745696Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2023-12-06T18:16:31.334588723Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=842.558µs grafana | logger=migrator t=2023-12-06T18:16:31.341034689Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2023-12-06T18:16:31.342002202Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=966.813µs grafana | logger=migrator t=2023-12-06T18:16:31.345002213Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2023-12-06T18:16:31.348800759Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.798027ms grafana | logger=migrator t=2023-12-06T18:16:31.35237781Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2023-12-06T18:16:31.354707457Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.329097ms grafana | logger=migrator t=2023-12-06T18:16:31.361183505Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2023-12-06T18:16:31.361208316Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=26.021µs grafana | logger=migrator t=2023-12-06T18:16:31.364460484Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2023-12-06T18:16:31.364708843Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=245.368µs grafana | logger=migrator t=2023-12-06T18:16:31.36821046Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2023-12-06T18:16:31.372024078Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.812798ms grafana | logger=migrator t=2023-12-06T18:16:31.376023902Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2023-12-06T18:16:31.376232438Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=208.026µs grafana | logger=migrator t=2023-12-06T18:16:31.383512243Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2023-12-06T18:16:31.383822253Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=309.19µs grafana | logger=migrator t=2023-12-06T18:16:31.387748704Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2023-12-06T18:16:31.391054605Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.30389ms grafana | logger=migrator t=2023-12-06T18:16:31.394394707Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2023-12-06T18:16:31.394651746Z level=info msg="Migration successfully executed" id="Update uid value" duration=256.659µs grafana | logger=migrator t=2023-12-06T18:16:31.398018328Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2023-12-06T18:16:31.399153956Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.133978ms grafana | logger=migrator t=2023-12-06T18:16:31.405383475Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2023-12-06T18:16:31.406758631Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.374987ms grafana | logger=migrator t=2023-12-06T18:16:31.410996293Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2023-12-06T18:16:31.412147102Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.15007ms grafana | logger=migrator t=2023-12-06T18:16:31.418521175Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2023-12-06T18:16:31.419257969Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=733.904µs grafana | logger=migrator t=2023-12-06T18:16:31.422802139Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2023-12-06T18:16:31.424025899Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.22316ms prometheus | ts=2023-12-06T18:16:29.583Z 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-06T18:16:29.583Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.0, branch=HEAD, revision=6d80b30990bc297d95b5c844e118c4011fad8054)" prometheus | ts=2023-12-06T18:16:29.583Z caller=main.go:588 level=info build_context="(go=go1.21.4, platform=linux/amd64, user=root@26117804242c, date=20231116-04:35:21, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2023-12-06T18:16:29.583Z 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-06T18:16:29.583Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2023-12-06T18:16:29.583Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2023-12-06T18:16:29.585Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2023-12-06T18:16:29.585Z caller=main.go:1024 level=info msg="Starting TSDB ..." prometheus | ts=2023-12-06T18:16:29.587Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2023-12-06T18:16:29.587Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2023-12-06T18:16:29.591Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2023-12-06T18:16:29.591Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=9.99µs prometheus | ts=2023-12-06T18:16:29.591Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2023-12-06T18:16:29.592Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2023-12-06T18:16:29.592Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=108.693µs wal_replay_duration=541.694µs wbl_replay_duration=330ns total_replay_duration=789.98µs prometheus | ts=2023-12-06T18:16:29.594Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2023-12-06T18:16:29.594Z caller=main.go:1048 level=info msg="TSDB started" prometheus | ts=2023-12-06T18:16:29.595Z caller=main.go:1229 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2023-12-06T18:16:29.596Z caller=main.go:1266 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.066839ms db_storage=1.25µs remote_storage=1.69µs web_handler=800ns query_engine=880ns scrape=309.059µs scrape_sd=121.243µs notify=43.641µs notify_sd=12.621µs rules=6.44µs tracing=6.09µs prometheus | ts=2023-12-06T18:16:29.596Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." prometheus | ts=2023-12-06T18:16:29.596Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2023-12-06T18:16:31.427598559Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2023-12-06T18:16:31.428886522Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.287093ms grafana | logger=migrator t=2023-12-06T18:16:31.437963886Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2023-12-06T18:16:31.439141486Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.17705ms grafana | logger=migrator t=2023-12-06T18:16:31.442412386Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2023-12-06T18:16:31.443626476Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.21334ms grafana | logger=migrator t=2023-12-06T18:16:31.448430267Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-06T18:16:31.449164471Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=733.484µs grafana | logger=migrator t=2023-12-06T18:16:31.454248302Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2023-12-06T18:16:31.464859127Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=10.610815ms grafana | logger=migrator t=2023-12-06T18:16:31.468295332Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2023-12-06T18:16:31.46882551Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=530.678µs grafana | logger=migrator t=2023-12-06T18:16:31.473729954Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2023-12-06T18:16:31.474946315Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=1.216021ms grafana | logger=migrator t=2023-12-06T18:16:31.479720545Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2023-12-06T18:16:31.480516081Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=794.796µs grafana | logger=migrator t=2023-12-06T18:16:31.48405056Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2023-12-06T18:16:31.484850297Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=799.027µs grafana | logger=migrator t=2023-12-06T18:16:31.488200369Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2023-12-06T18:16:31.488614553Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=413.634µs grafana | logger=migrator t=2023-12-06T18:16:31.495461523Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2023-12-06T18:16:31.496573639Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=1.111676ms grafana | logger=migrator t=2023-12-06T18:16:31.500670586Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2023-12-06T18:16:31.500697137Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=27.471µs grafana | logger=migrator t=2023-12-06T18:16:31.504525776Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2023-12-06T18:16:31.509288506Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.76174ms grafana | logger=migrator t=2023-12-06T18:16:31.514420127Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2023-12-06T18:16:31.517061555Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.640698ms grafana | logger=migrator t=2023-12-06T18:16:31.520713568Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2023-12-06T18:16:31.520954446Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=238.958µs grafana | logger=migrator t=2023-12-06T18:16:31.524819076Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2023-12-06T18:16:31.528065764Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=3.244349ms grafana | logger=migrator t=2023-12-06T18:16:31.533282509Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2023-12-06T18:16:31.536227258Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.942178ms grafana | logger=migrator t=2023-12-06T18:16:31.54107256Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2023-12-06T18:16:31.541811165Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=739.365µs grafana | logger=migrator t=2023-12-06T18:16:31.545899702Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2023-12-06T18:16:31.546551484Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=651.202µs grafana | logger=migrator t=2023-12-06T18:16:31.551253952Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2023-12-06T18:16:31.552487172Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.232281ms grafana | logger=migrator t=2023-12-06T18:16:31.557661656Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2023-12-06T18:16:31.55899697Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.334814ms grafana | logger=migrator t=2023-12-06T18:16:31.563824052Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2023-12-06T18:16:31.56465744Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=832.838µs grafana | logger=migrator t=2023-12-06T18:16:31.611576912Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2023-12-06T18:16:31.612583015Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.007474ms grafana | logger=migrator t=2023-12-06T18:16:31.618083869Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2023-12-06T18:16:31.618146011Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=72.632µs grafana | logger=migrator t=2023-12-06T18:16:31.621578357Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2023-12-06T18:16:31.621603198Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=25.561µs grafana | logger=migrator t=2023-12-06T18:16:31.625279171Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2023-12-06T18:16:31.629872595Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.592194ms grafana | logger=migrator t=2023-12-06T18:16:31.640305974Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2023-12-06T18:16:31.645028172Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=4.726799ms grafana | logger=migrator t=2023-12-06T18:16:31.649099788Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2023-12-06T18:16:31.649284815Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=185.297µs grafana | logger=migrator t=2023-12-06T18:16:31.655906847Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2023-12-06T18:16:31.656576249Z level=info msg="Migration successfully executed" id="create quota table v1" duration=669.022µs grafana | logger=migrator t=2023-12-06T18:16:31.660047675Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2023-12-06T18:16:31.661107531Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.058196ms grafana | logger=migrator t=2023-12-06T18:16:31.665014611Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2023-12-06T18:16:31.665051703Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=38.612µs grafana | logger=migrator t=2023-12-06T18:16:31.724634808Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2023-12-06T18:16:31.726001094Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.365936ms grafana | logger=migrator t=2023-12-06T18:16:31.732944747Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2023-12-06T18:16:31.733764325Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=831.939µs grafana | logger=migrator t=2023-12-06T18:16:31.737541711Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2023-12-06T18:16:31.740323354Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.781053ms grafana | logger=migrator t=2023-12-06T18:16:31.743632305Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2023-12-06T18:16:31.743655616Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=23.8µs grafana | logger=migrator t=2023-12-06T18:16:31.749531322Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2023-12-06T18:16:31.750721333Z level=info msg="Migration successfully executed" id="create session table" duration=1.17268ms grafana | logger=migrator t=2023-12-06T18:16:31.755946158Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2023-12-06T18:16:31.756071482Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=125.664µs grafana | logger=migrator t=2023-12-06T18:16:31.763138638Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2023-12-06T18:16:31.763261332Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=123.344µs grafana | logger=migrator t=2023-12-06T18:16:31.769641646Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2023-12-06T18:16:31.770586048Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=943.182µs grafana | logger=migrator t=2023-12-06T18:16:31.775360228Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2023-12-06T18:16:31.776365712Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.002263ms grafana | logger=migrator t=2023-12-06T18:16:31.780841921Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2023-12-06T18:16:31.780882772Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=42.761µs grafana | logger=migrator t=2023-12-06T18:16:31.788756726Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2023-12-06T18:16:31.788797418Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=42.231µs grafana | logger=migrator t=2023-12-06T18:16:31.793993042Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2023-12-06T18:16:31.802032811Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=8.040269ms grafana | logger=migrator t=2023-12-06T18:16:31.810899798Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2023-12-06T18:16:31.815584015Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=4.683397ms grafana | logger=migrator t=2023-12-06T18:16:31.821598537Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2023-12-06T18:16:31.821773452Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=174.536µs grafana | logger=migrator t=2023-12-06T18:16:31.828781078Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2023-12-06T18:16:31.82885758Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=79.673µs grafana | logger=migrator t=2023-12-06T18:16:31.83335521Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2023-12-06T18:16:31.83451832Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.16316ms grafana | logger=migrator t=2023-12-06T18:16:31.83962311Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2023-12-06T18:16:31.839658501Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=37.021µs grafana | logger=migrator t=2023-12-06T18:16:31.843275373Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2023-12-06T18:16:31.851409505Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=8.132682ms grafana | logger=migrator t=2023-12-06T18:16:31.854745847Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2023-12-06T18:16:31.854874771Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=129.044µs grafana | logger=migrator t=2023-12-06T18:16:31.860132727Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2023-12-06T18:16:31.865054773Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=4.921265ms grafana | logger=migrator t=2023-12-06T18:16:31.871314642Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2023-12-06T18:16:31.874654624Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.355863ms grafana | logger=migrator t=2023-12-06T18:16:31.87932387Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2023-12-06T18:16:31.879391813Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=68.623µs grafana | logger=migrator t=2023-12-06T18:16:31.881666938Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2023-12-06T18:16:31.88258422Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=914.261µs grafana | logger=migrator t=2023-12-06T18:16:31.887903898Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2023-12-06T18:16:31.888900581Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=995.403µs grafana | logger=migrator t=2023-12-06T18:16:31.893998002Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2023-12-06T18:16:31.895536173Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.537901ms grafana | logger=migrator t=2023-12-06T18:16:31.89930464Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2023-12-06T18:16:31.900179959Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=874.709µs grafana | logger=migrator t=2023-12-06T18:16:31.905387883Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2023-12-06T18:16:31.906688336Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.299933ms grafana | logger=migrator t=2023-12-06T18:16:31.910452683Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2023-12-06T18:16:31.911829179Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.376276ms grafana | logger=migrator t=2023-12-06T18:16:31.91873264Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2023-12-06T18:16:31.919343191Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=610.111µs grafana | logger=migrator t=2023-12-06T18:16:31.922860568Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2023-12-06T18:16:31.923963126Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.100448ms grafana | logger=migrator t=2023-12-06T18:16:31.928319961Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2023-12-06T18:16:31.929595604Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.275813ms grafana | logger=migrator t=2023-12-06T18:16:31.934783687Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2023-12-06T18:16:31.948761836Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=13.976278ms grafana | logger=migrator t=2023-12-06T18:16:31.953134943Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2023-12-06T18:16:31.953742003Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=609.181µs grafana | logger=migrator t=2023-12-06T18:16:31.956713612Z 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-06T18:16:31.957579452Z 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=865.92µs grafana | logger=migrator t=2023-12-06T18:16:31.963760669Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2023-12-06T18:16:31.964257085Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=501.667µs grafana | logger=migrator t=2023-12-06T18:16:31.96858507Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2023-12-06T18:16:31.969203141Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=618.202µs grafana | logger=migrator t=2023-12-06T18:16:31.973473494Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2023-12-06T18:16:31.974184107Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=710.104µs grafana | logger=migrator t=2023-12-06T18:16:31.979552527Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2023-12-06T18:16:31.985099983Z level=info msg="Migration successfully executed" id="Add column is_default" duration=5.539755ms grafana | logger=migrator t=2023-12-06T18:16:31.989222041Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2023-12-06T18:16:31.995098208Z level=info msg="Migration successfully executed" id="Add column frequency" duration=5.879757ms grafana | logger=migrator t=2023-12-06T18:16:31.999088661Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2023-12-06T18:16:32.002584889Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.495438ms grafana | logger=migrator t=2023-12-06T18:16:32.006848908Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2023-12-06T18:16:32.010262286Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.412818ms grafana | logger=migrator t=2023-12-06T18:16:32.016532568Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2023-12-06T18:16:32.01756329Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.030412ms grafana | logger=migrator t=2023-12-06T18:16:32.020856445Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2023-12-06T18:16:32.020895487Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=39.552µs grafana | logger=migrator t=2023-12-06T18:16:32.024017736Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2023-12-06T18:16:32.024063738Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=46.362µs grafana | logger=migrator t=2023-12-06T18:16:32.031561628Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2023-12-06T18:16:32.032653662Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.092225ms grafana | logger=migrator t=2023-12-06T18:16:32.036534447Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-12-06T18:16:32.037934341Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.398634ms grafana | logger=migrator t=2023-12-06T18:16:32.044043666Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2023-12-06T18:16:32.045571435Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.526619ms grafana | logger=migrator t=2023-12-06T18:16:32.096820732Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2023-12-06T18:16:32.097928718Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.107696ms grafana | logger=migrator t=2023-12-06T18:16:32.101567104Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-12-06T18:16:32.102972268Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.404054ms grafana | logger=migrator t=2023-12-06T18:16:32.108574957Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2023-12-06T18:16:32.112148812Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.573305ms grafana | logger=migrator t=2023-12-06T18:16:32.117863915Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2023-12-06T18:16:32.12146938Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.603235ms policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.3:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.5:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v3.1.4) policy-api | policy-api | [2023-12-06T18:16:47.875+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 23 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2023-12-06T18:16:47.877+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2023-12-06T18:16:49.561+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2023-12-06T18:16:49.650+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 79 ms. Found 6 JPA repository interfaces. policy-api | [2023-12-06T18:16:50.099+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2023-12-06T18:16:50.100+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2023-12-06T18:16:50.691+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2023-12-06T18:16:50.700+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2023-12-06T18:16:50.702+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2023-12-06T18:16:50.703+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] policy-api | [2023-12-06T18:16:50.783+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2023-12-06T18:16:50.784+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2825 ms policy-api | [2023-12-06T18:16:51.184+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2023-12-06T18:16:51.269+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-api | [2023-12-06T18:16:51.272+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-api | [2023-12-06T18:16:51.312+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2023-12-06T18:16:51.653+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-api | [2023-12-06T18:16:51.672+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2023-12-06T18:16:51.769+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@2620e717 policy-api | [2023-12-06T18:16:51.772+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2023-12-06T18:16:51.801+00:00|WARN|deprecation|main] HHH90000025: MariaDB103Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) policy-api | [2023-12-06T18:16:51.803+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead policy-api | [2023-12-06T18:16:53.608+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-api | [2023-12-06T18:16:53.611+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2023-12-06T18:16:55.033+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2023-12-06T18:16:55.924+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] grafana | logger=migrator t=2023-12-06T18:16:32.127162062Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2023-12-06T18:16:32.127567044Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=405.633µs grafana | logger=migrator t=2023-12-06T18:16:32.13178913Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2023-12-06T18:16:32.132610836Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=820.426µs grafana | logger=migrator t=2023-12-06T18:16:32.141023554Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2023-12-06T18:16:32.142256923Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.232869ms grafana | logger=migrator t=2023-12-06T18:16:32.148309758Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2023-12-06T18:16:32.15464332Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=6.337813ms grafana | logger=migrator t=2023-12-06T18:16:32.162560023Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2023-12-06T18:16:32.162633695Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=74.872µs grafana | logger=migrator t=2023-12-06T18:16:32.166353884Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2023-12-06T18:16:32.167684377Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.330033ms grafana | logger=migrator t=2023-12-06T18:16:32.205584717Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2023-12-06T18:16:32.207118216Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.532979ms grafana | logger=migrator t=2023-12-06T18:16:32.218885702Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2023-12-06T18:16:32.219013236Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=128.174µs grafana | logger=migrator t=2023-12-06T18:16:32.223963754Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2023-12-06T18:16:32.225177733Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.213789ms grafana | logger=migrator t=2023-12-06T18:16:32.22976981Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2023-12-06T18:16:32.231081681Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.311281ms grafana | logger=migrator t=2023-12-06T18:16:32.236147383Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2023-12-06T18:16:32.236958519Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=810.406µs grafana | logger=migrator t=2023-12-06T18:16:32.242155415Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2023-12-06T18:16:32.243477128Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.320873ms grafana | logger=migrator t=2023-12-06T18:16:32.251153652Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2023-12-06T18:16:32.25262143Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.467178ms grafana | logger=migrator t=2023-12-06T18:16:32.290069936Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2023-12-06T18:16:32.291534623Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.463957ms grafana | logger=migrator t=2023-12-06T18:16:32.29645076Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2023-12-06T18:16:32.296488181Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=38.901µs grafana | logger=migrator t=2023-12-06T18:16:32.301008125Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2023-12-06T18:16:32.306194401Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=5.190576ms grafana | logger=migrator t=2023-12-06T18:16:32.315268231Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2023-12-06T18:16:32.316555042Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=1.286341ms grafana | logger=migrator t=2023-12-06T18:16:32.321236141Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2023-12-06T18:16:32.327272355Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=6.035684ms grafana | logger=migrator t=2023-12-06T18:16:32.331450598Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2023-12-06T18:16:32.332068307Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=617.439µs grafana | logger=migrator t=2023-12-06T18:16:32.337368107Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2023-12-06T18:16:32.338881936Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.508898ms grafana | logger=migrator t=2023-12-06T18:16:32.343499433Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2023-12-06T18:16:32.345348202Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.848ms grafana | logger=migrator t=2023-12-06T18:16:32.352122078Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2023-12-06T18:16:32.368491331Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=16.368903ms grafana | logger=migrator t=2023-12-06T18:16:32.374886706Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2023-12-06T18:16:32.375734113Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=851.777µs grafana | logger=migrator t=2023-12-06T18:16:32.380730603Z 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-06T18:16:32.381524578Z 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=793.635µs grafana | logger=migrator t=2023-12-06T18:16:32.385438772Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2023-12-06T18:16:32.385711121Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=272.659µs grafana | logger=migrator t=2023-12-06T18:16:32.392200839Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-api | [2023-12-06T18:16:57.031+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-06T18:16:57.231+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@680f7a5e, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@3005133e, org.springframework.security.web.context.SecurityContextHolderFilter@56bc8c45, org.springframework.security.web.header.HeaderWriterFilter@234a08ea, org.springframework.security.web.authentication.logout.LogoutFilter@7f5179be, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@607c7f58, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@2f29400e, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@547a79cd, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@19a7e618, org.springframework.security.web.access.ExceptionTranslationFilter@2e26841f, org.springframework.security.web.access.intercept.AuthorizationFilter@6149184e] policy-api | [2023-12-06T18:16:58.193+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2023-12-06T18:16:58.264+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2023-12-06T18:16:58.305+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2023-12-06T18:16:58.323+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.188 seconds (process running for 11.789) policy-api | [2023-12-06T18:17:01.962+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2023-12-06T18:17:01.962+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2023-12-06T18:17:01.963+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-api | [2023-12-06T18:17:04.598+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2023-12-06T18:17:04.722+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes policy-api | [2023-12-06T18:17:04.946+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2023-12-06T18:17:06.125+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies policy-api | [2023-12-06T18:17:08.032+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2023-12-06T18:17:08.314+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2023-12-06T18:17:08.540+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2023-12-06T18:17:08.773+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2023-12-06T18:17:08.991+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2023-12-06T18:17:09.215+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2023-12-06T18:16:32.392894561Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=695.212µs grafana | logger=migrator t=2023-12-06T18:16:32.397661833Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2023-12-06T18:16:32.397974913Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=311.93µs grafana | logger=migrator t=2023-12-06T18:16:32.406081562Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2023-12-06T18:16:32.411011609Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.934737ms grafana | logger=migrator t=2023-12-06T18:16:32.417252139Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2023-12-06T18:16:32.422376122Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=5.125763ms grafana | logger=migrator t=2023-12-06T18:16:32.42698411Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2023-12-06T18:16:32.428801868Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.822148ms grafana | logger=migrator t=2023-12-06T18:16:32.432850007Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2023-12-06T18:16:32.434313674Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.462817ms grafana | logger=migrator t=2023-12-06T18:16:32.4736101Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2023-12-06T18:16:32.474028693Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=418.743µs grafana | logger=migrator t=2023-12-06T18:16:32.480987795Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2023-12-06T18:16:32.487735001Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.746496ms grafana | logger=migrator t=2023-12-06T18:16:32.492160392Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2023-12-06T18:16:32.493065301Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=903.549µs grafana | logger=migrator t=2023-12-06T18:16:32.498850656Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2023-12-06T18:16:32.499326101Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=479.555µs grafana | logger=migrator t=2023-12-06T18:16:32.503936409Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2023-12-06T18:16:32.504403503Z level=info msg="Migration successfully executed" id="Move region to single row" duration=467.564µs grafana | logger=migrator t=2023-12-06T18:16:32.508253356Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2023-12-06T18:16:32.509636621Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.391725ms grafana | logger=migrator t=2023-12-06T18:16:32.515137236Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2023-12-06T18:16:32.516040175Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=903.019µs grafana | logger=migrator t=2023-12-06T18:16:32.523963208Z 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-06T18:16:32.525564329Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.602901ms grafana | logger=migrator t=2023-12-06T18:16:32.532336906Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-12-06T18:16:32.533362868Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.025612ms grafana | logger=migrator t=2023-12-06T18:16:32.540741584Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2023-12-06T18:16:32.541659123Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=917.209µs grafana | logger=migrator t=2023-12-06T18:16:32.545561918Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2023-12-06T18:16:32.546448367Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=886.939µs grafana | logger=migrator t=2023-12-06T18:16:32.55062473Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2023-12-06T18:16:32.550730813Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=105.794µs grafana | logger=migrator t=2023-12-06T18:16:32.557644904Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2023-12-06T18:16:32.558407628Z level=info msg="Migration successfully executed" id="create test_data table" duration=762.794µs grafana | logger=migrator t=2023-12-06T18:16:32.561962202Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2023-12-06T18:16:32.562696916Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=736.974µs grafana | logger=migrator t=2023-12-06T18:16:32.567901951Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2023-12-06T18:16:32.569274526Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.372235ms grafana | logger=migrator t=2023-12-06T18:16:32.57568018Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2023-12-06T18:16:32.576749895Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.069805ms grafana | logger=migrator t=2023-12-06T18:16:32.581862397Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2023-12-06T18:16:32.582337213Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=474.676µs grafana | logger=migrator t=2023-12-06T18:16:32.58785519Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2023-12-06T18:16:32.588679916Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=819.386µs grafana | logger=migrator t=2023-12-06T18:16:32.602047423Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2023-12-06T18:16:32.602181157Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=133.574µs grafana | logger=migrator t=2023-12-06T18:16:32.610286176Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2023-12-06T18:16:32.611141613Z level=info msg="Migration successfully executed" id="create team table" duration=855.087µs grafana | logger=migrator t=2023-12-06T18:16:32.614787699Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2023-12-06T18:16:32.615810213Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.022444ms grafana | logger=migrator t=2023-12-06T18:16:32.620478851Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2023-12-06T18:16:32.621543396Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.064435ms grafana | logger=migrator t=2023-12-06T18:16:32.626750421Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2023-12-06T18:16:32.632169804Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=5.419093ms grafana | logger=migrator t=2023-12-06T18:16:32.636607687Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2023-12-06T18:16:32.636917936Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=309.389µs grafana | logger=migrator t=2023-12-06T18:16:32.641047559Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2023-12-06T18:16:32.642107952Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.060623ms grafana | logger=migrator t=2023-12-06T18:16:32.666937676Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2023-12-06T18:16:32.668489975Z level=info msg="Migration successfully executed" id="create team member table" duration=1.55782ms grafana | logger=migrator t=2023-12-06T18:16:32.675647064Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2023-12-06T18:16:32.676562913Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=916.139µs grafana | logger=migrator t=2023-12-06T18:16:32.683847736Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2023-12-06T18:16:32.685327073Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.478247ms grafana | logger=migrator t=2023-12-06T18:16:32.695112096Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2023-12-06T18:16:32.69649656Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.384323ms grafana | logger=migrator t=2023-12-06T18:16:32.705052003Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2023-12-06T18:16:32.714304649Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=9.245166ms grafana | logger=migrator t=2023-12-06T18:16:32.723968417Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2023-12-06T18:16:32.731070075Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=7.103428ms grafana | logger=migrator t=2023-12-06T18:16:32.736531719Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2023-12-06T18:16:32.741437005Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.904856ms grafana | logger=migrator t=2023-12-06T18:16:32.747479569Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2023-12-06T18:16:32.748682417Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.198628ms grafana | logger=migrator t=2023-12-06T18:16:32.755492774Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2023-12-06T18:16:32.756494297Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.002483ms grafana | logger=migrator t=2023-12-06T18:16:32.763836151Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2023-12-06T18:16:32.765197035Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.360044ms grafana | logger=migrator t=2023-12-06T18:16:32.770781293Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2023-12-06T18:16:32.772690394Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.908141ms grafana | logger=migrator t=2023-12-06T18:16:32.780684429Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2023-12-06T18:16:32.781716813Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.031883ms grafana | logger=migrator t=2023-12-06T18:16:32.894557997Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2023-12-06T18:16:32.895815727Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.26488ms grafana | logger=migrator t=2023-12-06T18:16:32.900830977Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2023-12-06T18:16:32.901559191Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=727.774µs grafana | logger=migrator t=2023-12-06T18:16:32.907060487Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2023-12-06T18:16:32.908644677Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.58254ms grafana | logger=migrator t=2023-12-06T18:16:32.914721271Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2023-12-06T18:16:32.915217377Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=500.826µs grafana | logger=migrator t=2023-12-06T18:16:32.920920839Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2023-12-06T18:16:32.921392315Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=468.716µs grafana | logger=migrator t=2023-12-06T18:16:32.925933719Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2023-12-06T18:16:32.926819258Z level=info msg="Migration successfully executed" id="create tag table" duration=886.439µs grafana | logger=migrator t=2023-12-06T18:16:32.933636026Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2023-12-06T18:16:32.934588586Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=951.67µs grafana | logger=migrator t=2023-12-06T18:16:32.938866043Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2023-12-06T18:16:32.939567565Z level=info msg="Migration successfully executed" id="create login attempt table" duration=701.502µs grafana | logger=migrator t=2023-12-06T18:16:32.946314211Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2023-12-06T18:16:32.94724252Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=930.179µs 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 | policy-db-migrator | policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-06T18:16:32.954863824Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2023-12-06T18:16:32.956226977Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.364783ms grafana | logger=migrator t=2023-12-06T18:16:32.960492814Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-06T18:16:32.980352298Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=19.860294ms grafana | logger=migrator t=2023-12-06T18:16:32.98511435Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2023-12-06T18:16:32.985681389Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=566.639µs grafana | logger=migrator t=2023-12-06T18:16:32.989967945Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2023-12-06T18:16:32.990888144Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=919.689µs grafana | logger=migrator t=2023-12-06T18:16:32.997441804Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2023-12-06T18:16:32.997924049Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=481.465µs grafana | logger=migrator t=2023-12-06T18:16:33.004029574Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2023-12-06T18:16:33.004949183Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=919.119µs grafana | logger=migrator t=2023-12-06T18:16:33.011721692Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2023-12-06T18:16:33.012762407Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.040335ms grafana | logger=migrator t=2023-12-06T18:16:33.018241381Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2023-12-06T18:16:33.019122041Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=881.44µs grafana | logger=migrator t=2023-12-06T18:16:33.0262308Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2023-12-06T18:16:33.026375285Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=145.215µs grafana | logger=migrator t=2023-12-06T18:16:33.033002637Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2023-12-06T18:16:33.040967205Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=7.964198ms grafana | logger=migrator t=2023-12-06T18:16:33.046402548Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2023-12-06T18:16:33.049934837Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=3.532379ms grafana | logger=migrator t=2023-12-06T18:16:33.056251099Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2023-12-06T18:16:33.062616593Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=6.362994ms grafana | logger=migrator t=2023-12-06T18:16:33.069822536Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2023-12-06T18:16:33.074707739Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=4.884713ms grafana | logger=migrator t=2023-12-06T18:16:33.078472616Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2023-12-06T18:16:33.079360866Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=887.67µs grafana | logger=migrator t=2023-12-06T18:16:33.087181729Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2023-12-06T18:16:33.092171117Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=4.988538ms grafana | logger=migrator t=2023-12-06T18:16:33.099498313Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2023-12-06T18:16:33.100229977Z level=info msg="Migration successfully executed" id="create server_lock table" duration=730.974µs grafana | logger=migrator t=2023-12-06T18:16:33.107173541Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2023-12-06T18:16:33.108440563Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.264392ms grafana | logger=migrator t=2023-12-06T18:16:33.113599187Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2023-12-06T18:16:33.115332295Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.731899ms grafana | logger=migrator t=2023-12-06T18:16:33.121896295Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2023-12-06T18:16:33.122796446Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=900.141µs grafana | logger=migrator t=2023-12-06T18:16:33.129963087Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2023-12-06T18:16:33.131622203Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.658376ms grafana | logger=migrator t=2023-12-06T18:16:33.136924141Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2023-12-06T18:16:33.137943015Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.018284ms grafana | logger=migrator t=2023-12-06T18:16:33.144986241Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2023-12-06T18:16:33.152584037Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=7.598526ms grafana | logger=migrator t=2023-12-06T18:16:33.157837514Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2023-12-06T18:16:33.158814886Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=976.912µs grafana | logger=migrator t=2023-12-06T18:16:33.16426884Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2023-12-06T18:16:33.164994715Z level=info msg="Migration successfully executed" id="create cache_data table" duration=725.585µs grafana | logger=migrator t=2023-12-06T18:16:33.170311833Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2023-12-06T18:16:33.171753012Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.440519ms grafana | logger=migrator t=2023-12-06T18:16:33.17795833Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2023-12-06T18:16:33.179188012Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.228952ms grafana | logger=migrator t=2023-12-06T18:16:33.184877303Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2023-12-06T18:16:33.186405624Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.527181ms grafana | logger=migrator t=2023-12-06T18:16:33.192594142Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2023-12-06T18:16:33.192695205Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=101.233µs grafana | logger=migrator t=2023-12-06T18:16:33.198889064Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2023-12-06T18:16:33.199014388Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=125.434µs grafana | logger=migrator t=2023-12-06T18:16:33.202870468Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2023-12-06T18:16:33.204085249Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.214582ms grafana | logger=migrator t=2023-12-06T18:16:33.211636552Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-12-06T18:16:33.213097462Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.457139ms grafana | logger=migrator t=2023-12-06T18:16:33.220455228Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-12-06T18:16:33.221415251Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=959.363µs grafana | logger=migrator t=2023-12-06T18:16:33.227468095Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-06T18:16:33.227566468Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=98.293µs grafana | logger=migrator t=2023-12-06T18:16:33.232654889Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-12-06T18:16:33.234453269Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.79432ms grafana | logger=migrator t=2023-12-06T18:16:33.279353798Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-12-06T18:16:33.281039855Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.687137ms grafana | logger=migrator t=2023-12-06T18:16:33.287705939Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-12-06T18:16:33.288946191Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.239672ms grafana | logger=migrator t=2023-12-06T18:16:33.294780037Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-12-06T18:16:33.296392471Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.609734ms grafana | logger=migrator t=2023-12-06T18:16:33.303462279Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2023-12-06T18:16:33.310560358Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=7.098449ms grafana | logger=migrator t=2023-12-06T18:16:33.313933381Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2023-12-06T18:16:33.314869282Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=935.641µs grafana | logger=migrator t=2023-12-06T18:16:33.322007703Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2023-12-06T18:16:33.322088196Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=80.692µs grafana | logger=migrator t=2023-12-06T18:16:33.328447819Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2023-12-06T18:16:33.329793464Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.345095ms grafana | logger=migrator t=2023-12-06T18:16:33.336655665Z 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-06T18:16:33.338348611Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.692626ms grafana | logger=migrator t=2023-12-06T18:16:33.344464698Z 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-06T18:16:33.34543524Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=969.962µs grafana | logger=migrator t=2023-12-06T18:16:33.351548275Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-06T18:16:33.351646609Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=98.904µs grafana | logger=migrator t=2023-12-06T18:16:33.357529816Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2023-12-06T18:16:33.358960735Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.427299ms grafana | logger=migrator t=2023-12-06T18:16:33.364536082Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2023-12-06T18:16:33.36597409Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.436938ms grafana | logger=migrator t=2023-12-06T18:16:33.373641978Z 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-06T18:16:33.374633171Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=989.963µs grafana | logger=migrator t=2023-12-06T18:16:33.381335437Z 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-06T18:16:33.382841177Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.50499ms grafana | logger=migrator t=2023-12-06T18:16:33.432060462Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2023-12-06T18:16:33.442164022Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=10.10326ms grafana | logger=migrator t=2023-12-06T18:16:33.456225625Z 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 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-06T18:16:33.457687753Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.462028ms grafana | logger=migrator t=2023-12-06T18:16:33.463173648Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-12-06T18:16:33.464072988Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=899.09µs grafana | logger=migrator t=2023-12-06T18:16:33.469878783Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2023-12-06T18:16:33.505295194Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=35.416491ms grafana | logger=migrator t=2023-12-06T18:16:33.511983618Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2023-12-06T18:16:33.546169318Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=34.18539ms grafana | logger=migrator t=2023-12-06T18:16:33.551831748Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2023-12-06T18:16:33.552529502Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=697.574µs grafana | logger=migrator t=2023-12-06T18:16:33.563272213Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-12-06T18:16:33.564744592Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.471819ms grafana | logger=migrator t=2023-12-06T18:16:33.573034051Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2023-12-06T18:16:33.582113906Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=9.073315ms grafana | logger=migrator t=2023-12-06T18:16:33.588953266Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2023-12-06T18:16:33.589569787Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=616.29µs grafana | logger=migrator t=2023-12-06T18:16:33.596478739Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2023-12-06T18:16:33.598078252Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.595443ms grafana | logger=migrator t=2023-12-06T18:16:33.603478014Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2023-12-06T18:16:33.604490318Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.012444ms grafana | logger=migrator t=2023-12-06T18:16:33.612864819Z 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-06T18:16:33.615586631Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=2.720002ms grafana | logger=migrator t=2023-12-06T18:16:33.669306807Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-06T18:16:33.669407481Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=101.874µs grafana | logger=migrator t=2023-12-06T18:16:33.673894851Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2023-12-06T18:16:33.683397831Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=9.50275ms grafana | logger=migrator t=2023-12-06T18:16:33.688552023Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2023-12-06T18:16:33.693333915Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=4.780831ms grafana | logger=migrator t=2023-12-06T18:16:33.698133836Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2023-12-06T18:16:33.704379006Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.24481ms grafana | logger=migrator t=2023-12-06T18:16:33.709670314Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2023-12-06T18:16:33.710581194Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=910.89µs grafana | logger=migrator t=2023-12-06T18:16:33.71698553Z 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-06T18:16:33.718568303Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.582923ms grafana | logger=migrator t=2023-12-06T18:16:33.723798349Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2023-12-06T18:16:33.729866023Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.064963ms grafana | logger=migrator t=2023-12-06T18:16:33.735313866Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2023-12-06T18:16:33.741076689Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.764604ms grafana | logger=migrator t=2023-12-06T18:16:33.74821831Z 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-06T18:16:33.749210523Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=991.233µs grafana | logger=migrator t=2023-12-06T18:16:33.768910195Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2023-12-06T18:16:33.778217378Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=9.306532ms grafana | logger=migrator t=2023-12-06T18:16:33.782040657Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2023-12-06T18:16:33.786199436Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=4.148019ms grafana | logger=migrator t=2023-12-06T18:16:33.790929485Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2023-12-06T18:16:33.790994458Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=65.422µs grafana | logger=migrator t=2023-12-06T18:16:33.794504775Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2023-12-06T18:16:33.795456868Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=950.953µs grafana | logger=migrator t=2023-12-06T18:16:33.798994297Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" policy-db-migrator | 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-06T18:16:33.800633391Z 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.638254ms grafana | logger=migrator t=2023-12-06T18:16:33.8053558Z 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-06T18:16:33.806492359Z 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.136599ms grafana | logger=migrator t=2023-12-06T18:16:33.81009055Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-06T18:16:33.810154872Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=63.832µs grafana | logger=migrator t=2023-12-06T18:16:33.814101954Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2023-12-06T18:16:33.824036558Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=9.934494ms grafana | logger=migrator t=2023-12-06T18:16:33.82856036Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2023-12-06T18:16:33.833486746Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=4.925706ms grafana | logger=migrator t=2023-12-06T18:16:33.836910951Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2023-12-06T18:16:33.842974645Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.063304ms grafana | logger=migrator t=2023-12-06T18:16:33.846356959Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2023-12-06T18:16:33.852398272Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.040693ms grafana | logger=migrator t=2023-12-06T18:16:33.857981759Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2023-12-06T18:16:33.864069764Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.087495ms grafana | logger=migrator t=2023-12-06T18:16:33.868073559Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2023-12-06T18:16:33.868137621Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=64.202µs grafana | logger=migrator t=2023-12-06T18:16:33.871823335Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2023-12-06T18:16:33.872556499Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=731.794µs grafana | logger=migrator t=2023-12-06T18:16:33.878007062Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2023-12-06T18:16:33.886546279Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=8.540277ms grafana | logger=migrator t=2023-12-06T18:16:33.8916207Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2023-12-06T18:16:33.891687352Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=66.712µs grafana | logger=migrator t=2023-12-06T18:16:33.895325154Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2023-12-06T18:16:33.90145501Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.129196ms grafana | logger=migrator t=2023-12-06T18:16:33.905229588Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2023-12-06T18:16:33.906226941Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=994.243µs grafana | logger=migrator t=2023-12-06T18:16:33.91333681Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2023-12-06T18:16:33.92224432Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=8.9077ms grafana | logger=migrator t=2023-12-06T18:16:33.928221981Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2023-12-06T18:16:33.928923284Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=698.534µs grafana | logger=migrator t=2023-12-06T18:16:33.932880987Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2023-12-06T18:16:33.93385346Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=971.783µs grafana | logger=migrator t=2023-12-06T18:16:33.939688346Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2023-12-06T18:16:33.949258818Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=9.570202ms grafana | logger=migrator t=2023-12-06T18:16:33.953228481Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2023-12-06T18:16:33.953929494Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=700.653µs grafana | logger=migrator t=2023-12-06T18:16:33.957815516Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2023-12-06T18:16:33.958805189Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=986.402µs grafana | logger=migrator t=2023-12-06T18:16:33.965316137Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2023-12-06T18:16:33.966359053Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.040646ms grafana | logger=migrator t=2023-12-06T18:16:33.974008849Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2023-12-06T18:16:33.975096346Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.086897ms grafana | logger=migrator t=2023-12-06T18:16:33.986433318Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2023-12-06T18:16:33.986535301Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=102.124µs grafana | logger=migrator t=2023-12-06T18:16:33.998132771Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2023-12-06T18:16:33.999491236Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.358065ms grafana | logger=migrator t=2023-12-06T18:16:34.083181709Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0690-toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0770-toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0780-toscarequirements.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- 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) grafana | logger=migrator t=2023-12-06T18:16:34.08466952Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.488161ms grafana | logger=migrator t=2023-12-06T18:16:34.105641924Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2023-12-06T18:16:34.106246525Z 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-06T18:16:34.122157279Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2023-12-06T18:16:34.122840652Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=683.353µs grafana | logger=migrator t=2023-12-06T18:16:34.131202813Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2023-12-06T18:16:34.133062866Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.859173ms grafana | logger=migrator t=2023-12-06T18:16:34.14776523Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2023-12-06T18:16:34.157730746Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=9.971735ms grafana | logger=migrator t=2023-12-06T18:16:34.170149833Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2023-12-06T18:16:34.171469457Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.319685ms grafana | logger=migrator t=2023-12-06T18:16:34.18193947Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2023-12-06T18:16:34.183872574Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.935965ms grafana | logger=migrator t=2023-12-06T18:16:34.192136382Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2023-12-06T18:16:34.192919309Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=782.417µs grafana | logger=migrator t=2023-12-06T18:16:34.198399252Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2023-12-06T18:16:34.201188516Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=2.899998ms grafana | logger=migrator t=2023-12-06T18:16:34.206415272Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2023-12-06T18:16:34.207708366Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.292994ms grafana | logger=migrator t=2023-12-06T18:16:34.211092899Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2023-12-06T18:16:34.211160122Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=67.902µs grafana | logger=migrator t=2023-12-06T18:16:34.215379544Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2023-12-06T18:16:34.215511508Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=132.004µs grafana | logger=migrator t=2023-12-06T18:16:34.218604722Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2023-12-06T18:16:34.218948914Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=341.651µs grafana | logger=migrator t=2023-12-06T18:16:34.224669876Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2023-12-06T18:16:34.225857555Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.187189ms grafana | logger=migrator t=2023-12-06T18:16:34.230810632Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2023-12-06T18:16:34.23222772Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.416258ms grafana | logger=migrator t=2023-12-06T18:16:34.236356179Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2023-12-06T18:16:34.283761732Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=47.406774ms grafana | logger=migrator t=2023-12-06T18:16:34.289578498Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2023-12-06T18:16:34.296686167Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=7.106439ms grafana | logger=migrator t=2023-12-06T18:16:34.301924182Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2023-12-06T18:16:34.302329917Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=405.865µs grafana | logger=migrator t=2023-12-06T18:16:34.307022954Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2023-12-06T18:16:34.355887337Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=48.855052ms grafana | logger=migrator t=2023-12-06T18:16:34.360984738Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2023-12-06T18:16:34.40655335Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=45.566883ms grafana | logger=migrator t=2023-12-06T18:16:34.416960179Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2023-12-06T18:16:34.418181891Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=1.217421ms grafana | logger=migrator t=2023-12-06T18:16:34.481272591Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2023-12-06T18:16:34.483121674Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.849302ms grafana | logger=migrator t=2023-12-06T18:16:34.49280511Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2023-12-06T18:16:34.493162381Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=356.832µs grafana | logger=migrator t=2023-12-06T18:16:34.512206431Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2023-12-06T18:16:34.513620339Z level=info msg="Migration successfully executed" id="create permission table" duration=1.414198ms grafana | logger=migrator t=2023-12-06T18:16:34.519524117Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2023-12-06T18:16:34.52138112Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.857133ms grafana | logger=migrator t=2023-12-06T18:16:34.526636827Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE jpapdpstatistics_enginestats a policy-db-migrator | JOIN pdpstatistics b policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp policy-db-migrator | SET a.id = b.id policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-12-06T18:16:34.528806299Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=2.169342ms grafana | logger=migrator t=2023-12-06T18:16:34.534698218Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2023-12-06T18:16:34.535541446Z level=info msg="Migration successfully executed" id="create role table" duration=842.478µs grafana | logger=migrator t=2023-12-06T18:16:34.539885271Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2023-12-06T18:16:34.548406148Z level=info msg="Migration successfully executed" id="add column display_name" duration=8.523107ms grafana | logger=migrator t=2023-12-06T18:16:34.552205126Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2023-12-06T18:16:34.559326965Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.120789ms grafana | logger=migrator t=2023-12-06T18:16:34.563995102Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2023-12-06T18:16:34.56482518Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=829.288µs grafana | logger=migrator t=2023-12-06T18:16:34.568736802Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2023-12-06T18:16:34.569722525Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=983.703µs grafana | logger=migrator t=2023-12-06T18:16:34.573614085Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2023-12-06T18:16:34.575442977Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.827972ms grafana | logger=migrator t=2023-12-06T18:16:34.580553719Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2023-12-06T18:16:34.581453879Z level=info msg="Migration successfully executed" id="create team role table" duration=900.23µs grafana | logger=migrator t=2023-12-06T18:16:34.585186775Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2023-12-06T18:16:34.586799229Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.613804ms grafana | logger=migrator t=2023-12-06T18:16:34.59099803Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2023-12-06T18:16:34.59309741Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=2.09949ms grafana | logger=migrator t=2023-12-06T18:16:34.5984361Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2023-12-06T18:16:34.599548848Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.112478ms grafana | logger=migrator t=2023-12-06T18:16:34.603555392Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2023-12-06T18:16:34.604427921Z level=info msg="Migration successfully executed" id="create user role table" duration=871.919µs grafana | logger=migrator t=2023-12-06T18:16:34.608273611Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2023-12-06T18:16:34.609419379Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.145498ms grafana | logger=migrator t=2023-12-06T18:16:34.615492863Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2023-12-06T18:16:34.617554973Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=2.062469ms grafana | logger=migrator t=2023-12-06T18:16:34.622039524Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2023-12-06T18:16:34.623284625Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.246741ms grafana | logger=migrator t=2023-12-06T18:16:34.628729698Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2023-12-06T18:16:34.629743242Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.009774ms grafana | logger=migrator t=2023-12-06T18:16:34.635216036Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2023-12-06T18:16:34.63712474Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.908784ms grafana | logger=migrator t=2023-12-06T18:16:34.684583746Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2023-12-06T18:16:34.686711658Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=2.131611ms grafana | logger=migrator t=2023-12-06T18:16:34.691490648Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2023-12-06T18:16:34.700118778Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=8.627801ms grafana | logger=migrator t=2023-12-06T18:16:34.705285381Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2023-12-06T18:16:34.706487812Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.202741ms grafana | logger=migrator t=2023-12-06T18:16:34.71059138Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2023-12-06T18:16:34.711897994Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.306864ms grafana | logger=migrator t=2023-12-06T18:16:34.715829746Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2023-12-06T18:16:34.717102299Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.273283ms grafana | logger=migrator t=2023-12-06T18:16:34.722278352Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2023-12-06T18:16:34.724170036Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.892414ms grafana | logger=migrator t=2023-12-06T18:16:34.728464891Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2023-12-06T18:16:34.729714563Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.254892ms grafana | logger=migrator t=2023-12-06T18:16:34.733439638Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2023-12-06T18:16:34.734662109Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.222581ms grafana | logger=migrator t=2023-12-06T18:16:34.739919356Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2023-12-06T18:16:34.748724452Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.801606ms grafana | logger=migrator t=2023-12-06T18:16:34.75283953Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2023-12-06T18:16:34.761665917Z level=info msg="Migration successfully executed" id="permission kind migration" duration=8.826247ms grafana | logger=migrator t=2023-12-06T18:16:34.765410133Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2023-12-06T18:16:34.772042986Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=6.632562ms grafana | logger=migrator t=2023-12-06T18:16:34.775740641Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2023-12-06T18:16:34.784291158Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=8.557298ms grafana | logger=migrator t=2023-12-06T18:16:34.789563254Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2023-12-06T18:16:34.790517367Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=957.063µs grafana | logger=migrator t=2023-12-06T18:16:34.793943702Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2023-12-06T18:16:34.795508665Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.564163ms grafana | logger=migrator t=2023-12-06T18:16:34.800549964Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2023-12-06T18:16:34.802188329Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.639135ms grafana | logger=migrator t=2023-12-06T18:16:34.832607842Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2023-12-06T18:16:34.832940153Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=336.481µs grafana | logger=migrator t=2023-12-06T18:16:34.837946391Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2023-12-06T18:16:34.838081756Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=136.555µs grafana | logger=migrator t=2023-12-06T18:16:34.842495454Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2023-12-06T18:16:34.843368054Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=871.83µs grafana | logger=migrator t=2023-12-06T18:16:34.849004553Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2023-12-06T18:16:34.850093499Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.090286ms grafana | logger=migrator t=2023-12-06T18:16:34.85485529Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2023-12-06T18:16:34.85608001Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.22451ms grafana | logger=migrator t=2023-12-06T18:16:34.861443461Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2023-12-06T18:16:34.861748871Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=302.95µs grafana | logger=migrator t=2023-12-06T18:16:34.865762897Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2023-12-06T18:16:34.866202541Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=440.105µs grafana | logger=migrator t=2023-12-06T18:16:34.871189989Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2023-12-06T18:16:34.872147121Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=958.282µs grafana | logger=migrator t=2023-12-06T18:16:34.876064922Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2023-12-06T18:16:34.878128632Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=2.06345ms grafana | logger=migrator t=2023-12-06T18:16:34.882499549Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2023-12-06T18:16:34.89236447Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=9.863951ms grafana | logger=migrator t=2023-12-06T18:16:34.897551005Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2023-12-06T18:16:34.897892296Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=344.822µs grafana | logger=migrator t=2023-12-06T18:16:34.902008145Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2023-12-06T18:16:34.903704121Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.695446ms grafana | logger=migrator t=2023-12-06T18:16:34.907675765Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2023-12-06T18:16:34.90962529Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.950525ms grafana | logger=migrator t=2023-12-06T18:16:34.915984415Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2023-12-06T18:16:34.917098012Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.113297ms grafana | logger=migrator t=2023-12-06T18:16:34.920534187Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2023-12-06T18:16:34.930627457Z level=info msg="Migration successfully executed" id="add correlation config column" duration=10.09399ms grafana | logger=migrator t=2023-12-06T18:16:34.934325911Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2023-12-06T18:16:34.93547615Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.152259ms grafana | logger=migrator t=2023-12-06T18:16:34.940139436Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2023-12-06T18:16:34.941265165Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.125368ms grafana | logger=migrator t=2023-12-06T18:16:34.94470476Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-06T18:16:34.974394617Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=29.689727ms grafana | logger=migrator t=2023-12-06T18:16:34.978269728Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2023-12-06T18:16:34.979878612Z level=info msg="Migration successfully executed" id="create correlation v2" duration=1.608454ms grafana | logger=migrator t=2023-12-06T18:16:34.984831949Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2023-12-06T18:16:34.986180824Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.350886ms grafana | logger=migrator t=2023-12-06T18:16:34.991184542Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2023-12-06T18:16:34.993168539Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.941065ms grafana | logger=migrator t=2023-12-06T18:16:34.998939333Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2023-12-06T18:16:35.000164484Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.221191ms grafana | logger=migrator t=2023-12-06T18:16:35.003809197Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2023-12-06T18:16:35.004180749Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=370.772µs grafana | logger=migrator t=2023-12-06T18:16:35.008385231Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2023-12-06T18:16:35.009277391Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=891.479µs grafana | logger=migrator t=2023-12-06T18:16:35.014154625Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2023-12-06T18:16:35.022612859Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.458004ms grafana | logger=migrator t=2023-12-06T18:16:35.045567851Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2023-12-06T18:16:35.046895485Z level=info msg="Migration successfully executed" id="create entity_events table" duration=1.327565ms grafana | logger=migrator t=2023-12-06T18:16:35.050971792Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2023-12-06T18:16:35.051966175Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=994.383µs grafana | logger=migrator t=2023-12-06T18:16:35.057347096Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-12-06T18:16:35.057885514Z 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-06T18:16:35.061825847Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-12-06T18:16:35.062346005Z 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-06T18:16:35.066033158Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2023-12-06T18:16:35.066878556Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=845.108µs grafana | logger=migrator t=2023-12-06T18:16:35.072207636Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2023-12-06T18:16:35.07381908Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.611835ms grafana | logger=migrator t=2023-12-06T18:16:35.078478087Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-12-06T18:16:35.080294807Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.81697ms grafana | logger=migrator t=2023-12-06T18:16:35.085818783Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-12-06T18:16:35.086981933Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.16321ms grafana | logger=migrator t=2023-12-06T18:16:35.092198018Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-12-06T18:16:35.093364727Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.166499ms grafana | logger=migrator t=2023-12-06T18:16:35.098360565Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-12-06T18:16:35.100284789Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.924474ms grafana | logger=migrator t=2023-12-06T18:16:35.104732829Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2023-12-06T18:16:35.10596274Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.230791ms grafana | logger=migrator t=2023-12-06T18:16:35.110902196Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2023-12-06T18:16:35.111987083Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.084337ms grafana | logger=migrator t=2023-12-06T18:16:35.116914348Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-12-06T18:16:35.11814436Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.229832ms grafana | logger=migrator t=2023-12-06T18:16:35.123381596Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-12-06T18:16:35.125456455Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=2.075009ms grafana | logger=migrator t=2023-12-06T18:16:35.129764731Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2023-12-06T18:16:35.131270431Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.50674ms grafana | logger=migrator t=2023-12-06T18:16:35.135188743Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2023-12-06T18:16:35.165626586Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=30.438023ms grafana | logger=migrator t=2023-12-06T18:16:35.175406695Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2023-12-06T18:16:35.183917221Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=8.509476ms grafana | logger=migrator t=2023-12-06T18:16:35.247281241Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2023-12-06T18:16:35.2594475Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=12.167079ms grafana | logger=migrator t=2023-12-06T18:16:35.290719901Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2023-12-06T18:16:35.291079344Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=360.013µs grafana | logger=migrator t=2023-12-06T18:16:35.299181005Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2023-12-06T18:16:35.311160709Z level=info msg="Migration successfully executed" id="add share column" duration=11.981044ms grafana | logger=migrator t=2023-12-06T18:16:35.318317229Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2023-12-06T18:16:35.318675771Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=357.831µs grafana | logger=migrator t=2023-12-06T18:16:35.325012034Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2023-12-06T18:16:35.326868496Z level=info msg="Migration successfully executed" id="create file table" duration=1.857982ms grafana | logger=migrator t=2023-12-06T18:16:35.331638497Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2023-12-06T18:16:35.332728053Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.089856ms grafana | logger=migrator t=2023-12-06T18:16:35.338235278Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2023-12-06T18:16:35.339291094Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.055966ms grafana | logger=migrator t=2023-12-06T18:16:35.343453464Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2023-12-06T18:16:35.344194468Z level=info msg="Migration successfully executed" id="create file_meta table" duration=740.814µs grafana | logger=migrator t=2023-12-06T18:16:35.348418721Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2023-12-06T18:16:35.349571029Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.151958ms grafana | logger=migrator t=2023-12-06T18:16:35.358573263Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2023-12-06T18:16:35.358697217Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=125.485µs grafana | logger=migrator t=2023-12-06T18:16:35.364817582Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2023-12-06T18:16:35.364944336Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=126.004µs grafana | logger=migrator t=2023-12-06T18:16:35.369768109Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2023-12-06T18:16:35.370383339Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=613.28µs grafana | logger=migrator t=2023-12-06T18:16:35.37399601Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2023-12-06T18:16:35.374255309Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=259.159µs grafana | logger=migrator t=2023-12-06T18:16:35.379291299Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2023-12-06T18:16:35.380833711Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.556073ms grafana | logger=migrator t=2023-12-06T18:16:35.385371493Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2023-12-06T18:16:35.396918761Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=11.549108ms grafana | logger=migrator t=2023-12-06T18:16:35.400850644Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2023-12-06T18:16:35.40103316Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=181.966µs grafana | logger=migrator t=2023-12-06T18:16:35.405289732Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2023-12-06T18:16:35.406234155Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=943.373µs grafana | logger=migrator t=2023-12-06T18:16:35.410341682Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2023-12-06T18:16:35.411115188Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=774.586µs grafana | logger=migrator t=2023-12-06T18:16:35.415531507Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2023-12-06T18:16:35.415831787Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=300.65µs grafana | logger=migrator t=2023-12-06T18:16:35.420469293Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2023-12-06T18:16:35.421015891Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=545.818µs grafana | logger=migrator t=2023-12-06T18:16:35.426057721Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2023-12-06T18:16:35.436404278Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=10.347207ms grafana | logger=migrator t=2023-12-06T18:16:35.440431954Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2023-12-06T18:16:35.449002962Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.570508ms grafana | logger=migrator t=2023-12-06T18:16:35.453025347Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2023-12-06T18:16:35.454149245Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.123868ms grafana | logger=migrator t=2023-12-06T18:16:35.459615139Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2023-12-06T18:16:35.567409022Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=107.792703ms grafana | logger=migrator t=2023-12-06T18:16:35.666783023Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2023-12-06T18:16:35.669494274Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=2.713411ms grafana | logger=migrator t=2023-12-06T18:16:35.675541497Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2023-12-06T18:16:35.676921033Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.379126ms grafana | logger=migrator t=2023-12-06T18:16:35.681405634Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2023-12-06T18:16:35.714781316Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=33.372392ms grafana | logger=migrator t=2023-12-06T18:16:35.719340949Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2023-12-06T18:16:35.719604748Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=263.539µs grafana | logger=migrator t=2023-12-06T18:16:35.724682689Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2023-12-06T18:16:35.725240437Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=557.288µs grafana | logger=migrator t=2023-12-06T18:16:35.730122462Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2023-12-06T18:16:35.73066465Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=541.708µs grafana | logger=migrator t=2023-12-06T18:16:35.73512124Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2023-12-06T18:16:35.736714844Z level=info msg="Migration successfully executed" id="create folder table" duration=1.592894ms grafana | logger=migrator t=2023-12-06T18:16:35.741662729Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2023-12-06T18:16:35.742979334Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.315995ms grafana | logger=migrator t=2023-12-06T18:16:35.748233381Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2023-12-06T18:16:35.750448835Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=2.215174ms grafana | logger=migrator t=2023-12-06T18:16:35.755396901Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2023-12-06T18:16:35.755425422Z level=info msg="Migration successfully executed" id="Update folder title length" duration=29.731µs grafana | logger=migrator t=2023-12-06T18:16:35.760465992Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-12-06T18:16:35.762666516Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=2.200084ms grafana | logger=migrator t=2023-12-06T18:16:35.767008261Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-12-06T18:16:35.768348757Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.341896ms grafana | logger=migrator t=2023-12-06T18:16:35.772798436Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2023-12-06T18:16:35.77408328Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.286704ms grafana | logger=migrator t=2023-12-06T18:16:35.779251784Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2023-12-06T18:16:35.780215916Z level=info msg="Migration successfully executed" id="create anon_device table" duration=963.362µs grafana | logger=migrator t=2023-12-06T18:16:35.785287526Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2023-12-06T18:16:35.787356616Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=2.0688ms grafana | logger=migrator t=2023-12-06T18:16:35.792680425Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2023-12-06T18:16:35.793861904Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.181359ms grafana | logger=migrator t=2023-12-06T18:16:35.79759642Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2023-12-06T18:16:35.798420818Z level=info msg="Migration successfully executed" id="create signing_key table" duration=823.898µs grafana | logger=migrator t=2023-12-06T18:16:35.80411737Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2023-12-06T18:16:35.805276718Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.158998ms grafana | logger=migrator t=2023-12-06T18:16:35.809982697Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2023-12-06T18:16:35.812492191Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=2.509334ms grafana | logger=migrator t=2023-12-06T18:16:35.8175315Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2023-12-06T18:16:35.817883182Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=352.122µs grafana | logger=migrator t=2023-12-06T18:16:35.822153475Z level=info msg="migrations completed" performed=517 skipped=0 duration=5.230124202s grafana | logger=sqlstore t=2023-12-06T18:16:35.831023983Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2023-12-06T18:16:35.831374095Z level=info msg="Created default organization" grafana | logger=secrets t=2023-12-06T18:16:35.83656865Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=local.finder t=2023-12-06T18:16:35.935726824Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=query_data t=2023-12-06T18:16:35.938566299Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2023-12-06T18:16:35.942507721Z level=info msg="Live Push Gateway initialization" grafana | logger=infra.usagestats.collector t=2023-12-06T18:16:38.40648608Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2023-12-06T18:16:38.414547787Z level=info msg="inserting datasource from configuration " name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2023-12-06T18:16:38.458942094Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2023-12-06T18:16:38.458982765Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2023-12-06T18:16:38.459872956Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2023-12-06T18:16:38.461252691Z level=info msg="Warming state cache for startup" grafana | logger=http.server t=2023-12-06T18:16:38.463736034Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=sqlstore.transactions t=2023-12-06T18:16:38.471346957Z 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-06T18:16:38.499500313Z level=info msg="Update check succeeded" duration=40.00233ms grafana | logger=ngalert.migration t=2023-12-06T18:16:38.53637843Z level=info msg=Starting grafana | logger=ngalert.state.manager t=2023-12-06T18:16:38.536840555Z level=info msg="State cache has been initialized" states=0 duration=75.584454ms grafana | logger=ngalert.multiorg.alertmanager t=2023-12-06T18:16:38.536940348Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=ngalert.migration t=2023-12-06T18:16:38.53698432Z level=info msg="Starting legacy migration" grafana | logger=ngalert.scheduler t=2023-12-06T18:16:38.53699358Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2023-12-06T18:16:38.537115874Z level=info msg=starting first_tick=2023-12-06T18:16:40Z grafana | logger=ngalert.migration orgID=1 t=2023-12-06T18:16:38.537358152Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-12-06T18:16:38.537928782Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-12-06T18:16:38.538590793Z level=warn msg="No available receivers" grafana | logger=plugins.update.checker t=2023-12-06T18:16:38.548338017Z level=info msg="Update check succeeded" duration=88.873995ms grafana | logger=sqlstore.transactions t=2023-12-06T18:16:38.553696315Z 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-06T18:16:38.573567146Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-12-06T18:16:38.57398949Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-12-06T18:16:38.574599251Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-12-06T18:16:38.575498181Z level=warn msg="No available receivers" grafana | logger=ngalert.migration t=2023-12-06T18:16:38.580829238Z level=info msg="Completed legacy migration" grafana | logger=sqlstore.transactions t=2023-12-06T18:16:38.703352473Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=infra.usagestats t=2023-12-06T18:17:55.472880175Z level=info msg="Usage stats are ready to report" policy-db-migrator | > upgrade 0210-sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-sequence.sql policy-db-migrator | -------------- policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscatrigger policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaparameter policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-upgrade.sql policy-db-migrator | -------------- policy-db-migrator | select 'upgrade to 1100 completed' as msg policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | msg policy-db-migrator | upgrade to 1100 completed policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | TRUNCATE TABLE sequence policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE statistics_sequence policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1300) policy-db-migrator | name version policy-db-migrator | policyadmin 1300 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:39 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:40 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:40 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:40 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:40 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:40 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:40 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:40 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:40 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:40 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:40 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:40 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:40 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:40 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:40 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:40 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:40 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:40 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:40 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:40 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:40 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:40 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:40 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:40 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:40 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:40 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:41 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:41 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:41 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:41 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:41 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:41 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:41 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:41 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:41 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:41 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:41 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:41 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:41 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:41 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:41 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:41 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:41 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:41 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:41 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:41 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:41 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:41 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:42 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:42 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:42 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:42 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:42 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:42 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:42 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:42 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:42 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:42 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:42 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:42 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:42 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:42 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:42 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:42 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:42 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:42 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:42 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:42 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:42 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:42 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:42 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:42 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:43 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:43 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:43 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:43 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:43 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:43 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:43 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:43 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:43 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:43 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:43 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:43 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:43 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:43 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:43 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:43 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:43 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:43 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:44 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:44 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:44 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:44 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:44 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0612231816390800u 1 2023-12-06 18:16:44 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 0612231816390900u 1 2023-12-06 18:16:44 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 0612231816390900u 1 2023-12-06 18:16:44 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 0612231816390900u 1 2023-12-06 18:16:44 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 0612231816390900u 1 2023-12-06 18:16:44 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 0612231816390900u 1 2023-12-06 18:16:44 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 0612231816390900u 1 2023-12-06 18:16:44 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0612231816390900u 1 2023-12-06 18:16:44 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0612231816390900u 1 2023-12-06 18:16:44 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0612231816390900u 1 2023-12-06 18:16:44 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 0612231816390900u 1 2023-12-06 18:16:44 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 0612231816390900u 1 2023-12-06 18:16:44 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 0612231816390900u 1 2023-12-06 18:16:44 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 0612231816390900u 1 2023-12-06 18:16:44 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 0612231816391000u 1 2023-12-06 18:16:45 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 0612231816391000u 1 2023-12-06 18:16:45 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 0612231816391000u 1 2023-12-06 18:16:45 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 0612231816391000u 1 2023-12-06 18:16:45 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 0612231816391000u 1 2023-12-06 18:16:45 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 0612231816391000u 1 2023-12-06 18:16:45 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 0612231816391000u 1 2023-12-06 18:16:45 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 0612231816391000u 1 2023-12-06 18:16:45 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 0612231816391000u 1 2023-12-06 18:16:45 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 0612231816391100u 1 2023-12-06 18:16:45 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 0612231816391200u 1 2023-12-06 18:16:45 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 0612231816391200u 1 2023-12-06 18:16:45 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 0612231816391200u 1 2023-12-06 18:16:45 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 0612231816391200u 1 2023-12-06 18:16:45 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 0612231816391300u 1 2023-12-06 18:16:45 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 0612231816391300u 1 2023-12-06 18:16:45 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 0612231816391300u 1 2023-12-06 18:16:45 policy-db-migrator | policyadmin: OK @ 1300 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping prometheus ... Stopping mariadb ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing prometheus ... Removing mariadb ... Removing prometheus ... done Removing grafana ... done Removing policy-api ... done Removing policy-db-migrator ... done Removing mariadb ... done Removing network compose_default ++ cd /w/workspace/policy-api-montreal-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.nHoNPZK1J9 ]] + rsync -av /tmp/tmp.nHoNPZK1J9/ /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,345,146 bytes received 95 bytes 2,690,482.00 bytes/sec total size is 1,344,496 speedup is 1.00 + rm -rf /w/workspace/policy-api-montreal-project-csit-api/models + exit 0 $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2094 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-montreal-project-csit-api] $ /bin/bash /tmp/jenkins18146686623114707966.sh ---> sysstat.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins14376577826258883411.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/policy-api-montreal-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-montreal-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-montreal-project-csit-api ']' + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-montreal-project-csit-api/archives/ [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins1090843711082013953.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-bV3U from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-bV3U/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins4032660310173865190.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config10480172679721084831tmp 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-montreal-project-csit-api] $ /bin/bash /tmp/jenkins9405960921204524611.sh ---> create-netrc.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins540110411917700292.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-bV3U from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-bV3U/bin to PATH [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins3214057935248065315.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins383394348557666496.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-bV3U 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-bV3U/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [policy-api-montreal-project-csit-api] $ /bin/bash -l /tmp/jenkins741828303128752909.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-bV3U from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-bV3U/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/25 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-2849 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 842 27300 0 4024 30869 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1458 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:7c:2d:34 brd ff:ff:ff:ff:ff:ff inet 10.30.107.152/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86043sec preferred_lft 86043sec inet6 fe80::f816:3eff:fe7c:2d34/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:e3:df:35:5f 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-2849) 12/06/23 _x86_64_ (8 CPU) 18:13:20 LINUX RESTART (8 CPU) 18:14:01 tps rtps wtps bread/s bwrtn/s 18:15:01 99.23 17.71 81.52 1021.43 28017.60 18:16:01 127.85 23.00 104.85 2749.14 34805.00 18:17:01 379.62 14.95 364.67 812.63 81865.74 18:18:01 17.55 0.07 17.48 3.07 20936.81 18:19:01 70.69 2.02 68.67 128.11 25040.89 Average: 138.99 11.55 127.44 942.88 38133.21 18:14:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:15:01 30095652 31706004 2843568 8.63 70348 1849396 1435884 4.22 870124 1683932 170712 18:16:01 28866444 31672788 4072776 12.36 103460 2971692 1410476 4.15 986140 2712816 902904 18:17:01 27286640 30970876 5652580 17.16 127908 3777880 4004304 11.78 1779496 3423508 288 18:18:01 26925856 30611404 6013364 18.26 128092 3778696 4223100 12.43 2139676 3423156 92 18:19:01 27982336 31634952 4956884 15.05 131756 3751964 1486384 4.37 1150456 3380524 31488 Average: 28231386 31319205 4707834 14.29 112313 3225926 2512030 7.39 1385178 2924787 221097 18:14:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:15:01 ens3 60.99 41.48 981.20 7.71 0.00 0.00 0.00 0.00 18:15:01 lo 1.40 1.40 0.15 0.15 0.00 0.00 0.00 0.00 18:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:16:01 br-cd8d7848dcb8 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:16:01 ens3 181.97 114.16 4728.15 12.70 0.00 0.00 0.00 0.00 18:16:01 lo 5.73 5.73 0.54 0.54 0.00 0.00 0.00 0.00 18:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:01 veth3d348e6 53.72 64.79 19.14 16.04 0.00 0.00 0.00 0.00 18:17:01 br-cd8d7848dcb8 0.65 0.65 0.06 0.31 0.00 0.00 0.00 0.00 18:17:01 vethe1f5b13 0.05 0.35 0.00 0.02 0.00 0.00 0.00 0.00 18:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:18:01 veth3d348e6 77.17 95.18 95.45 22.92 0.00 0.00 0.00 0.01 18:18:01 br-cd8d7848dcb8 3.00 3.45 6.11 2.21 0.00 0.00 0.00 0.00 18:18:01 vethe1f5b13 0.18 0.20 0.02 0.77 0.00 0.00 0.00 0.00 18:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:19:01 ens3 911.28 588.97 11973.06 113.11 0.00 0.00 0.00 0.00 18:19:01 lo 32.36 32.36 10.50 10.50 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: ens3 95.53 62.10 2239.30 10.89 0.00 0.00 0.00 0.00 Average: lo 5.69 5.69 2.03 2.03 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-2849) 12/06/23 _x86_64_ (8 CPU) 18:13:20 LINUX RESTART (8 CPU) 18:14:01 CPU %user %nice %system %iowait %steal %idle 18:15:01 all 9.46 0.00 0.69 3.36 0.03 86.46 18:15:01 0 8.47 0.00 0.79 8.49 0.03 82.22 18:15:01 1 17.24 0.00 1.30 0.35 0.03 81.07 18:15:01 2 1.25 0.00 0.22 1.23 0.02 97.28 18:15:01 3 2.01 0.00 0.13 0.63 0.05 97.18 18:15:01 4 0.43 0.00 0.30 0.08 0.00 99.18 18:15:01 5 1.77 0.00 0.25 13.09 0.03 84.85 18:15:01 6 22.26 0.00 1.12 1.81 0.05 74.76 18:15:01 7 22.34 0.00 1.37 1.24 0.03 75.02 18:16:01 all 10.71 0.00 1.78 2.74 0.04 84.72 18:16:01 0 2.91 0.00 1.12 8.04 0.03 87.90 18:16:01 1 7.88 0.00 1.57 0.17 0.03 90.35 18:16:01 2 16.82 0.00 1.92 1.04 0.03 80.19 18:16:01 3 3.13 0.00 1.19 9.82 0.08 85.77 18:16:01 4 25.34 0.00 2.66 1.82 0.05 70.14 18:16:01 5 9.05 0.00 1.83 0.20 0.03 88.89 18:16:01 6 3.63 0.00 1.88 0.15 0.05 94.29 18:16:01 7 17.06 0.00 2.05 0.67 0.05 80.18 18:17:01 all 14.57 0.00 3.22 6.14 0.07 76.00 18:17:01 0 12.78 0.00 2.91 6.16 0.07 78.08 18:17:01 1 15.22 0.00 3.14 2.22 0.07 79.35 18:17:01 2 16.59 0.00 3.12 2.16 0.07 78.06 18:17:01 3 11.41 0.00 3.98 30.52 0.08 54.00 18:17:01 4 18.22 0.00 3.92 0.94 0.07 76.86 18:17:01 5 14.82 0.00 2.59 4.18 0.08 78.33 18:17:01 6 14.35 0.00 3.31 0.57 0.05 81.71 18:17:01 7 13.14 0.00 2.82 2.45 0.08 81.52 18:18:01 all 4.59 0.00 0.38 1.22 0.04 93.78 18:18:01 0 5.92 0.00 0.53 9.58 0.05 83.92 18:18:01 1 3.72 0.00 0.22 0.00 0.05 96.02 18:18:01 2 2.42 0.00 0.23 0.00 0.03 97.32 18:18:01 3 5.26 0.00 0.43 0.02 0.03 94.25 18:18:01 4 7.17 0.00 0.62 0.00 0.02 92.19 18:18:01 5 5.72 0.00 0.48 0.00 0.07 93.73 18:18:01 6 2.90 0.00 0.15 0.03 0.02 96.90 18:18:01 7 3.58 0.00 0.38 0.05 0.02 95.97 18:19:01 all 6.89 0.00 0.69 1.74 0.03 90.64 18:19:01 0 2.38 0.00 0.39 10.90 0.03 86.30 18:19:01 1 30.35 0.00 1.07 0.77 0.05 67.76 18:19:01 2 13.17 0.00 1.35 0.48 0.03 84.96 18:19:01 3 1.65 0.00 0.52 0.10 0.02 97.71 18:19:01 4 0.93 0.00 0.42 0.15 0.00 98.50 18:19:01 5 3.95 0.00 0.57 0.72 0.05 94.71 18:19:01 6 1.15 0.00 0.53 0.32 0.03 97.96 18:19:01 7 1.53 0.00 0.67 0.53 0.05 97.21 Average: all 9.23 0.00 1.35 3.04 0.04 86.34 Average: 0 6.49 0.00 1.15 8.64 0.04 83.68 Average: 1 14.88 0.00 1.46 0.70 0.05 82.92 Average: 2 10.02 0.00 1.36 0.98 0.04 87.60 Average: 3 4.68 0.00 1.24 8.15 0.05 85.88 Average: 4 10.38 0.00 1.58 0.60 0.03 87.42 Average: 5 7.05 0.00 1.14 3.64 0.05 88.12 Average: 6 8.85 0.00 1.40 0.58 0.04 89.14 Average: 7 11.52 0.00 1.45 0.98 0.05 86.00