Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-39091 (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-CgjsghWQpquI/agent.2099 SSH_AGENT_PID=2101 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_8645126093347513421.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_8645126093347513421.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 80b3e0eb572d9e891bb8deeaaf8728d30e0a2906 (refs/remotes/origin/montreal) > git config core.sparsecheckout # timeout=10 > git checkout -f 80b3e0eb572d9e891bb8deeaaf8728d30e0a2906 # timeout=30 Commit message: "Fix timeout in pap CSIT for auditing undeploys" > git rev-list --no-walk 80b3e0eb572d9e891bb8deeaaf8728d30e0a2906 # 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/jenkins14191789902649794531.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-LygA 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-LygA/bin to PATH Generating Requirements File Python 3.10.6 pip 24.2 from /tmp/venv-LygA/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.5.0 aspy.yaml==1.3.0 attrs==24.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.35.19 botocore==1.35.19 bs4==0.0.2 cachetools==5.5.0 certifi==2024.8.30 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.7.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.6.1 docker==4.2.2 dogpile.cache==1.3.3 email_validator==2.2.0 filelock==3.16.0 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.34.0 httplib2==0.22.0 identify==2.6.1 idna==3.10 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.4 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==3.0.0 jsonschema==4.23.0 jsonschema-specifications==2023.12.1 keystoneauth1==5.8.0 kubernetes==30.1.0 lftools==0.37.10 lxml==5.3.0 MarkupSafe==2.1.5 msgpack==1.1.0 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.3.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.9.1 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==4.0.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.1.0 oslo.config==9.6.0 oslo.context==5.6.0 oslo.i18n==6.4.0 oslo.log==6.1.2 oslo.serialization==5.5.0 oslo.utils==7.3.0 packaging==24.1 pbr==6.1.0 platformdirs==4.3.3 prettytable==3.11.0 pyasn1==0.6.1 pyasn1_modules==0.4.1 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.4.0 PyJWT==2.9.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.9.0 pyrsistent==0.20.0 python-cinderclient==9.6.0 python-dateutil==2.9.0.post0 python-heatclient==4.0.0 python-jenkins==1.8.2 python-keystoneclient==5.5.0 python-magnumclient==4.7.0 python-openstackclient==7.1.1 python-swiftclient==4.6.0 PyYAML==6.0.2 referencing==0.35.1 requests==2.32.3 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.20.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.2 simplejson==3.19.3 six==1.16.0 smmap==5.0.1 soupsieve==2.6 stevedore==5.3.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.13.2 tqdm==4.66.5 typing_extensions==4.12.2 tzdata==2024.1 urllib3==1.26.20 virtualenv==20.26.4 wcwidth==0.2.13 websocket-client==1.8.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.4.3 [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/jenkins8132394601278144095.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/jenkins17624485706563859626.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.HsGBg7k8OL ++ echo ROBOT_VENV=/tmp/tmp.HsGBg7k8OL +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.HsGBg7k8OL ++ source /tmp/tmp.HsGBg7k8OL/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.HsGBg7k8OL +++ 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.HsGBg7k8OL/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.HsGBg7k8OL) ' '!=' x ']' +++ PS1='(tmp.HsGBg7k8OL) ' +++ 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.3 bitarray==2.9.2 certifi==2024.8.30 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.10 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==5.3.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.5.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.1 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.4 python-dateutil==2.9.0.post0 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.15.0 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.20 waitress==2.0.0 WebOb==1.8.8 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.HsGBg7k8OL/src/onap ++ rm -rf /tmp/tmp.HsGBg7k8OL/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.3 bitarray==2.9.2 certifi==2024.8.30 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==1.0.0 idna==3.10 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==5.3.0 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.5.0 pbr==6.1.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.1 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.4 python-dateutil==2.9.0.post0 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.15.0 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.20 waitress==2.0.0 WebOb==1.8.8 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.HsGBg7k8OL/bin/activate + '[' -z /tmp/tmp.HsGBg7k8OL/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.HsGBg7k8OL/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.HsGBg7k8OL ++ 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.HsGBg7k8OL/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.HsGBg7k8OL) ' ++ '[' 'x(tmp.HsGBg7k8OL) ' '!=' x ']' ++ PS1='(tmp.HsGBg7k8OL) (tmp.HsGBg7k8OL) ' ++ 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.sk8AJBzHVC + cd /tmp/tmp.sk8AJBzHVC + 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.2)... 3.0.2: Pulling from onap/policy-db-migrator Digest: sha256:777d99819ab037b10e0a21c75da376b572c54e87a9748c204d86178849fe011a Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.0.2 Pulling api (nexus3.onap.org:10001/onap/policy-api:3.0.2)... 3.0.2: Pulling from onap/policy-api Digest: sha256:fb501d6af2a3cd55552ba398d5bc20867cf32ebda2e7f9c473849f184245c945 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.0.2 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:f6639335d34a77d9d9db382b92eeb7fc00934be8eae81dbc03b31cfe90411a94 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:408afb9726de5122b00a2576763a8a57a3c86d5b0eff5305bc994ceb3eb96c3f Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating prometheus ... Creating mariadb ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-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 10 seconds grafana Up 13 seconds mariadb Up 11 seconds prometheus Up 14 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds mariadb Up 16 seconds prometheus Up 19 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds mariadb Up 22 seconds prometheus Up 24 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 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:14:38 up 3 min, 0 users, load average: 1.89, 0.79, 0.31 Tasks: 179 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.9 us, 2.3 sy, 0.0 ni, 83.1 id, 3.6 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 mariadb Up 27 seconds prometheus Up 29 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS ca6648be0a03 policy-api 91.20% 433.4MiB / 31.41GiB 1.35% 999kB / 737kB 0B / 0B 54 d4f3800ff7c4 grafana 6.59% 62.31MiB / 31.41GiB 0.19% 23.8kB / 4.15kB 0B / 26.5MB 21 ef1668dfa7e6 mariadb 0.02% 100.7MiB / 31.41GiB 0.31% 985kB / 1.18MB 10.8MB / 67.8MB 26 eadd22708825 prometheus 0.56% 19.52MiB / 31.41GiB 0.06% 28.3kB / 934B 205kB / 0B 13 + echo + cd /tmp/tmp.sk8AJBzHVC + 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.sk8AJBzHVC/output.xml Log: /tmp/tmp.sk8AJBzHVC/log.html Report: /tmp/tmp.sk8AJBzHVC/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 mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 18:15:49 up 4 min, 0 users, load average: 0.82, 0.72, 0.32 Tasks: 177 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.1 us, 1.8 sy, 0.0 ni, 86.0 id, 3.0 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 mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS ca6648be0a03 policy-api 0.10% 897.5MiB / 31.41GiB 2.79% 7MB / 2.57MB 0B / 0B 53 d4f3800ff7c4 grafana 0.04% 68.01MiB / 31.41GiB 0.21% 24.9kB / 5.65kB 0B / 26.5MB 21 ef1668dfa7e6 mariadb 0.01% 101.7MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 10.8MB / 68.2MB 18 eadd22708825 prometheus 0.00% 24.51MiB / 31.41GiB 0.08% 82.4kB / 7.34kB 205kB / 0B 13 + 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, mariadb, prometheus grafana | logger=settings t=2024-09-16T18:14:09.473153346Z level=info msg="Starting Grafana" version=11.2.0 commit=2a88694fd3ced0335bf3726cc5d0adc2d1858855 branch=v11.2.x compiled=2024-09-16T18:14:09Z grafana | logger=settings t=2024-09-16T18:14:09.473474606Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-09-16T18:14:09.473487696Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-09-16T18:14:09.473493156Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-09-16T18:14:09.473496996Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-09-16T18:14:09.473501476Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-09-16T18:14:09.473504456Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-09-16T18:14:09.473508156Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-09-16T18:14:09.473511996Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-09-16T18:14:09.473515906Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-09-16T18:14:09.473519586Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-09-16T18:14:09.473523646Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-09-16T18:14:09.473527546Z level=info msg=Target target=[all] grafana | logger=settings t=2024-09-16T18:14:09.473538486Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-09-16T18:14:09.473541636Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-09-16T18:14:09.473544896Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-09-16T18:14:09.473548926Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-09-16T18:14:09.473553126Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-09-16T18:14:09.473556756Z level=info msg="App mode production" grafana | logger=featuremgmt t=2024-09-16T18:14:09.473853145Z level=info msg=FeatureToggles nestedFolders=true dataplaneFrontendFallback=true ssoSettingsApi=true awsAsyncQueryCaching=true angularDeprecationUI=true logsInfiniteScrolling=true prometheusMetricEncyclopedia=true alertingNoDataErrorExecution=true formatString=true cloudWatchCrossAccountQuerying=true dashgpt=true logsExploreTableVisualisation=true cloudWatchNewLabelParsing=true lokiMetricDataplane=true prometheusConfigOverhaulAuth=true exploreMetrics=true prometheusAzureOverrideAudience=true annotationPermissionUpdate=true managedPluginsInstall=true recoveryThreshold=true alertingSimplifiedRouting=true influxdbBackendMigration=true cloudWatchRoundUpEndTime=true lokiQueryHints=true transformationsVariableSupport=true logsContextDatasourceUi=true alertingInsights=true logRowsPopoverMenu=true addFieldFromCalculationStatFunctions=true transformationsRedesign=true tlsMemcached=true correlations=true recordedQueriesMulti=true prometheusDataplane=true lokiStructuredMetadata=true publicDashboards=true autoMigrateXYChartPanel=true groupToNestedTableTransformation=true lokiQuerySplitting=true panelMonitoring=true kubernetesPlaylists=true topnav=true grafana | logger=sqlstore t=2024-09-16T18:14:09.473907015Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-09-16T18:14:09.473921675Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-09-16T18:14:09.475266565Z level=info msg="Locking database" grafana | logger=migrator t=2024-09-16T18:14:09.475282185Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-09-16T18:14:09.475817005Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-09-16T18:14:09.476702245Z level=info msg="Migration successfully executed" id="create migration_log table" duration=884.23µs grafana | logger=migrator t=2024-09-16T18:14:09.502490431Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-09-16T18:14:09.503801141Z level=info msg="Migration successfully executed" id="create user table" duration=1.31185ms grafana | logger=migrator t=2024-09-16T18:14:09.50776338Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-09-16T18:14:09.508563821Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=799.661µs grafana | logger=migrator t=2024-09-16T18:14:09.51226779Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-09-16T18:14:09.51299571Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=727.43µs grafana | logger=migrator t=2024-09-16T18:14:09.517445249Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-09-16T18:14:09.518435089Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=989.54µs grafana | logger=migrator t=2024-09-16T18:14:09.521853768Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-09-16T18:14:09.522817039Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=959.991µs grafana | logger=migrator t=2024-09-16T18:14:09.526150458Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-09-16T18:14:09.528698968Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.5482ms grafana | logger=migrator t=2024-09-16T18:14:09.532715876Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-09-16T18:14:09.533538697Z level=info msg="Migration successfully executed" id="create user table v2" duration=822.701µs grafana | logger=migrator t=2024-09-16T18:14:09.536863006Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-09-16T18:14:09.537562546Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=698.94µs grafana | logger=migrator t=2024-09-16T18:14:09.540464176Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-09-16T18:14:09.541114375Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=649.639µs grafana | logger=migrator t=2024-09-16T18:14:09.545656355Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-09-16T18:14:09.546216565Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=559.9µs grafana | logger=migrator t=2024-09-16T18:14:09.549501394Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-09-16T18:14:09.550229835Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=728.221µs grafana | logger=migrator t=2024-09-16T18:14:09.554385144Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-09-16T18:14:09.555489873Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.102389ms grafana | logger=migrator t=2024-09-16T18:14:09.558624594Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-09-16T18:14:09.558658844Z level=info msg="Migration successfully executed" id="Update user table charset" duration=34.92µs grafana | logger=migrator t=2024-09-16T18:14:09.562749803Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-09-16T18:14:09.564466893Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.71679ms grafana | logger=migrator t=2024-09-16T18:14:09.568167322Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-09-16T18:14:09.568383312Z level=info msg="Migration successfully executed" id="Add missing user data" duration=216.7µs grafana | logger=migrator t=2024-09-16T18:14:09.571744711Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-09-16T18:14:09.573323201Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.57775ms grafana | logger=migrator t=2024-09-16T18:14:09.57723676Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-09-16T18:14:09.57797176Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=734.48µs grafana | logger=migrator t=2024-09-16T18:14:09.58220076Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-09-16T18:14:09.583315129Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.114209ms grafana | logger=migrator t=2024-09-16T18:14:09.58664321Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-09-16T18:14:09.597129757Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=10.488947ms grafana | logger=migrator t=2024-09-16T18:14:09.600801078Z level=info msg="Executing migration" id="Add uid column to user" grafana | logger=migrator t=2024-09-16T18:14:09.601625137Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=823.269µs grafana | logger=migrator t=2024-09-16T18:14:09.604840727Z level=info msg="Executing migration" id="Update uid column values for users" grafana | logger=migrator t=2024-09-16T18:14:09.605049156Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=207.95µs grafana | logger=migrator t=2024-09-16T18:14:09.609343706Z level=info msg="Executing migration" id="Add unique index user_uid" grafana | logger=migrator t=2024-09-16T18:14:09.610030576Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=686.53µs grafana | logger=migrator t=2024-09-16T18:14:09.613966455Z level=info msg="Executing migration" id="update login field with orgid to allow for multiple service accounts with same name across orgs" grafana | logger=migrator t=2024-09-16T18:14:09.614457775Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=491.55µs grafana | logger=migrator t=2024-09-16T18:14:09.618136635Z level=info msg="Executing migration" id="update login and email fields to lowercase" grafana | logger=migrator t=2024-09-16T18:14:09.618705995Z level=info msg="Migration successfully executed" id="update login and email fields to lowercase" duration=569.56µs grafana | logger=migrator t=2024-09-16T18:14:09.623916234Z level=info msg="Executing migration" id="update login and email fields to lowercase2" grafana | logger=migrator t=2024-09-16T18:14:09.624179994Z level=info msg="Migration successfully executed" id="update login and email fields to lowercase2" duration=264.21µs grafana | logger=migrator t=2024-09-16T18:14:09.627550153Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-09-16T18:14:09.628331413Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=781.23µs grafana | logger=migrator t=2024-09-16T18:14:09.632367043Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-09-16T18:14:09.633571482Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.204019ms grafana | logger=migrator t=2024-09-16T18:14:09.637534682Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-09-16T18:14:09.638757811Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.222269ms grafana | logger=migrator t=2024-09-16T18:14:09.643479251Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-09-16T18:14:09.644164231Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=683.91µs grafana | logger=migrator t=2024-09-16T18:14:09.64802558Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-09-16T18:14:09.64908243Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.0525ms grafana | logger=migrator t=2024-09-16T18:14:09.653182559Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-09-16T18:14:09.653221879Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=40.6µs grafana | logger=migrator t=2024-09-16T18:14:09.657611719Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-09-16T18:14:09.658225829Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=614.6µs grafana | logger=migrator t=2024-09-16T18:14:09.661477078Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-09-16T18:14:09.662106458Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=630.39µs grafana | logger=migrator t=2024-09-16T18:14:09.665583218Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-09-16T18:14:09.666246717Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=661.939µs grafana | logger=migrator t=2024-09-16T18:14:09.670651447Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-09-16T18:14:09.671623657Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=972.01µs grafana | logger=migrator t=2024-09-16T18:14:09.675016926Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-09-16T18:14:09.678060736Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.04247ms grafana | logger=migrator t=2024-09-16T18:14:09.681173675Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-09-16T18:14:09.682023126Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=848.901µs grafana | logger=migrator t=2024-09-16T18:14:09.685962285Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-09-16T18:14:09.686690584Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=728.139µs grafana | logger=migrator t=2024-09-16T18:14:09.689711374Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-09-16T18:14:09.690400714Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=688.82µs grafana | logger=migrator t=2024-09-16T18:14:09.693630414Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-09-16T18:14:09.694769043Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.127439ms grafana | logger=migrator t=2024-09-16T18:14:09.698927923Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-09-16T18:14:09.700022093Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.09363ms grafana | logger=migrator t=2024-09-16T18:14:09.703968922Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-09-16T18:14:09.704546822Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=577.42µs grafana | logger=migrator t=2024-09-16T18:14:09.708017912Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-09-16T18:14:09.708558921Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=542.109µs grafana | logger=migrator t=2024-09-16T18:14:09.711660511Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-09-16T18:14:09.712038191Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=377.46µs grafana | logger=migrator t=2024-09-16T18:14:09.716092071Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-09-16T18:14:09.71715654Z level=info msg="Migration successfully executed" id="create star table" duration=1.062839ms grafana | logger=migrator t=2024-09-16T18:14:09.72064407Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-09-16T18:14:09.72185235Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.20541ms grafana | logger=migrator t=2024-09-16T18:14:09.725358269Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-09-16T18:14:09.726136148Z level=info msg="Migration successfully executed" id="create org table v1" duration=777.359µs grafana | logger=migrator t=2024-09-16T18:14:09.730289528Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-09-16T18:14:09.731076318Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=786.61µs grafana | logger=migrator t=2024-09-16T18:14:09.734212338Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-09-16T18:14:09.734905287Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=692.779µs grafana | logger=migrator t=2024-09-16T18:14:09.738026108Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-09-16T18:14:09.738760627Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=734.089µs grafana | logger=migrator t=2024-09-16T18:14:09.741775226Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-09-16T18:14:09.742499386Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=723.68µs grafana | logger=migrator t=2024-09-16T18:14:09.746580086Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-09-16T18:14:09.747303306Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=723.39µs grafana | logger=migrator t=2024-09-16T18:14:09.750480155Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-09-16T18:14:09.750504925Z level=info msg="Migration successfully executed" id="Update org table charset" duration=25.11µs grafana | logger=migrator t=2024-09-16T18:14:09.753669355Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-09-16T18:14:09.753698075Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=26.13µs grafana | logger=migrator t=2024-09-16T18:14:09.756938244Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-09-16T18:14:09.757157964Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=218.88µs grafana | logger=migrator t=2024-09-16T18:14:09.761223594Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-09-16T18:14:09.762409113Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.184529ms grafana | logger=migrator t=2024-09-16T18:14:09.766003193Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-09-16T18:14:09.767280783Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.27852ms grafana | logger=migrator t=2024-09-16T18:14:09.770294842Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-09-16T18:14:09.771146142Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=850.33µs grafana | logger=migrator t=2024-09-16T18:14:09.774387312Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-09-16T18:14:09.775111302Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=723.31µs grafana | logger=migrator t=2024-09-16T18:14:09.778925181Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-09-16T18:14:09.779713391Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=788.12µs grafana | logger=migrator t=2024-09-16T18:14:09.782895921Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-09-16T18:14:09.783572181Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=678.81µs grafana | logger=migrator t=2024-09-16T18:14:09.78685623Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-09-16T18:14:09.79165101Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=4.79449ms grafana | logger=migrator t=2024-09-16T18:14:09.795693879Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-09-16T18:14:09.796784979Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=1.08949ms grafana | logger=migrator t=2024-09-16T18:14:09.800318508Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-09-16T18:14:09.801601728Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.28288ms grafana | logger=migrator t=2024-09-16T18:14:09.804988297Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-09-16T18:14:09.805738568Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=750.021µs grafana | logger=migrator t=2024-09-16T18:14:09.809920137Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-09-16T18:14:09.810300026Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=377.989µs grafana | logger=migrator t=2024-09-16T18:14:09.813682727Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-09-16T18:14:09.815135826Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.453379ms grafana | logger=migrator t=2024-09-16T18:14:09.818263555Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-09-16T18:14:09.818324785Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=61.81µs grafana | logger=migrator t=2024-09-16T18:14:09.822261755Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-09-16T18:14:09.823979784Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.717279ms grafana | logger=migrator t=2024-09-16T18:14:09.827257384Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-09-16T18:14:09.829234314Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.97608ms grafana | logger=migrator t=2024-09-16T18:14:09.832614773Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-09-16T18:14:09.834453803Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.83888ms grafana | logger=migrator t=2024-09-16T18:14:09.838438352Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-09-16T18:14:09.839513382Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.072801ms grafana | logger=migrator t=2024-09-16T18:14:09.843022542Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-09-16T18:14:09.844926762Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.9053ms grafana | logger=migrator t=2024-09-16T18:14:09.848045461Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-09-16T18:14:09.848876531Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=830.22µs grafana | logger=migrator t=2024-09-16T18:14:09.852860041Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-09-16T18:14:09.85372432Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=863.259µs grafana | logger=migrator t=2024-09-16T18:14:09.85669532Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-09-16T18:14:09.85671819Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=23.66µs grafana | logger=migrator t=2024-09-16T18:14:09.860719289Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-09-16T18:14:09.860749449Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=30.4µs grafana | logger=migrator t=2024-09-16T18:14:09.864989409Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-09-16T18:14:09.868952568Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.962309ms grafana | logger=migrator t=2024-09-16T18:14:09.872699128Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-09-16T18:14:09.874658637Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.963389ms grafana | logger=migrator t=2024-09-16T18:14:09.877797586Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-09-16T18:14:09.879738386Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.94067ms grafana | logger=migrator t=2024-09-16T18:14:09.883107606Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-09-16T18:14:09.885492276Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.3836ms grafana | logger=migrator t=2024-09-16T18:14:09.889515496Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-09-16T18:14:09.889760436Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=244.33µs grafana | logger=migrator t=2024-09-16T18:14:09.927358779Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-09-16T18:14:09.92906536Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.706511ms grafana | logger=migrator t=2024-09-16T18:14:09.932730949Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-09-16T18:14:09.933920338Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.191659ms grafana | logger=migrator t=2024-09-16T18:14:09.938067898Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-09-16T18:14:09.938094188Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=26.92µs grafana | logger=migrator t=2024-09-16T18:14:09.941194457Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-09-16T18:14:09.942016377Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=821.42µs grafana | logger=migrator t=2024-09-16T18:14:09.945249967Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-09-16T18:14:09.945949427Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=699.02µs grafana | logger=migrator t=2024-09-16T18:14:09.950378876Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-09-16T18:14:09.959240485Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=8.840999ms grafana | logger=migrator t=2024-09-16T18:14:09.962472925Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-09-16T18:14:09.963012165Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=538.34µs grafana | logger=migrator t=2024-09-16T18:14:09.966058114Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb (172.17.0.2) 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 | -------------- grafana | logger=migrator t=2024-09-16T18:14:09.966619454Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=559.83µs grafana | logger=migrator t=2024-09-16T18:14:09.970524854Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-09-16T18:14:09.971839183Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.311589ms grafana | logger=migrator t=2024-09-16T18:14:09.975211252Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-09-16T18:14:09.975735602Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=524.43µs grafana | logger=migrator t=2024-09-16T18:14:09.978933542Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-09-16T18:14:09.979437452Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=503.84µs grafana | logger=migrator t=2024-09-16T18:14:09.983471361Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-09-16T18:14:09.985444861Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=1.97297ms grafana | logger=migrator t=2024-09-16T18:14:09.988790321Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-09-16T18:14:09.9896047Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=813.529µs grafana | logger=migrator t=2024-09-16T18:14:09.99359431Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-09-16T18:14:09.99375981Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=165.56µs grafana | logger=migrator t=2024-09-16T18:14:09.997357099Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-09-16T18:14:09.997633609Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=276.51µs grafana | logger=migrator t=2024-09-16T18:14:10.001259239Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-09-16T18:14:10.002580189Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.32023ms grafana | logger=migrator t=2024-09-16T18:14:10.006124511Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-09-16T18:14:10.008174289Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.049218ms grafana | logger=migrator t=2024-09-16T18:14:10.011959997Z level=info msg="Executing migration" id="Add deleted for dashboard" grafana | logger=migrator t=2024-09-16T18:14:10.014034831Z level=info msg="Migration successfully executed" id="Add deleted for dashboard" duration=2.055734ms grafana | logger=migrator t=2024-09-16T18:14:10.016878567Z level=info msg="Executing migration" id="Add index for deleted" grafana | logger=migrator t=2024-09-16T18:14:10.017628348Z level=info msg="Migration successfully executed" id="Add index for deleted" duration=749.321µs grafana | logger=migrator t=2024-09-16T18:14:10.020753814Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-09-16T18:14:10.021646826Z level=info msg="Migration successfully executed" id="create data_source table" duration=892.222µs grafana | logger=migrator t=2024-09-16T18:14:10.025715714Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-09-16T18:14:10.026514806Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=798.522µs grafana | logger=migrator t=2024-09-16T18:14:10.029482772Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-09-16T18:14:10.030266573Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=780.951µs grafana | logger=migrator t=2024-09-16T18:14:10.033262818Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-09-16T18:14:10.03397085Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=707.722µs grafana | logger=migrator t=2024-09-16T18:14:10.037999028Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-09-16T18:14:10.038718409Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=718.761µs grafana | logger=migrator t=2024-09-16T18:14:10.042007305Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-09-16T18:14:10.051606304Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=9.599789ms grafana | logger=migrator t=2024-09-16T18:14:10.054544069Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-09-16T18:14:10.055392841Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=848.592µs grafana | logger=migrator t=2024-09-16T18:14:10.059425738Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-09-16T18:14:10.06014064Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=714.072µs grafana | logger=migrator t=2024-09-16T18:14:10.063115066Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-09-16T18:14:10.063847097Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=731.461µs grafana | logger=migrator t=2024-09-16T18:14:10.066964383Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-09-16T18:14:10.067505684Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=541.251µs grafana | logger=migrator t=2024-09-16T18:14:10.071560252Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-09-16T18:14:10.075326459Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.765477ms grafana | logger=migrator t=2024-09-16T18:14:10.078729295Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-09-16T18:14:10.080947039Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.214474ms grafana | logger=migrator t=2024-09-16T18:14:10.084197755Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-09-16T18:14:10.084220785Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=23.48µs grafana | logger=migrator t=2024-09-16T18:14:10.088185174Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-09-16T18:14:10.088393124Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=208.15µs grafana | logger=migrator t=2024-09-16T18:14:10.09157014Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-09-16T18:14:10.093820774Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.249794ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:10.09675797Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-09-16T18:14:10.09696047Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=202.41µs grafana | logger=migrator t=2024-09-16T18:14:10.101044568Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-09-16T18:14:10.101250538Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=205.39µs grafana | logger=migrator t=2024-09-16T18:14:10.104633464Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-09-16T18:14:10.108674372Z level=info msg="Migration successfully executed" id="Add uid column" duration=4.040128ms grafana | logger=migrator t=2024-09-16T18:14:10.112219739Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-09-16T18:14:10.112530539Z level=info msg="Migration successfully executed" id="Update uid value" duration=309.45µs grafana | logger=migrator t=2024-09-16T18:14:10.117438759Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-09-16T18:14:10.118214211Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=772.832µs grafana | logger=migrator t=2024-09-16T18:14:10.122434079Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-09-16T18:14:10.123910132Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.474703ms grafana | logger=migrator t=2024-09-16T18:14:10.12788249Z level=info msg="Executing migration" id="Add is_prunable column" grafana | logger=migrator t=2024-09-16T18:14:10.130899066Z level=info msg="Migration successfully executed" id="Add is_prunable column" duration=3.023316ms grafana | logger=migrator t=2024-09-16T18:14:10.134125552Z level=info msg="Executing migration" id="Add api_version column" grafana | logger=migrator t=2024-09-16T18:14:10.136455117Z level=info msg="Migration successfully executed" id="Add api_version column" duration=2.329395ms grafana | logger=migrator t=2024-09-16T18:14:10.140501194Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-09-16T18:14:10.141234967Z level=info msg="Migration successfully executed" id="create api_key table" duration=733.233µs grafana | logger=migrator t=2024-09-16T18:14:10.144341273Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-09-16T18:14:10.145094114Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=752.711µs grafana | logger=migrator t=2024-09-16T18:14:10.14820839Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-09-16T18:14:10.149013861Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=804.961µs grafana | logger=migrator t=2024-09-16T18:14:10.15315302Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-09-16T18:14:10.154376432Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.222882ms grafana | logger=migrator t=2024-09-16T18:14:10.157864789Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-09-16T18:14:10.159031881Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.169733ms grafana | logger=migrator t=2024-09-16T18:14:10.162134198Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-09-16T18:14:10.162862419Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=728.031µs grafana | logger=migrator t=2024-09-16T18:14:10.166868117Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-09-16T18:14:10.167814639Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=945.602µs grafana | logger=migrator t=2024-09-16T18:14:10.171180385Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-09-16T18:14:10.180602274Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=9.422019ms grafana | logger=migrator t=2024-09-16T18:14:10.184900682Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-09-16T18:14:10.185597233Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=696.031µs grafana | logger=migrator t=2024-09-16T18:14:10.188765259Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-09-16T18:14:10.189515521Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=749.452µs grafana | logger=migrator t=2024-09-16T18:14:10.192761858Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-09-16T18:14:10.193520399Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=757.631µs grafana | logger=migrator t=2024-09-16T18:14:10.197524508Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-09-16T18:14:10.19873702Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.211282ms grafana | logger=migrator t=2024-09-16T18:14:10.202320746Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-09-16T18:14:10.202819087Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=497.941µs grafana | logger=migrator t=2024-09-16T18:14:10.206084264Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-09-16T18:14:10.206632355Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=547.681µs grafana | logger=migrator t=2024-09-16T18:14:10.210564193Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-09-16T18:14:10.210589253Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=25.82µs grafana | logger=migrator t=2024-09-16T18:14:10.213604129Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-09-16T18:14:10.217152386Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=3.546647ms grafana | logger=migrator t=2024-09-16T18:14:10.220562893Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-09-16T18:14:10.223991939Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=3.429666ms grafana | logger=migrator t=2024-09-16T18:14:10.228116468Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-09-16T18:14:10.228276408Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=160.32µs grafana | logger=migrator t=2024-09-16T18:14:10.231451765Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-09-16T18:14:10.23394137Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.489366ms grafana | logger=migrator t=2024-09-16T18:14:10.236934495Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-09-16T18:14:10.23942897Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.493925ms grafana | logger=migrator t=2024-09-16T18:14:10.242752607Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-09-16T18:14:10.243428148Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=675.121µs grafana | logger=migrator t=2024-09-16T18:14:10.247497715Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-09-16T18:14:10.248364168Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=875.463µs grafana | logger=migrator t=2024-09-16T18:14:10.251863114Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-09-16T18:14:10.253181826Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.318292ms grafana | logger=migrator t=2024-09-16T18:14:10.257674826Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-09-16T18:14:10.259210279Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.534953ms grafana | logger=migrator t=2024-09-16T18:14:10.262775386Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-09-16T18:14:10.265105321Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=2.326765ms grafana | logger=migrator t=2024-09-16T18:14:10.268796748Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-09-16T18:14:10.270088501Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.291274ms grafana | logger=migrator t=2024-09-16T18:14:10.273400397Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-09-16T18:14:10.273475567Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=75.29µs grafana | logger=migrator t=2024-09-16T18:14:10.277582785Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-09-16T18:14:10.277613645Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=31.71µs grafana | logger=migrator t=2024-09-16T18:14:10.281224952Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-09-16T18:14:10.285494601Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.269439ms grafana | logger=migrator t=2024-09-16T18:14:10.288638717Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-09-16T18:14:10.291462002Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.824035ms grafana | logger=migrator t=2024-09-16T18:14:10.295723861Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-09-16T18:14:10.295788351Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=64.45µs grafana | logger=migrator t=2024-09-16T18:14:10.298939017Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-09-16T18:14:10.299637738Z level=info msg="Migration successfully executed" id="create quota table v1" duration=696.051µs grafana | logger=migrator t=2024-09-16T18:14:10.302812275Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-09-16T18:14:10.303598386Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=785.351µs grafana | logger=migrator t=2024-09-16T18:14:10.341516381Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-09-16T18:14:10.341553681Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=38.36µs grafana | logger=migrator t=2024-09-16T18:14:10.346676341Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-09-16T18:14:10.347874263Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.197612ms grafana | logger=migrator t=2024-09-16T18:14:10.351467961Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-09-16T18:14:10.352844283Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.375112ms grafana | logger=migrator t=2024-09-16T18:14:10.356586681Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-09-16T18:14:10.359614256Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=3.036665ms grafana | logger=migrator t=2024-09-16T18:14:10.363510255Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-09-16T18:14:10.363554205Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=45.92µs grafana | logger=migrator t=2024-09-16T18:14:10.366771031Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-09-16T18:14:10.368313964Z level=info msg="Migration successfully executed" id="create session table" duration=1.541483ms grafana | logger=migrator t=2024-09-16T18:14:10.371693681Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-09-16T18:14:10.371777161Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=80.93µs grafana | logger=migrator t=2024-09-16T18:14:10.375477058Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-09-16T18:14:10.375566428Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=87.9µs grafana | logger=migrator t=2024-09-16T18:14:10.378797534Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-09-16T18:14:10.379862037Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.064563ms grafana | logger=migrator t=2024-09-16T18:14:10.383610274Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-09-16T18:14:10.384743616Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.132592ms grafana | logger=migrator t=2024-09-16T18:14:10.388002213Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-09-16T18:14:10.388029623Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=28.33µs grafana | logger=migrator t=2024-09-16T18:14:10.39157487Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-09-16T18:14:10.39160268Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=28.47µs prometheus | ts=2024-09-16T18:14:08.607Z caller=main.go:601 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2024-09-16T18:14:08.608Z caller=main.go:645 level=info msg="Starting Prometheus Server" mode=server version="(version=2.54.1, branch=HEAD, revision=e6cfa720fbe6280153fab13090a483dbd40bece3)" prometheus | ts=2024-09-16T18:14:08.608Z caller=main.go:650 level=info build_context="(go=go1.22.6, platform=linux/amd64, user=root@812ffd741951, date=20240827-10:56:41, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2024-09-16T18:14:08.608Z caller=main.go:651 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" prometheus | ts=2024-09-16T18:14:08.608Z caller=main.go:652 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-09-16T18:14:08.608Z caller=main.go:653 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-09-16T18:14:08.612Z caller=web.go:571 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-09-16T18:14:08.612Z caller=main.go:1160 level=info msg="Starting TSDB ..." prometheus | ts=2024-09-16T18:14:08.614Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-09-16T18:14:08.614Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-09-16T18:14:08.619Z caller=head.go:626 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-09-16T18:14:08.619Z caller=head.go:713 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=1.4µs prometheus | ts=2024-09-16T18:14:08.619Z caller=head.go:721 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-09-16T18:14:08.619Z caller=head.go:793 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-09-16T18:14:08.619Z caller=head.go:830 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=119.84µs wal_replay_duration=382.173µs wbl_replay_duration=200ns chunk_snapshot_load_duration=0s mmap_chunk_replay_duration=1.4µs total_replay_duration=527.933µs prometheus | ts=2024-09-16T18:14:08.622Z caller=main.go:1181 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-09-16T18:14:08.622Z caller=main.go:1184 level=info msg="TSDB started" prometheus | ts=2024-09-16T18:14:08.622Z caller=main.go:1367 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-09-16T18:14:08.623Z caller=main.go:1404 level=info msg="updated GOGC" old=100 new=75 prometheus | ts=2024-09-16T18:14:08.623Z caller=main.go:1415 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.024897ms db_storage=1.09µs remote_storage=1.32µs web_handler=730ns query_engine=4.49µs scrape=286.882µs scrape_sd=192.231µs notify=31.77µs notify_sd=10.21µs rules=1.76µs tracing=6.64µs prometheus | ts=2024-09-16T18:14:08.623Z caller=main.go:1145 level=info msg="Server is ready to receive web requests." prometheus | ts=2024-09-16T18:14:08.623Z caller=manager.go:164 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2024-09-16T18:14:10.393847134Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-09-16T18:14:10.397869482Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.021138ms grafana | logger=migrator t=2024-09-16T18:14:10.401482009Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-09-16T18:14:10.405176257Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.693778ms grafana | logger=migrator t=2024-09-16T18:14:10.409012824Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-09-16T18:14:10.409099184Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=86.54µs grafana | logger=migrator t=2024-09-16T18:14:10.41193653Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-09-16T18:14:10.41201584Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=79.16µs grafana | logger=migrator t=2024-09-16T18:14:10.415025376Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-09-16T18:14:10.415825918Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=800.332µs grafana | logger=migrator t=2024-09-16T18:14:10.419911406Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-09-16T18:14:10.419937426Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=26.35µs grafana | logger=migrator t=2024-09-16T18:14:10.423184532Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-09-16T18:14:10.428104682Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=4.91876ms grafana | logger=migrator t=2024-09-16T18:14:10.431450778Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-09-16T18:14:10.431596859Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=146.621µs grafana | logger=migrator t=2024-09-16T18:14:10.435077765Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-09-16T18:14:10.438043411Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=2.965696ms grafana | logger=migrator t=2024-09-16T18:14:10.441810089Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2024-09-16T18:14:10.444945195Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.134826ms grafana | logger=migrator t=2024-09-16T18:14:10.448431852Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-09-16T18:14:10.448562912Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=125.64µs grafana | logger=migrator t=2024-09-16T18:14:10.453234452Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-09-16T18:14:10.454668704Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.434192ms grafana | logger=migrator t=2024-09-16T18:14:10.458856523Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-09-16T18:14:10.459634494Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=777.591µs grafana | logger=migrator t=2024-09-16T18:14:10.4628768Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2024-09-16T18:14:10.463894023Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.017053ms grafana | logger=migrator t=2024-09-16T18:14:10.467125019Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-09-16T18:14:10.46792585Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=805.591µs grafana | logger=migrator t=2024-09-16T18:14:10.471904839Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-09-16T18:14:10.47271915Z level=info msg="Migration successfully executed" id="add index alert state" duration=813.801µs grafana | logger=migrator t=2024-09-16T18:14:10.476349547Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-09-16T18:14:10.477158558Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=807.081µs grafana | logger=migrator t=2024-09-16T18:14:10.480292685Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-09-16T18:14:10.480910486Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=617.751µs grafana | logger=migrator t=2024-09-16T18:14:10.484889464Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-09-16T18:14:10.486277627Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.386123ms grafana | logger=migrator t=2024-09-16T18:14:10.489623334Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-09-16T18:14:10.490926596Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.302782ms grafana | logger=migrator t=2024-09-16T18:14:10.494402673Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-09-16T18:14:10.506115746Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=11.713443ms grafana | logger=migrator t=2024-09-16T18:14:10.509996693Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-09-16T18:14:10.510503774Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=506.861µs grafana | logger=migrator t=2024-09-16T18:14:10.51333278Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2024-09-16T18:14:10.513925122Z 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=591.152µs grafana | logger=migrator t=2024-09-16T18:14:10.516890047Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-09-16T18:14:10.517360638Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=468.521µs grafana | logger=migrator t=2024-09-16T18:14:10.520589584Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-09-16T18:14:10.521406696Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=816.322µs grafana | logger=migrator t=2024-09-16T18:14:10.525693435Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2024-09-16T18:14:10.526850167Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.156472ms mariadb | 2024-09-16 18:14:10+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-09-16 18:14:10+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-09-16 18:14:10+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-09-16 18:14:11+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-09-16 18:14:11 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-09-16 18:14:11 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-09-16 18:14:11 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2024-09-16 18:14:12+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-09-16 18:14:12+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-09-16 18:14:12+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-09-16 18:14:12 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 98 ... policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.2:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.5:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v3.1.4) policy-api | policy-api | [2024-09-16T18:14:24.886+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 20 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-09-16T18:14:24.888+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-09-16T18:14:26.641+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-09-16T18:14:26.745+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 93 ms. Found 6 JPA repository interfaces. policy-api | [2024-09-16T18:14:27.180+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 | [2024-09-16T18:14:27.181+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 | [2024-09-16T18:14:27.848+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-09-16T18:14:27.858+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-09-16T18:14:27.859+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-09-16T18:14:27.860+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] policy-api | [2024-09-16T18:14:27.952+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-09-16T18:14:27.953+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 3001 ms policy-api | [2024-09-16T18:14:28.405+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-09-16T18:14:28.481+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-api | [2024-09-16T18:14:28.484+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-api | [2024-09-16T18:14:28.522+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2024-09-16T18:14:28.900+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-api | [2024-09-16T18:14:28.919+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... mariadb | 2024-09-16 18:14:12 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-09-16 18:14:12 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-09-16 18:14:12 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-09-16 18:14:12 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-09-16 18:14:12 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-09-16 18:14:12 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-09-16 18:14:12 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-09-16 18:14:12 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-09-16 18:14:12 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-09-16 18:14:12 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-09-16 18:14:12 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-09-16 18:14:12 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-09-16 18:14:12 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-09-16 18:14:12 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-09-16 18:14:12 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-09-16 18:14:12 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-09-16 18:14:12 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-09-16 18:14:12 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2024-09-16 18:14:13+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-09-16 18:14:15+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-09-16 18:14:15+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2024-09-16 18:14:15+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2024-09-16 18:14:15+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | policy-db-migrator | CREATE TABLE IF NOT EXISTS 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 | grafana | logger=migrator t=2024-09-16T18:14:10.530071243Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-09-16T18:14:10.535594754Z level=info msg="Migration successfully executed" id="Add column is_default" duration=5.523881ms grafana | logger=migrator t=2024-09-16T18:14:10.539441892Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-09-16T18:14:10.543053509Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.611117ms grafana | logger=migrator t=2024-09-16T18:14:10.546165445Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-09-16T18:14:10.549765632Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.599737ms grafana | logger=migrator t=2024-09-16T18:14:10.554581291Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-09-16T18:14:10.558180898Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.598897ms grafana | logger=migrator t=2024-09-16T18:14:10.561256314Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-09-16T18:14:10.562109956Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=853.362µs grafana | logger=migrator t=2024-09-16T18:14:10.566083264Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-09-16T18:14:10.566108794Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=25.47µs grafana | logger=migrator t=2024-09-16T18:14:10.56895456Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-09-16T18:14:10.56898773Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=34.45µs grafana | logger=migrator t=2024-09-16T18:14:10.572387076Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-09-16T18:14:10.573543169Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.155233ms grafana | logger=migrator t=2024-09-16T18:14:10.577946387Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-09-16T18:14:10.57939643Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.449513ms grafana | logger=migrator t=2024-09-16T18:14:10.582793097Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2024-09-16T18:14:10.58384261Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.052343ms grafana | logger=migrator t=2024-09-16T18:14:10.587820197Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2024-09-16T18:14:10.588571938Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=751.541µs grafana | logger=migrator t=2024-09-16T18:14:10.592873257Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-09-16T18:14:10.594146219Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.267892ms grafana | logger=migrator t=2024-09-16T18:14:10.597428345Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2024-09-16T18:14:10.603817939Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=6.389324ms grafana | logger=migrator t=2024-09-16T18:14:10.608588758Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2024-09-16T18:14:10.612352666Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.761499ms grafana | logger=migrator t=2024-09-16T18:14:10.615932832Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-09-16T18:14:10.616110873Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=178.031µs grafana | logger=migrator t=2024-09-16T18:14:10.62008369Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2024-09-16T18:14:10.620965873Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=882.653µs grafana | logger=migrator t=2024-09-16T18:14:10.624053218Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2024-09-16T18:14:10.62485123Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=797.562µs grafana | logger=migrator t=2024-09-16T18:14:10.628431467Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2024-09-16T18:14:10.632337955Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.905318ms grafana | logger=migrator t=2024-09-16T18:14:10.63514556Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2024-09-16T18:14:10.63520857Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=62.94µs grafana | logger=migrator t=2024-09-16T18:14:10.637737226Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-09-16T18:14:10.638589467Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=851.521µs grafana | logger=migrator t=2024-09-16T18:14:10.642072053Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2024-09-16T18:14:10.642917756Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=844.813µs grafana | logger=migrator t=2024-09-16T18:14:10.645728361Z level=info msg="Executing migration" id="Drop old annotation table v4" policy-api | [2024-09-16T18:14:29.011+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@3d37203b policy-api | [2024-09-16T18:14:29.013+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-09-16T18:14:29.043+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 | [2024-09-16T18:14:29.045+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead policy-api | [2024-09-16T18:14:30.969+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-api | [2024-09-16T18:14:30.972+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-09-16T18:14:32.225+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-09-16T18:14:32.960+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-09-16T18:14:33.999+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2024-09-16T18:14:34.196+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@729f8c5d, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@1e33203f, org.springframework.security.web.context.SecurityContextHolderFilter@5f160f9c, org.springframework.security.web.header.HeaderWriterFilter@9bc10bd, org.springframework.security.web.authentication.logout.LogoutFilter@206d4413, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@4295b0b8, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@234a08ea, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@56d3e4a9, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@58a01e47, org.springframework.security.web.access.ExceptionTranslationFilter@6e11d059, org.springframework.security.web.access.intercept.AuthorizationFilter@5c1348c6] policy-api | [2024-09-16T18:14:35.032+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-09-16T18:14:35.091+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-09-16T18:14:35.143+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-09-16T18:14:35.162+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.016 seconds (process running for 11.589) policy-api | [2024-09-16T18:14:39.899+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-4] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-09-16T18:14:39.900+00:00|INFO|DispatcherServlet|http-nio-6969-exec-4] Initializing Servlet 'dispatcherServlet' policy-api | [2024-09-16T18:14:39.902+00:00|INFO|DispatcherServlet|http-nio-6969-exec-4] Completed initialization in 2 ms policy-api | [2024-09-16T18:14:43.681+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-6] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-09-16T18:14:43.816+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2024-09-16T18:14:44.080+00:00|WARN|CommonRestController|http-nio-6969-exec-8] POST /policytypes policy-api | [2024-09-16T18:14:45.416+00:00|WARN|CommonRestController|http-nio-6969-exec-1] POST /policies policy-api | [2024-09-16T18:14:47.389+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-09-16T18:14:47.714+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-09-16T18:14:47.957+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2024-09-16T18:14:48.182+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-09-16T18:14:48.402+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-09-16T18:14:48.619+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2024-09-16 18:14:16+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-09-16 18:14:16 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-09-16 18:14:16 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-09-16 18:14:16 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-09-16 18:14:16 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-09-16 18:14:16 0 [Note] InnoDB: Buffer pool(s) dump completed at 240916 18:14:16 mariadb | 2024-09-16 18:14:16 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-09-16 18:14:16 0 [Note] InnoDB: Shutdown completed; log sequence number 323570; transaction id 298 mariadb | 2024-09-16 18:14:16 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-09-16 18:14:16+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-09-16 18:14:16+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-09-16 18:14:16 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-09-16 18:14:16 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-09-16 18:14:16 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-09-16 18:14:16 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-09-16 18:14:16 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-09-16 18:14:16 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-09-16 18:14:16 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-09-16 18:14:16 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-09-16 18:14:16 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-09-16 18:14:16 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-09-16 18:14:16 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-09-16 18:14:16 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-09-16 18:14:16 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-09-16 18:14:16 0 [Note] InnoDB: log sequence number 323570; transaction id 299 mariadb | 2024-09-16 18:14:16 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-09-16 18:14:16 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-09-16 18:14:16 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-09-16 18:14:16 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-09-16 18:14:16 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-09-16 18:14:16 0 [Note] Server socket created on IP: '::'. mariadb | 2024-09-16 18:14:16 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2024-09-16 18:14:16 0 [Note] InnoDB: Buffer pool(s) load completed at 240916 18:14:16 mariadb | 2024-09-16 18:14:16 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) mariadb | 2024-09-16 18:14:17 49 [Warning] Aborted connection 49 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) grafana | logger=migrator t=2024-09-16T18:14:10.645812012Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=79.681µs grafana | logger=migrator t=2024-09-16T18:14:10.648816118Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2024-09-16T18:14:10.649677999Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=862.221µs grafana | logger=migrator t=2024-09-16T18:14:10.653602656Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2024-09-16T18:14:10.654511179Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=908.383µs grafana | logger=migrator t=2024-09-16T18:14:10.657471965Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2024-09-16T18:14:10.658399356Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=927.121µs grafana | logger=migrator t=2024-09-16T18:14:10.661223131Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2024-09-16T18:14:10.662142253Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=922.922µs policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:10.666142822Z level=info msg="Executing migration" id="add index annotation 3 v3" policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2024-09-16T18:14:10.667125163Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=982.101µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:10.670042809Z level=info msg="Executing migration" id="add index annotation 4 v3" 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) grafana | logger=migrator t=2024-09-16T18:14:10.671045181Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.001482ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:10.674106577Z level=info msg="Executing migration" id="Update annotation table charset" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:10.674147727Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=41.4µs policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:10.677624144Z level=info msg="Executing migration" id="Add column region_id to annotation table" policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2024-09-16T18:14:10.681546481Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=3.921247ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:10.684516357Z level=info msg="Executing migration" id="Drop category_id index" 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) grafana | logger=migrator t=2024-09-16T18:14:10.685316439Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=794.452µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:10.688200645Z level=info msg="Executing migration" id="Add column tags to annotation table" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:10.692031532Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.830447ms policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2024-09-16T18:14:10.696017301Z level=info msg="Executing migration" id="Create annotation_tag table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:10.696642362Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=624.161µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-09-16T18:14:10.700326829Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:10.701808892Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.480743ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:10.705334539Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:10.706668911Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.333662ms policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2024-09-16T18:14:10.71077505Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:10.722591282Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=11.815552ms 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)) grafana | logger=migrator t=2024-09-16T18:14:10.770917978Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:10.772060681Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=1.142723ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:10.775914788Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:10.776848559Z 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=944.371µs policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2024-09-16T18:14:10.781086658Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:10.781374359Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=287.821µs 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)) grafana | logger=migrator t=2024-09-16T18:14:10.784624855Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:10.785099775Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=474.82µs policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:10.788746684Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:10.788922014Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=174.97µs policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2024-09-16T18:14:10.792927801Z level=info msg="Executing migration" id="Add created time to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:10.799262713Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.334722ms 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)) grafana | logger=migrator t=2024-09-16T18:14:10.802801371Z level=info msg="Executing migration" id="Add updated time to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:10.808047111Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=5.24139ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:10.81283338Z level=info msg="Executing migration" id="Add index for created in annotation table" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:10.813787873Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=954.243µs policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2024-09-16T18:14:10.81775894Z level=info msg="Executing migration" id="Add index for updated in annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:10.818930132Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.169312ms 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)) grafana | logger=migrator t=2024-09-16T18:14:10.823001101Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:10.823334701Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=333.93µs policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:10.830528406Z level=info msg="Executing migration" id="Add epoch_end column" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:10.835561615Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=5.032419ms policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2024-09-16T18:14:10.840401465Z level=info msg="Executing migration" id="Add index for epoch_end" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:10.841894148Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.491803ms grafana | logger=migrator t=2024-09-16T18:14:10.846030026Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2024-09-16T18:14:10.846345346Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=314.67µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-09-16T18:14:10.849694653Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:10.850088784Z level=info msg="Migration successfully executed" id="Move region to single row" duration=394.171µs policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:10.85319565Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:10.854017062Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=827.512µs policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2024-09-16T18:14:10.886946417Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" 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)) grafana | logger=migrator t=2024-09-16T18:14:10.88898469Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=2.037893ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:10.892464188Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:10.89361747Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.153472ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:10.896634566Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2024-09-16T18:14:10.897507837Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=872.151µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:10.903141038Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" 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)) grafana | logger=migrator t=2024-09-16T18:14:10.904166601Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.025873ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:10.908327819Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:10.909150371Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=821.512µs policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:10.91428856Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql grafana | logger=migrator t=2024-09-16T18:14:10.91437566Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=87.75µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:10.917580367Z level=info msg="Executing migration" id="create test_data table" 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)) grafana | logger=migrator t=2024-09-16T18:14:10.918600729Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.019872ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:10.923599019Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:10.92436676Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=767.471µs policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:10.928150668Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2024-09-16T18:14:10.9290309Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=880.092µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:10.93421103Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" 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)) grafana | logger=migrator t=2024-09-16T18:14:10.935075132Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=863.752µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:10.939305Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:10.939620411Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=381.902µs policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:10.94438562Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2024-09-16T18:14:10.945001791Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=608.091µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:10.950310532Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" 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)) grafana | logger=migrator t=2024-09-16T18:14:10.950414612Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=105.32µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:10.953957529Z level=info msg="Executing migration" id="create team table" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:10.955132251Z level=info msg="Migration successfully executed" id="create team table" duration=1.174472ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:10.95946209Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql grafana | logger=migrator t=2024-09-16T18:14:10.960365252Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=902.952µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:10.964956051Z level=info msg="Executing migration" id="add unique index team_org_id_name" 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)) grafana | logger=migrator t=2024-09-16T18:14:10.966072033Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.099422ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:10.971297323Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:10.976538874Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=5.241781ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:10.98007432Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql grafana | logger=migrator t=2024-09-16T18:14:10.980196751Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=122.511µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:10.983022556Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" 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)) grafana | logger=migrator t=2024-09-16T18:14:10.983826087Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=802.881µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:10.987438505Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:10.988184226Z level=info msg="Migration successfully executed" id="create team member table" duration=745.601µs policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:10.991222273Z level=info msg="Executing migration" id="add index team_member.org_id" policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2024-09-16T18:14:10.992988097Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.765123ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:10.996501563Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) grafana | logger=migrator t=2024-09-16T18:14:10.998920948Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=2.417715ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.003455596Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.004065468Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=609.652µs policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.007020735Z level=info msg="Executing migration" id="Add column email to team table" policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2024-09-16T18:14:11.010251984Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=3.231269ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.013186372Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) grafana | logger=migrator t=2024-09-16T18:14:11.017834045Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.646713ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.021657627Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.027913624Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=6.255437ms policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2024-09-16T18:14:11.031475024Z level=info msg="Executing migration" id="create dashboard acl table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.032303547Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=828.643µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-09-16T18:14:11.035267115Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.036129277Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=861.262µs policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.040876891Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.042088724Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.211603ms policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2024-09-16T18:14:11.045049043Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.046049706Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.000493ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) grafana | logger=migrator t=2024-09-16T18:14:11.049085125Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.049958597Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=873.232µs policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.053769037Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.054671971Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=908.344µs policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2024-09-16T18:14:11.058550261Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.059940565Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.389584ms 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)) grafana | logger=migrator t=2024-09-16T18:14:11.063278475Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.064120527Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=842.032µs policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.068157088Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.068743541Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=586.293µs policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2024-09-16T18:14:11.072338841Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.072741542Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=413.992µs 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)) grafana | logger=migrator t=2024-09-16T18:14:11.077776536Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.079006139Z level=info msg="Migration successfully executed" id="create tag table" duration=1.229793ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.082842191Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.084452704Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.609873ms policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2024-09-16T18:14:11.090704372Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.091559985Z level=info msg="Migration successfully executed" id="create login attempt table" duration=856.083µs 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)) grafana | logger=migrator t=2024-09-16T18:14:11.095664676Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.096895971Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.231295ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.099802359Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.100725031Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=922.732µs policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2024-09-16T18:14:11.103584449Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.11793073Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=14.345661ms 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)) grafana | logger=migrator t=2024-09-16T18:14:11.122519933Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.123049275Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=529.141µs policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.125652462Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.126300194Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=646.442µs policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2024-09-16T18:14:11.128878061Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.129361742Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=484.291µs 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)) grafana | logger=migrator t=2024-09-16T18:14:11.134512407Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.135383269Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=870.122µs policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.137629566Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.138784779Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.155053ms policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2024-09-16T18:14:11.142311879Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.143735883Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.423454ms grafana | logger=migrator t=2024-09-16T18:14:11.148318806Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2024-09-16T18:14:11.148422547Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=104.031µs 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)) grafana | logger=migrator t=2024-09-16T18:14:11.152118687Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.157724682Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.564315ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.162086195Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.17056598Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=8.478324ms policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2024-09-16T18:14:11.212557699Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.218919837Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=6.363148ms 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 | grafana | logger=migrator t=2024-09-16T18:14:11.225002234Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.230123319Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.120315ms policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2024-09-16T18:14:11.236042755Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.236982018Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=939.023µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-09-16T18:14:11.244133648Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.251964481Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=7.829453ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.256094202Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.257416826Z level=info msg="Migration successfully executed" id="create server_lock table" duration=1.322594ms policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2024-09-16T18:14:11.261936979Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.262897302Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=959.783µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) grafana | logger=migrator t=2024-09-16T18:14:11.268463168Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.26935916Z level=info msg="Migration successfully executed" id="create user auth token table" duration=896.052µs policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.273098761Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.274610045Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.510464ms policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2024-09-16T18:14:11.278536516Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.280351981Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.814285ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) grafana | logger=migrator t=2024-09-16T18:14:11.285023215Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.286702079Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.678034ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.289346456Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.294611492Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.264326ms policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2024-09-16T18:14:11.297825971Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.298828014Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.001333ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) grafana | logger=migrator t=2024-09-16T18:14:11.302668825Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.304166099Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.496354ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.3082524Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2024-09-16T18:14:11.309251143Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=997.993µs policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.312667683Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2024-09-16T18:14:11.313576666Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=908.463µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.319247862Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-09-16T18:14:11.320195764Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=946.672µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.324285516Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.324389397Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=109.101µs policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.328112827Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2024-09-16T18:14:11.328241287Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=129.24µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.331284495Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-09-16T18:14:11.33274912Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.518965ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.339227608Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.340229372Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.001494ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.344163253Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2024-09-16T18:14:11.345420956Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.257153ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.348856656Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) grafana | logger=migrator t=2024-09-16T18:14:11.348917627Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=61.171µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.35369591Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.354795373Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.099413ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.357947102Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-09-16T18:14:11.359451446Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.503934ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.363258337Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) grafana | logger=migrator t=2024-09-16T18:14:11.36454464Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.286223ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.369425045Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.370471017Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.045543ms policy-db-migrator | policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.373560936Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-09-16T18:14:11.379834734Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=6.272918ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.384768057Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.386144902Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.335885ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.388687249Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2024-09-16T18:14:11.388760649Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=73.85µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.392090759Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) grafana | logger=migrator t=2024-09-16T18:14:11.393116371Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=989.382µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.398150996Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.399077399Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=925.603µs policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.402068678Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-09-16T18:14:11.403361901Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.292393ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.405139586Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) grafana | logger=migrator t=2024-09-16T18:14:11.405200356Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=58.95µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.411835575Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.413111169Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.274774ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.416072837Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-09-16T18:14:11.417781342Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.719385ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.422848166Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-09-16T18:14:11.4241509Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=1.302044ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.42772611Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.428674292Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=947.102µs policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.433003465Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-09-16T18:14:11.439114123Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=6.111958ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.442268201Z 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 toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) grafana | logger=migrator t=2024-09-16T18:14:11.443589185Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.320674ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.448426429Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.449501113Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.073143ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.45225995Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-09-16T18:14:11.479058486Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=26.798516ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.484574711Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-09-16T18:14:11.510489805Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=25.914894ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.514816478Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.515497599Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=680.801µs policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.518485978Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-09-16T18:14:11.519141129Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=654.931µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.524143434Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2024-09-16T18:14:11.529739709Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.595745ms grafana | logger=migrator t=2024-09-16T18:14:11.534186373Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-09-16T18:14:11.539888749Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=5.699766ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.544803333Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.546602258Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.802555ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.552160803Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-09-16T18:14:11.553125247Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=964.204µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.556950357Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-09-16T18:14:11.55792202Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=968.203µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.566648594Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.567947849Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.297885ms policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-09-16T18:14:11.578624839Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.578689579Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=65.47µs policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-09-16T18:14:11.581375996Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.587406984Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=6.030138ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.643772334Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.651120314Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=7.34868ms policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-09-16T18:14:11.655858158Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.661910445Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.052087ms policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-09-16T18:14:11.665952947Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.667468771Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.515664ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.67397015Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.675704374Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.734284ms policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-09-16T18:14:11.679868727Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.688725532Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=8.856515ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2024-09-16T18:14:11.692228472Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.698101288Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.871517ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.703577203Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.704783467Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.204974ms policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-09-16T18:14:11.708907429Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.718158315Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=9.239446ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-09-16T18:14:11.721856546Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.728033073Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.173917ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.734813662Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.734945552Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=130.92µs policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-09-16T18:14:11.751413649Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.754293547Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=2.879198ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-09-16T18:14:11.761716889Z 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 | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.763132333Z 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.415034ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.768470078Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.769887692Z 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.416624ms policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-09-16T18:14:11.775959049Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.776023589Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=62.34µs policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-09-16T18:14:11.780321482Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.791111202Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=10.7891ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.799042665Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.809047464Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=10.008549ms policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-09-16T18:14:11.812147492Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.81828641Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.139008ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-09-16T18:14:11.824778558Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.833556913Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=8.779405ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.837963135Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.844272483Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.310588ms policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-09-16T18:14:11.848913726Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.849003167Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=89.481µs policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-09-16T18:14:11.852135215Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.853055439Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=919.634µs policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.85706625Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-09-16T18:14:11.863305157Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=6.238277ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.8673528Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-09-16T18:14:11.86740227Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=50.33µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.872637804Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.882351412Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=9.710478ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.885741061Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2024-09-16T18:14:11.886621374Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=879.753µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.891555218Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2024-09-16T18:14:11.897849286Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.292178ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.90288728Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.903672043Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=785.673µs policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.90636361Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-09-16T18:14:11.907329013Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=967.353µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.911407144Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2024-09-16T18:14:11.918724305Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=7.314191ms grafana | logger=migrator t=2024-09-16T18:14:11.925228813Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.926160686Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=932.043µs policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.928959134Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.930083397Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.123723ms policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-09-16T18:14:11.933934418Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.935166462Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.230154ms policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-09-16T18:14:11.940861638Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.943327145Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=2.523637ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.94848995Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.94855756Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=68.21µs policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-09-16T18:14:11.95225525Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.953245273Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=989.933µs policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-09-16T18:14:11.957469705Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.95924091Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.774475ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.963887723Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.964578505Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-09-16T18:14:11.968810078Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.969228159Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=417.931µs 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 grafana | logger=migrator t=2024-09-16T18:14:11.973688601Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.974671364Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=982.593µs policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.980526541Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:11.987158489Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.631248ms policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-09-16T18:14:11.992262234Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.993250777Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=988.393µs policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-09-16T18:14:11.996403506Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:11.998547112Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=2.142286ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.002726124Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.003537816Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=811.092µs policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-09-16T18:14:12.009431562Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.011156887Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.727505ms policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-09-16T18:14:12.016454622Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.017512594Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.058072ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.021177735Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.021206195Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=25.57µs policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-09-16T18:14:12.026015137Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.026138118Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=123.051µs policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.031757503Z level=info msg="Executing migration" id="add library_element folder uid" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.038895733Z level=info msg="Migration successfully executed" id="add library_element folder uid" duration=7.13923ms policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-09-16T18:14:12.075638173Z level=info msg="Executing migration" id="populate library_element folder_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.076465375Z level=info msg="Migration successfully executed" id="populate library_element folder_uid" duration=827.212µs policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-09-16T18:14:12.080625587Z level=info msg="Executing migration" id="add index library_element org_id-folder_uid-name-kind" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.08203313Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_uid-name-kind" duration=1.405663ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.084604287Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.084910318Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=305.571µs policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-09-16T18:14:12.089026929Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.090062462Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.036353ms policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-09-16T18:14:12.094036613Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.094872595Z level=info msg="Migration successfully executed" id="create secrets table" duration=835.992µs policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.098114724Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.129556309Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=31.439705ms policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-09-16T18:14:12.133823402Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.139691468Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.865756ms policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-09-16T18:14:12.143072896Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.143315727Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=243.891µs policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.147051598Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.182468244Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=35.418016ms policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-09-16T18:14:12.191122997Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.223833506Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=32.711339ms policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-09-16T18:14:12.228216769Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.229657422Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=1.440553ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.235148747Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.23628524Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.132593ms policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-09-16T18:14:12.241189604Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.241429744Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=244.03µs grafana | logger=migrator t=2024-09-16T18:14:12.245905407Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2024-09-16T18:14:12.246778489Z level=info msg="Migration successfully executed" id="create permission table" duration=872.672µs policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-09-16T18:14:12.252093154Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.25432827Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=2.234646ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.258811211Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.260007725Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.196694ms policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-09-16T18:14:12.264472357Z level=info msg="Executing migration" id="create role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.2653816Z level=info msg="Migration successfully executed" id="create role table" duration=909.053µs policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-09-16T18:14:12.269695401Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.277258392Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.561901ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.28400277Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.2913596Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.35576ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-09-16T18:14:12.294564879Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.295574382Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.008773ms policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-09-16T18:14:12.29842423Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.299458963Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.034023ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.304521067Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.30582046Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.296153ms policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-09-16T18:14:12.308870068Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.309797731Z level=info msg="Migration successfully executed" id="create team role table" duration=927.183µs policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-09-16T18:14:12.31290734Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.314012502Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.104662ms policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.317669542Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-09-16T18:14:12.318753915Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.082663ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.321728033Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL grafana | logger=migrator t=2024-09-16T18:14:12.322809986Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.081083ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.325802724Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.326608797Z level=info msg="Migration successfully executed" id="create user role table" duration=805.773µs policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.330452707Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-09-16T18:14:12.3317275Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.259633ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.334777339Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num grafana | logger=migrator t=2024-09-16T18:14:12.335871572Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.093383ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.33893804Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.339989803Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.051343ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.343852164Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-09-16T18:14:12.344647676Z level=info msg="Migration successfully executed" id="create builtin role table" duration=794.812µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.347779054Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.348821688Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.042203ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.351834706Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-09-16T18:14:12.352871648Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.036672ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.356800088Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-09-16T18:14:12.365574693Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=8.773905ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.368714442Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.369766034Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.052312ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.373409814Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-09-16T18:14:12.374702328Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.291224ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.377833556Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-09-16T18:14:12.37938395Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.550344ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.383193341Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.385703718Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=2.507397ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.389092877Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-09-16T18:14:12.390058529Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=965.282µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.393049937Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-09-16T18:14:12.394463012Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.412655ms policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-09-16T18:14:12.397221409Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-09-16T18:14:12.405432561Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.208152ms policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-09-16T18:14:12.408136219Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.413907935Z level=info msg="Migration successfully executed" id="permission kind migration" duration=5.769406ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.417691715Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.425634827Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=7.943302ms policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-09-16T18:14:12.428418964Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.436610936Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=8.170812ms policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-09-16T18:14:12.439652595Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.440773157Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.119992ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.443819776Z level=info msg="Executing migration" id="add permission action scope role_id index" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.444945369Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=1.125353ms policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-09-16T18:14:12.447835237Z level=info msg="Executing migration" id="remove permission role_id action scope index" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.44891898Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.082403ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) grafana | logger=migrator t=2024-09-16T18:14:12.457991715Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.459512519Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.520414ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.462819628Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.463971301Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.150793ms policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-09-16T18:14:12.466955869Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.467045329Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=92.7µs policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-09-16T18:14:12.469190276Z level=info msg="Executing migration" id="create query_history_details table v1" policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.470077098Z level=info msg="Migration successfully executed" id="create query_history_details table v1" duration=886.432µs policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-09-16T18:14:12.472925845Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.472991826Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=66.621µs policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-09-16T18:14:12.477037796Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.477598369Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=560.023µs policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.480538977Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.481541369Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.003092ms policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-09-16T18:14:12.484855708Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.48587969Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.024312ms policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-09-16T18:14:12.491599967Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.491836528Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=234.841µs policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.501755774Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.502547886Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=792.372µs policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-09-16T18:14:12.512258723Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.514038338Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.781885ms policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) grafana | logger=migrator t=2024-09-16T18:14:12.523728664Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.524715746Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=986.952µs policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.53340064Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.541013221Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=7.607201ms policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-09-16T18:14:12.550380487Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.550463557Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=84.14µs policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) grafana | logger=migrator t=2024-09-16T18:14:12.562404809Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.564609296Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=2.206597ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.570572792Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.572033375Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.464153ms policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-09-16T18:14:12.575799646Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.577141659Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.344773ms policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-09-16T18:14:12.579886687Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.590997877Z level=info msg="Migration successfully executed" id="add correlation config column" duration=11.10532ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.594274666Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.595285649Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.014693ms policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-09-16T18:14:12.597828725Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.598996119Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.169224ms policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-09-16T18:14:12.601870307Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.622355202Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=20.482245ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.62529591Z level=info msg="Executing migration" id="create correlation v2" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.626273404Z level=info msg="Migration successfully executed" id="create correlation v2" duration=979.054µs policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-09-16T18:14:12.629645173Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.630497645Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=852.192µs policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-09-16T18:14:12.634865177Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.63619833Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.339993ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.641152444Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.642499017Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.347643ms policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-09-16T18:14:12.645088205Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.645397805Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=310.15µs policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-09-16T18:14:12.648234533Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.649237256Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.003783ms policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.651982763Z level=info msg="Executing migration" id="add provisioning column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.660472957Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.489124ms policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-09-16T18:14:12.663249064Z level=info msg="Executing migration" id="create entity_events table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-09-16T18:14:12.663927396Z level=info msg="Migration successfully executed" id="create entity_events table" duration=678.522µs policy-db-migrator | grafana | logger=migrator t=2024-09-16T18:14:12.666672763Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2024-09-16T18:14:12.667434645Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=761.492µs grafana | logger=migrator t=2024-09-16T18:14:12.670377463Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-09-16T18:14:12.670825215Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-09-16T18:14:12.673370081Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-09-16T18:14:12.673830283Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-09-16T18:14:12.676588691Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2024-09-16T18:14:12.677368183Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=779.322µs grafana | logger=migrator t=2024-09-16T18:14:12.680712291Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2024-09-16T18:14:12.681694954Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=982.373µs grafana | logger=migrator t=2024-09-16T18:14:12.684948524Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-09-16T18:14:12.686101966Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.146312ms grafana | logger=migrator t=2024-09-16T18:14:12.688957874Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-09-16T18:14:12.690085427Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.126853ms grafana | logger=migrator t=2024-09-16T18:14:12.692887685Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-09-16T18:14:12.693926288Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.038503ms grafana | logger=migrator t=2024-09-16T18:14:12.696687006Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-09-16T18:14:12.697726668Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.037302ms grafana | logger=migrator t=2024-09-16T18:14:12.700493866Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-09-16T18:14:12.701244027Z level=info msg="Migration successfully executed" id="Drop public config table" duration=749.811µs grafana | logger=migrator t=2024-09-16T18:14:12.704991508Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2024-09-16T18:14:12.706138591Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.144873ms grafana | logger=migrator t=2024-09-16T18:14:12.710359923Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-09-16T18:14:12.711477595Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.117392ms grafana | logger=migrator t=2024-09-16T18:14:12.714736174Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-09-16T18:14:12.715951088Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.214614ms grafana | logger=migrator t=2024-09-16T18:14:12.718529185Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2024-09-16T18:14:12.719649918Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.120393ms grafana | logger=migrator t=2024-09-16T18:14:12.722270065Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2024-09-16T18:14:12.747248983Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=24.978388ms grafana | logger=migrator t=2024-09-16T18:14:12.74980808Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2024-09-16T18:14:12.758058273Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=8.250093ms grafana | logger=migrator t=2024-09-16T18:14:12.76064283Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2024-09-16T18:14:12.766815157Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=6.174207ms grafana | logger=migrator t=2024-09-16T18:14:12.769319873Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2024-09-16T18:14:12.769564994Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=244.971µs grafana | logger=migrator t=2024-09-16T18:14:12.772576722Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2024-09-16T18:14:12.781014205Z level=info msg="Migration successfully executed" id="add share column" duration=8.437023ms grafana | logger=migrator t=2024-09-16T18:14:12.783631712Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2024-09-16T18:14:12.783858123Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=225.761µs grafana | logger=migrator t=2024-09-16T18:14:12.786654021Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2024-09-16T18:14:12.787571293Z level=info msg="Migration successfully executed" id="create file table" duration=917.032µs grafana | logger=migrator t=2024-09-16T18:14:12.79028855Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-09-16T18:14:12.791501904Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.212684ms grafana | logger=migrator t=2024-09-16T18:14:12.794141461Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-09-16T18:14:12.795263314Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.121653ms grafana | logger=migrator t=2024-09-16T18:14:12.797863271Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-09-16T18:14:12.798655593Z level=info msg="Migration successfully executed" id="create file_meta table" duration=792.062µs grafana | logger=migrator t=2024-09-16T18:14:12.80131068Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-09-16T18:14:12.802470153Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.158753ms grafana | logger=migrator t=2024-09-16T18:14:12.80508504Z level=info msg="Executing migration" id="set path collation in file table" 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 1609241814170800u 1 2024-09-16 18:14:17 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:17 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:17 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:17 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:17 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:17 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:17 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:17 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:17 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:17 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:17 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:17 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:17 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:17 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:17 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:17 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:17 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:17 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:17 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:17 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:17 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:17 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:17 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:17 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:18 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:18 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:18 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:18 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:18 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:18 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:18 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:18 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:18 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:18 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:18 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:18 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:18 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:18 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:18 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:18 grafana | logger=migrator t=2024-09-16T18:14:12.8051719Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=87.01µs grafana | logger=migrator t=2024-09-16T18:14:12.807572287Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-09-16T18:14:12.807660497Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=88.16µs grafana | logger=migrator t=2024-09-16T18:14:12.809753503Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-09-16T18:14:12.810311955Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=558.182µs grafana | logger=migrator t=2024-09-16T18:14:12.813001132Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-09-16T18:14:12.813244353Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=243.301µs grafana | logger=migrator t=2024-09-16T18:14:12.81603718Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-09-16T18:14:12.817399234Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.361914ms grafana | logger=migrator t=2024-09-16T18:14:12.820040962Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-09-16T18:14:12.829090706Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=9.049594ms grafana | logger=migrator t=2024-09-16T18:14:12.831612743Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-09-16T18:14:12.831724903Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=112.06µs grafana | logger=migrator t=2024-09-16T18:14:12.833439478Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-09-16T18:14:12.834441301Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.000863ms grafana | logger=migrator t=2024-09-16T18:14:12.873092646Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-09-16T18:14:12.873888838Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=797.142µs grafana | logger=migrator t=2024-09-16T18:14:12.876280455Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-09-16T18:14:12.876485915Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=205.6µs grafana | logger=migrator t=2024-09-16T18:14:12.879257243Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-09-16T18:14:12.879734934Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=477.261µs grafana | logger=migrator t=2024-09-16T18:14:12.88182981Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-09-16T18:14:12.890796024Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=8.958874ms grafana | logger=migrator t=2024-09-16T18:14:12.893410631Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-09-16T18:14:12.902036145Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.624804ms grafana | logger=migrator t=2024-09-16T18:14:12.904637312Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-09-16T18:14:12.905425894Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=788.442µs grafana | logger=migrator t=2024-09-16T18:14:12.907807491Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-09-16T18:14:12.979736717Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=71.928406ms grafana | logger=migrator t=2024-09-16T18:14:12.982403714Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-09-16T18:14:12.983234176Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=830.332µs grafana | logger=migrator t=2024-09-16T18:14:12.985766113Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-09-16T18:14:12.986632125Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=865.662µs grafana | logger=migrator t=2024-09-16T18:14:12.989013992Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-09-16T18:14:13.012671825Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=23.657803ms grafana | logger=migrator t=2024-09-16T18:14:13.015261445Z level=info msg="Executing migration" id="add origin column to seed_assignment" grafana | logger=migrator t=2024-09-16T18:14:13.021430454Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=6.169019ms grafana | logger=migrator t=2024-09-16T18:14:13.023981864Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" grafana | logger=migrator t=2024-09-16T18:14:13.024285994Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=301.8µs grafana | logger=migrator t=2024-09-16T18:14:13.027171993Z level=info msg="Executing migration" id="prevent seeding OnCall access" grafana | logger=migrator t=2024-09-16T18:14:13.027337383Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=165.43µs grafana | logger=migrator t=2024-09-16T18:14:13.031018582Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-09-16T18:14:13.031219562Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=198.75µs grafana | logger=migrator t=2024-09-16T18:14:13.033506282Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-09-16T18:14:13.033741602Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=235.33µs policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:18 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:18 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:18 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:18 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:18 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:18 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:18 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:18 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:18 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:19 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:19 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:19 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:19 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:19 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:19 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:19 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:19 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:19 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:19 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:19 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:19 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:19 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:19 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:19 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:19 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:19 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:19 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:19 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:19 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:19 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:19 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:19 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:19 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:19 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:19 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:20 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:20 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:20 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:20 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:20 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:20 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:20 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:20 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:20 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:20 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:20 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:20 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:20 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:20 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:20 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:20 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:20 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:20 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:21 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:21 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1609241814170800u 1 2024-09-16 18:14:21 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1609241814170900u 1 2024-09-16 18:14:21 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1609241814170900u 1 2024-09-16 18:14:21 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1609241814170900u 1 2024-09-16 18:14:21 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1609241814170900u 1 2024-09-16 18:14:21 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1609241814170900u 1 2024-09-16 18:14:21 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1609241814170900u 1 2024-09-16 18:14:21 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1609241814170900u 1 2024-09-16 18:14:21 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1609241814170900u 1 2024-09-16 18:14:21 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1609241814170900u 1 2024-09-16 18:14:21 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1609241814170900u 1 2024-09-16 18:14:21 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1609241814170900u 1 2024-09-16 18:14:21 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1609241814170900u 1 2024-09-16 18:14:21 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1609241814170900u 1 2024-09-16 18:14:21 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1609241814171000u 1 2024-09-16 18:14:21 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1609241814171000u 1 2024-09-16 18:14:21 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1609241814171000u 1 2024-09-16 18:14:21 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1609241814171000u 1 2024-09-16 18:14:21 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1609241814171000u 1 2024-09-16 18:14:21 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1609241814171000u 1 2024-09-16 18:14:21 grafana | logger=migrator t=2024-09-16T18:14:13.036728921Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-09-16T18:14:13.036969291Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=240.22µs grafana | logger=migrator t=2024-09-16T18:14:13.03998412Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-09-16T18:14:13.040901531Z level=info msg="Migration successfully executed" id="create folder table" duration=916.731µs grafana | logger=migrator t=2024-09-16T18:14:13.04479423Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-09-16T18:14:13.046031019Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.235849ms policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1609241814171000u 1 2024-09-16 18:14:22 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1609241814171000u 1 2024-09-16 18:14:22 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1609241814171000u 1 2024-09-16 18:14:22 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1609241814171100u 1 2024-09-16 18:14:22 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1609241814171200u 1 2024-09-16 18:14:22 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1609241814171200u 1 2024-09-16 18:14:22 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1609241814171200u 1 2024-09-16 18:14:22 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1609241814171200u 1 2024-09-16 18:14:22 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 1609241814171300u 1 2024-09-16 18:14:22 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 1609241814171300u 1 2024-09-16 18:14:22 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 1609241814171300u 1 2024-09-16 18:14:22 policy-db-migrator | policyadmin: OK @ 1300 grafana | logger=migrator t=2024-09-16T18:14:13.048971089Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-09-16T18:14:13.050123199Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.15126ms grafana | logger=migrator t=2024-09-16T18:14:13.053988298Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-09-16T18:14:13.054013668Z level=info msg="Migration successfully executed" id="Update folder title length" duration=25.86µs grafana | logger=migrator t=2024-09-16T18:14:13.056896667Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-09-16T18:14:13.058107188Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.209701ms grafana | logger=migrator t=2024-09-16T18:14:13.061144337Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-09-16T18:14:13.062252547Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.10732ms grafana | logger=migrator t=2024-09-16T18:14:13.065933456Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-09-16T18:14:13.067073006Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.13627ms grafana | logger=migrator t=2024-09-16T18:14:13.070087365Z level=info msg="Executing migration" id="Sync dashboard and folder table" grafana | logger=migrator t=2024-09-16T18:14:13.070481725Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=393.92µs grafana | logger=migrator t=2024-09-16T18:14:13.073395374Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" grafana | logger=migrator t=2024-09-16T18:14:13.073665194Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=269.83µs grafana | logger=migrator t=2024-09-16T18:14:13.077179515Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" grafana | logger=migrator t=2024-09-16T18:14:13.078290334Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.110459ms grafana | logger=migrator t=2024-09-16T18:14:13.081305343Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" grafana | logger=migrator t=2024-09-16T18:14:13.082489403Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.18354ms grafana | logger=migrator t=2024-09-16T18:14:13.085405113Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" grafana | logger=migrator t=2024-09-16T18:14:13.086465203Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.058191ms grafana | logger=migrator t=2024-09-16T18:14:13.090225851Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" grafana | logger=migrator t=2024-09-16T18:14:13.091317222Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.090581ms grafana | logger=migrator t=2024-09-16T18:14:13.094340931Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" grafana | logger=migrator t=2024-09-16T18:14:13.095365291Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.02412ms grafana | logger=migrator t=2024-09-16T18:14:13.09842306Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-09-16T18:14:13.09937538Z level=info msg="Migration successfully executed" id="create anon_device table" duration=924.64µs grafana | logger=migrator t=2024-09-16T18:14:13.10308543Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-09-16T18:14:13.104157299Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.071409ms grafana | logger=migrator t=2024-09-16T18:14:13.107122218Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-09-16T18:14:13.108184329Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.061631ms grafana | logger=migrator t=2024-09-16T18:14:13.111840068Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-09-16T18:14:13.112693567Z level=info msg="Migration successfully executed" id="create signing_key table" duration=853.249µs grafana | logger=migrator t=2024-09-16T18:14:13.115595087Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-09-16T18:14:13.116670407Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.07487ms grafana | logger=migrator t=2024-09-16T18:14:13.119407987Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-09-16T18:14:13.120538896Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.130309ms grafana | logger=migrator t=2024-09-16T18:14:13.124331175Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-09-16T18:14:13.124605295Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=274.53µs grafana | logger=migrator t=2024-09-16T18:14:13.127518025Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-09-16T18:14:13.136496574Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=8.977409ms grafana | logger=migrator t=2024-09-16T18:14:13.139457613Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-09-16T18:14:13.139980373Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=523.09µs grafana | logger=migrator t=2024-09-16T18:14:13.143003552Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-09-16T18:14:13.143022692Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=19.34µs grafana | logger=migrator t=2024-09-16T18:14:13.146452611Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-09-16T18:14:13.147505032Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.052061ms grafana | logger=migrator t=2024-09-16T18:14:13.149890702Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-09-16T18:14:13.149907332Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=17.39µs grafana | logger=migrator t=2024-09-16T18:14:13.152691011Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" grafana | logger=migrator t=2024-09-16T18:14:13.15395896Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.262109ms grafana | logger=migrator t=2024-09-16T18:14:13.157664259Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-09-16T18:14:13.15880591Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.141281ms grafana | logger=migrator t=2024-09-16T18:14:13.161807219Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-09-16T18:14:13.162817209Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.00958ms grafana | logger=migrator t=2024-09-16T18:14:13.165668828Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-09-16T18:14:13.166413548Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=744.99µs grafana | logger=migrator t=2024-09-16T18:14:13.170128638Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-09-16T18:14:13.170394687Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=266.809µs grafana | logger=migrator t=2024-09-16T18:14:13.173308587Z level=info msg="Executing migration" id="managed dashboard permissions annotation actions migration" grafana | logger=migrator t=2024-09-16T18:14:13.173935207Z level=info msg="Migration successfully executed" id="managed dashboard permissions annotation actions migration" duration=628.53µs grafana | logger=migrator t=2024-09-16T18:14:13.177187006Z level=info msg="Executing migration" id="create cloud_migration table v1" grafana | logger=migrator t=2024-09-16T18:14:13.178749876Z level=info msg="Migration successfully executed" id="create cloud_migration table v1" duration=1.56199ms grafana | logger=migrator t=2024-09-16T18:14:13.182317425Z level=info msg="Executing migration" id="create cloud_migration_run table v1" grafana | logger=migrator t=2024-09-16T18:14:13.183817025Z level=info msg="Migration successfully executed" id="create cloud_migration_run table v1" duration=1.49918ms grafana | logger=migrator t=2024-09-16T18:14:13.188039104Z level=info msg="Executing migration" id="add stack_id column" grafana | logger=migrator t=2024-09-16T18:14:13.197210022Z level=info msg="Migration successfully executed" id="add stack_id column" duration=9.170918ms grafana | logger=migrator t=2024-09-16T18:14:13.200243621Z level=info msg="Executing migration" id="add region_slug column" grafana | logger=migrator t=2024-09-16T18:14:13.20934221Z level=info msg="Migration successfully executed" id="add region_slug column" duration=9.098189ms grafana | logger=migrator t=2024-09-16T18:14:13.21223267Z level=info msg="Executing migration" id="add cluster_slug column" grafana | logger=migrator t=2024-09-16T18:14:13.218785229Z level=info msg="Migration successfully executed" id="add cluster_slug column" duration=6.550029ms grafana | logger=migrator t=2024-09-16T18:14:13.222466508Z level=info msg="Executing migration" id="add migration uid column" grafana | logger=migrator t=2024-09-16T18:14:13.231873756Z level=info msg="Migration successfully executed" id="add migration uid column" duration=9.406658ms grafana | logger=migrator t=2024-09-16T18:14:13.234755066Z level=info msg="Executing migration" id="Update uid column values for migration" grafana | logger=migrator t=2024-09-16T18:14:13.234924566Z level=info msg="Migration successfully executed" id="Update uid column values for migration" duration=167.27µs grafana | logger=migrator t=2024-09-16T18:14:13.237299976Z level=info msg="Executing migration" id="Add unique index migration_uid" grafana | logger=migrator t=2024-09-16T18:14:13.238486705Z level=info msg="Migration successfully executed" id="Add unique index migration_uid" duration=1.188039ms grafana | logger=migrator t=2024-09-16T18:14:13.242272584Z level=info msg="Executing migration" id="add migration run uid column" grafana | logger=migrator t=2024-09-16T18:14:13.251582573Z level=info msg="Migration successfully executed" id="add migration run uid column" duration=9.309139ms grafana | logger=migrator t=2024-09-16T18:14:13.283039898Z level=info msg="Executing migration" id="Update uid column values for migration run" grafana | logger=migrator t=2024-09-16T18:14:13.283203868Z level=info msg="Migration successfully executed" id="Update uid column values for migration run" duration=164.22µs grafana | logger=migrator t=2024-09-16T18:14:13.285473907Z level=info msg="Executing migration" id="Add unique index migration_run_uid" grafana | logger=migrator t=2024-09-16T18:14:13.286617616Z level=info msg="Migration successfully executed" id="Add unique index migration_run_uid" duration=1.141469ms grafana | logger=migrator t=2024-09-16T18:14:13.290465706Z level=info msg="Executing migration" id="Rename table cloud_migration to cloud_migration_session_tmp_qwerty - v1" grafana | logger=migrator t=2024-09-16T18:14:13.312505402Z level=info msg="Migration successfully executed" id="Rename table cloud_migration to cloud_migration_session_tmp_qwerty - v1" duration=22.039856ms grafana | logger=migrator t=2024-09-16T18:14:13.315329732Z level=info msg="Executing migration" id="create cloud_migration_session v2" grafana | logger=migrator t=2024-09-16T18:14:13.316002181Z level=info msg="Migration successfully executed" id="create cloud_migration_session v2" duration=672.039µs grafana | logger=migrator t=2024-09-16T18:14:13.318800181Z level=info msg="Executing migration" id="create index UQE_cloud_migration_session_uid - v2" grafana | logger=migrator t=2024-09-16T18:14:13.31983887Z level=info msg="Migration successfully executed" id="create index UQE_cloud_migration_session_uid - v2" duration=1.038039ms grafana | logger=migrator t=2024-09-16T18:14:13.32359456Z level=info msg="Executing migration" id="copy cloud_migration_session v1 to v2" grafana | logger=migrator t=2024-09-16T18:14:13.32391928Z level=info msg="Migration successfully executed" id="copy cloud_migration_session v1 to v2" duration=325.24µs grafana | logger=migrator t=2024-09-16T18:14:13.3267919Z level=info msg="Executing migration" id="drop cloud_migration_session_tmp_qwerty" grafana | logger=migrator t=2024-09-16T18:14:13.327599859Z level=info msg="Migration successfully executed" id="drop cloud_migration_session_tmp_qwerty" duration=807.559µs grafana | logger=migrator t=2024-09-16T18:14:13.330658559Z level=info msg="Executing migration" id="Rename table cloud_migration_run to cloud_migration_snapshot_tmp_qwerty - v1" grafana | logger=migrator t=2024-09-16T18:14:13.355694054Z level=info msg="Migration successfully executed" id="Rename table cloud_migration_run to cloud_migration_snapshot_tmp_qwerty - v1" duration=25.035265ms grafana | logger=migrator t=2024-09-16T18:14:13.359517263Z level=info msg="Executing migration" id="create cloud_migration_snapshot v2" grafana | logger=migrator t=2024-09-16T18:14:13.360401014Z level=info msg="Migration successfully executed" id="create cloud_migration_snapshot v2" duration=883.381µs grafana | logger=migrator t=2024-09-16T18:14:13.363432443Z level=info msg="Executing migration" id="create index UQE_cloud_migration_snapshot_uid - v2" grafana | logger=migrator t=2024-09-16T18:14:13.364539402Z level=info msg="Migration successfully executed" id="create index UQE_cloud_migration_snapshot_uid - v2" duration=1.106559ms grafana | logger=migrator t=2024-09-16T18:14:13.367368942Z level=info msg="Executing migration" id="copy cloud_migration_snapshot v1 to v2" grafana | logger=migrator t=2024-09-16T18:14:13.367670842Z level=info msg="Migration successfully executed" id="copy cloud_migration_snapshot v1 to v2" duration=301.65µs grafana | logger=migrator t=2024-09-16T18:14:13.371453532Z level=info msg="Executing migration" id="drop cloud_migration_snapshot_tmp_qwerty" grafana | logger=migrator t=2024-09-16T18:14:13.372281571Z level=info msg="Migration successfully executed" id="drop cloud_migration_snapshot_tmp_qwerty" duration=827.789µs grafana | logger=migrator t=2024-09-16T18:14:13.375140011Z level=info msg="Executing migration" id="add snapshot upload_url column" grafana | logger=migrator t=2024-09-16T18:14:13.384564129Z level=info msg="Migration successfully executed" id="add snapshot upload_url column" duration=9.423558ms grafana | logger=migrator t=2024-09-16T18:14:13.387454438Z level=info msg="Executing migration" id="add snapshot status column" grafana | logger=migrator t=2024-09-16T18:14:13.394305508Z level=info msg="Migration successfully executed" id="add snapshot status column" duration=6.84996ms grafana | logger=migrator t=2024-09-16T18:14:13.398077656Z level=info msg="Executing migration" id="add snapshot local_directory column" grafana | logger=migrator t=2024-09-16T18:14:13.407556955Z level=info msg="Migration successfully executed" id="add snapshot local_directory column" duration=9.478588ms grafana | logger=migrator t=2024-09-16T18:14:13.410519135Z level=info msg="Executing migration" id="add snapshot gms_snapshot_uid column" grafana | logger=migrator t=2024-09-16T18:14:13.419940883Z level=info msg="Migration successfully executed" id="add snapshot gms_snapshot_uid column" duration=9.421198ms grafana | logger=migrator t=2024-09-16T18:14:13.423053702Z level=info msg="Executing migration" id="add snapshot encryption_key column" grafana | logger=migrator t=2024-09-16T18:14:13.42968506Z level=info msg="Migration successfully executed" id="add snapshot encryption_key column" duration=6.631008ms grafana | logger=migrator t=2024-09-16T18:14:13.433152221Z level=info msg="Executing migration" id="add snapshot error_string column" grafana | logger=migrator t=2024-09-16T18:14:13.442649099Z level=info msg="Migration successfully executed" id="add snapshot error_string column" duration=9.497898ms grafana | logger=migrator t=2024-09-16T18:14:13.445564078Z level=info msg="Executing migration" id="create cloud_migration_resource table v1" grafana | logger=migrator t=2024-09-16T18:14:13.446452097Z level=info msg="Migration successfully executed" id="create cloud_migration_resource table v1" duration=888.339µs grafana | logger=migrator t=2024-09-16T18:14:13.449529027Z level=info msg="Executing migration" id="delete cloud_migration_snapshot.result column" grafana | logger=migrator t=2024-09-16T18:14:13.484886391Z level=info msg="Migration successfully executed" id="delete cloud_migration_snapshot.result column" duration=35.357084ms grafana | logger=migrator t=2024-09-16T18:14:13.48866117Z level=info msg="Executing migration" id="alter kv_store.value to longtext" grafana | logger=migrator t=2024-09-16T18:14:13.48870619Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=45.51µs grafana | logger=migrator t=2024-09-16T18:14:13.491355239Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" grafana | logger=migrator t=2024-09-16T18:14:13.499602038Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=8.245989ms grafana | logger=migrator t=2024-09-16T18:14:13.502726967Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" grafana | logger=migrator t=2024-09-16T18:14:13.509734906Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=7.011999ms grafana | logger=migrator t=2024-09-16T18:14:13.512675426Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" grafana | logger=migrator t=2024-09-16T18:14:13.512900776Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=225.24µs grafana | logger=migrator t=2024-09-16T18:14:13.516422075Z level=info msg="Executing migration" id="managed folder permissions alerting silences actions migration" grafana | logger=migrator t=2024-09-16T18:14:13.516564545Z level=info msg="Migration successfully executed" id="managed folder permissions alerting silences actions migration" duration=142.31µs grafana | logger=migrator t=2024-09-16T18:14:13.519486144Z level=info msg="Executing migration" id="add record column to alert_rule table" grafana | logger=migrator t=2024-09-16T18:14:13.532335532Z level=info msg="Migration successfully executed" id="add record column to alert_rule table" duration=12.850388ms grafana | logger=migrator t=2024-09-16T18:14:13.535127312Z level=info msg="Executing migration" id="add record column to alert_rule_version table" grafana | logger=migrator t=2024-09-16T18:14:13.543233331Z level=info msg="Migration successfully executed" id="add record column to alert_rule_version table" duration=8.102779ms grafana | logger=migrator t=2024-09-16T18:14:13.54697332Z level=info msg="Executing migration" id="add resolved_at column to alert_instance table" grafana | logger=migrator t=2024-09-16T18:14:13.555708698Z level=info msg="Migration successfully executed" id="add resolved_at column to alert_instance table" duration=8.735698ms grafana | logger=migrator t=2024-09-16T18:14:13.558622347Z level=info msg="Executing migration" id="add last_sent_at column to alert_instance table" grafana | logger=migrator t=2024-09-16T18:14:13.568148046Z level=info msg="Migration successfully executed" id="add last_sent_at column to alert_instance table" duration=9.524689ms grafana | logger=migrator t=2024-09-16T18:14:13.571076616Z level=info msg="Executing migration" id="Enable traceQL streaming for all Tempo datasources" grafana | logger=migrator t=2024-09-16T18:14:13.571093476Z level=info msg="Migration successfully executed" id="Enable traceQL streaming for all Tempo datasources" duration=16.91µs grafana | logger=migrator t=2024-09-16T18:14:13.574706415Z level=info msg="migrations completed" performed=594 skipped=0 duration=4.09891455s grafana | logger=migrator t=2024-09-16T18:14:13.575134894Z level=info msg="Unlocking database" grafana | logger=sqlstore t=2024-09-16T18:14:13.589722443Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-09-16T18:14:13.589916302Z level=info msg="Created default organization" grafana | logger=secrets t=2024-09-16T18:14:13.592841992Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.angulardetectorsprovider.dynamic t=2024-09-16T18:14:13.642785452Z level=info msg="Restored cache from database" duration=427.11µs grafana | logger=plugin.store t=2024-09-16T18:14:13.644190502Z level=info msg="Loading plugins..." grafana | logger=plugins.registration t=2024-09-16T18:14:13.681025296Z level=error msg="Could not register plugin" pluginId=xychart error="plugin xychart is already registered" grafana | logger=plugins.initialization t=2024-09-16T18:14:13.681049436Z level=error msg="Could not initialize plugin" pluginId=xychart error="plugin xychart is already registered" grafana | logger=local.finder t=2024-09-16T18:14:13.681169106Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-09-16T18:14:13.681184416Z level=info msg="Plugins loaded" count=54 duration=36.996004ms grafana | logger=query_data t=2024-09-16T18:14:13.686647425Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-09-16T18:14:13.690127134Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.notifier.alertmanager org=1 t=2024-09-16T18:14:13.694287884Z level=info msg="Applying new configuration to Alertmanager" configHash=d2c56faca6af2a5772ff4253222f7386 grafana | logger=ngalert.state.manager t=2024-09-16T18:14:13.726904388Z level=info msg="Running in alternative execution of Error/NoData mode" grafana | logger=infra.usagestats.collector t=2024-09-16T18:14:13.730854227Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-09-16T18:14:13.734204906Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-09-16T18:14:13.750034684Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-09-16T18:14:13.750053204Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2024-09-16T18:14:13.750907943Z level=info msg="Storage starting" grafana | logger=http.server t=2024-09-16T18:14:13.754798942Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=ngalert.state.manager t=2024-09-16T18:14:13.754866662Z level=info msg="Warming state cache for startup" grafana | logger=ngalert.multiorg.alertmanager t=2024-09-16T18:14:13.77036769Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=ngalert.state.manager t=2024-09-16T18:14:13.806580424Z level=info msg="State cache has been initialized" states=0 duration=51.708292ms grafana | logger=ngalert.scheduler t=2024-09-16T18:14:13.806872643Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 grafana | logger=ticker t=2024-09-16T18:14:13.807520443Z level=info msg=starting first_tick=2024-09-16T18:14:20Z grafana | logger=provisioning.dashboard t=2024-09-16T18:14:13.840927097Z level=info msg="starting to provision dashboards" grafana | logger=plugins.update.checker t=2024-09-16T18:14:13.853596065Z level=info msg="Update check succeeded" duration=103.335811ms grafana | logger=grafana.update.checker t=2024-09-16T18:14:13.859629894Z level=info msg="Update check succeeded" duration=109.43074ms grafana | logger=sqlstore.transactions t=2024-09-16T18:14:13.885962749Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2024-09-16T18:14:13.896573477Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" grafana | logger=sqlstore.transactions t=2024-09-16T18:14:13.896671807Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2024-09-16T18:14:13.907267136Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=2 code="database is locked" grafana | logger=plugin.angulardetectorsprovider.dynamic t=2024-09-16T18:14:13.929497931Z level=info msg="Patterns update finished" duration=177.533388ms grafana | logger=provisioning.dashboard t=2024-09-16T18:14:14.067911614Z level=info msg="finished to provision dashboards" grafana | logger=grafana-apiserver t=2024-09-16T18:14:14.120650235Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=grafana-apiserver t=2024-09-16T18:14:14.121037956Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" grafana | logger=infra.usagestats t=2024-09-16T18:15:05.760991381Z level=info msg="Usage stats are ready to report" ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing mariadb ... Removing prometheus ... Removing grafana ... done Removing policy-api ... done Removing policy-db-migrator ... done Removing mariadb ... done Removing prometheus ... 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.sk8AJBzHVC ]] + rsync -av /tmp/tmp.sk8AJBzHVC/ /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,823 bytes received 95 bytes 2,691,836.00 bytes/sec total size is 1,345,170 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 2101 killed; [ssh-agent] Stopped. Robot results publisher started... INFO: Checking test criticality is deprecated and will be dropped in a future release! -Parsing output xml: Done! -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/jenkins6625636183455851148.sh ---> sysstat.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins16376565663020138615.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/jenkins460657714223878786.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-LygA from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-LygA/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins12444956157764050672.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config6175936643354466307tmp 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/jenkins18239653058523224698.sh ---> create-netrc.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins15779928764199453922.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-LygA from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-LygA/bin to PATH [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins11045225444471062977.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins13036901120683847163.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-LygA from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 lf-activate-venv(): INFO: Adding /tmp/venv-LygA/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/jenkins14133494132465247722.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-LygA from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-LygA/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/310 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-39091 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 860 27245 0 4061 30850 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:4e:77:10 brd ff:ff:ff:ff:ff:ff inet 10.30.107.74/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86082sec preferred_lft 86082sec inet6 fe80::f816:3eff:fe4e:7710/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:95:7d:9d:8f 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-39091) 09/16/24 _x86_64_ (8 CPU) 18:11:26 LINUX RESTART (8 CPU) 18:12:02 tps rtps wtps bread/s bwrtn/s 18:13:01 344.06 49.26 294.80 2815.79 27930.45 18:14:01 174.35 10.20 164.16 1704.25 56905.72 18:15:01 326.86 13.25 313.61 809.10 59199.75 18:16:01 35.74 0.00 35.74 0.00 19945.59 Average: 219.74 18.05 201.69 1326.08 41050.03 18:12:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:13:01 30023232 31711172 2915988 8.85 75456 1917120 1334968 3.93 860572 1749260 218980 18:14:01 27960632 31650424 4978588 15.11 113880 3806324 1418244 4.17 1011808 3543392 1029784 18:15:01 26790184 30524108 6149036 18.67 128576 3826944 4323932 12.72 2219256 3470560 84 18:16:01 26954192 30711176 5985028 18.17 128956 3853624 2759052 8.12 2057200 3482668 232 Average: 27932060 31149220 5007160 15.20 111717 3351003 2459049 7.24 1537209 3061470 312270 18:12:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:13:01 ens3 66.38 49.50 1017.81 20.87 0.00 0.00 0.00 0.00 18:13:01 lo 1.36 1.36 0.15 0.15 0.00 0.00 0.00 0.00 18:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:14:01 ens3 341.21 213.31 10272.85 18.23 0.00 0.00 0.00 0.00 18:14:01 lo 9.27 9.27 0.85 0.85 0.00 0.00 0.00 0.00 18:14:01 br-7dac83c36c90 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:15:01 veth82cfe97 0.65 0.87 0.07 0.39 0.00 0.00 0.00 0.00 18:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:15:01 veth2a598ee 124.81 105.40 41.06 113.92 0.00 0.00 0.00 0.01 18:15:01 veth05cd573 0.17 0.47 0.02 0.46 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 veth2a598ee 1.37 1.28 0.84 0.09 0.00 0.00 0.00 0.00 18:16:01 ens3 780.97 531.11 12113.65 110.95 0.00 0.00 0.00 0.00 18:16:01 lo 32.71 32.71 10.52 10.52 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: veth2a598ee 31.68 26.78 10.52 28.62 0.00 0.00 0.00 0.00 Average: ens3 109.17 71.54 2834.33 12.40 0.00 0.00 0.00 0.00 Average: lo 7.22 7.22 2.56 2.56 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-39091) 09/16/24 _x86_64_ (8 CPU) 18:11:26 LINUX RESTART (8 CPU) 18:12:02 CPU %user %nice %system %iowait %steal %idle 18:13:01 all 9.79 0.00 0.96 2.84 0.03 86.38 18:13:01 0 8.90 0.00 0.88 0.17 0.03 90.02 18:13:01 1 7.41 0.00 0.61 0.15 0.03 91.79 18:13:01 2 1.85 0.00 0.49 2.46 0.02 95.18 18:13:01 3 9.10 0.00 0.70 1.94 0.03 88.23 18:13:01 4 21.66 0.00 1.77 2.77 0.05 73.75 18:13:01 5 5.77 0.00 1.26 2.90 0.03 90.03 18:13:01 6 23.04 0.00 1.65 5.16 0.05 70.11 18:13:01 7 0.59 0.00 0.34 7.11 0.03 91.93 18:14:01 all 11.57 0.00 2.93 3.25 0.05 82.19 18:14:01 0 14.05 0.00 3.63 0.50 0.05 81.77 18:14:01 1 8.80 0.00 2.89 0.03 0.07 88.20 18:14:01 2 6.46 0.00 2.77 0.29 0.03 90.45 18:14:01 3 4.89 0.00 1.87 5.63 0.05 87.56 18:14:01 4 6.32 0.00 2.59 4.09 0.05 86.95 18:14:01 5 27.09 0.00 3.73 3.20 0.07 65.91 18:14:01 6 8.17 0.00 2.83 4.71 0.05 84.24 18:14:01 7 16.85 0.00 3.10 7.57 0.05 72.42 18:15:01 all 15.34 0.00 2.19 3.28 0.06 79.12 18:15:01 0 20.01 0.00 2.55 0.57 0.05 76.81 18:15:01 1 13.26 0.00 2.30 1.09 0.07 83.29 18:15:01 2 12.95 0.00 2.06 3.00 0.05 81.94 18:15:01 3 14.04 0.00 1.80 1.41 0.08 82.67 18:15:01 4 13.55 0.00 1.85 1.87 0.07 82.66 18:15:01 5 11.54 0.00 1.77 2.74 0.03 83.91 18:15:01 6 19.32 0.00 2.69 1.17 0.07 76.75 18:15:01 7 18.05 0.00 2.50 14.43 0.07 64.95 18:16:01 all 0.78 0.00 0.26 1.50 0.03 97.43 18:16:01 0 0.63 0.00 0.23 0.22 0.02 98.90 18:16:01 1 0.38 0.00 0.22 0.12 0.02 99.27 18:16:01 2 0.50 0.00 0.22 0.30 0.02 98.97 18:16:01 3 0.68 0.00 0.37 0.15 0.08 98.71 18:16:01 4 1.44 0.00 0.28 0.25 0.07 97.96 18:16:01 5 0.52 0.00 0.18 10.75 0.02 88.53 18:16:01 6 0.63 0.00 0.25 0.00 0.02 99.10 18:16:01 7 1.47 0.00 0.32 0.20 0.02 98.00 Average: all 9.36 0.00 1.58 2.71 0.04 86.30 Average: 0 10.89 0.00 1.82 0.37 0.04 86.89 Average: 1 7.45 0.00 1.50 0.35 0.05 90.65 Average: 2 5.44 0.00 1.39 1.51 0.03 91.63 Average: 3 7.17 0.00 1.18 2.28 0.06 89.31 Average: 4 10.70 0.00 1.62 2.24 0.06 85.38 Average: 5 11.21 0.00 1.73 4.91 0.04 82.10 Average: 6 12.75 0.00 1.85 2.75 0.05 82.60 Average: 7 9.25 0.00 1.56 7.32 0.04 81.83