Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-76747 (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-4u8g0nsYt8WE/agent.2092 SSH_AGENT_PID=2094 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_11237286922418841329.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_11237286922418841329.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/jenkins8652848621974262677.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-5N7A 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-5N7A/bin to PATH Generating Requirements File Python 3.10.6 pip 24.2 from /tmp/venv-5N7A/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.5.1 aspy.yaml==1.3.0 attrs==24.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.35.39 botocore==1.35.39 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.4.0 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.9 dnspython==2.7.0 docker==4.2.2 dogpile.cache==1.3.3 durationpy==0.9 email_validator==2.2.0 filelock==3.16.1 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.35.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==2024.10.1 keystoneauth1==5.8.0 kubernetes==31.0.0 lftools==0.37.10 lxml==5.3.0 MarkupSafe==3.0.1 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.6 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.3 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.3 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.2 urllib3==1.26.20 virtualenv==20.26.6 wcwidth==0.2.13 websocket-client==1.8.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.14.1 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/jenkins17367788833791341917.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/jenkins4367816089338102716.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.uov31QOg11 ++ echo ROBOT_VENV=/tmp/tmp.uov31QOg11 +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.uov31QOg11 ++ source /tmp/tmp.uov31QOg11/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.uov31QOg11 +++ 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.uov31QOg11/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.uov31QOg11) ' '!=' x ']' +++ PS1='(tmp.uov31QOg11) ' +++ 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.3 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.uov31QOg11/src/onap ++ rm -rf /tmp/tmp.uov31QOg11/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.3 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.uov31QOg11/bin/activate + '[' -z /tmp/tmp.uov31QOg11/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.uov31QOg11/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.uov31QOg11 ++ 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.uov31QOg11/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.uov31QOg11) ' ++ '[' 'x(tmp.uov31QOg11) ' '!=' x ']' ++ PS1='(tmp.uov31QOg11) (tmp.uov31QOg11) ' ++ 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.CSq95BMHRP + cd /tmp/tmp.CSq95BMHRP + 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 mariadb ... Creating prometheus ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-montreal-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds policy-db-migrator Up 11 seconds grafana Up 13 seconds prometheus Up 14 seconds mariadb Up 12 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds prometheus Up 19 seconds mariadb Up 17 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds prometheus Up 24 seconds mariadb Up 22 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds prometheus Up 29 seconds mariadb Up 27 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + tee /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 18:16:36 up 3 min, 0 users, load average: 2.22, 0.86, 0.33 Tasks: 179 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.7 us, 2.2 sy, 0.0 ni, 83.3 id, 3.7 wa, 0.0 hi, 0.1 si, 0.1 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.4G 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 25 seconds grafana Up 28 seconds prometheus Up 29 seconds mariadb Up 27 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 831e0f3d2bee policy-api 0.38% 435.6MiB / 31.41GiB 1.35% 999kB / 710kB 0B / 0B 56 60adc9ac5d99 grafana 0.06% 58.18MiB / 31.41GiB 0.18% 23.6kB / 4.15kB 0B / 26.5MB 16 a933a871d308 prometheus 0.00% 19MiB / 31.41GiB 0.06% 1.31kB / 0B 102kB / 0B 13 9ebbf91b9339 mariadb 0.02% 100.1MiB / 31.41GiB 0.31% 986kB / 1.18MB 11MB / 67.9MB 30 + echo + cd /tmp/tmp.CSq95BMHRP + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + sed 's|^|/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/|' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + 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.CSq95BMHRP/output.xml Log: /tmp/tmp.CSq95BMHRP/log.html Report: /tmp/tmp.CSq95BMHRP/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-montreal-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute prometheus Up About a minute mariadb Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 18:17:47 up 4 min, 0 users, load average: 1.02, 0.84, 0.36 Tasks: 177 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.9 us, 1.7 sy, 0.0 ni, 86.4 id, 2.9 wa, 0.0 hi, 0.1 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.6G 25G 1.0M 4.0G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute prometheus Up About a minute mariadb Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 831e0f3d2bee policy-api 0.11% 638.5MiB / 31.41GiB 1.98% 7.01MB / 2.58MB 0B / 0B 55 60adc9ac5d99 grafana 0.04% 58.88MiB / 31.41GiB 0.18% 24.8kB / 5.69kB 0B / 26.5MB 16 a933a871d308 prometheus 0.00% 24.53MiB / 31.41GiB 0.08% 88.8kB / 7.36kB 102kB / 0B 13 9ebbf91b9339 mariadb 0.02% 100.9MiB / 31.41GiB 0.31% 2.39MB / 7.04MB 11MB / 68.2MB 18 + echo + source_safely /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose ++ cd /w/workspace/policy-api-montreal-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, policy-db-migrator, grafana, prometheus, mariadb grafana | logger=settings t=2024-10-14T18:16:07.848018834Z level=info msg="Starting Grafana" version=11.2.0 commit=2a88694fd3ced0335bf3726cc5d0adc2d1858855 branch=v11.2.x compiled=2024-10-14T18:16:07Z grafana | logger=settings t=2024-10-14T18:16:07.848401868Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-10-14T18:16:07.848418919Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-10-14T18:16:07.848423209Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-10-14T18:16:07.848426349Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-10-14T18:16:07.848429709Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-10-14T18:16:07.848433009Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-10-14T18:16:07.848436319Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-10-14T18:16:07.848439959Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-10-14T18:16:07.848469199Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-10-14T18:16:07.848483219Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-10-14T18:16:07.848487119Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-10-14T18:16:07.848490299Z level=info msg=Target target=[all] grafana | logger=settings t=2024-10-14T18:16:07.848502299Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-10-14T18:16:07.84850758Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-10-14T18:16:07.84851616Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-10-14T18:16:07.84852127Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-10-14T18:16:07.84854856Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-10-14T18:16:07.84856263Z level=info msg="App mode production" grafana | logger=featuremgmt t=2024-10-14T18:16:07.852617224Z level=info msg=FeatureToggles cloudWatchCrossAccountQuerying=true alertingSimplifiedRouting=true lokiMetricDataplane=true dashgpt=true transformationsRedesign=true kubernetesPlaylists=true logsContextDatasourceUi=true managedPluginsInstall=true transformationsVariableSupport=true prometheusMetricEncyclopedia=true lokiQueryHints=true tlsMemcached=true prometheusConfigOverhaulAuth=true groupToNestedTableTransformation=true logRowsPopoverMenu=true autoMigrateXYChartPanel=true recoveryThreshold=true publicDashboards=true dataplaneFrontendFallback=true exploreMetrics=true logsExploreTableVisualisation=true lokiQuerySplitting=true alertingNoDataErrorExecution=true panelMonitoring=true prometheusDataplane=true angularDeprecationUI=true topnav=true awsAsyncQueryCaching=true ssoSettingsApi=true lokiStructuredMetadata=true influxdbBackendMigration=true logsInfiniteScrolling=true alertingInsights=true correlations=true cloudWatchNewLabelParsing=true addFieldFromCalculationStatFunctions=true formatString=true annotationPermissionUpdate=true nestedFolders=true cloudWatchRoundUpEndTime=true prometheusAzureOverrideAudience=true recordedQueriesMulti=true grafana | logger=sqlstore t=2024-10-14T18:16:07.852820976Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-10-14T18:16:07.852870437Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-10-14T18:16:07.855974481Z level=info msg="Locking database" grafana | logger=migrator t=2024-10-14T18:16:07.855990831Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-10-14T18:16:07.856963541Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-10-14T18:16:07.858358187Z level=info msg="Migration successfully executed" id="create migration_log table" duration=1.394576ms grafana | logger=migrator t=2024-10-14T18:16:07.86508524Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-10-14T18:16:07.8668749Z level=info msg="Migration successfully executed" id="create user table" duration=1.791569ms grafana | logger=migrator t=2024-10-14T18:16:07.873560352Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-10-14T18:16:07.874893197Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.333535ms grafana | logger=migrator t=2024-10-14T18:16:07.880210085Z level=info msg="Executing migration" id="add unique index user.email" 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-10-14T18:16:24.314+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 22 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-10-14T18:16:24.316+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-10-14T18:16:25.988+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-10-14T18:16:26.094+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 97 ms. Found 6 JPA repository interfaces. policy-api | [2024-10-14T18:16:26.518+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-10-14T18:16:26.518+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-10-14T18:16:27.205+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-10-14T18:16:27.214+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-10-14T18:16:27.216+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-10-14T18:16:27.216+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] policy-api | [2024-10-14T18:16:27.298+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-10-14T18:16:27.298+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2919 ms policy-api | [2024-10-14T18:16:27.686+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-10-14T18:16:27.748+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-api | [2024-10-14T18:16:27.751+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-api | [2024-10-14T18:16:27.797+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2024-10-14T18:16:28.129+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-api | [2024-10-14T18:16:28.150+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-10-14T18:16:28.246+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@63b3ee82 policy-api | [2024-10-14T18:16:28.248+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-10-14T18:16:28.280+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-10-14T18:16:28.282+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead policy-api | [2024-10-14T18:16:30.127+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-api | [2024-10-14T18:16:30.131+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-10-14T18:16:31.465+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-10-14T18:16:32.549+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-10-14T18:16:33.778+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-10-14T18:16:34.002+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@14a7e16e, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@59171a5d, org.springframework.security.web.context.SecurityContextHolderFilter@700f356b, org.springframework.security.web.header.HeaderWriterFilter@fb74661, org.springframework.security.web.authentication.logout.LogoutFilter@6a4859fc, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@33e7ece5, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@712ce4f1, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@3770dd80, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@6f286e1d, org.springframework.security.web.access.ExceptionTranslationFilter@22ccd80f, org.springframework.security.web.access.intercept.AuthorizationFilter@78b9d614] policy-api | [2024-10-14T18:16:34.869+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-10-14T18:16:34.924+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-10-14T18:16:34.959+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-10-14T18:16:34.978+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.387 seconds (process running for 11.967) policy-api | [2024-10-14T18:16:39.521+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-3] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-10-14T18:16:39.521+00:00|INFO|DispatcherServlet|http-nio-6969-exec-3] Initializing Servlet 'dispatcherServlet' policy-api | [2024-10-14T18:16:39.522+00:00|INFO|DispatcherServlet|http-nio-6969-exec-3] Completed initialization in 1 ms policy-api | [2024-10-14T18:16:42.025+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-10-14T18:16:42.143+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes grafana | logger=migrator t=2024-10-14T18:16:07.881433338Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.222753ms grafana | logger=migrator t=2024-10-14T18:16:07.889056531Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-10-14T18:16:07.890606288Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.554597ms grafana | logger=migrator t=2024-10-14T18:16:07.896231569Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-10-14T18:16:07.897411312Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.179203ms grafana | logger=migrator t=2024-10-14T18:16:07.901158343Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-10-14T18:16:07.90363865Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.480137ms grafana | logger=migrator t=2024-10-14T18:16:07.908125009Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-10-14T18:16:07.909055179Z level=info msg="Migration successfully executed" id="create user table v2" duration=929.32µs grafana | logger=migrator t=2024-10-14T18:16:07.912420266Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-10-14T18:16:07.913226505Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=805.789µs grafana | logger=migrator t=2024-10-14T18:16:07.916194667Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-10-14T18:16:07.917150958Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=955.42µs grafana | logger=migrator t=2024-10-14T18:16:07.92198709Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-10-14T18:16:07.922440035Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=452.645µs grafana | logger=migrator t=2024-10-14T18:16:07.926058124Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-10-14T18:16:07.927153416Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=1.093762ms grafana | logger=migrator t=2024-10-14T18:16:07.932378493Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-10-14T18:16:07.933865949Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.486576ms grafana | logger=migrator t=2024-10-14T18:16:07.93753515Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-10-14T18:16:07.937621471Z level=info msg="Migration successfully executed" id="Update user table charset" duration=85.611µs grafana | logger=migrator t=2024-10-14T18:16:07.942813737Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-10-14T18:16:07.943919209Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.099722ms grafana | logger=migrator t=2024-10-14T18:16:07.947208585Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-10-14T18:16:07.947513598Z level=info msg="Migration successfully executed" id="Add missing user data" duration=303.723µs grafana | logger=migrator t=2024-10-14T18:16:07.950924475Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-10-14T18:16:07.951964857Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.040212ms grafana | logger=migrator t=2024-10-14T18:16:07.955648587Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-10-14T18:16:07.956384255Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=734.928µs grafana | logger=migrator t=2024-10-14T18:16:07.961171037Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-10-14T18:16:07.962081057Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=909.96µs grafana | logger=migrator t=2024-10-14T18:16:07.96516046Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-10-14T18:16:07.970996744Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=5.835654ms grafana | logger=migrator t=2024-10-14T18:16:07.974688294Z level=info msg="Executing migration" id="Add uid column to user" grafana | logger=migrator t=2024-10-14T18:16:07.976891668Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=2.207764ms grafana | logger=migrator t=2024-10-14T18:16:07.980819411Z level=info msg="Executing migration" id="Update uid column values for users" grafana | logger=migrator t=2024-10-14T18:16:07.981233946Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=413.625µs grafana | logger=migrator t=2024-10-14T18:16:07.985406291Z level=info msg="Executing migration" id="Add unique index user_uid" grafana | logger=migrator t=2024-10-14T18:16:07.986300251Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=897.02µs grafana | logger=migrator t=2024-10-14T18:16:07.990521787Z 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-10-14T18:16:07.991065813Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=543.136µs grafana | logger=migrator t=2024-10-14T18:16:07.996783465Z level=info msg="Executing migration" id="update login and email fields to lowercase" grafana | logger=migrator t=2024-10-14T18:16:07.998038729Z level=info msg="Migration successfully executed" id="update login and email fields to lowercase" duration=1.456766ms grafana | logger=migrator t=2024-10-14T18:16:08.002115153Z level=info msg="Executing migration" id="update login and email fields to lowercase2" grafana | logger=migrator t=2024-10-14T18:16:08.002540588Z level=info msg="Migration successfully executed" id="update login and email fields to lowercase2" duration=425.295µs grafana | logger=migrator t=2024-10-14T18:16:08.006596173Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-10-14T18:16:08.008047541Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.450788ms grafana | logger=migrator t=2024-10-14T18:16:08.013088668Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-10-14T18:16:08.014314562Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.225574ms grafana | logger=migrator t=2024-10-14T18:16:08.021549365Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-10-14T18:16:08.022406385Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=856.11µs grafana | logger=migrator t=2024-10-14T18:16:08.026244589Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-10-14T18:16:08.027341982Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.096153ms grafana | logger=migrator t=2024-10-14T18:16:08.032619982Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-10-14T18:16:08.033377261Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=759.209µs grafana | logger=migrator t=2024-10-14T18:16:08.037450057Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-10-14T18:16:08.037482188Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=32.921µs grafana | logger=migrator t=2024-10-14T18:16:08.040856346Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-10-14T18:16:08.041564374Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=707.148µs grafana | logger=migrator t=2024-10-14T18:16:08.045730832Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-10-14T18:16:08.046843965Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.113183ms grafana | logger=migrator t=2024-10-14T18:16:08.052075795Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-10-14T18:16:08.053279178Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.197463ms grafana | logger=migrator t=2024-10-14T18:16:08.057368515Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-10-14T18:16:08.058537619Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.169844ms grafana | logger=migrator t=2024-10-14T18:16:08.063312823Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-10-14T18:16:08.066768673Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.45488ms grafana | logger=migrator t=2024-10-14T18:16:08.070464015Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-10-14T18:16:08.071460067Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=995.401µs grafana | logger=migrator t=2024-10-14T18:16:08.075440832Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-10-14T18:16:08.076320562Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=880.68µs grafana | logger=migrator t=2024-10-14T18:16:08.080122576Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-10-14T18:16:08.081052507Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=929.621µs grafana | logger=migrator t=2024-10-14T18:16:08.087335869Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-10-14T18:16:08.088626123Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.289834ms grafana | logger=migrator t=2024-10-14T18:16:08.094894986Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-10-14T18:16:08.095764366Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=869.73µs grafana | logger=migrator t=2024-10-14T18:16:08.101026736Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-10-14T18:16:08.101531712Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=504.416µs grafana | logger=migrator t=2024-10-14T18:16:08.106404808Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-10-14T18:16:08.107091796Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=684.298µs grafana | logger=migrator t=2024-10-14T18:16:08.177457534Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-10-14T18:16:08.178448305Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=995.611µs grafana | logger=migrator t=2024-10-14T18:16:08.182620133Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-10-14T18:16:08.183744916Z level=info msg="Migration successfully executed" id="create star table" duration=1.124143ms grafana | logger=migrator t=2024-10-14T18:16:08.188992866Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-10-14T18:16:08.189882337Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=888.961µs grafana | logger=migrator t=2024-10-14T18:16:08.195081026Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-10-14T18:16:08.196027787Z level=info msg="Migration successfully executed" id="create org table v1" duration=945.861µs grafana | logger=migrator t=2024-10-14T18:16:08.199422756Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-10-14T18:16:08.200286906Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=863.53µs grafana | logger=migrator t=2024-10-14T18:16:08.204322333Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-10-14T18:16:08.205335064Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.011881ms grafana | logger=migrator t=2024-10-14T18:16:08.210253061Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-10-14T18:16:08.211127041Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=873.79µs grafana | logger=migrator t=2024-10-14T18:16:08.216107788Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-10-14T18:16:08.217424583Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.315335ms grafana | logger=migrator t=2024-10-14T18:16:08.224869708Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-10-14T18:16:08.226202934Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.332746ms grafana | logger=migrator t=2024-10-14T18:16:08.232151082Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-10-14T18:16:08.232204823Z level=info msg="Migration successfully executed" id="Update org table charset" duration=56.351µs grafana | logger=migrator t=2024-10-14T18:16:08.238165371Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-10-14T18:16:08.238205412Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=41.781µs grafana | logger=migrator t=2024-10-14T18:16:08.242365969Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-10-14T18:16:08.242865595Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=501.306µs grafana | logger=migrator t=2024-10-14T18:16:08.246881271Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-10-14T18:16:08.248272587Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.390496ms grafana | logger=migrator t=2024-10-14T18:16:08.25201295Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-10-14T18:16:08.25371542Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.70195ms grafana | logger=migrator t=2024-10-14T18:16:08.258849969Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-10-14T18:16:08.259995752Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.145073ms grafana | logger=migrator t=2024-10-14T18:16:08.26414124Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-10-14T18:16:08.264951089Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=809.409µs grafana | logger=migrator t=2024-10-14T18:16:08.26853569Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-10-14T18:16:08.269883625Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.347355ms grafana | logger=migrator t=2024-10-14T18:16:08.275118766Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-10-14T18:16:08.276027946Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=909.42µs grafana | logger=migrator t=2024-10-14T18:16:08.28076864Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-10-14T18:16:08.287952693Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=7.184453ms grafana | logger=migrator t=2024-10-14T18:16:08.291556034Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-10-14T18:16:08.292491465Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=935.711µs 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 | 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-api | [2024-10-14T18:16:42.403+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2024-10-14T18:16:43.497+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2024-10-14T18:16:45.443+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-10-14T18:16:45.754+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-10-14T18:16:45.970+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 mariadb | 2024-10-14 18:16:09+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-10-14 18:16:09+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-10-14 18:16:09+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-10-14 18:16:09+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-10-14 18:16:09 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-10-14 18:16:09 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-10-14 18:16:09 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-10-14 18:16:10+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-10-14 18:16:10+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-10-14 18:16:10+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-10-14 18:16:11 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 100 ... prometheus | ts=2024-10-14T18:16:06.954Z 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-10-14T18:16:06.954Z caller=main.go:645 level=info msg="Starting Prometheus Server" mode=server version="(version=2.54.1, branch=HEAD, revision=e6cfa720fbe6280153fab13090a483dbd40bece3)" prometheus | ts=2024-10-14T18:16:06.954Z 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-10-14T18:16:06.954Z 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-10-14T18:16:06.954Z caller=main.go:652 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-10-14T18:16:06.954Z caller=main.go:653 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-10-14T18:16:06.961Z caller=web.go:571 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-10-14T18:16:06.963Z caller=main.go:1160 level=info msg="Starting TSDB ..." prometheus | ts=2024-10-14T18:16:06.965Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-10-14T18:16:06.965Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-10-14T18:16:06.968Z caller=head.go:626 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-10-14T18:16:06.968Z caller=head.go:713 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.02µs prometheus | ts=2024-10-14T18:16:06.968Z caller=head.go:721 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-10-14T18:16:06.970Z caller=head.go:793 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-10-14T18:16:06.971Z caller=head.go:830 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=27.13µs wal_replay_duration=2.935619ms wbl_replay_duration=60ns chunk_snapshot_load_duration=0s mmap_chunk_replay_duration=2.02µs total_replay_duration=2.9934ms prometheus | ts=2024-10-14T18:16:06.974Z caller=main.go:1181 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-10-14T18:16:06.974Z caller=main.go:1184 level=info msg="TSDB started" prometheus | ts=2024-10-14T18:16:06.974Z caller=main.go:1367 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-10-14T18:16:06.976Z caller=main.go:1404 level=info msg="updated GOGC" old=100 new=75 prometheus | ts=2024-10-14T18:16:06.976Z caller=main.go:1415 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.950132ms db_storage=1.53µs remote_storage=3.02µs web_handler=770ns query_engine=6.39µs scrape=493.368µs scrape_sd=201.574µs notify=221.434µs notify_sd=81.671µs rules=2.61µs tracing=44.161µs prometheus | ts=2024-10-14T18:16:06.976Z caller=main.go:1145 level=info msg="Server is ready to receive web requests." prometheus | ts=2024-10-14T18:16:06.977Z caller=manager.go:164 level=info component="rule manager" msg="Starting rule manager..." policy-api | [2024-10-14T18:16:46.222+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-10-14T18:16:46.475+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-10-14T18:16:46.712+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2024-10-14T18:16:08.297307181Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-10-14T18:16:08.298664856Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.360445ms grafana | logger=migrator t=2024-10-14T18:16:08.30250738Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-10-14T18:16:08.303513942Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.006752ms grafana | logger=migrator t=2024-10-14T18:16:08.306668088Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-10-14T18:16:08.307152084Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=483.706µs grafana | logger=migrator t=2024-10-14T18:16:08.310104768Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-10-14T18:16:08.311106359Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.001342ms grafana | logger=migrator t=2024-10-14T18:16:08.315151995Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-10-14T18:16:08.315283577Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=130.992µs grafana | logger=migrator t=2024-10-14T18:16:08.318335892Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-10-14T18:16:08.320311865Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.975963ms grafana | logger=migrator t=2024-10-14T18:16:08.323904056Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-10-14T18:16:08.32596271Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.058454ms grafana | logger=migrator t=2024-10-14T18:16:08.329986166Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-10-14T18:16:08.331977579Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.990513ms grafana | logger=migrator t=2024-10-14T18:16:08.335395728Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-10-14T18:16:08.336383559Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=987.811µs grafana | logger=migrator t=2024-10-14T18:16:08.341104314Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-10-14T18:16:08.343455781Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.350067ms grafana | logger=migrator t=2024-10-14T18:16:08.347310805Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-10-14T18:16:08.348350807Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.042172ms grafana | logger=migrator t=2024-10-14T18:16:08.351962638Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-10-14T18:16:08.353071811Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.108163ms grafana | logger=migrator t=2024-10-14T18:16:08.357187658Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-10-14T18:16:08.357223339Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=37.071µs grafana | logger=migrator t=2024-10-14T18:16:08.360929601Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-10-14T18:16:08.360963481Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=34.95µs grafana | logger=migrator t=2024-10-14T18:16:08.36429044Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-10-14T18:16:08.367428556Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.136796ms grafana | logger=migrator t=2024-10-14T18:16:08.37132091Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-10-14T18:16:08.374555958Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=3.235408ms grafana | logger=migrator t=2024-10-14T18:16:08.382816962Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-10-14T18:16:08.384983327Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.165525ms grafana | logger=migrator t=2024-10-14T18:16:08.388514528Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-10-14T18:16:08.391699235Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=3.180087ms grafana | logger=migrator t=2024-10-14T18:16:08.395264125Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-10-14T18:16:08.3956862Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=421.205µs grafana | logger=migrator t=2024-10-14T18:16:08.400164922Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-10-14T18:16:08.401105093Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=939.961µs grafana | logger=migrator t=2024-10-14T18:16:08.404221218Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-10-14T18:16:08.405040318Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=818.63µs grafana | logger=migrator t=2024-10-14T18:16:08.408036992Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-10-14T18:16:08.408065403Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=28.031µs grafana | logger=migrator t=2024-10-14T18:16:08.411075357Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-10-14T18:16:08.411985838Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=909.621µs grafana | logger=migrator t=2024-10-14T18:16:08.416023114Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-10-14T18:16:08.417003935Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=980.971µs grafana | logger=migrator t=2024-10-14T18:16:08.420698498Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-10-14T18:16:08.429456528Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=8.75705ms grafana | logger=migrator t=2024-10-14T18:16:08.4330633Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-10-14T18:16:08.43394872Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=883.43µs policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) mariadb | 2024-10-14 18:16:11 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-10-14 18:16:11 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-10-14 18:16:11 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-10-14 18:16:11 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-10-14 18:16: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-10-14 18:16:11 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-10-14 18:16:11 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-10-14 18:16:11 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-10-14 18:16:11 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-10-14 18:16:11 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-10-14 18:16:11 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-10-14 18:16:11 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-10-14 18:16:11 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-10-14 18:16:11 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-10-14 18:16:11 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-10-14 18:16:11 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-10-14 18:16:11 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-10-14 18:16:11 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-10-14 18:16:12+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-10-14 18:16:13+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-10-14 18:16:13+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2024-10-14 18:16:13+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2024-10-14 18:16:13+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}'@'%' ;" 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) grafana | logger=migrator t=2024-10-14T18:16:08.437865425Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-10-14T18:16:08.438991318Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.122403ms grafana | logger=migrator t=2024-10-14T18:16:08.442892493Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-10-14T18:16:08.444212918Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.319715ms grafana | logger=migrator t=2024-10-14T18:16:08.448034892Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-10-14T18:16:08.448634839Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=598.797µs grafana | logger=migrator t=2024-10-14T18:16:08.452986488Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-10-14T18:16:08.453687867Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=700.988µs grafana | logger=migrator t=2024-10-14T18:16:08.457113526Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-10-14T18:16:08.459370772Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.259196ms grafana | logger=migrator t=2024-10-14T18:16:08.463642631Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-10-14T18:16:08.464632172Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=989.761µs grafana | logger=migrator t=2024-10-14T18:16:08.468525117Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-10-14T18:16:08.468829501Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=304.304µs grafana | logger=migrator t=2024-10-14T18:16:08.472358931Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-10-14T18:16:08.472641584Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=280.213µs grafana | logger=migrator t=2024-10-14T18:16:08.476392728Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-10-14T18:16:08.477736863Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.343215ms grafana | logger=migrator t=2024-10-14T18:16:08.483532449Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-10-14T18:16:08.486936549Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.40522ms grafana | logger=migrator t=2024-10-14T18:16:08.490697732Z level=info msg="Executing migration" id="Add deleted for dashboard" grafana | logger=migrator t=2024-10-14T18:16:08.49312331Z level=info msg="Migration successfully executed" id="Add deleted for dashboard" duration=2.425178ms grafana | logger=migrator t=2024-10-14T18:16:08.49663199Z level=info msg="Executing migration" id="Add index for deleted" grafana | logger=migrator t=2024-10-14T18:16:08.497580071Z level=info msg="Migration successfully executed" id="Add index for deleted" duration=946.421µs grafana | logger=migrator t=2024-10-14T18:16:08.500835068Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-10-14T18:16:08.50186869Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.033462ms grafana | logger=migrator t=2024-10-14T18:16:08.506329821Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-10-14T18:16:08.507300932Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=970.941µs grafana | logger=migrator t=2024-10-14T18:16:08.510666681Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-10-14T18:16:08.511763734Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.095843ms grafana | logger=migrator t=2024-10-14T18:16:08.515479166Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-10-14T18:16:08.516865412Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.388186ms grafana | logger=migrator t=2024-10-14T18:16:08.521948821Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-10-14T18:16:08.522875691Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=925.35µs grafana | logger=migrator t=2024-10-14T18:16:08.526478913Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-10-14T18:16:08.535742369Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=9.263426ms grafana | logger=migrator t=2024-10-14T18:16:08.540017518Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-10-14T18:16:08.541503715Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=1.485947ms grafana | logger=migrator t=2024-10-14T18:16:08.544900375Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-10-14T18:16:08.545750354Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=851.89µs grafana | logger=migrator t=2024-10-14T18:16:08.548830069Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-10-14T18:16:08.549686169Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=855.88µs grafana | logger=migrator t=2024-10-14T18:16:08.553931698Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-10-14T18:16:08.555076051Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=1.143873ms 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 | -------------- 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 | -------------- mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" 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-10-14 18:16:14+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-10-14 18:16:14 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-10-14 18:16:14 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-10-14 18:16:14 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-10-14 18:16:14 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-10-14 18:16:14 0 [Note] InnoDB: Buffer pool(s) dump completed at 241014 18:16:14 mariadb | 2024-10-14 18:16:15 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-10-14 18:16:15 0 [Note] InnoDB: Shutdown completed; log sequence number 329054; transaction id 298 mariadb | 2024-10-14 18:16:15 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-10-14 18:16:15+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-10-14 18:16:15+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-10-14 18:16:15 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-10-14 18:16:15 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-10-14 18:16:15 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-10-14 18:16:15 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-10-14 18:16:15 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-10-14 18:16:15 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-10-14 18:16:15 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-10-14 18:16:15 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-10-14 18:16:15 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-10-14 18:16:15 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-10-14 18:16:15 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-10-14 18:16:15 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-10-14 18:16:15 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-10-14 18:16:15 0 [Note] InnoDB: log sequence number 329054; transaction id 299 mariadb | 2024-10-14 18:16:15 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-10-14 18:16:15 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-10-14 18:16:15 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-10-14 18:16:15 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-10-14 18:16:15 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-10-14 18:16:15 0 [Note] Server socket created on IP: '::'. mariadb | 2024-10-14 18:16:15 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-10-14 18:16:15 0 [Note] InnoDB: Buffer pool(s) load completed at 241014 18:16:15 mariadb | 2024-10-14 18:16:15 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) mariadb | 2024-10-14 18:16:16 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:08.558604672Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-10-14T18:16:08.561232812Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.62818ms grafana | logger=migrator t=2024-10-14T18:16:08.564732432Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-10-14T18:16:08.567497334Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.768052ms grafana | logger=migrator t=2024-10-14T18:16:08.572506831Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-10-14T18:16:08.572555312Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=50.381µs grafana | logger=migrator t=2024-10-14T18:16:08.576352685Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-10-14T18:16:08.5767194Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=366.685µs grafana | logger=migrator t=2024-10-14T18:16:08.580157699Z level=info msg="Executing migration" id="Add read_only data column" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0450-pdpgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:08.582746409Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.58754ms grafana | logger=migrator t=2024-10-14T18:16:08.58628224Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-10-14T18:16:08.586475232Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=189.302µs grafana | logger=migrator t=2024-10-14T18:16:08.591585751Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-10-14T18:16:08.591943745Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=359.114µs grafana | logger=migrator t=2024-10-14T18:16:08.595936Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-10-14T18:16:08.598977415Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.031875ms grafana | logger=migrator t=2024-10-14T18:16:08.603859232Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-10-14T18:16:08.604145265Z level=info msg="Migration successfully executed" id="Update uid value" duration=283.563µs grafana | logger=migrator t=2024-10-14T18:16:08.607629905Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-10-14T18:16:08.609062881Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.432416ms grafana | logger=migrator t=2024-10-14T18:16:08.612603562Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-10-14T18:16:08.614001158Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.397176ms grafana | logger=migrator t=2024-10-14T18:16:08.618880084Z level=info msg="Executing migration" id="Add is_prunable column" grafana | logger=migrator t=2024-10-14T18:16:08.621606835Z level=info msg="Migration successfully executed" id="Add is_prunable column" duration=2.726641ms grafana | logger=migrator t=2024-10-14T18:16:08.625180527Z level=info msg="Executing migration" id="Add api_version column" grafana | logger=migrator t=2024-10-14T18:16:08.628374713Z level=info msg="Migration successfully executed" id="Add api_version column" duration=3.199657ms grafana | logger=migrator t=2024-10-14T18:16:08.632626962Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-10-14T18:16:08.633564343Z level=info msg="Migration successfully executed" id="create api_key table" duration=936.971µs grafana | logger=migrator t=2024-10-14T18:16:08.638658331Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-10-14T18:16:08.639551122Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=893.28µs grafana | logger=migrator t=2024-10-14T18:16:08.642843609Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-10-14T18:16:08.643833511Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=993.871µs grafana | logger=migrator t=2024-10-14T18:16:08.647312581Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-10-14T18:16:08.64814467Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=831.299µs grafana | logger=migrator t=2024-10-14T18:16:08.653254239Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-10-14T18:16:08.654167119Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=911.87µs grafana | logger=migrator t=2024-10-14T18:16:08.657332206Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-10-14T18:16:08.658175205Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=843.179µs grafana | logger=migrator t=2024-10-14T18:16:08.663166533Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-10-14T18:16:08.664121894Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=956.051µs grafana | logger=migrator t=2024-10-14T18:16:08.667556943Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-10-14T18:16:08.674366461Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=6.807488ms grafana | logger=migrator t=2024-10-14T18:16:08.677931792Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-10-14T18:16:08.678811332Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=878.6µs grafana | logger=migrator t=2024-10-14T18:16:08.683538177Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-10-14T18:16:08.684382436Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=843.539µs grafana | logger=migrator t=2024-10-14T18:16:08.687681534Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-10-14T18:16:08.688468793Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=782.109µs grafana | logger=migrator t=2024-10-14T18:16:08.692410859Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-10-14T18:16:08.693246868Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=835.739µs grafana | logger=migrator t=2024-10-14T18:16:08.698142794Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-10-14T18:16:08.69862966Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=485.796µs grafana | logger=migrator t=2024-10-14T18:16:08.701947548Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-10-14T18:16:08.702615876Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=673.668µs grafana | logger=migrator t=2024-10-14T18:16:08.7055769Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-10-14T18:16:08.70560101Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=24.49µs grafana | logger=migrator t=2024-10-14T18:16:08.709869379Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-10-14T18:16:08.712498049Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.62366ms grafana | logger=migrator t=2024-10-14T18:16:08.716533316Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-10-14T18:16:08.719293117Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.755181ms grafana | logger=migrator t=2024-10-14T18:16:08.723348084Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-10-14T18:16:08.723711138Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=364.354µs grafana | logger=migrator t=2024-10-14T18:16:08.727271939Z level=info msg="Executing migration" id="Add last_used_at to api_key table" policy-db-migrator | policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:08.730338524Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=3.061795ms grafana | logger=migrator t=2024-10-14T18:16:08.735403192Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-10-14T18:16:08.738442047Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=3.039565ms grafana | logger=migrator t=2024-10-14T18:16:08.742456043Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-10-14T18:16:08.743365964Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=909.361µs grafana | logger=migrator t=2024-10-14T18:16:08.747041726Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-10-14T18:16:08.747717784Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=675.858µs grafana | logger=migrator t=2024-10-14T18:16:08.752548039Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-10-14T18:16:08.753746003Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.197924ms grafana | logger=migrator t=2024-10-14T18:16:08.757079461Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-10-14T18:16:08.757889061Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=809.73µs grafana | logger=migrator t=2024-10-14T18:16:08.762560854Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-10-14T18:16:08.763351824Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=795.13µs grafana | logger=migrator t=2024-10-14T18:16:08.766594161Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-10-14T18:16:08.76739387Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=807.629µs grafana | logger=migrator t=2024-10-14T18:16:08.770595707Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-10-14T18:16:08.770728288Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=106.971µs grafana | logger=migrator t=2024-10-14T18:16:08.773295368Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-10-14T18:16:08.773325778Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=30.76µs grafana | logger=migrator t=2024-10-14T18:16:08.777797509Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-10-14T18:16:08.780762653Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=2.963654ms grafana | logger=migrator t=2024-10-14T18:16:08.784158613Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-10-14T18:16:08.787015025Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.854652ms grafana | logger=migrator t=2024-10-14T18:16:08.790277743Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-10-14T18:16:08.790392594Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=113.691µs grafana | logger=migrator t=2024-10-14T18:16:08.794999967Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-10-14T18:16:08.795881737Z level=info msg="Migration successfully executed" id="create quota table v1" duration=881.57µs grafana | logger=migrator t=2024-10-14T18:16:08.79871367Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-10-14T18:16:08.799530409Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=815.599µs grafana | logger=migrator t=2024-10-14T18:16:08.802860357Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-10-14T18:16:08.802887157Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=31.59µs grafana | logger=migrator t=2024-10-14T18:16:08.806026993Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-10-14T18:16:08.806932394Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=904.651µs grafana | logger=migrator t=2024-10-14T18:16:08.812077223Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-10-14T18:16:08.813387668Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.311945ms grafana | logger=migrator t=2024-10-14T18:16:08.816691446Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-10-14T18:16:08.819989594Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=3.298778ms grafana | logger=migrator t=2024-10-14T18:16:08.82311079Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-10-14T18:16:08.82313947Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=29.61µs grafana | logger=migrator t=2024-10-14T18:16:08.827700082Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-10-14T18:16:08.828637893Z level=info msg="Migration successfully executed" id="create session table" duration=937.031µs grafana | logger=migrator t=2024-10-14T18:16:08.833058324Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-10-14T18:16:08.833204886Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=124.331µs grafana | logger=migrator t=2024-10-14T18:16:08.836284811Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-10-14T18:16:08.836391362Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=102.291µs grafana | logger=migrator t=2024-10-14T18:16:08.84228628Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-10-14T18:16:08.84315722Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=871.88µs grafana | logger=migrator t=2024-10-14T18:16:08.847326418Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-10-14T18:16:08.848259139Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=932.021µs grafana | logger=migrator t=2024-10-14T18:16:08.852424147Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-10-14T18:16:08.852455747Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=32.95µs policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2024-10-14T18:16:08.855613123Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-10-14T18:16:08.855640623Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=28.36µs grafana | logger=migrator t=2024-10-14T18:16:08.860102075Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-10-14T18:16:08.863280311Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=3.177906ms grafana | logger=migrator t=2024-10-14T18:16:08.866420337Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-10-14T18:16:08.8692333Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=2.806762ms grafana | logger=migrator t=2024-10-14T18:16:08.875049796Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-10-14T18:16:08.875157908Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=109.632µs grafana | logger=migrator t=2024-10-14T18:16:08.882729784Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-10-14T18:16:08.882812365Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=83.061µs grafana | logger=migrator t=2024-10-14T18:16:08.885023131Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-10-14T18:16:08.886026992Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.003461ms grafana | logger=migrator t=2024-10-14T18:16:08.88924632Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-10-14T18:16:08.88927752Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=32.171µs grafana | logger=migrator t=2024-10-14T18:16:08.89281125Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-10-14T18:16:08.896168389Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.355489ms grafana | logger=migrator t=2024-10-14T18:16:08.900744032Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-10-14T18:16:08.900899153Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=155.411µs grafana | logger=migrator t=2024-10-14T18:16:08.90406803Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-10-14T18:16:08.907282417Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.213527ms grafana | logger=migrator t=2024-10-14T18:16:08.910259611Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2024-10-14T18:16:08.913429087Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.168476ms grafana | logger=migrator t=2024-10-14T18:16:08.918309853Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-10-14T18:16:08.918374924Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=65.301µs grafana | logger=migrator t=2024-10-14T18:16:08.920870363Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-10-14T18:16:08.921704502Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=828.019µs grafana | logger=migrator t=2024-10-14T18:16:08.924709527Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-10-14T18:16:08.925472816Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=763.528µs grafana | logger=migrator t=2024-10-14T18:16:08.929546492Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2024-10-14T18:16:08.930619555Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.072673ms grafana | logger=migrator t=2024-10-14T18:16:08.934725742Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-10-14T18:16:08.936133448Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.409606ms grafana | logger=migrator t=2024-10-14T18:16:08.940955983Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-10-14T18:16:08.941851894Z level=info msg="Migration successfully executed" id="add index alert state" duration=895.931µs grafana | logger=migrator t=2024-10-14T18:16:08.945467135Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-10-14T18:16:08.946375906Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=908.331µs grafana | logger=migrator t=2024-10-14T18:16:08.949948337Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-10-14T18:16:08.950713285Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=757.148µs grafana | logger=migrator t=2024-10-14T18:16:08.954383238Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-10-14T18:16:08.955709663Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.324685ms grafana | logger=migrator t=2024-10-14T18:16:08.960171534Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-10-14T18:16:08.961417988Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.246364ms grafana | logger=migrator t=2024-10-14T18:16:08.965146251Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-10-14T18:16:08.975181207Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=10.033336ms grafana | logger=migrator t=2024-10-14T18:16:08.979354315Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-10-14T18:16:08.979914621Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=562.027µs grafana | logger=migrator t=2024-10-14T18:16:08.985382134Z 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-10-14T18:16:08.986675099Z level=info msg="Migration successfully executed" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" duration=1.292535ms grafana | logger=migrator t=2024-10-14T18:16:08.990872927Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-10-14T18:16:08.991410883Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=537.066µs grafana | logger=migrator t=2024-10-14T18:16:08.995317178Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-10-14T18:16:08.996191318Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=873.61µs grafana | logger=migrator t=2024-10-14T18:16:09.00072939Z level=info msg="Executing migration" id="create alert_notification table v1" policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0690-toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:09.001843873Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.114463ms grafana | logger=migrator t=2024-10-14T18:16:09.059874626Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-10-14T18:16:09.062770478Z level=info msg="Migration successfully executed" id="Add column is_default" duration=2.898032ms grafana | logger=migrator t=2024-10-14T18:16:09.067888045Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-10-14T18:16:09.070515135Z level=info msg="Migration successfully executed" id="Add column frequency" duration=2.62723ms grafana | logger=migrator t=2024-10-14T18:16:09.075018465Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-10-14T18:16:09.078890759Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.872054ms grafana | logger=migrator t=2024-10-14T18:16:09.081967703Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-10-14T18:16:09.084594533Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=2.62653ms grafana | logger=migrator t=2024-10-14T18:16:09.08884012Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-10-14T18:16:09.089910192Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.069782ms grafana | logger=migrator t=2024-10-14T18:16:09.094307062Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-10-14T18:16:09.094451614Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=94.141µs grafana | logger=migrator t=2024-10-14T18:16:09.097123484Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-10-14T18:16:09.097209715Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=84.5µs grafana | logger=migrator t=2024-10-14T18:16:09.104122952Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-10-14T18:16:09.105094253Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=971.201µs grafana | logger=migrator t=2024-10-14T18:16:09.109158408Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-10-14T18:16:09.110244141Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.086943ms grafana | logger=migrator t=2024-10-14T18:16:09.11372434Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2024-10-14T18:16:09.11462418Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=901.15µs grafana | logger=migrator t=2024-10-14T18:16:09.117770505Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2024-10-14T18:16:09.118756716Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=986.161µs grafana | logger=migrator t=2024-10-14T18:16:09.122734261Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-10-14T18:16:09.123843183Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.108202ms grafana | logger=migrator t=2024-10-14T18:16:09.12714269Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2024-10-14T18:16:09.131145555Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=4.001895ms grafana | logger=migrator t=2024-10-14T18:16:09.140380009Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2024-10-14T18:16:09.147506299Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=7.12853ms grafana | logger=migrator t=2024-10-14T18:16:09.152245022Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-10-14T18:16:09.152467734Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=223.122µs grafana | logger=migrator t=2024-10-14T18:16:09.155131174Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2024-10-14T18:16:09.155879693Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=740.359µs grafana | logger=migrator t=2024-10-14T18:16:09.159050788Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2024-10-14T18:16:09.159933068Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=882.26µs grafana | logger=migrator t=2024-10-14T18:16:09.164616191Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2024-10-14T18:16:09.169285933Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=4.666852ms grafana | logger=migrator t=2024-10-14T18:16:09.17521613Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2024-10-14T18:16:09.175401682Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=185.152µs grafana | logger=migrator t=2024-10-14T18:16:09.181793903Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-10-14T18:16:09.182914126Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.121043ms grafana | logger=migrator t=2024-10-14T18:16:09.188301587Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2024-10-14T18:16:09.189879194Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.577317ms grafana | logger=migrator t=2024-10-14T18:16:09.193573206Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2024-10-14T18:16:09.194218453Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=651.737µs grafana | logger=migrator t=2024-10-14T18:16:09.198083526Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2024-10-14T18:16:09.199594393Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.511667ms grafana | logger=migrator t=2024-10-14T18:16:09.205400948Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2024-10-14T18:16:09.206863445Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.460357ms grafana | logger=migrator t=2024-10-14T18:16:09.210858309Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2024-10-14T18:16:09.211885101Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.023122ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0770-toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0780-toscarequirements.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:09.216583774Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2024-10-14T18:16:09.217774307Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.190283ms grafana | logger=migrator t=2024-10-14T18:16:09.224154399Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2024-10-14T18:16:09.225295022Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.140263ms grafana | logger=migrator t=2024-10-14T18:16:09.230391719Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2024-10-14T18:16:09.23135862Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=966.391µs grafana | logger=migrator t=2024-10-14T18:16:09.23673601Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2024-10-14T18:16:09.2367706Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=36.05µs grafana | logger=migrator t=2024-10-14T18:16:09.241790767Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2024-10-14T18:16:09.248091738Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.308502ms grafana | logger=migrator t=2024-10-14T18:16:09.251067111Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2024-10-14T18:16:09.251681618Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=614.417µs grafana | logger=migrator t=2024-10-14T18:16:09.254945944Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2024-10-14T18:16:09.259363264Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=4.41619ms grafana | logger=migrator t=2024-10-14T18:16:09.263208137Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-10-14T18:16:09.263915975Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=707.908µs grafana | logger=migrator t=2024-10-14T18:16:09.266729536Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2024-10-14T18:16:09.267709927Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=980.721µs grafana | logger=migrator t=2024-10-14T18:16:09.270663311Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2024-10-14T18:16:09.27149573Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=832.909µs grafana | logger=migrator t=2024-10-14T18:16:09.27677518Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2024-10-14T18:16:09.291336923Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=14.566604ms grafana | logger=migrator t=2024-10-14T18:16:09.294990104Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2024-10-14T18:16:09.295490979Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=500.815µs grafana | logger=migrator t=2024-10-14T18:16:09.298130119Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" grafana | logger=migrator t=2024-10-14T18:16:09.298794496Z 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=663.987µs grafana | logger=migrator t=2024-10-14T18:16:09.303162135Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2024-10-14T18:16:09.303424148Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=262.833µs grafana | logger=migrator t=2024-10-14T18:16:09.306105018Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2024-10-14T18:16:09.306641244Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=536.676µs grafana | logger=migrator t=2024-10-14T18:16:09.308828049Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2024-10-14T18:16:09.309005971Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=178.002µs grafana | logger=migrator t=2024-10-14T18:16:09.313200348Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2024-10-14T18:16:09.317385125Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.184867ms grafana | logger=migrator t=2024-10-14T18:16:09.320675282Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2024-10-14T18:16:09.324809218Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.133636ms grafana | logger=migrator t=2024-10-14T18:16:09.329686803Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2024-10-14T18:16:09.330638204Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=949.401µs grafana | logger=migrator t=2024-10-14T18:16:09.334912761Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2024-10-14T18:16:09.335722101Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=809.259µs grafana | logger=migrator t=2024-10-14T18:16:09.340508375Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2024-10-14T18:16:09.340837758Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=333.093µs grafana | logger=migrator t=2024-10-14T18:16:09.343877482Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2024-10-14T18:16:09.348208441Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.330119ms grafana | logger=migrator t=2024-10-14T18:16:09.352854603Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2024-10-14T18:16:09.354811305Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.953572ms grafana | logger=migrator t=2024-10-14T18:16:09.357990071Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2024-10-14T18:16:09.358329904Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=340.154µs grafana | logger=migrator t=2024-10-14T18:16:09.360873653Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-10-14T18:16:09.361323108Z level=info msg="Migration successfully executed" id="Move region to single row" duration=449.525µs grafana | logger=migrator t=2024-10-14T18:16:09.367392506Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2024-10-14T18:16:09.369347968Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.958512ms grafana | logger=migrator t=2024-10-14T18:16:09.396146139Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2024-10-14T18:16:09.39800351Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.861161ms grafana | logger=migrator t=2024-10-14T18:16:09.40161665Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-10-14T18:16:09.403160658Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.543338ms grafana | logger=migrator t=2024-10-14T18:16:09.409173355Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-10-14T18:16:09.410047315Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=873.85µs grafana | logger=migrator t=2024-10-14T18:16:09.412709715Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2024-10-14T18:16:09.413520854Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=810.599µs grafana | logger=migrator t=2024-10-14T18:16:09.419972766Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2024-10-14T18:16:09.421494223Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.510877ms grafana | logger=migrator t=2024-10-14T18:16:09.430350653Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2024-10-14T18:16:09.430511075Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=161.432µs grafana | logger=migrator t=2024-10-14T18:16:09.43726414Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2024-10-14T18:16:09.438369753Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.109033ms grafana | logger=migrator t=2024-10-14T18:16:09.441830101Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2024-10-14T18:16:09.442839173Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.011612ms grafana | logger=migrator t=2024-10-14T18:16:09.449339146Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2024-10-14T18:16:09.450916863Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.576007ms grafana | logger=migrator t=2024-10-14T18:16:09.460040426Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2024-10-14T18:16:09.461115378Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.074742ms grafana | logger=migrator t=2024-10-14T18:16:09.467356648Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2024-10-14T18:16:09.468058946Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=706.028µs grafana | logger=migrator t=2024-10-14T18:16:09.478612524Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2024-10-14T18:16:09.478981198Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=369.034µs grafana | logger=migrator t=2024-10-14T18:16:09.481585787Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2024-10-14T18:16:09.481643938Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=58.871µs grafana | logger=migrator t=2024-10-14T18:16:09.486557893Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2024-10-14T18:16:09.487966899Z level=info msg="Migration successfully executed" id="create team table" duration=1.214124ms grafana | logger=migrator t=2024-10-14T18:16:09.491222426Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2024-10-14T18:16:09.493538952Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=2.316786ms grafana | logger=migrator t=2024-10-14T18:16:09.499027883Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2024-10-14T18:16:09.500135126Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.106303ms grafana | logger=migrator t=2024-10-14T18:16:09.504684567Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2024-10-14T18:16:09.51038506Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=5.746124ms grafana | logger=migrator t=2024-10-14T18:16:09.51489498Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2024-10-14T18:16:09.515083152Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=188.542µs grafana | logger=migrator t=2024-10-14T18:16:09.521554275Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2024-10-14T18:16:09.522646637Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.091282ms grafana | logger=migrator t=2024-10-14T18:16:09.530612187Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2024-10-14T18:16:09.53181072Z level=info msg="Migration successfully executed" id="create team member table" duration=1.198253ms grafana | logger=migrator t=2024-10-14T18:16:09.53626695Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2024-10-14T18:16:09.537993979Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.726839ms grafana | logger=migrator t=2024-10-14T18:16:09.54432963Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2024-10-14T18:16:09.545423543Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.092813ms grafana | logger=migrator t=2024-10-14T18:16:09.549933103Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2024-10-14T18:16:09.550937845Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.004562ms grafana | logger=migrator t=2024-10-14T18:16:09.555155262Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2024-10-14T18:16:09.561514923Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=6.359581ms grafana | logger=migrator t=2024-10-14T18:16:09.566145895Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2024-10-14T18:16:09.570961609Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.815154ms grafana | logger=migrator t=2024-10-14T18:16:09.576601483Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2024-10-14T18:16:09.581965183Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=5.36327ms grafana | logger=migrator t=2024-10-14T18:16:09.58616735Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2024-10-14T18:16:09.5870072Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=842.21µs grafana | logger=migrator t=2024-10-14T18:16:09.593641284Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2024-10-14T18:16:09.594922718Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.284684ms grafana | logger=migrator t=2024-10-14T18:16:09.601494182Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2024-10-14T18:16:09.603463984Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.969392ms grafana | logger=migrator t=2024-10-14T18:16:09.608863215Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2024-10-14T18:16:09.610719816Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.855721ms grafana | logger=migrator t=2024-10-14T18:16:09.616321819Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2024-10-14T18:16:09.61734774Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.025811ms grafana | logger=migrator t=2024-10-14T18:16:09.623883843Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2024-10-14T18:16:09.625051006Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.167533ms grafana | logger=migrator t=2024-10-14T18:16:09.630416017Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2024-10-14T18:16:09.631923743Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.507977ms grafana | logger=migrator t=2024-10-14T18:16:09.636617036Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2024-10-14T18:16:09.638013182Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.396436ms grafana | logger=migrator t=2024-10-14T18:16:09.644349293Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdp.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:09.645018041Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=668.078µs 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-10-14T18:16:09.651128499Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:09.651383412Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=252.503µs policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:09.655917523Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:09.657339419Z level=info msg="Migration successfully executed" id="create tag table" duration=1.426566ms policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-10-14T18:16:09.662681299Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:09.663982943Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.301544ms policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:09.668470203Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:09.669271732Z level=info msg="Migration successfully executed" id="create login attempt table" duration=801.629µs policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-10-14T18:16:09.673219097Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:09.674198708Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=978.941µs policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-10-14T18:16:09.680041164Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:09.68148975Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.445507ms policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:09.685887199Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:09.702305874Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=16.408844ms policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-10-14T18:16:09.70731302Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:09.707996457Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=682.437µs policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-10-14T18:16:09.716714725Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:09.718315463Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.600188ms policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:09.726212771Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:09.726721867Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=509.476µs policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-10-14T18:16:09.733775157Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:09.73494482Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.169243ms policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-10-14T18:16:09.739697383Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2024-10-14T18:16:09.741395792Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.698339ms policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-10-14T18:16:09.746972404Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-10-14T18:16:09.748265189Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.292255ms policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-10-14T18:16:09.754236296Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:09.754342347Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=110.521µs policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:09.759369953Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:09.767849709Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=8.477236ms policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-10-14T18:16:09.771000504Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:09.774612015Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=3.610801ms policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:09.780740573Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-10-14T18:16:09.786601479Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.861116ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:09.792513866Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" 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-10-14T18:16:09.797959987Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.445571ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:09.802589829Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:09.803715381Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.124232ms policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:09.810993713Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-10-14T18:16:09.818915022Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=7.920129ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:09.825535036Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-10-14T18:16:09.826157513Z level=info msg="Migration successfully executed" id="create server_lock table" duration=622.767µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:09.83211371Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:09.83388993Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.77514ms policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:09.840894838Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-10-14T18:16:09.841815899Z level=info msg="Migration successfully executed" id="create user auth token table" duration=921.401µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:09.849519775Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" 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-10-14T18:16:09.851059083Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.539668ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:09.854986987Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:09.856710306Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.726639ms policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:09.859861801Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-10-14T18:16:09.861425749Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.563968ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:09.869870034Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" 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-10-14T18:16:09.87756924Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=7.700227ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:09.882602406Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:09.883584728Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=982.722µs policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:09.889433163Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-10-14T18:16:09.890312043Z level=info msg="Migration successfully executed" id="create cache_data table" duration=878.79µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:09.894067965Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:09.895097787Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.029422ms policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:09.926807343Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:09.92839504Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.590198ms policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-10-14T18:16:09.934458298Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:09.935643822Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.186513ms 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-10-14T18:16:09.94263715Z 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-10-14T18:16:09.942717941Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=73.261µs policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:09.947230042Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:09.947351733Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=122.651µs policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-10-14T18:16:09.951998245Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:09.953733865Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.73511ms policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-10-14T18:16:09.958151544Z 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-10-14T18:16:09.959906464Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.75402ms policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:09.968994196Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:09.970018017Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.023621ms policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-10-14T18:16:09.974862302Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:09.974945093Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=82.681µs policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-10-14T18:16:09.978709075Z 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-10-14T18:16:09.981723559Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=3.013584ms policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:09.986867276Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:09.987825917Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=958.471µs policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-10-14T18:16:09.997393604Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:09.999355486Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.965962ms policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-10-14T18:16:10.00592091Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:10.007083713Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.162773ms policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:10.014383403Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-10-14T18:16:10.024465673Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=10.0819ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:10.029304845Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-10-14T18:16:10.030414877Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.109962ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:10.037301012Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:10.037406003Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=108.381µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:10.042827912Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-10-14T18:16:10.044096866Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.268284ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:10.048529675Z 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-10-14T18:16:10.049721058Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.191402ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:10.053474048Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2024-10-14T18:16:10.05457805Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.105812ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:10.061029251Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:10.061104851Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=79.22µs policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:10.067148647Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2024-10-14T18:16:10.131890842Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=64.695095ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:10.138784417Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2024-10-14T18:16:10.140801589Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=2.016462ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:10.149793316Z 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 | grafana | logger=migrator t=2024-10-14T18:16:10.150894018Z 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.096572ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:10.154928212Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2024-10-14T18:16:10.155897133Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=968.221µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:10.165137123Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:10.178444038Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=13.457996ms policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:10.185318413Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2024-10-14T18:16:10.187318714Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=2.003371ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:10.193633003Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-10-14T18:16:10.194513943Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=881.3µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:10.201652271Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:10.236093545Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=34.446285ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:10.24108327Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2024-10-14T18:16:10.269777762Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=28.691612ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:10.272670623Z 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-10-14T18:16:10.273419851Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=749.228µs policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:10.279624479Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-10-14T18:16:10.280564569Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=939.52µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:10.28615208Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2024-10-14T18:16:10.297515614Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=11.359544ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:10.302193195Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:10.307998418Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=5.802723ms policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:10.31283175Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2024-10-14T18:16:10.313810951Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=980.941µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:10.319057848Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2024-10-14T18:16:10.321120301Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=2.065013ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:10.326092745Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:10.328135057Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=2.029742ms policy-db-migrator | msg policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2024-10-14T18:16:10.331823007Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:10.332920859Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.101992ms policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2024-10-14T18:16:10.339037596Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:10.339140307Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=107.912µs policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2024-10-14T18:16:10.344519465Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:10.351661173Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=7.140578ms policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:10.356611307Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:10.366668836Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=10.056929ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-10-14T18:16:10.374260249Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2024-10-14T18:16:10.381134584Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.876515ms grafana | logger=migrator t=2024-10-14T18:16:10.385902926Z 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-10-14T18:16:10.387053758Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.152093ms policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-10-14T18:16:10.392619999Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:10.393613949Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=993.66µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:10.400626736Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-10-14T18:16:10.40929322Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=8.664884ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:10.414859841Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:10.419669273Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=4.810292ms policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:10.424192292Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=migrator t=2024-10-14T18:16:10.425254324Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.062472ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:10.433031929Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-10-14T18:16:10.442148738Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=9.11715ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:10.447029881Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:10.45339889Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.368809ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:10.456729276Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) grafana | logger=migrator t=2024-10-14T18:16:10.456788287Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=60.021µs policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:10.463002105Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:10.463828804Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=826.569µs policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2024-10-14T18:16:10.468010749Z 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-10-14T18:16:10.469747338Z 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.736079ms policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-10-14T18:16:10.473955404Z 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-10-14T18:16:10.475029686Z 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.073922ms policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:10.47913107Z 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-10-14T18:16:10.479201821Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=73.411µs grafana | logger=migrator t=2024-10-14T18:16:10.48375275Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-10-14T18:16:10.493656378Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=9.904358ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:10.498347689Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:10.505218674Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.871655ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:10.509139917Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | TRUNCATE TABLE sequence grafana | logger=migrator t=2024-10-14T18:16:10.513644136Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=4.496758ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:10.518151815Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:10.52509993Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.947805ms policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:10.529971953Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | > upgrade 0100-pdpstatistics.sql grafana | logger=migrator t=2024-10-14T18:16:10.536878268Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.906285ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:10.54255936Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-10-14T18:16:10.542722152Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=170.312µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:10.547656286Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:10.548497305Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=840.599µs policy-db-migrator | -------------- policy-db-migrator | DROP TABLE pdpstatistics grafana | logger=migrator t=2024-10-14T18:16:10.554263818Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:10.564201876Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=9.939818ms policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:10.568892297Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:10.568997018Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=104.911µs policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-10-14T18:16:10.573341485Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:10.583600817Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=10.261382ms policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats grafana | logger=migrator t=2024-10-14T18:16:10.588775153Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:10.589591632Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=815.619µs policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:10.594404524Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:10.604930669Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=10.526805ms policy-db-migrator | > upgrade 0120-statistics_sequence.sql grafana | logger=migrator t=2024-10-14T18:16:10.608206905Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:10.609550999Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=1.345165ms policy-db-migrator | DROP TABLE statistics_sequence grafana | logger=migrator t=2024-10-14T18:16:10.613794316Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-14T18:16:10.614572344Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=777.478µs policy-db-migrator | grafana | logger=migrator t=2024-10-14T18:16:10.618996622Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | policyadmin: OK: upgrade (1300) grafana | logger=migrator t=2024-10-14T18:16:10.625622534Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.625522ms policy-db-migrator | name version grafana | logger=migrator t=2024-10-14T18:16:10.630166624Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | policyadmin 1300 grafana | logger=migrator t=2024-10-14T18:16:10.631163035Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=996µs policy-db-migrator | ID script operation from_version to_version tag success atTime grafana | logger=migrator t=2024-10-14T18:16:10.635964457Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:16 grafana | logger=migrator t=2024-10-14T18:16:10.637106349Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.141352ms policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:16 grafana | logger=migrator t=2024-10-14T18:16:10.643532719Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:16 grafana | logger=migrator t=2024-10-14T18:16:10.644435559Z level=info msg="Migration successfully executed" id="create alert_image table" duration=902.72µs policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:16 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:16 grafana | logger=migrator t=2024-10-14T18:16:10.649195321Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2024-10-14T18:16:10.65098739Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.791699ms policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:16 grafana | logger=migrator t=2024-10-14T18:16:10.656779963Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:16 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:16 grafana | logger=migrator t=2024-10-14T18:16:10.656963825Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=183.282µs policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:17 grafana | logger=migrator t=2024-10-14T18:16:10.662971911Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:17 grafana | logger=migrator t=2024-10-14T18:16:10.664187254Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.214494ms policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:17 grafana | logger=migrator t=2024-10-14T18:16:10.668241358Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:17 grafana | logger=migrator t=2024-10-14T18:16:10.670051318Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.80966ms grafana | logger=migrator t=2024-10-14T18:16:10.675053892Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:17 grafana | logger=migrator t=2024-10-14T18:16:10.675528407Z 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 | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:17 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:17 grafana | logger=migrator t=2024-10-14T18:16:10.681227789Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2024-10-14T18:16:10.682086139Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=857.659µs policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:17 grafana | logger=migrator t=2024-10-14T18:16:10.687111263Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2024-10-14T18:16:10.688926193Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.8157ms policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:17 grafana | logger=migrator t=2024-10-14T18:16:10.693701185Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:17 grafana | logger=migrator t=2024-10-14T18:16:10.701174996Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=7.472091ms policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:17 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:17 grafana | logger=migrator t=2024-10-14T18:16:10.707141251Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:17 grafana | logger=migrator t=2024-10-14T18:16:10.709220604Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=2.080283ms policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:17 grafana | logger=migrator t=2024-10-14T18:16:10.715711565Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:17 grafana | logger=migrator t=2024-10-14T18:16:10.717500734Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.79037ms policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:17 grafana | logger=migrator t=2024-10-14T18:16:10.720418066Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:17 grafana | logger=migrator t=2024-10-14T18:16:10.721374976Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=956.85µs policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:17 grafana | logger=migrator t=2024-10-14T18:16:10.724432359Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:17 grafana | logger=migrator t=2024-10-14T18:16:10.725566102Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.132803ms policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:17 grafana | logger=migrator t=2024-10-14T18:16:10.728977369Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:18 grafana | logger=migrator t=2024-10-14T18:16:10.730515216Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.528826ms policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:18 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:18 grafana | logger=migrator t=2024-10-14T18:16:10.735851844Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:18 grafana | logger=migrator t=2024-10-14T18:16:10.735881034Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=30.401µs policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:18 grafana | logger=migrator t=2024-10-14T18:16:10.739102479Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:18 grafana | logger=migrator t=2024-10-14T18:16:10.73920811Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=106.711µs policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:18 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:18 grafana | logger=migrator t=2024-10-14T18:16:10.74287925Z level=info msg="Executing migration" id="add library_element folder uid" policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:18 grafana | logger=migrator t=2024-10-14T18:16:10.752530385Z level=info msg="Migration successfully executed" id="add library_element folder uid" duration=9.649515ms policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:18 grafana | logger=migrator t=2024-10-14T18:16:10.757924044Z level=info msg="Executing migration" id="populate library_element folder_uid" policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:18 grafana | logger=migrator t=2024-10-14T18:16:10.758336348Z level=info msg="Migration successfully executed" id="populate library_element folder_uid" duration=413.484µs policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:18 grafana | logger=migrator t=2024-10-14T18:16:10.761492453Z level=info msg="Executing migration" id="add index library_element org_id-folder_uid-name-kind" policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:18 grafana | logger=migrator t=2024-10-14T18:16:10.76310215Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_uid-name-kind" duration=1.608827ms policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:18 grafana | logger=migrator t=2024-10-14T18:16:10.82649517Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:18 grafana | logger=migrator t=2024-10-14T18:16:10.827116667Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=624.677µs policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:18 grafana | logger=migrator t=2024-10-14T18:16:10.830492733Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:18 grafana | logger=migrator t=2024-10-14T18:16:10.831956909Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.465066ms policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:18 grafana | logger=migrator t=2024-10-14T18:16:10.837286838Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:18 grafana | logger=migrator t=2024-10-14T18:16:10.838823394Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.539836ms policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:18 grafana | logger=migrator t=2024-10-14T18:16:10.844059401Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:18 grafana | logger=migrator t=2024-10-14T18:16:10.87883735Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=34.767908ms policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:18 grafana | logger=migrator t=2024-10-14T18:16:10.882343968Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:18 grafana | logger=migrator t=2024-10-14T18:16:10.889274633Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=6.929645ms policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:18 grafana | logger=migrator t=2024-10-14T18:16:10.892557729Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:18 grafana | logger=migrator t=2024-10-14T18:16:10.89268068Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=123.321µs policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:18 grafana | logger=migrator t=2024-10-14T18:16:10.896044477Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:19 grafana | logger=migrator t=2024-10-14T18:16:10.927107065Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=31.061908ms grafana | logger=migrator t=2024-10-14T18:16:10.937835672Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2024-10-14T18:16:10.978269231Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=40.432049ms policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:19 grafana | logger=migrator t=2024-10-14T18:16:10.983242586Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:19 grafana | logger=migrator t=2024-10-14T18:16:10.984002454Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=759.928µs policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:19 grafana | logger=migrator t=2024-10-14T18:16:10.991518296Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:19 grafana | logger=migrator t=2024-10-14T18:16:10.992981162Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.463386ms policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:19 grafana | logger=migrator t=2024-10-14T18:16:10.998767725Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:19 grafana | logger=migrator t=2024-10-14T18:16:10.998999897Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=232.722µs policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:19 grafana | logger=migrator t=2024-10-14T18:16:11.002098371Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:19 grafana | logger=migrator t=2024-10-14T18:16:11.003014981Z level=info msg="Migration successfully executed" id="create permission table" duration=912.28µs policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:19 grafana | logger=migrator t=2024-10-14T18:16:11.00650442Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:19 grafana | logger=migrator t=2024-10-14T18:16:11.007793996Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.289605ms policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:19 grafana | logger=migrator t=2024-10-14T18:16:11.012781122Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:19 grafana | logger=migrator t=2024-10-14T18:16:11.013968726Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.188334ms policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:19 grafana | logger=migrator t=2024-10-14T18:16:11.017218433Z level=info msg="Executing migration" id="create role table" policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:19 grafana | logger=migrator t=2024-10-14T18:16:11.018155753Z level=info msg="Migration successfully executed" id="create role table" duration=936.97µs policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:19 grafana | logger=migrator t=2024-10-14T18:16:11.022953728Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:19 grafana | logger=migrator t=2024-10-14T18:16:11.032048511Z level=info msg="Migration successfully executed" id="add column display_name" duration=9.098783ms policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:19 grafana | logger=migrator t=2024-10-14T18:16:11.036169287Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:19 grafana | logger=migrator t=2024-10-14T18:16:11.042500429Z level=info msg="Migration successfully executed" id="add column group_name" duration=6.330592ms policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:19 grafana | logger=migrator t=2024-10-14T18:16:11.04873473Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:19 grafana | logger=migrator t=2024-10-14T18:16:11.049742301Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.007281ms policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:19 grafana | logger=migrator t=2024-10-14T18:16:11.05498965Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:19 grafana | logger=migrator t=2024-10-14T18:16:11.056065393Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.075263ms policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:19 grafana | logger=migrator t=2024-10-14T18:16:11.063000961Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:20 grafana | logger=migrator t=2024-10-14T18:16:11.064140404Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.138683ms policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:20 grafana | logger=migrator t=2024-10-14T18:16:11.06814999Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:20 grafana | logger=migrator t=2024-10-14T18:16:11.069709458Z level=info msg="Migration successfully executed" id="create team role table" duration=1.559338ms policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:20 grafana | logger=migrator t=2024-10-14T18:16:11.073502441Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:20 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:20 grafana | logger=migrator t=2024-10-14T18:16:11.075687986Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=2.185905ms policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:20 grafana | logger=migrator t=2024-10-14T18:16:11.081886636Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:20 grafana | logger=migrator t=2024-10-14T18:16:11.083180201Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.293505ms policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:20 grafana | logger=migrator t=2024-10-14T18:16:11.086783612Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:20 grafana | logger=migrator t=2024-10-14T18:16:11.088605103Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.820891ms policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:20 grafana | logger=migrator t=2024-10-14T18:16:11.092895522Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:20 grafana | logger=migrator t=2024-10-14T18:16:11.093760432Z level=info msg="Migration successfully executed" id="create user role table" duration=866.619µs policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:20 grafana | logger=migrator t=2024-10-14T18:16:11.098069871Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:20 grafana | logger=migrator t=2024-10-14T18:16:11.099216204Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.139853ms policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:20 grafana | logger=migrator t=2024-10-14T18:16:11.102518901Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:20 grafana | logger=migrator t=2024-10-14T18:16:11.103668054Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.148863ms policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:20 grafana | logger=migrator t=2024-10-14T18:16:11.107435207Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1410241816160800u 1 2024-10-14 18:16:20 grafana | logger=migrator t=2024-10-14T18:16:11.10853228Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.094483ms policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1410241816160900u 1 2024-10-14 18:16:20 grafana | logger=migrator t=2024-10-14T18:16:11.115222766Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1410241816160900u 1 2024-10-14 18:16:21 grafana | logger=migrator t=2024-10-14T18:16:11.116091786Z level=info msg="Migration successfully executed" id="create builtin role table" duration=868.57µs policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1410241816160900u 1 2024-10-14 18:16:21 grafana | logger=migrator t=2024-10-14T18:16:11.122864963Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1410241816160900u 1 2024-10-14 18:16:21 grafana | logger=migrator t=2024-10-14T18:16:11.125041088Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=2.179455ms policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1410241816160900u 1 2024-10-14 18:16:21 grafana | logger=migrator t=2024-10-14T18:16:11.130942765Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1410241816160900u 1 2024-10-14 18:16:21 grafana | logger=migrator t=2024-10-14T18:16:11.132183409Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.239884ms policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1410241816160900u 1 2024-10-14 18:16:21 grafana | logger=migrator t=2024-10-14T18:16:11.135179563Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1410241816160900u 1 2024-10-14 18:16:21 grafana | logger=migrator t=2024-10-14T18:16:11.143050003Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.87008ms policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1410241816160900u 1 2024-10-14 18:16:21 grafana | logger=migrator t=2024-10-14T18:16:11.147024688Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1410241816160900u 1 2024-10-14 18:16:21 grafana | logger=migrator t=2024-10-14T18:16:11.148146741Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.121583ms policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1410241816160900u 1 2024-10-14 18:16:21 grafana | logger=migrator t=2024-10-14T18:16:11.151386628Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1410241816160900u 1 2024-10-14 18:16:21 grafana | logger=migrator t=2024-10-14T18:16:11.152812254Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.424616ms policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1410241816160900u 1 2024-10-14 18:16:21 grafana | logger=migrator t=2024-10-14T18:16:11.156181892Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1410241816161000u 1 2024-10-14 18:16:21 grafana | logger=migrator t=2024-10-14T18:16:11.157360046Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.178414ms policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1410241816161000u 1 2024-10-14 18:16:21 grafana | logger=migrator t=2024-10-14T18:16:11.161321361Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1410241816161000u 1 2024-10-14 18:16:21 grafana | logger=migrator t=2024-10-14T18:16:11.162432683Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.111182ms policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1410241816161000u 1 2024-10-14 18:16:22 grafana | logger=migrator t=2024-10-14T18:16:11.165587629Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1410241816161000u 1 2024-10-14 18:16:22 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1410241816161000u 1 2024-10-14 18:16:22 grafana | logger=migrator t=2024-10-14T18:16:11.166460929Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=872.93µs policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1410241816161000u 1 2024-10-14 18:16:22 grafana | logger=migrator t=2024-10-14T18:16:11.169772387Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1410241816161000u 1 2024-10-14 18:16:22 grafana | logger=migrator t=2024-10-14T18:16:11.17092561Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.152803ms policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1410241816161000u 1 2024-10-14 18:16:22 grafana | logger=migrator t=2024-10-14T18:16:11.176545624Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1410241816161100u 1 2024-10-14 18:16:22 grafana | logger=migrator t=2024-10-14T18:16:11.185676328Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=9.130854ms policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1410241816161200u 1 2024-10-14 18:16:22 grafana | logger=migrator t=2024-10-14T18:16:11.189020686Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1410241816161200u 1 2024-10-14 18:16:22 grafana | logger=migrator t=2024-10-14T18:16:11.196932836Z level=info msg="Migration successfully executed" id="permission kind migration" duration=7.91157ms policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1410241816161200u 1 2024-10-14 18:16:22 grafana | logger=migrator t=2024-10-14T18:16:11.200191303Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1410241816161200u 1 2024-10-14 18:16:22 grafana | logger=migrator t=2024-10-14T18:16:11.208070343Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=7.87801ms policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 1410241816161300u 1 2024-10-14 18:16:22 grafana | logger=migrator t=2024-10-14T18:16:11.211965037Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 1410241816161300u 1 2024-10-14 18:16:22 grafana | logger=migrator t=2024-10-14T18:16:11.217849274Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=5.884357ms policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 1410241816161300u 1 2024-10-14 18:16:22 grafana | logger=migrator t=2024-10-14T18:16:11.221503936Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | policyadmin: OK @ 1300 grafana | logger=migrator t=2024-10-14T18:16:11.223731241Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=2.229075ms grafana | logger=migrator t=2024-10-14T18:16:11.227251521Z level=info msg="Executing migration" id="add permission action scope role_id index" grafana | logger=migrator t=2024-10-14T18:16:11.228373434Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=1.121883ms grafana | logger=migrator t=2024-10-14T18:16:11.233122888Z level=info msg="Executing migration" id="remove permission role_id action scope index" grafana | logger=migrator t=2024-10-14T18:16:11.23420391Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.081072ms grafana | logger=migrator t=2024-10-14T18:16:11.237242415Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2024-10-14T18:16:11.238204726Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=961.841µs grafana | logger=migrator t=2024-10-14T18:16:11.241590385Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2024-10-14T18:16:11.242871169Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.280314ms grafana | logger=migrator t=2024-10-14T18:16:11.247117467Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2024-10-14T18:16:11.247273949Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=155.702µs grafana | logger=migrator t=2024-10-14T18:16:11.250518716Z level=info msg="Executing migration" id="create query_history_details table v1" grafana | logger=migrator t=2024-10-14T18:16:11.251457027Z level=info msg="Migration successfully executed" id="create query_history_details table v1" duration=937.831µs grafana | logger=migrator t=2024-10-14T18:16:11.255081558Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2024-10-14T18:16:11.255183579Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=103.501µs grafana | logger=migrator t=2024-10-14T18:16:11.259883363Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2024-10-14T18:16:11.260415189Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=531.016µs grafana | logger=migrator t=2024-10-14T18:16:11.263864388Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2024-10-14T18:16:11.264564836Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=701.328µs grafana | logger=migrator t=2024-10-14T18:16:11.267948184Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2024-10-14T18:16:11.268710303Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=760.489µs grafana | logger=migrator t=2024-10-14T18:16:11.272599067Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2024-10-14T18:16:11.273114463Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=515.766µs grafana | logger=migrator t=2024-10-14T18:16:11.277357112Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2024-10-14T18:16:11.277876727Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=519.305µs grafana | logger=migrator t=2024-10-14T18:16:11.281493828Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2024-10-14T18:16:11.28246721Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=973.172µs grafana | logger=migrator t=2024-10-14T18:16:11.288386127Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2024-10-14T18:16:11.289627881Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.241034ms grafana | logger=migrator t=2024-10-14T18:16:11.294033171Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2024-10-14T18:16:11.305635333Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=11.603292ms grafana | logger=migrator t=2024-10-14T18:16:11.309896692Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2024-10-14T18:16:11.310009423Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=86.661µs grafana | logger=migrator t=2024-10-14T18:16:11.317187725Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2024-10-14T18:16:11.319113897Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.925202ms grafana | logger=migrator t=2024-10-14T18:16:11.324526049Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2024-10-14T18:16:11.326683113Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=2.145774ms grafana | logger=migrator t=2024-10-14T18:16:11.330308694Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2024-10-14T18:16:11.331530358Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.225594ms grafana | logger=migrator t=2024-10-14T18:16:11.335151499Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2024-10-14T18:16:11.343947139Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.79534ms grafana | logger=migrator t=2024-10-14T18:16:11.349295431Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2024-10-14T18:16:11.350448234Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.151914ms grafana | logger=migrator t=2024-10-14T18:16:11.355227288Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2024-10-14T18:16:11.356836646Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.609048ms grafana | logger=migrator t=2024-10-14T18:16:11.362842285Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2024-10-14T18:16:11.38435969Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=21.514294ms grafana | logger=migrator t=2024-10-14T18:16:11.389286916Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2024-10-14T18:16:11.390265657Z level=info msg="Migration successfully executed" id="create correlation v2" duration=978.811µs grafana | logger=migrator t=2024-10-14T18:16:11.393422443Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2024-10-14T18:16:11.394671577Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.248784ms grafana | logger=migrator t=2024-10-14T18:16:11.398378539Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2024-10-14T18:16:11.399669744Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.298805ms grafana | logger=migrator t=2024-10-14T18:16:11.406753005Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2024-10-14T18:16:11.408176011Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.422926ms grafana | logger=migrator t=2024-10-14T18:16:11.412869204Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2024-10-14T18:16:11.413450641Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=580.887µs grafana | logger=migrator t=2024-10-14T18:16:11.422002198Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2024-10-14T18:16:11.423149291Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.147243ms grafana | logger=migrator t=2024-10-14T18:16:11.428815796Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2024-10-14T18:16:11.440672821Z level=info msg="Migration successfully executed" id="add provisioning column" duration=11.822244ms grafana | logger=migrator t=2024-10-14T18:16:11.445152872Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2024-10-14T18:16:11.446326525Z level=info msg="Migration successfully executed" id="create entity_events table" duration=1.174653ms grafana | logger=migrator t=2024-10-14T18:16:11.449865395Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2024-10-14T18:16:11.45117493Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.309495ms grafana | logger=migrator t=2024-10-14T18:16:11.456028875Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-10-14T18:16:11.456596302Z 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-10-14T18:16:11.462322527Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-10-14T18:16:11.463200597Z 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-10-14T18:16:11.470526331Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2024-10-14T18:16:11.471625713Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.101582ms grafana | logger=migrator t=2024-10-14T18:16:11.479885907Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2024-10-14T18:16:11.481758898Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.872821ms grafana | logger=migrator t=2024-10-14T18:16:11.486545013Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-10-14T18:16:11.488220982Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.677339ms grafana | logger=migrator t=2024-10-14T18:16:11.49238801Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-10-14T18:16:11.493642734Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.254814ms grafana | logger=migrator t=2024-10-14T18:16:11.500483502Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-10-14T18:16:11.501781186Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.297934ms grafana | logger=migrator t=2024-10-14T18:16:11.505160385Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-10-14T18:16:11.506368809Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.208414ms grafana | logger=migrator t=2024-10-14T18:16:11.511281295Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-10-14T18:16:11.512211675Z level=info msg="Migration successfully executed" id="Drop public config table" duration=929.791µs grafana | logger=migrator t=2024-10-14T18:16:11.516610605Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2024-10-14T18:16:11.518506547Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.895722ms grafana | logger=migrator t=2024-10-14T18:16:11.524129581Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-10-14T18:16:11.525399745Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.270374ms grafana | logger=migrator t=2024-10-14T18:16:11.531819258Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-10-14T18:16:11.533199644Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.380506ms grafana | logger=migrator t=2024-10-14T18:16:11.538411523Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2024-10-14T18:16:11.539738549Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.326766ms grafana | logger=migrator t=2024-10-14T18:16:11.545202921Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2024-10-14T18:16:11.572033176Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=26.828215ms grafana | logger=migrator t=2024-10-14T18:16:11.578211626Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2024-10-14T18:16:11.585449259Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=7.237173ms grafana | logger=migrator t=2024-10-14T18:16:11.589700057Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2024-10-14T18:16:11.599927474Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=10.227477ms grafana | logger=migrator t=2024-10-14T18:16:11.604781499Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2024-10-14T18:16:11.605041622Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=260.433µs grafana | logger=migrator t=2024-10-14T18:16:11.613284606Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2024-10-14T18:16:11.625173371Z level=info msg="Migration successfully executed" id="add share column" duration=11.886675ms grafana | logger=migrator t=2024-10-14T18:16:11.632327452Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2024-10-14T18:16:11.632641256Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=314.884µs grafana | logger=migrator t=2024-10-14T18:16:11.637475871Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2024-10-14T18:16:11.638596184Z level=info msg="Migration successfully executed" id="create file table" duration=1.119943ms grafana | logger=migrator t=2024-10-14T18:16:11.64790331Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-10-14T18:16:11.650016644Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=2.113754ms grafana | logger=migrator t=2024-10-14T18:16:11.655669898Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-10-14T18:16:11.657254336Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.583428ms grafana | logger=migrator t=2024-10-14T18:16:11.697335582Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-10-14T18:16:11.699017452Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.657949ms grafana | logger=migrator t=2024-10-14T18:16:11.706722539Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-10-14T18:16:11.708738462Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=2.015033ms grafana | logger=migrator t=2024-10-14T18:16:11.715036844Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-10-14T18:16:11.715219706Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=183.032µs grafana | logger=migrator t=2024-10-14T18:16:11.719575146Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-10-14T18:16:11.719790698Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=215.592µs grafana | logger=migrator t=2024-10-14T18:16:11.724893126Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-10-14T18:16:11.725812007Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=913.84µs grafana | logger=migrator t=2024-10-14T18:16:11.732005057Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-10-14T18:16:11.732332871Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=327.784µs grafana | logger=migrator t=2024-10-14T18:16:11.738911046Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-10-14T18:16:11.741236932Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=2.328306ms grafana | logger=migrator t=2024-10-14T18:16:11.74629797Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-10-14T18:16:11.755823838Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=9.525928ms grafana | logger=migrator t=2024-10-14T18:16:11.764031462Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-10-14T18:16:11.764224774Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=193.382µs grafana | logger=migrator t=2024-10-14T18:16:11.770966741Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-10-14T18:16:11.772907033Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.939692ms grafana | logger=migrator t=2024-10-14T18:16:11.781655662Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-10-14T18:16:11.782169508Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=514.906µs grafana | logger=migrator t=2024-10-14T18:16:11.786633719Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-10-14T18:16:11.787080204Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=442.335µs grafana | logger=migrator t=2024-10-14T18:16:11.794768262Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-10-14T18:16:11.795648422Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=879.9µs grafana | logger=migrator t=2024-10-14T18:16:11.800929812Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-10-14T18:16:11.813259322Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=12.331ms grafana | logger=migrator t=2024-10-14T18:16:11.81833342Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-10-14T18:16:11.82709859Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.76465ms grafana | logger=migrator t=2024-10-14T18:16:11.831341038Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-10-14T18:16:11.832186778Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=845.07µs grafana | logger=migrator t=2024-10-14T18:16:11.838293767Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-10-14T18:16:11.915957751Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=77.657634ms grafana | logger=migrator t=2024-10-14T18:16:11.923689329Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-10-14T18:16:11.925063815Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.374826ms grafana | logger=migrator t=2024-10-14T18:16:11.931026443Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-10-14T18:16:11.933199607Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=2.172894ms grafana | logger=migrator t=2024-10-14T18:16:11.936817739Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-10-14T18:16:11.962648563Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=25.827214ms grafana | logger=migrator t=2024-10-14T18:16:11.970053457Z level=info msg="Executing migration" id="add origin column to seed_assignment" grafana | logger=migrator t=2024-10-14T18:16:11.981476517Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=11.42281ms grafana | logger=migrator t=2024-10-14T18:16:11.987056641Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" grafana | logger=migrator t=2024-10-14T18:16:11.987383994Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=327.213µs grafana | logger=migrator t=2024-10-14T18:16:11.991949076Z level=info msg="Executing migration" id="prevent seeding OnCall access" grafana | logger=migrator t=2024-10-14T18:16:11.9922232Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=272.004µs grafana | logger=migrator t=2024-10-14T18:16:11.996574009Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-10-14T18:16:11.996900793Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=325.884µs grafana | logger=migrator t=2024-10-14T18:16:12.00190399Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-10-14T18:16:12.002377775Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=476.085µs grafana | logger=migrator t=2024-10-14T18:16:12.006645403Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-10-14T18:16:12.006962476Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=316.943µs grafana | logger=migrator t=2024-10-14T18:16:12.010151962Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-10-14T18:16:12.011463176Z level=info msg="Migration successfully executed" id="create folder table" duration=1.311414ms grafana | logger=migrator t=2024-10-14T18:16:12.016236279Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-10-14T18:16:12.017959918Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.722759ms grafana | logger=migrator t=2024-10-14T18:16:12.021198114Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-10-14T18:16:12.022493619Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.287235ms grafana | logger=migrator t=2024-10-14T18:16:12.029510816Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-10-14T18:16:12.029539407Z level=info msg="Migration successfully executed" id="Update folder title length" duration=29.911µs grafana | logger=migrator t=2024-10-14T18:16:12.035127558Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-10-14T18:16:12.037303892Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=2.175914ms grafana | logger=migrator t=2024-10-14T18:16:12.042229297Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-10-14T18:16:12.043619752Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.387385ms grafana | logger=migrator t=2024-10-14T18:16:12.049264115Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-10-14T18:16:12.051420508Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=2.159474ms grafana | logger=migrator t=2024-10-14T18:16:12.055721856Z level=info msg="Executing migration" id="Sync dashboard and folder table" grafana | logger=migrator t=2024-10-14T18:16:12.056501354Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=778.958µs grafana | logger=migrator t=2024-10-14T18:16:12.059965283Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" grafana | logger=migrator t=2024-10-14T18:16:12.060315417Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=349.944µs grafana | logger=migrator t=2024-10-14T18:16:12.06331784Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" grafana | logger=migrator t=2024-10-14T18:16:12.064508183Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.190243ms grafana | logger=migrator t=2024-10-14T18:16:12.06968943Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" grafana | logger=migrator t=2024-10-14T18:16:12.071802094Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=2.115544ms grafana | logger=migrator t=2024-10-14T18:16:12.07506533Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" grafana | logger=migrator t=2024-10-14T18:16:12.076483435Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.418745ms grafana | logger=migrator t=2024-10-14T18:16:12.083032658Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" grafana | logger=migrator t=2024-10-14T18:16:12.084422013Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.389245ms grafana | logger=migrator t=2024-10-14T18:16:12.087148633Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" grafana | logger=migrator t=2024-10-14T18:16:12.088299906Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.151023ms grafana | logger=migrator t=2024-10-14T18:16:12.091636973Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-10-14T18:16:12.092632014Z level=info msg="Migration successfully executed" id="create anon_device table" duration=994.401µs grafana | logger=migrator t=2024-10-14T18:16:12.096888491Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-10-14T18:16:12.098021963Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.132922ms grafana | logger=migrator t=2024-10-14T18:16:12.101528652Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-10-14T18:16:12.102710495Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.179933ms grafana | logger=migrator t=2024-10-14T18:16:12.105936471Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-10-14T18:16:12.107403627Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.466106ms grafana | logger=migrator t=2024-10-14T18:16:12.111822576Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-10-14T18:16:12.112998189Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.173933ms grafana | logger=migrator t=2024-10-14T18:16:12.14479729Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-10-14T18:16:12.14661771Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.82117ms grafana | logger=migrator t=2024-10-14T18:16:12.196426151Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-10-14T18:16:12.197006427Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=581.466µs grafana | logger=migrator t=2024-10-14T18:16:12.20092739Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-10-14T18:16:12.210939351Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=10.013411ms grafana | logger=migrator t=2024-10-14T18:16:12.214359369Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-10-14T18:16:12.214892935Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=534.416µs grafana | logger=migrator t=2024-10-14T18:16:12.220189583Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-10-14T18:16:12.220204703Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=15.75µs grafana | logger=migrator t=2024-10-14T18:16:12.223082475Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-10-14T18:16:12.224813405Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.731299ms grafana | logger=migrator t=2024-10-14T18:16:12.228708417Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-10-14T18:16:12.228734048Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=27.301µs grafana | logger=migrator t=2024-10-14T18:16:12.235189819Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" grafana | logger=migrator t=2024-10-14T18:16:12.237312713Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=2.122684ms grafana | logger=migrator t=2024-10-14T18:16:12.240489697Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-10-14T18:16:12.241804762Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.314465ms grafana | logger=migrator t=2024-10-14T18:16:12.244608183Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-10-14T18:16:12.245684015Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.075562ms grafana | logger=migrator t=2024-10-14T18:16:12.253061526Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-10-14T18:16:12.253851465Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=790.829µs grafana | logger=migrator t=2024-10-14T18:16:12.257856899Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-10-14T18:16:12.258268614Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=412.795µs grafana | logger=migrator t=2024-10-14T18:16:12.261582251Z level=info msg="Executing migration" id="managed dashboard permissions annotation actions migration" grafana | logger=migrator t=2024-10-14T18:16:12.262495241Z level=info msg="Migration successfully executed" id="managed dashboard permissions annotation actions migration" duration=912.94µs grafana | logger=migrator t=2024-10-14T18:16:12.265815108Z level=info msg="Executing migration" id="create cloud_migration table v1" grafana | logger=migrator t=2024-10-14T18:16:12.266693557Z level=info msg="Migration successfully executed" id="create cloud_migration table v1" duration=878.079µs grafana | logger=migrator t=2024-10-14T18:16:12.271920915Z level=info msg="Executing migration" id="create cloud_migration_run table v1" grafana | logger=migrator t=2024-10-14T18:16:12.273139708Z level=info msg="Migration successfully executed" id="create cloud_migration_run table v1" duration=1.217043ms grafana | logger=migrator t=2024-10-14T18:16:12.276284193Z level=info msg="Executing migration" id="add stack_id column" grafana | logger=migrator t=2024-10-14T18:16:12.288757961Z level=info msg="Migration successfully executed" id="add stack_id column" duration=12.473978ms grafana | logger=migrator t=2024-10-14T18:16:12.292056537Z level=info msg="Executing migration" id="add region_slug column" grafana | logger=migrator t=2024-10-14T18:16:12.301681384Z level=info msg="Migration successfully executed" id="add region_slug column" duration=9.628847ms grafana | logger=migrator t=2024-10-14T18:16:12.307425247Z level=info msg="Executing migration" id="add cluster_slug column" grafana | logger=migrator t=2024-10-14T18:16:12.31584308Z level=info msg="Migration successfully executed" id="add cluster_slug column" duration=8.416363ms grafana | logger=migrator t=2024-10-14T18:16:12.319076346Z level=info msg="Executing migration" id="add migration uid column" grafana | logger=migrator t=2024-10-14T18:16:12.328945735Z level=info msg="Migration successfully executed" id="add migration uid column" duration=9.869349ms grafana | logger=migrator t=2024-10-14T18:16:12.332720487Z level=info msg="Executing migration" id="Update uid column values for migration" grafana | logger=migrator t=2024-10-14T18:16:12.332841228Z level=info msg="Migration successfully executed" id="Update uid column values for migration" duration=120.821µs grafana | logger=migrator t=2024-10-14T18:16:12.339564642Z level=info msg="Executing migration" id="Add unique index migration_uid" grafana | logger=migrator t=2024-10-14T18:16:12.341557214Z level=info msg="Migration successfully executed" id="Add unique index migration_uid" duration=1.992152ms grafana | logger=migrator t=2024-10-14T18:16:12.346702191Z level=info msg="Executing migration" id="add migration run uid column" grafana | logger=migrator t=2024-10-14T18:16:12.356146035Z level=info msg="Migration successfully executed" id="add migration run uid column" duration=9.443914ms grafana | logger=migrator t=2024-10-14T18:16:12.359138598Z level=info msg="Executing migration" id="Update uid column values for migration run" grafana | logger=migrator t=2024-10-14T18:16:12.35926202Z level=info msg="Migration successfully executed" id="Update uid column values for migration run" duration=123.732µs grafana | logger=migrator t=2024-10-14T18:16:12.364761291Z level=info msg="Executing migration" id="Add unique index migration_run_uid" grafana | logger=migrator t=2024-10-14T18:16:12.366632522Z level=info msg="Migration successfully executed" id="Add unique index migration_run_uid" duration=1.870781ms grafana | logger=migrator t=2024-10-14T18:16:12.371116121Z level=info msg="Executing migration" id="Rename table cloud_migration to cloud_migration_session_tmp_qwerty - v1" grafana | logger=migrator t=2024-10-14T18:16:12.395202387Z level=info msg="Migration successfully executed" id="Rename table cloud_migration to cloud_migration_session_tmp_qwerty - v1" duration=24.087156ms grafana | logger=migrator t=2024-10-14T18:16:12.400801399Z level=info msg="Executing migration" id="create cloud_migration_session v2" grafana | logger=migrator t=2024-10-14T18:16:12.401748379Z level=info msg="Migration successfully executed" id="create cloud_migration_session v2" duration=946.9µs grafana | logger=migrator t=2024-10-14T18:16:12.408595245Z level=info msg="Executing migration" id="create index UQE_cloud_migration_session_uid - v2" grafana | logger=migrator t=2024-10-14T18:16:12.40988767Z level=info msg="Migration successfully executed" id="create index UQE_cloud_migration_session_uid - v2" duration=1.291064ms grafana | logger=migrator t=2024-10-14T18:16:12.413480429Z level=info msg="Executing migration" id="copy cloud_migration_session v1 to v2" grafana | logger=migrator t=2024-10-14T18:16:12.414009335Z level=info msg="Migration successfully executed" id="copy cloud_migration_session v1 to v2" duration=539.426µs grafana | logger=migrator t=2024-10-14T18:16:12.417332762Z level=info msg="Executing migration" id="drop cloud_migration_session_tmp_qwerty" grafana | logger=migrator t=2024-10-14T18:16:12.418245632Z level=info msg="Migration successfully executed" id="drop cloud_migration_session_tmp_qwerty" duration=914.58µs grafana | logger=migrator t=2024-10-14T18:16:12.424000665Z level=info msg="Executing migration" id="Rename table cloud_migration_run to cloud_migration_snapshot_tmp_qwerty - v1" grafana | logger=migrator t=2024-10-14T18:16:12.448119552Z level=info msg="Migration successfully executed" id="Rename table cloud_migration_run to cloud_migration_snapshot_tmp_qwerty - v1" duration=24.125937ms grafana | logger=migrator t=2024-10-14T18:16:12.45156222Z level=info msg="Executing migration" id="create cloud_migration_snapshot v2" grafana | logger=migrator t=2024-10-14T18:16:12.452259007Z level=info msg="Migration successfully executed" id="create cloud_migration_snapshot v2" duration=707.007µs grafana | logger=migrator t=2024-10-14T18:16:12.455354122Z level=info msg="Executing migration" id="create index UQE_cloud_migration_snapshot_uid - v2" grafana | logger=migrator t=2024-10-14T18:16:12.456166601Z level=info msg="Migration successfully executed" id="create index UQE_cloud_migration_snapshot_uid - v2" duration=812.179µs grafana | logger=migrator t=2024-10-14T18:16:12.463235019Z level=info msg="Executing migration" id="copy cloud_migration_snapshot v1 to v2" grafana | logger=migrator t=2024-10-14T18:16:12.463560892Z level=info msg="Migration successfully executed" id="copy cloud_migration_snapshot v1 to v2" duration=326.193µs grafana | logger=migrator t=2024-10-14T18:16:12.466448414Z level=info msg="Executing migration" id="drop cloud_migration_snapshot_tmp_qwerty" grafana | logger=migrator t=2024-10-14T18:16:12.467780729Z level=info msg="Migration successfully executed" id="drop cloud_migration_snapshot_tmp_qwerty" duration=1.332235ms grafana | logger=migrator t=2024-10-14T18:16:12.472781105Z level=info msg="Executing migration" id="add snapshot upload_url column" grafana | logger=migrator t=2024-10-14T18:16:12.483734195Z level=info msg="Migration successfully executed" id="add snapshot upload_url column" duration=10.954261ms grafana | logger=migrator t=2024-10-14T18:16:12.489259306Z level=info msg="Executing migration" id="add snapshot status column" grafana | logger=migrator t=2024-10-14T18:16:12.496210913Z level=info msg="Migration successfully executed" id="add snapshot status column" duration=6.951487ms grafana | logger=migrator t=2024-10-14T18:16:12.499250147Z level=info msg="Executing migration" id="add snapshot local_directory column" grafana | logger=migrator t=2024-10-14T18:16:12.50945126Z level=info msg="Migration successfully executed" id="add snapshot local_directory column" duration=10.200943ms grafana | logger=migrator t=2024-10-14T18:16:12.512796747Z level=info msg="Executing migration" id="add snapshot gms_snapshot_uid column" grafana | logger=migrator t=2024-10-14T18:16:12.525097963Z level=info msg="Migration successfully executed" id="add snapshot gms_snapshot_uid column" duration=12.280035ms grafana | logger=migrator t=2024-10-14T18:16:12.562456635Z level=info msg="Executing migration" id="add snapshot encryption_key column" grafana | logger=migrator t=2024-10-14T18:16:12.574863542Z level=info msg="Migration successfully executed" id="add snapshot encryption_key column" duration=12.411157ms grafana | logger=migrator t=2024-10-14T18:16:12.57826664Z level=info msg="Executing migration" id="add snapshot error_string column" grafana | logger=migrator t=2024-10-14T18:16:12.58735758Z level=info msg="Migration successfully executed" id="add snapshot error_string column" duration=9.08977ms grafana | logger=migrator t=2024-10-14T18:16:12.592911692Z level=info msg="Executing migration" id="create cloud_migration_resource table v1" grafana | logger=migrator t=2024-10-14T18:16:12.59366139Z level=info msg="Migration successfully executed" id="create cloud_migration_resource table v1" duration=750.328µs grafana | logger=migrator t=2024-10-14T18:16:12.597092688Z level=info msg="Executing migration" id="delete cloud_migration_snapshot.result column" grafana | logger=migrator t=2024-10-14T18:16:12.635493722Z level=info msg="Migration successfully executed" id="delete cloud_migration_snapshot.result column" duration=38.401324ms grafana | logger=migrator t=2024-10-14T18:16:12.639005311Z level=info msg="Executing migration" id="alter kv_store.value to longtext" grafana | logger=migrator t=2024-10-14T18:16:12.639074612Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=69.261µs grafana | logger=migrator t=2024-10-14T18:16:12.643552511Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" grafana | logger=migrator t=2024-10-14T18:16:12.654884487Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=11.332116ms grafana | logger=migrator t=2024-10-14T18:16:12.659015522Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" grafana | logger=migrator t=2024-10-14T18:16:12.668470147Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=9.453855ms grafana | logger=migrator t=2024-10-14T18:16:12.671891334Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" grafana | logger=migrator t=2024-10-14T18:16:12.672186158Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=294.564µs grafana | logger=migrator t=2024-10-14T18:16:12.677224373Z level=info msg="Executing migration" id="managed folder permissions alerting silences actions migration" grafana | logger=migrator t=2024-10-14T18:16:12.677759619Z level=info msg="Migration successfully executed" id="managed folder permissions alerting silences actions migration" duration=535.346µs grafana | logger=migrator t=2024-10-14T18:16:12.682481541Z level=info msg="Executing migration" id="add record column to alert_rule table" grafana | logger=migrator t=2024-10-14T18:16:12.694647146Z level=info msg="Migration successfully executed" id="add record column to alert_rule table" duration=12.164455ms grafana | logger=migrator t=2024-10-14T18:16:12.698601369Z level=info msg="Executing migration" id="add record column to alert_rule_version table" grafana | logger=migrator t=2024-10-14T18:16:12.707784491Z level=info msg="Migration successfully executed" id="add record column to alert_rule_version table" duration=9.182062ms grafana | logger=migrator t=2024-10-14T18:16:12.712493013Z level=info msg="Executing migration" id="add resolved_at column to alert_instance table" grafana | logger=migrator t=2024-10-14T18:16:12.722750506Z level=info msg="Migration successfully executed" id="add resolved_at column to alert_instance table" duration=10.259453ms grafana | logger=migrator t=2024-10-14T18:16:12.727431938Z level=info msg="Executing migration" id="add last_sent_at column to alert_instance table" grafana | logger=migrator t=2024-10-14T18:16:12.735590958Z level=info msg="Migration successfully executed" id="add last_sent_at column to alert_instance table" duration=8.15563ms grafana | logger=migrator t=2024-10-14T18:16:12.739067247Z level=info msg="Executing migration" id="Enable traceQL streaming for all Tempo datasources" grafana | logger=migrator t=2024-10-14T18:16:12.739089027Z level=info msg="Migration successfully executed" id="Enable traceQL streaming for all Tempo datasources" duration=22.69µs grafana | logger=migrator t=2024-10-14T18:16:12.742782778Z level=info msg="migrations completed" performed=594 skipped=0 duration=4.885885067s grafana | logger=migrator t=2024-10-14T18:16:12.743549196Z level=info msg="Unlocking database" grafana | logger=sqlstore t=2024-10-14T18:16:12.763983612Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-10-14T18:16:12.764280995Z level=info msg="Created default organization" grafana | logger=secrets t=2024-10-14T18:16:12.87690941Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.angulardetectorsprovider.dynamic t=2024-10-14T18:16:12.933314633Z level=info msg="Restored cache from database" duration=364.674µs grafana | logger=plugin.store t=2024-10-14T18:16:12.934642408Z level=info msg="Loading plugins..." grafana | logger=plugins.registration t=2024-10-14T18:16:12.964291985Z level=error msg="Could not register plugin" pluginId=xychart error="plugin xychart is already registered" grafana | logger=plugins.initialization t=2024-10-14T18:16:12.964317976Z level=error msg="Could not initialize plugin" pluginId=xychart error="plugin xychart is already registered" grafana | logger=local.finder t=2024-10-14T18:16:12.964379946Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-10-14T18:16:12.964392667Z level=info msg="Plugins loaded" count=54 duration=29.751029ms grafana | logger=query_data t=2024-10-14T18:16:12.968422381Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-10-14T18:16:12.971592326Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.notifier.alertmanager org=1 t=2024-10-14T18:16:12.977052076Z level=info msg="Applying new configuration to Alertmanager" configHash=d2c56faca6af2a5772ff4253222f7386 grafana | logger=ngalert.state.manager t=2024-10-14T18:16:13.104501448Z level=info msg="Running in alternative execution of Error/NoData mode" grafana | logger=infra.usagestats.collector t=2024-10-14T18:16:13.11023855Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-10-14T18:16:13.114249277Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-10-14T18:16:13.135422969Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-10-14T18:16:13.135527599Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2024-10-14T18:16:13.135843342Z level=info msg="Storage starting" grafana | logger=http.server t=2024-10-14T18:16:13.139440335Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=ngalert.state.manager t=2024-10-14T18:16:13.140364343Z level=info msg="Warming state cache for startup" grafana | logger=ngalert.multiorg.alertmanager t=2024-10-14T18:16:13.141460563Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=plugins.update.checker t=2024-10-14T18:16:13.201362666Z level=info msg="Update check succeeded" duration=60.69591ms grafana | logger=grafana.update.checker t=2024-10-14T18:16:13.201379886Z level=info msg="Update check succeeded" duration=60.897442ms grafana | logger=provisioning.dashboard t=2024-10-14T18:16:13.232583899Z level=info msg="starting to provision dashboards" grafana | logger=plugin.angulardetectorsprovider.dynamic t=2024-10-14T18:16:13.369161622Z level=info msg="Patterns update finished" duration=185.755399ms grafana | logger=ngalert.state.manager t=2024-10-14T18:16:13.417874872Z level=info msg="State cache has been initialized" states=0 duration=277.507349ms grafana | logger=ngalert.scheduler t=2024-10-14T18:16:13.417922802Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 grafana | logger=ticker t=2024-10-14T18:16:13.418054553Z level=info msg=starting first_tick=2024-10-14T18:16:20Z grafana | logger=grafana-apiserver t=2024-10-14T18:16:13.781388509Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=grafana-apiserver t=2024-10-14T18:16:13.782051475Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" grafana | logger=provisioning.dashboard t=2024-10-14T18:16:13.985143526Z level=info msg="finished to provision dashboards" grafana | logger=infra.usagestats t=2024-10-14T18:16:50.151075962Z 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 prometheus ... Stopping mariadb ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing prometheus ... Removing mariadb ... Removing policy-api ... done Removing grafana ... 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.CSq95BMHRP ]] + rsync -av /tmp/tmp.CSq95BMHRP/ /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,655 bytes received 95 bytes 2,691,500.00 bytes/sec total size is 1,345,005 speedup is 1.00 + rm -rf /w/workspace/policy-api-montreal-project-csit-api/models + exit 0 $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2094 killed; [ssh-agent] Stopped. Robot results publisher started... 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/jenkins10606763667598872867.sh ---> sysstat.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins13475817857262624296.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/jenkins7121305219975539243.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-5N7A from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-5N7A/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins4609192335102811858.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config9347806042921155551tmp 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/jenkins14931901677058878450.sh ---> create-netrc.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins9155999617760699088.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-5N7A from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-5N7A/bin to PATH [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins14924643338878553113.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins7829721750935230428.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-5N7A 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-5N7A/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/jenkins6732017688462835364.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-5N7A from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-5N7A/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/338 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-76747 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2800.000 BogoMIPS: 5600.00 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 886 27217 0 4063 30824 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:4d:fa:97 brd ff:ff:ff:ff:ff:ff inet 10.30.106.66/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86065sec preferred_lft 86065sec inet6 fe80::f816:3eff:fe4d:fa97/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:e3:2c:6e:71 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-76747) 10/14/24 _x86_64_ (8 CPU) 18:13:14 LINUX RESTART (8 CPU) 18:14:02 tps rtps wtps bread/s bwrtn/s 18:15:01 131.94 31.81 100.14 2160.72 18596.17 18:16:01 181.76 9.49 172.26 1664.29 66376.54 18:17:01 299.13 12.11 287.02 803.13 27782.42 18:18:01 30.41 0.07 30.34 11.33 10808.62 Average: 160.96 13.29 147.67 1156.40 30992.70 18:14:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:15:01 29955260 31671784 2983960 9.06 77840 1941600 1418468 4.17 903092 1772928 184204 18:16:01 27930332 31622520 5008888 15.21 114184 3809004 1425804 4.20 1043352 3547344 348752 18:17:01 27028836 30765152 5910384 17.94 129108 3829280 4049344 11.91 1981400 3474408 72 18:18:01 27188996 30948924 5750224 17.46 129444 3856432 2530196 7.44 1823944 3486652 100 Average: 28025856 31252095 4913364 14.92 112644 3359079 2355953 6.93 1437947 3070333 133282 18:14:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:15:01 ens3 73.67 51.09 1111.99 11.00 0.00 0.00 0.00 0.00 18:15:01 lo 1.76 1.76 0.19 0.19 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:16:01 ens3 345.37 211.60 10131.37 17.85 0.00 0.00 0.00 0.00 18:16:01 lo 8.88 8.88 0.81 0.81 0.00 0.00 0.00 0.00 18:16:01 br-a161786e6b53 0.00 0.00 0.00 0.00 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:17:01 ens3 8.28 7.12 1.95 1.72 0.00 0.00 0.00 0.00 18:17:01 veth04984a9 124.81 105.42 41.17 113.92 0.00 0.00 0.00 0.01 18:17:01 veth9fc0bdd 131.01 159.91 114.60 38.96 0.00 0.00 0.00 0.01 18:17:01 veth479b1cc 0.18 0.48 0.02 0.57 0.00 0.00 0.00 0.00 18:18:01 ens3 14.38 14.53 8.88 8.23 0.00 0.00 0.00 0.00 18:18:01 veth04984a9 1.37 1.37 0.84 0.09 0.00 0.00 0.00 0.00 18:18:01 lo 32.68 32.68 10.52 10.52 0.00 0.00 0.00 0.00 18:18:01 br-a161786e6b53 5.55 6.15 6.33 2.78 0.00 0.00 0.00 0.00 Average: ens3 110.91 71.37 2831.05 9.71 0.00 0.00 0.00 0.00 Average: veth04984a9 31.63 26.77 10.53 28.58 0.00 0.00 0.00 0.00 Average: lo 7.21 7.21 2.55 2.55 0.00 0.00 0.00 0.00 Average: br-a161786e6b53 1.39 1.54 1.59 0.70 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-76747) 10/14/24 _x86_64_ (8 CPU) 18:13:14 LINUX RESTART (8 CPU) 18:14:02 CPU %user %nice %system %iowait %steal %idle 18:15:01 all 10.20 0.00 0.82 1.72 0.03 87.23 18:15:01 0 0.15 0.00 0.44 2.65 0.03 96.72 18:15:01 1 8.58 0.00 0.85 0.29 0.02 90.26 18:15:01 2 6.66 0.00 0.68 0.42 0.02 92.22 18:15:01 3 1.10 0.00 0.36 7.38 0.03 91.12 18:15:01 4 2.73 0.00 0.32 0.17 0.02 96.76 18:15:01 5 39.47 0.00 2.26 2.31 0.07 55.90 18:15:01 6 12.77 0.00 0.78 0.19 0.02 86.25 18:15:01 7 10.15 0.00 0.85 0.39 0.03 88.58 18:16:01 all 10.74 0.00 2.85 4.04 0.06 82.31 18:16:01 0 6.64 0.00 2.99 5.69 0.07 84.61 18:16:01 1 33.49 0.00 3.88 19.05 0.08 43.50 18:16:01 2 13.28 0.00 2.67 0.08 0.07 83.90 18:16:01 3 5.75 0.00 3.89 3.17 0.03 87.16 18:16:01 4 8.07 0.00 2.01 3.10 0.05 86.77 18:16:01 5 6.88 0.00 2.62 0.30 0.07 90.13 18:16:01 6 5.95 0.00 2.22 0.20 0.03 91.60 18:16:01 7 5.91 0.00 2.52 0.73 0.07 90.76 18:17:01 all 15.12 0.00 2.09 3.57 0.06 79.15 18:17:01 0 16.82 0.00 2.23 4.77 0.08 76.10 18:17:01 1 16.02 0.00 2.26 7.38 0.07 74.27 18:17:01 2 17.58 0.00 2.66 3.52 0.07 76.17 18:17:01 3 15.25 0.00 2.02 0.69 0.05 81.99 18:17:01 4 18.45 0.00 2.43 4.28 0.08 74.75 18:17:01 5 14.02 0.00 1.93 1.73 0.07 82.25 18:17:01 6 8.09 0.00 1.29 1.65 0.05 88.92 18:17:01 7 14.76 0.00 1.90 4.56 0.05 78.74 18:18:01 all 0.69 0.00 0.25 0.73 0.03 98.30 18:18:01 0 1.22 0.00 0.27 0.18 0.00 98.33 18:18:01 1 0.43 0.00 0.27 0.48 0.02 98.80 18:18:01 2 0.53 0.00 0.30 0.05 0.02 99.10 18:18:01 3 0.87 0.00 0.32 0.32 0.02 98.48 18:18:01 4 0.57 0.00 0.23 0.23 0.03 98.93 18:18:01 5 0.43 0.00 0.15 0.02 0.15 99.25 18:18:01 6 1.15 0.00 0.18 0.07 0.02 98.58 18:18:01 7 0.33 0.00 0.20 4.47 0.00 94.99 Average: all 9.18 0.00 1.50 2.52 0.05 86.76 Average: 0 6.22 0.00 1.49 3.33 0.05 88.92 Average: 1 14.64 0.00 1.82 6.82 0.05 76.68 Average: 2 9.52 0.00 1.58 1.02 0.04 87.84 Average: 3 5.76 0.00 1.65 2.87 0.03 89.69 Average: 4 7.46 0.00 1.25 1.95 0.05 89.30 Average: 5 15.10 0.00 1.74 1.08 0.09 81.99 Average: 6 6.97 0.00 1.12 0.53 0.03 91.36 Average: 7 7.77 0.00 1.37 2.55 0.04 88.28