Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-78131 (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-cUyiSCtgLcfH/agent.2103 SSH_AGENT_PID=2105 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_15780695707858288132.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_15780695707858288132.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/jenkins11358633781266162746.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-H0bB 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-H0bB/bin to PATH Generating Requirements File Python 3.10.6 pip 24.2 from /tmp/venv-H0bB/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.44 botocore==1.35.44 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.2 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.1.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.2.0 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.12 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.27.0 wcwidth==0.2.13 websocket-client==1.8.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.14.2 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/jenkins802876616733708871.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/jenkins5717604036798674445.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.zY0e4sn6FG ++ echo ROBOT_VENV=/tmp/tmp.zY0e4sn6FG +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.zY0e4sn6FG ++ source /tmp/tmp.zY0e4sn6FG/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.zY0e4sn6FG +++ 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.zY0e4sn6FG/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.zY0e4sn6FG) ' '!=' x ']' +++ PS1='(tmp.zY0e4sn6FG) ' +++ 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==3.0.0 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.zY0e4sn6FG/src/onap ++ rm -rf /tmp/tmp.zY0e4sn6FG/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==3.0.0 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.zY0e4sn6FG/bin/activate + '[' -z /tmp/tmp.zY0e4sn6FG/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.zY0e4sn6FG/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.zY0e4sn6FG ++ 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.zY0e4sn6FG/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.zY0e4sn6FG) ' ++ '[' 'x(tmp.zY0e4sn6FG) ' '!=' x ']' ++ PS1='(tmp.zY0e4sn6FG) (tmp.zY0e4sn6FG) ' ++ 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.Ib9w2BqZpq + cd /tmp/tmp.Ib9w2BqZpq + 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:464eac539793a183381ae198cb3bfcee137f17888ee192b8ac1ae2e867f72a9d Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating mariadb ... done Creating policy-db-migrator ... Creating prometheus ... done Creating grafana ... Creating grafana ... done 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 grafana Up 12 seconds prometheus Up 13 seconds mariadb Up 14 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 17 seconds prometheus Up 18 seconds mariadb Up 19 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 22 seconds prometheus Up 23 seconds mariadb Up 24 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 18:14:48 up 3 min, 0 users, load average: 3.02, 1.17, 0.46 Tasks: 179 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.4 us, 2.3 sy, 0.0 ni, 84.0 id, 3.2 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.5G 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 20 seconds grafana Up 22 seconds prometheus Up 23 seconds mariadb Up 24 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS eb5475fc6e75 policy-api 0.11% 556.8MiB / 31.41GiB 1.73% 998kB / 710kB 0B / 0B 57 6227f48b8162 grafana 0.06% 60.56MiB / 31.41GiB 0.19% 23.9kB / 4.29kB 0B / 26.5MB 19 be77ae4b9dbb prometheus 0.05% 18.65MiB / 31.41GiB 0.06% 1.18kB / 158B 0B / 0B 13 6bcc711d773b mariadb 0.02% 100.6MiB / 31.41GiB 0.31% 985kB / 1.18MB 11.1MB / 63.9MB 26 + echo + cd /tmp/tmp.Ib9w2BqZpq + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + sed 's|^|/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot' + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates' ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ... + relax_set + set +e + set +o pipefail + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ============================================================================== api ============================================================================== api.Api-Test ============================================================================== Healthcheck :: Verify policy api health check | PASS | ------------------------------------------------------------------------------ RetrievePolicyTypes :: Retrieve all policy types | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | ------------------------------------------------------------------------------ RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNodeTemplates :: Create node templates in database using spe... | PASS | ------------------------------------------------------------------------------ RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | ------------------------------------------------------------------------------ RetrieveAllPolicies :: Retrieve all policies | PASS | ------------------------------------------------------------------------------ RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | ------------------------------------------------------------------------------ RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | ------------------------------------------------------------------------------ RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | ------------------------------------------------------------------------------ DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ Metrics :: Verify policy-api is exporting prometheus metrics | PASS | ------------------------------------------------------------------------------ api.Api-Test | PASS | 22 tests, 22 passed, 0 failed ============================================================================== api.Api-Slas ============================================================================== WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ api.Api-Slas | PASS | 9 tests, 9 passed, 0 failed ============================================================================== api | PASS | 31 tests, 31 passed, 0 failed ============================================================================== Output: /tmp/tmp.Ib9w2BqZpq/output.xml Log: /tmp/tmp.Ib9w2BqZpq/log.html Report: /tmp/tmp.Ib9w2BqZpq/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:15:58 up 4 min, 0 users, load average: 1.13, 1.02, 0.45 Tasks: 177 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.8 us, 1.8 sy, 0.0 ni, 86.9 id, 2.5 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.7G 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 eb5475fc6e75 policy-api 0.17% 716.8MiB / 31.41GiB 2.23% 7MB / 2.55MB 0B / 0B 56 6227f48b8162 grafana 0.35% 66.61MiB / 31.41GiB 0.21% 25.1kB / 5.79kB 0B / 26.5MB 19 be77ae4b9dbb prometheus 0.00% 23.83MiB / 31.41GiB 0.07% 55.2kB / 6.57kB 0B / 0B 13 6bcc711d773b mariadb 0.02% 101.6MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 11.1MB / 64.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, grafana, policy-db-migrator, prometheus, mariadb grafana | logger=settings t=2024-10-20T18:14:25.53570977Z level=info msg="Starting Grafana" version=11.2.2+security-01 commit=dc86a9eafb60272b8bed5a70e21b80ba641e5bf0 branch=HEAD compiled=2024-10-20T18:14:25Z grafana | logger=settings t=2024-10-20T18:14:25.535996024Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-10-20T18:14:25.536008694Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-10-20T18:14:25.536013554Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-10-20T18:14:25.536017854Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-10-20T18:14:25.536021374Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-10-20T18:14:25.536025504Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-10-20T18:14:25.536029464Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-10-20T18:14:25.536033414Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-10-20T18:14:25.536036684Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-10-20T18:14:25.536039935Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-10-20T18:14:25.536045195Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-10-20T18:14:25.536049075Z level=info msg=Target target=[all] grafana | logger=settings t=2024-10-20T18:14:25.536058225Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-10-20T18:14:25.536063305Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-10-20T18:14:25.536067815Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-10-20T18:14:25.536071855Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-10-20T18:14:25.536077225Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-10-20T18:14:25.536081135Z level=info msg="App mode production" grafana | logger=featuremgmt t=2024-10-20T18:14:25.536389299Z level=info msg=FeatureToggles managedPluginsInstall=true recordedQueriesMulti=true cloudWatchNewLabelParsing=true influxdbBackendMigration=true alertingSimplifiedRouting=true annotationPermissionUpdate=true alertingInsights=true correlations=true prometheusConfigOverhaulAuth=true lokiMetricDataplane=true alertingNoDataErrorExecution=true publicDashboards=true prometheusMetricEncyclopedia=true formatString=true angularDeprecationUI=true addFieldFromCalculationStatFunctions=true lokiStructuredMetadata=true cloudWatchCrossAccountQuerying=true transformationsRedesign=true logsContextDatasourceUi=true ssoSettingsApi=true recoveryThreshold=true topnav=true dataplaneFrontendFallback=true dashgpt=true cloudWatchRoundUpEndTime=true logRowsPopoverMenu=true kubernetesPlaylists=true prometheusAzureOverrideAudience=true logsInfiniteScrolling=true groupToNestedTableTransformation=true nestedFolders=true lokiQueryHints=true awsAsyncQueryCaching=true logsExploreTableVisualisation=true panelMonitoring=true exploreMetrics=true tlsMemcached=true lokiQuerySplitting=true prometheusDataplane=true transformationsVariableSupport=true autoMigrateXYChartPanel=true grafana | logger=sqlstore t=2024-10-20T18:14:25.53644254Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-10-20T18:14:25.53645685Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-10-20T18:14:25.537885989Z level=info msg="Locking database" grafana | logger=migrator t=2024-10-20T18:14:25.537898149Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-10-20T18:14:25.538412935Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-10-20T18:14:25.539245876Z level=info msg="Migration successfully executed" id="create migration_log table" duration=832.461µs grafana | logger=migrator t=2024-10-20T18:14:25.542656011Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-10-20T18:14:25.543230249Z level=info msg="Migration successfully executed" id="create user table" duration=573.838µs grafana | logger=migrator t=2024-10-20T18:14:25.579995457Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-10-20T18:14:25.581283864Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.293027ms grafana | logger=migrator t=2024-10-20T18:14:25.586622283Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-10-20T18:14:25.587830958Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.207785ms grafana | logger=migrator t=2024-10-20T18:14:25.591018151Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-10-20T18:14:25.591806911Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=788.98µs grafana | logger=migrator t=2024-10-20T18:14:25.59479225Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-10-20T18:14:25.59557376Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=781.11µs grafana | logger=migrator t=2024-10-20T18:14:25.600767887Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-10-20T18:14:25.603316781Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.547763ms grafana | logger=migrator t=2024-10-20T18:14:25.605933555Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-10-20T18:14:25.606840556Z level=info msg="Migration successfully executed" id="create user table v2" duration=906.691µs grafana | logger=migrator t=2024-10-20T18:14:25.609667903Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-10-20T18:14:25.610392352Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=723.839µs grafana | logger=migrator t=2024-10-20T18:14:25.613315981Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-10-20T18:14:25.614046621Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=730.58µs grafana | logger=migrator t=2024-10-20T18:14:25.618751761Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-10-20T18:14:25.619155297Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=402.986µs grafana | logger=migrator t=2024-10-20T18:14:25.621749471Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-10-20T18:14:25.622258197Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=485.996µs grafana | logger=migrator t=2024-10-20T18:14:25.624951013Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-10-20T18:14:25.626014936Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.063723ms grafana | logger=migrator t=2024-10-20T18:14:25.630693407Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-10-20T18:14:25.630718628Z level=info msg="Migration successfully executed" id="Update user table charset" duration=26.141µs grafana | logger=migrator t=2024-10-20T18:14:25.633543174Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-10-20T18:14:25.634580918Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.037404ms grafana | logger=migrator t=2024-10-20T18:14:25.637465865Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-10-20T18:14:25.637678758Z level=info msg="Migration successfully executed" id="Add missing user data" duration=213.053µs grafana | logger=migrator t=2024-10-20T18:14:25.640408853Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-10-20T18:14:25.641467828Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.058805ms grafana | logger=migrator t=2024-10-20T18:14:25.646249809Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-10-20T18:14:25.647054001Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=803.382µs grafana | logger=migrator t=2024-10-20T18:14:25.649932568Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-10-20T18:14:25.651069992Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.137374ms grafana | logger=migrator t=2024-10-20T18:14:25.65394019Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-10-20T18:14:25.662089306Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=8.148416ms grafana | logger=migrator t=2024-10-20T18:14:25.665141766Z level=info msg="Executing migration" id="Add uid column to user" grafana | logger=migrator t=2024-10-20T18:14:25.666598555Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=1.455849ms grafana | logger=migrator t=2024-10-20T18:14:25.671254535Z level=info msg="Executing migration" id="Update uid column values for users" grafana | logger=migrator t=2024-10-20T18:14:25.671512538Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=257.993µs grafana | logger=migrator t=2024-10-20T18:14:25.674469357Z level=info msg="Executing migration" id="Add unique index user_uid" grafana | logger=migrator t=2024-10-20T18:14:25.675211267Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=741.57µs grafana | logger=migrator t=2024-10-20T18:14:25.678164176Z 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-20T18:14:25.67846819Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=303.854µs grafana | logger=migrator t=2024-10-20T18:14:25.681441848Z level=info msg="Executing migration" id="update login and email fields to lowercase" grafana | logger=migrator t=2024-10-20T18:14:25.681784872Z level=info msg="Migration successfully executed" id="update login and email fields to lowercase" duration=342.974µs grafana | logger=migrator t=2024-10-20T18:14:25.686686966Z level=info msg="Executing migration" id="update login and email fields to lowercase2" grafana | logger=migrator t=2024-10-20T18:14:25.687239973Z level=info msg="Migration successfully executed" id="update login and email fields to lowercase2" duration=551.527µs grafana | logger=migrator t=2024-10-20T18:14:25.690526816Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-10-20T18:14:25.691802534Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.274817ms grafana | logger=migrator t=2024-10-20T18:14:25.695310919Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-10-20T18:14:25.696653116Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.346397ms grafana | logger=migrator t=2024-10-20T18:14:25.702100767Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-10-20T18:14:25.703265192Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.164405ms grafana | logger=migrator t=2024-10-20T18:14:25.706249551Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-10-20T18:14:25.70695842Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=708.559µs grafana | logger=migrator t=2024-10-20T18:14:25.709744607Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-10-20T18:14:25.710437035Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=692.198µs policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.3:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.4:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v3.1.4) policy-api | policy-api | [2024-10-20T18:14:37.887+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 18 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-10-20T18:14:37.889+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-10-20T18:14:39.541+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-10-20T18:14:39.628+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 78 ms. Found 6 JPA repository interfaces. policy-api | [2024-10-20T18:14:40.019+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-20T18:14:40.020+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-20T18:14:40.727+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-10-20T18:14:40.736+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-10-20T18:14:40.738+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-10-20T18:14:40.738+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] policy-api | [2024-10-20T18:14:40.824+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-10-20T18:14:40.824+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2871 ms policy-api | [2024-10-20T18:14:41.259+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-10-20T18:14:41.324+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-api | [2024-10-20T18:14:41.327+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-api | [2024-10-20T18:14:41.372+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2024-10-20T18:14:41.727+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-api | [2024-10-20T18:14:41.744+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-10-20T18:14:41.830+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@2620e717 policy-api | [2024-10-20T18:14:41.833+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-10-20T18:14:41.860+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-20T18:14:41.861+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead policy-api | [2024-10-20T18:14:43.571+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-api | [2024-10-20T18:14:43.574+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-10-20T18:14:44.731+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml grafana | logger=migrator t=2024-10-20T18:14:25.715003545Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-10-20T18:14:25.715037046Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=34.661µs grafana | logger=migrator t=2024-10-20T18:14:25.717384476Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-10-20T18:14:25.718055315Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=670.979µs grafana | logger=migrator t=2024-10-20T18:14:25.72080063Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-10-20T18:14:25.721439378Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=636.708µs grafana | logger=migrator t=2024-10-20T18:14:25.72611999Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-10-20T18:14:25.726738438Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=618.538µs grafana | logger=migrator t=2024-10-20T18:14:25.729452373Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-10-20T18:14:25.730083201Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=630.278µs grafana | logger=migrator t=2024-10-20T18:14:25.732856977Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-10-20T18:14:25.736026248Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.168471ms grafana | logger=migrator t=2024-10-20T18:14:25.740526507Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-10-20T18:14:25.741368098Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=840.911µs grafana | logger=migrator t=2024-10-20T18:14:25.743576987Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-10-20T18:14:25.744282016Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=704.739µs grafana | logger=migrator t=2024-10-20T18:14:25.746964781Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-10-20T18:14:25.74766486Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=700.149µs grafana | logger=migrator t=2024-10-20T18:14:25.750351695Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-10-20T18:14:25.751096725Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=744.49µs grafana | logger=migrator t=2024-10-20T18:14:25.755114867Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-10-20T18:14:25.755832136Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=716.719µs grafana | logger=migrator t=2024-10-20T18:14:25.759362623Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-10-20T18:14:25.759753948Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=390.945µs grafana | logger=migrator t=2024-10-20T18:14:25.76301847Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-10-20T18:14:25.763494006Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=475.166µs grafana | logger=migrator t=2024-10-20T18:14:25.7676006Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-10-20T18:14:25.767957155Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=356.945µs grafana | logger=migrator t=2024-10-20T18:14:25.770930423Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-10-20T18:14:25.771540031Z level=info msg="Migration successfully executed" id="create star table" duration=609.188µs grafana | logger=migrator t=2024-10-20T18:14:25.774329598Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-10-20T18:14:25.775099027Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=769.239µs grafana | logger=migrator t=2024-10-20T18:14:25.777915064Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-10-20T18:14:25.778653724Z level=info msg="Migration successfully executed" id="create org table v1" duration=738.25µs grafana | logger=migrator t=2024-10-20T18:14:25.782670146Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-10-20T18:14:25.783434196Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=763.64µs grafana | logger=migrator t=2024-10-20T18:14:25.786413814Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-10-20T18:14:25.787129794Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=715.51µs grafana | logger=migrator t=2024-10-20T18:14:25.790172914Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-10-20T18:14:25.790929524Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=756.15µs grafana | logger=migrator t=2024-10-20T18:14:25.793816821Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-10-20T18:14:25.794543661Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=726.52µs grafana | logger=migrator t=2024-10-20T18:14:25.798235539Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-10-20T18:14:25.799024909Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=788.31µs grafana | logger=migrator t=2024-10-20T18:14:25.802002238Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-10-20T18:14:25.802030118Z level=info msg="Migration successfully executed" id="Update org table charset" duration=27.97µs grafana | logger=migrator t=2024-10-20T18:14:25.804936226Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-10-20T18:14:25.804964237Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=28.261µs grafana | logger=migrator t=2024-10-20T18:14:25.80751126Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-10-20T18:14:25.807705222Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=193.552µs grafana | logger=migrator t=2024-10-20T18:14:25.811436501Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-10-20T18:14:25.812156011Z level=info msg="Migration successfully executed" id="create dashboard table" duration=719.04µs grafana | logger=migrator t=2024-10-20T18:14:25.815337072Z level=info msg="Executing migration" id="add index dashboard.account_id" policy-api | [2024-10-20T18:14:45.483+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-10-20T18:14:46.505+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-20T18:14:46.695+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@46ae1e6b, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@6d293b41, org.springframework.security.web.context.SecurityContextHolderFilter@3edd135d, org.springframework.security.web.header.HeaderWriterFilter@700f356b, org.springframework.security.web.authentication.logout.LogoutFilter@19e86461, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@44a1e5d2, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@5f6b6f2, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@45fa7f1a, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@c0d114b, org.springframework.security.web.access.ExceptionTranslationFilter@fb74661, org.springframework.security.web.access.intercept.AuthorizationFilter@59171a5d] policy-api | [2024-10-20T18:14:47.503+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-10-20T18:14:47.558+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-10-20T18:14:47.584+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-10-20T18:14:47.600+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.402 seconds (process running for 10.968) policy-api | [2024-10-20T18:14:51.005+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-10-20T18:14:51.006+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-10-20T18:14:51.007+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-api | [2024-10-20T18:14:53.478+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-10-20T18:14:53.579+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes policy-api | [2024-10-20T18:14:53.834+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2024-10-20T18:14:54.941+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies policy-api | [2024-10-20T18:14:56.819+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-10-20T18:14:57.162+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-10-20T18:14:57.381+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2024-10-20T18:14:57.596+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-10-20T18:14:57.802+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-10-20T18:14:58.014+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2024-10-20T18:14:25.816534037Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.196405ms grafana | logger=migrator t=2024-10-20T18:14:25.820008912Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-10-20T18:14:25.821260029Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.250337ms grafana | logger=migrator t=2024-10-20T18:14:25.825367512Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-10-20T18:14:25.82600787Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=640.058µs grafana | logger=migrator t=2024-10-20T18:14:25.828896848Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-10-20T18:14:25.829689779Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=792.561µs grafana | logger=migrator t=2024-10-20T18:14:25.832488815Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-10-20T18:14:25.833164234Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=675.369µs grafana | logger=migrator t=2024-10-20T18:14:25.837042314Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-10-20T18:14:25.841867237Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=4.824693ms grafana | logger=migrator t=2024-10-20T18:14:25.844691254Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-10-20T18:14:25.845454133Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=762.609µs grafana | logger=migrator t=2024-10-20T18:14:25.848465332Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-10-20T18:14:25.849171812Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=705.89µs grafana | logger=migrator t=2024-10-20T18:14:25.85288003Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-10-20T18:14:25.853597979Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=717.399µs grafana | logger=migrator t=2024-10-20T18:14:25.856601878Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-10-20T18:14:25.856927043Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=325.005µs grafana | logger=migrator t=2024-10-20T18:14:25.859232893Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-10-20T18:14:25.860015074Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=782.041µs grafana | logger=migrator t=2024-10-20T18:14:25.863672111Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-10-20T18:14:25.863738822Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=73.331µs grafana | logger=migrator t=2024-10-20T18:14:25.867091955Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-10-20T18:14:25.868812268Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.719773ms grafana | logger=migrator t=2024-10-20T18:14:25.871705016Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-10-20T18:14:25.873467408Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.762052ms grafana | logger=migrator t=2024-10-20T18:14:25.877267348Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-10-20T18:14:25.879049571Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.781463ms grafana | logger=migrator t=2024-10-20T18:14:25.881823627Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-10-20T18:14:25.882575327Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=751.44µs grafana | logger=migrator t=2024-10-20T18:14:25.885634587Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-10-20T18:14:25.88743108Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.796303ms grafana | logger=migrator t=2024-10-20T18:14:25.891277041Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-10-20T18:14:25.89204361Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=766.289µs grafana | logger=migrator t=2024-10-20T18:14:25.894913188Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-10-20T18:14:25.895685727Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=769.229µs grafana | logger=migrator t=2024-10-20T18:14:25.898641266Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-10-20T18:14:25.898665806Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=25.2µs grafana | logger=migrator t=2024-10-20T18:14:25.901639495Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-10-20T18:14:25.901671745Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=33.54µs grafana | logger=migrator t=2024-10-20T18:14:25.905504006Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-10-20T18:14:25.907452052Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=1.947316ms grafana | logger=migrator t=2024-10-20T18:14:25.910160256Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-10-20T18:14:25.912129662Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.968446ms grafana | logger=migrator t=2024-10-20T18:14:25.915169831Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-10-20T18:14:25.917075996Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.906335ms grafana | logger=migrator t=2024-10-20T18:14:25.920808265Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-10-20T18:14:25.922665739Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.856944ms grafana | logger=migrator t=2024-10-20T18:14:25.925475306Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-10-20T18:14:25.925721339Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=243.653µs grafana | logger=migrator t=2024-10-20T18:14:25.928602996Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" prometheus | ts=2024-10-20T18:14:24.625Z 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-20T18:14:24.625Z 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-20T18:14:24.625Z 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-20T18:14:24.625Z 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-20T18:14:24.625Z caller=main.go:652 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-10-20T18:14:24.625Z caller=main.go:653 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-10-20T18:14:24.627Z caller=web.go:571 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-10-20T18:14:24.628Z caller=main.go:1160 level=info msg="Starting TSDB ..." prometheus | ts=2024-10-20T18:14:24.629Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-10-20T18:14:24.629Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-10-20T18:14:24.634Z caller=head.go:626 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-10-20T18:14:24.634Z caller=head.go:713 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.07µs prometheus | ts=2024-10-20T18:14:24.634Z caller=head.go:721 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-10-20T18:14:24.635Z caller=head.go:793 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-10-20T18:14:24.635Z caller=head.go:830 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=35.12µs wal_replay_duration=386.045µs wbl_replay_duration=180ns chunk_snapshot_load_duration=0s mmap_chunk_replay_duration=2.07µs total_replay_duration=449.785µs prometheus | ts=2024-10-20T18:14:24.637Z caller=main.go:1181 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-10-20T18:14:24.638Z caller=main.go:1184 level=info msg="TSDB started" prometheus | ts=2024-10-20T18:14:24.638Z caller=main.go:1367 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-10-20T18:14:24.640Z caller=main.go:1404 level=info msg="updated GOGC" old=100 new=75 prometheus | ts=2024-10-20T18:14:24.640Z caller=main.go:1415 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.937472ms db_storage=1.91µs remote_storage=3.24µs web_handler=1µs query_engine=7.26µs scrape=438.675µs scrape_sd=240.853µs notify=43.48µs notify_sd=16.32µs rules=3.16µs tracing=8.291µs prometheus | ts=2024-10-20T18:14:24.640Z caller=main.go:1145 level=info msg="Server is ready to receive web requests." prometheus | ts=2024-10-20T18:14:24.640Z caller=manager.go:164 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2024-10-20T18:14:25.929335876Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=732.77µs grafana | logger=migrator t=2024-10-20T18:14:25.933364559Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-10-20T18:14:25.934035367Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=671.218µs grafana | logger=migrator t=2024-10-20T18:14:25.936899374Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-10-20T18:14:25.936923945Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=24.721µs grafana | logger=migrator t=2024-10-20T18:14:25.939194445Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-10-20T18:14:25.939986765Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=785.91µs grafana | logger=migrator t=2024-10-20T18:14:25.943898236Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-10-20T18:14:25.944930109Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.030983ms grafana | logger=migrator t=2024-10-20T18:14:25.948200802Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-10-20T18:14:25.954741096Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=6.540245ms grafana | logger=migrator t=2024-10-20T18:14:25.957765106Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-10-20T18:14:25.958521406Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=755.44µs grafana | logger=migrator t=2024-10-20T18:14:25.961371193Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-10-20T18:14:25.962146873Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=775.56µs grafana | logger=migrator t=2024-10-20T18:14:25.965863241Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-10-20T18:14:25.966694273Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=830.492µs grafana | logger=migrator t=2024-10-20T18:14:25.970020326Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-10-20T18:14:25.97036785Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=347.294µs grafana | logger=migrator t=2024-10-20T18:14:25.973255798Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-10-20T18:14:25.973771654Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=515.666µs grafana | logger=migrator t=2024-10-20T18:14:25.977421283Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-10-20T18:14:25.979428068Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.006315ms grafana | logger=migrator t=2024-10-20T18:14:25.982184194Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-10-20T18:14:25.983036156Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=851.822µs grafana | logger=migrator t=2024-10-20T18:14:25.985904063Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-10-20T18:14:25.986094045Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=189.602µs grafana | logger=migrator t=2024-10-20T18:14:25.989860704Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-10-20T18:14:25.990030176Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=169.792µs grafana | logger=migrator t=2024-10-20T18:14:25.993109626Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-10-20T18:14:25.993861236Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=751.35µs grafana | logger=migrator t=2024-10-20T18:14:25.997022488Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-10-20T18:14:25.999218636Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.196948ms grafana | logger=migrator t=2024-10-20T18:14:26.003117947Z level=info msg="Executing migration" id="Add deleted for dashboard" grafana | logger=migrator t=2024-10-20T18:14:26.005151213Z level=info msg="Migration successfully executed" id="Add deleted for dashboard" duration=2.033656ms grafana | logger=migrator t=2024-10-20T18:14:26.008231872Z level=info msg="Executing migration" id="Add index for deleted" grafana | logger=migrator t=2024-10-20T18:14:26.009497925Z level=info msg="Migration successfully executed" id="Add index for deleted" duration=1.266044ms grafana | logger=migrator t=2024-10-20T18:14:26.013110676Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-10-20T18:14:26.014721165Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.610569ms grafana | logger=migrator t=2024-10-20T18:14:26.018421326Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-10-20T18:14:26.019221735Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=800.139µs grafana | logger=migrator t=2024-10-20T18:14:26.021874405Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-10-20T18:14:26.022685025Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=810.25µs grafana | logger=migrator t=2024-10-20T18:14:26.025633619Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-10-20T18:14:26.026349946Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=716.167µs grafana | logger=migrator t=2024-10-20T18:14:26.03024504Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-10-20T18:14:26.031010759Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=765.449µs grafana | logger=migrator t=2024-10-20T18:14:26.033915492Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-10-20T18:14:26.03992698Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=6.010968ms grafana | logger=migrator t=2024-10-20T18:14:26.04255743Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-10-20T18:14:26.043191097Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=634.497µs grafana | logger=migrator t=2024-10-20T18:14:26.046505874Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb (172.17.0.3) 3306 port [tcp/mysql] succeeded! policy-db-migrator | 321 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Preparing upgrade release version: 1300 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 policy-db-migrator | upgrade: 0 -> 1300 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.047070521Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=563.767µs grafana | logger=migrator t=2024-10-20T18:14:26.049722341Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-10-20T18:14:26.05049189Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=769.149µs grafana | logger=migrator t=2024-10-20T18:14:26.053304252Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-10-20T18:14:26.053836628Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=532.116µs grafana | logger=migrator t=2024-10-20T18:14:26.057301217Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-10-20T18:14:26.059685884Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.383847ms grafana | logger=migrator t=2024-10-20T18:14:26.062241673Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-10-20T18:14:26.064518149Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.275626ms grafana | logger=migrator t=2024-10-20T18:14:26.067467632Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-10-20T18:14:26.067497843Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=30.811µs grafana | logger=migrator t=2024-10-20T18:14:26.071303345Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-10-20T18:14:26.071505988Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=202.393µs grafana | logger=migrator t=2024-10-20T18:14:26.074428911Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-10-20T18:14:26.078005601Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.57282ms grafana | logger=migrator t=2024-10-20T18:14:26.081477691Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-10-20T18:14:26.081807345Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=330.204µs grafana | logger=migrator t=2024-10-20T18:14:26.085070231Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-10-20T18:14:26.085258643Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=188.672µs grafana | logger=migrator t=2024-10-20T18:14:26.089022986Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-10-20T18:14:26.091322592Z level=info msg="Migration successfully executed" id="Add uid column" duration=2.298966ms grafana | logger=migrator t=2024-10-20T18:14:26.094175724Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-10-20T18:14:26.094361576Z level=info msg="Migration successfully executed" id="Update uid value" duration=186.072µs grafana | logger=migrator t=2024-10-20T18:14:26.099409434Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-10-20T18:14:26.100923321Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.514517ms grafana | logger=migrator t=2024-10-20T18:14:26.105132628Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-10-20T18:14:26.105939777Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=806.939µs grafana | logger=migrator t=2024-10-20T18:14:26.108719259Z level=info msg="Executing migration" id="Add is_prunable column" grafana | logger=migrator t=2024-10-20T18:14:26.111132146Z level=info msg="Migration successfully executed" id="Add is_prunable column" duration=2.412747ms grafana | logger=migrator t=2024-10-20T18:14:26.113855487Z level=info msg="Executing migration" id="Add api_version column" grafana | logger=migrator t=2024-10-20T18:14:26.116292315Z level=info msg="Migration successfully executed" id="Add api_version column" duration=2.436078ms grafana | logger=migrator t=2024-10-20T18:14:26.119755354Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-10-20T18:14:26.120470073Z level=info msg="Migration successfully executed" id="create api_key table" duration=714.289µs grafana | logger=migrator t=2024-10-20T18:14:26.123298905Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-10-20T18:14:26.124050793Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=751.458µs grafana | logger=migrator t=2024-10-20T18:14:26.127009826Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-10-20T18:14:26.127849236Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=839.2µs grafana | logger=migrator t=2024-10-20T18:14:26.131603029Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-10-20T18:14:26.132372697Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=769.468µs grafana | logger=migrator t=2024-10-20T18:14:26.135138208Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-10-20T18:14:26.135895137Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=756.459µs grafana | logger=migrator t=2024-10-20T18:14:26.138703439Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-10-20T18:14:26.139444147Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=743.738µs grafana | logger=migrator t=2024-10-20T18:14:26.143137469Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-10-20T18:14:26.143846627Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=709.168µs grafana | logger=migrator t=2024-10-20T18:14:26.146686639Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-10-20T18:14:26.153154552Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=6.467853ms grafana | logger=migrator t=2024-10-20T18:14:26.18472609Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-10-20T18:14:26.185886513Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=1.160433ms grafana | logger=migrator t=2024-10-20T18:14:26.189876888Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.191187483Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=1.310445ms policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql mariadb | 2024-10-20 18:14:23+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. grafana | logger=migrator t=2024-10-20T18:14:26.194367679Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" policy-db-migrator | -------------- mariadb | 2024-10-20 18:14:23+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' grafana | logger=migrator t=2024-10-20T18:14:26.195563382Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.195153ms 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) mariadb | 2024-10-20 18:14:23+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. grafana | logger=migrator t=2024-10-20T18:14:26.199625149Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" mariadb | 2024-10-20 18:14:23+00:00 [Note] [Entrypoint]: Initializing database files policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.200376037Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=752.598µs mariadb | 2024-10-20 18:14:23 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.203501422Z level=info msg="Executing migration" id="copy api_key v1 to v2" mariadb | 2024-10-20 18:14:23 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.203801775Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=300.313µs mariadb | 2024-10-20 18:14:23 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql grafana | logger=migrator t=2024-10-20T18:14:26.206385514Z level=info msg="Executing migration" id="Drop old table api_key_v1" mariadb | policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.206952931Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=567.237µs mariadb | 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) grafana | logger=migrator t=2024-10-20T18:14:26.210661373Z level=info msg="Executing migration" id="Update api_key table charset" mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.210685314Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=24.701µs mariadb | To do so, start the server, then issue the following command: policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.213441105Z level=info msg="Executing migration" id="Add expires to api_key table" mariadb | policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.215972794Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.528968ms mariadb | '/usr/bin/mysql_secure_installation' policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-10-20T18:14:26.218791945Z level=info msg="Executing migration" id="Add service account foreign key" mariadb | policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.221245073Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.444048ms mariadb | which will also give you the option of removing the test policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-10-20T18:14:26.224084435Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" mariadb | databases and anonymous user created by default. This is policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.224241267Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=156.852µs mariadb | strongly recommended for production servers. policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.227240381Z level=info msg="Executing migration" id="Add last_used_at to api_key table" mariadb | policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.229703379Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.462858ms mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql grafana | logger=migrator t=2024-10-20T18:14:26.232576642Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" mariadb | policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.235110599Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.533507ms mariadb | Please report any problems at https://mariadb.org/jira 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) grafana | logger=migrator t=2024-10-20T18:14:26.237949373Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" mariadb | policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.23863855Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=687.337µs mariadb | The latest information about MariaDB is available at https://mariadb.org/. policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.242720706Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" mariadb | policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.243256072Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=537.956µs mariadb | Consider joining MariaDB's strong and vibrant community: policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql grafana | logger=migrator t=2024-10-20T18:14:26.246181835Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" mariadb | https://mariadb.org/get-involved/ policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.247048615Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=865.76µs mariadb | 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) grafana | logger=migrator t=2024-10-20T18:14:26.249914408Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" mariadb | 2024-10-20 18:14:25+00:00 [Note] [Entrypoint]: Database files initialized policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.250674276Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=759.568µs mariadb | 2024-10-20 18:14:25+00:00 [Note] [Entrypoint]: Starting temporary server policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.254699721Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" mariadb | 2024-10-20 18:14:25+00:00 [Note] [Entrypoint]: Waiting for server startup policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.255481271Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=782.69µs mariadb | 2024-10-20 18:14:25 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 97 ... policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-10-20T18:14:26.258481445Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" mariadb | 2024-10-20 18:14:25 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.259293634Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=811.899µs mariadb | 2024-10-20 18:14:25 0 [Note] InnoDB: Number of transaction pools: 1 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-10-20T18:14:26.262115816Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" mariadb | 2024-10-20 18:14:25 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.262181106Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=65.35µs mariadb | 2024-10-20 18:14:25 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.26599546Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" mariadb | 2024-10-20 18:14:25 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.266033641Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=38.911µs mariadb | 2024-10-20 18:14:25 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-10-20T18:14:26.269783953Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" mariadb | 2024-10-20 18:14:25 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.274154342Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.370879ms mariadb | 2024-10-20 18:14:25 0 [Note] InnoDB: Completed initialization of buffer pool policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) grafana | logger=migrator t=2024-10-20T18:14:26.278293609Z level=info msg="Executing migration" id="Add encrypted dashboard json column" mariadb | 2024-10-20 18:14:25 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.280926939Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.63293ms mariadb | 2024-10-20 18:14:25 0 [Note] InnoDB: 128 rollback segments are active. policy-db-migrator | mariadb | 2024-10-20 18:14:25 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.284703971Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" mariadb | 2024-10-20 18:14:25 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql grafana | logger=migrator t=2024-10-20T18:14:26.284768432Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=64.631µs mariadb | 2024-10-20 18:14:25 0 [Note] InnoDB: log sequence number 46590; transaction id 14 policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.287161409Z level=info msg="Executing migration" id="create quota table v1" mariadb | 2024-10-20 18:14:25 0 [Note] Plugin 'FEEDBACK' is disabled. 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) grafana | logger=migrator t=2024-10-20T18:14:26.287891907Z level=info msg="Migration successfully executed" id="create quota table v1" duration=730.108µs mariadb | 2024-10-20 18:14:25 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.291140583Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" mariadb | 2024-10-20 18:14:25 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.292469049Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.331986ms mariadb | 2024-10-20 18:14:25 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.295891588Z level=info msg="Executing migration" id="Update quota table charset" mariadb | 2024-10-20 18:14:25 0 [Note] mariadbd: ready for connections. policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql grafana | logger=migrator t=2024-10-20T18:14:26.295917828Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=26.9µs mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.29962273Z level=info msg="Executing migration" id="create plugin_setting table" mariadb | 2024-10-20 18:14:26+00:00 [Note] [Entrypoint]: Temporary server started. 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) grafana | logger=migrator t=2024-10-20T18:14:26.300552401Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=928.751µs mariadb | 2024-10-20 18:14:27+00:00 [Note] [Entrypoint]: Creating user policy_user policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.303599505Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" mariadb | 2024-10-20 18:14:27+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.304413054Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=813.279µs mariadb | policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.308223578Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" mariadb | 2024-10-20 18:14:27+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql grafana | logger=migrator t=2024-10-20T18:14:26.31110766Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.883272ms mariadb | policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.314881013Z level=info msg="Executing migration" id="Update plugin_setting table charset" mariadb | 2024-10-20 18:14:27+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh 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) grafana | logger=migrator t=2024-10-20T18:14:26.314900573Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=20.33µs mariadb | #!/bin/bash -xv policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.318432873Z level=info msg="Executing migration" id="create session table" mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.318988559Z level=info msg="Migration successfully executed" id="create session table" duration=555.646µs mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.321867221Z level=info msg="Executing migration" id="Drop old table playlist table" mariadb | # policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql grafana | logger=migrator t=2024-10-20T18:14:26.321945332Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=78.231µs mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.327468475Z level=info msg="Executing migration" id="Drop old table playlist_item table" mariadb | # you may not use this file except in compliance with the License. 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) grafana | logger=migrator t=2024-10-20T18:14:26.327550276Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=82.251µs mariadb | # You may obtain a copy of the License at policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.332500362Z level=info msg="Executing migration" id="create playlist table v2" mariadb | # policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.333800927Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.299845ms mariadb | # http://www.apache.org/licenses/LICENSE-2.0 policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.338211877Z level=info msg="Executing migration" id="create playlist item table v2" mariadb | # policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql grafana | logger=migrator t=2024-10-20T18:14:26.339023247Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=811.13µs mariadb | # Unless required by applicable law or agreed to in writing, software policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.343621928Z level=info msg="Executing migration" id="Update playlist table charset" mariadb | # distributed under the License is distributed on an "AS IS" BASIS, 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) grafana | logger=migrator t=2024-10-20T18:14:26.343646008Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=24.75µs mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.34724635Z level=info msg="Executing migration" id="Update playlist_item table charset" mariadb | # See the License for the specific language governing permissions and policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.34726599Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=20.28µs mariadb | # limitations under the License. policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.350153353Z level=info msg="Executing migration" id="Add playlist column created_at" mariadb | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2024-10-20T18:14:26.353110426Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=2.956643ms mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.356170681Z level=info msg="Executing migration" id="Add playlist column updated_at" mariadb | do policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2024-10-20T18:14:26.359218665Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.047484ms mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.363059308Z level=info msg="Executing migration" id="drop preferences table v2" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.363162829Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=104.551µs mariadb | done policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.366002591Z level=info msg="Executing migration" id="drop preferences table v3" mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2024-10-20T18:14:26.366076102Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=73.791µs mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.368971585Z level=info msg="Executing migration" id="create preferences table v3" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' 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) grafana | logger=migrator t=2024-10-20T18:14:26.369788665Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=816.97µs mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.372793078Z level=info msg="Executing migration" id="Update preferences table charset" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.372818569Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=26.141µs mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.377952246Z level=info msg="Executing migration" id="Add column team_id in preferences" mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2024-10-20T18:14:26.383201426Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=5.24916ms mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.386380481Z level=info msg="Executing migration" id="Update team_id column values in preferences" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-10-20T18:14:26.386524744Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=144.233µs mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.389275545Z level=info msg="Executing migration" id="Add column week_start in preferences" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.392288289Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.012324ms mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.396362165Z level=info msg="Executing migration" id="Add column preferences.json_data" mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2024-10-20T18:14:26.399533391Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.170536ms mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.402635586Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-10-20T18:14:26.402698096Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=64.42µs mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.405722161Z level=info msg="Executing migration" id="Add preferences index org_id" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.40651404Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=791.329µs mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.409564105Z level=info msg="Executing migration" id="Add preferences index user_id" mariadb | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2024-10-20T18:14:26.410356903Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=792.458µs mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.414216097Z level=info msg="Executing migration" id="create alert table v1" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-10-20T18:14:26.415235789Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.019472ms mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.418296623Z level=info msg="Executing migration" id="add index alert org_id & id " mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.419098732Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=803.719µs mariadb | policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.422988547Z level=info msg="Executing migration" id="add index alert state" mariadb | 2024-10-20 18:14:28+00:00 [Note] [Entrypoint]: Stopping temporary server policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2024-10-20T18:14:26.423774906Z level=info msg="Migration successfully executed" id="add index alert state" duration=785.739µs mariadb | 2024-10-20 18:14:28 0 [Note] mariadbd (initiated by: unknown): Normal shutdown policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.42683481Z level=info msg="Executing migration" id="add index alert dashboard_id" mariadb | 2024-10-20 18:14:28 0 [Note] InnoDB: FTS optimize thread exiting. policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) grafana | logger=migrator t=2024-10-20T18:14:26.42776685Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=931.72µs mariadb | 2024-10-20 18:14:28 0 [Note] InnoDB: Starting shutdown... grafana | logger=migrator t=2024-10-20T18:14:26.436168215Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" mariadb | 2024-10-20 18:14:28 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.4374163Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=1.252285ms mariadb | 2024-10-20 18:14:28 0 [Note] InnoDB: Buffer pool(s) dump completed at 241020 18:14:28 policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.442565919Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" mariadb | 2024-10-20 18:14:29 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.443445188Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=879.099µs mariadb | 2024-10-20 18:14:29 0 [Note] InnoDB: Shutdown completed; log sequence number 347079; transaction id 298 policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2024-10-20T18:14:26.446453362Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" mariadb | 2024-10-20 18:14:29 0 [Note] mariadbd: Shutdown complete policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.44720149Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=748.058µs mariadb | policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-10-20T18:14:26.451014764Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" mariadb | 2024-10-20 18:14:29+00:00 [Note] [Entrypoint]: Temporary server stopped policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.461142538Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=10.125484ms mariadb | policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.467084635Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" mariadb | 2024-10-20 18:14:29+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.467768414Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=683.879µs mariadb | policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2024-10-20T18:14:26.470893419Z 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" mariadb | 2024-10-20 18:14:29 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.471685468Z 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=791.679µs mariadb | 2024-10-20 18:14:29 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-10-20T18:14:26.474867693Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" mariadb | 2024-10-20 18:14:29 0 [Note] InnoDB: Number of transaction pools: 1 policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.475208687Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=356.464µs mariadb | 2024-10-20 18:14:29 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.481164274Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" mariadb | 2024-10-20 18:14:29 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.481950344Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=785.72µs mariadb | 2024-10-20 18:14:29 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2024-10-20T18:14:26.485343722Z level=info msg="Executing migration" id="create alert_notification table v1" mariadb | 2024-10-20 18:14:29 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.48605983Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=716.108µs mariadb | 2024-10-20 18:14:29 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) grafana | logger=migrator t=2024-10-20T18:14:26.489414548Z level=info msg="Executing migration" id="Add column is_default" mariadb | 2024-10-20 18:14:29 0 [Note] InnoDB: Completed initialization of buffer pool policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.493302763Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.887885ms mariadb | 2024-10-20 18:14:29 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.497108505Z level=info msg="Executing migration" id="Add column frequency" mariadb | 2024-10-20 18:14:29 0 [Note] InnoDB: 128 rollback segments are active. policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.500512824Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.403909ms mariadb | 2024-10-20 18:14:29 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2024-10-20T18:14:26.503613009Z level=info msg="Executing migration" id="Add column send_reminder" mariadb | 2024-10-20 18:14:29 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.507042318Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.428869ms mariadb | 2024-10-20 18:14:29 0 [Note] InnoDB: log sequence number 347079; transaction id 299 grafana | logger=migrator t=2024-10-20T18:14:26.510344365Z level=info msg="Executing migration" id="Add column disable_resolve_message" mariadb | 2024-10-20 18:14:29 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-10-20T18:14:26.513801244Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.456399ms mariadb | 2024-10-20 18:14:29 0 [Note] Plugin 'FEEDBACK' is disabled. policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.556896222Z level=info msg="Executing migration" id="add index alert_notification org_id & name" mariadb | 2024-10-20 18:14:29 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.558711112Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.81399ms mariadb | 2024-10-20 18:14:29 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.564500138Z level=info msg="Executing migration" id="Update alert table charset" mariadb | 2024-10-20 18:14:29 0 [Note] Server socket created on IP: '0.0.0.0'. policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2024-10-20T18:14:26.564570239Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=75.631µs mariadb | 2024-10-20 18:14:29 0 [Note] Server socket created on IP: '::'. policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.56827633Z level=info msg="Executing migration" id="Update alert_notification table charset" mariadb | 2024-10-20 18:14:29 0 [Note] mariadbd: ready for connections. policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-10-20T18:14:26.568314821Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=40.401µs mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.573075345Z level=info msg="Executing migration" id="create notification_journal table v1" mariadb | 2024-10-20 18:14:29 0 [Note] InnoDB: Buffer pool(s) load completed at 241020 18:14:29 policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.574278919Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.204244ms mariadb | 2024-10-20 18:14:29 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.577579556Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" mariadb | 2024-10-20 18:14:30 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2024-10-20T18:14:26.578424846Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=845.18µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.581623762Z level=info msg="Executing migration" id="drop alert_notification_journal" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) grafana | logger=migrator t=2024-10-20T18:14:26.5823573Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=730.938µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.62209886Z level=info msg="Executing migration" id="create alert_notification_state table v1" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.623298223Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.198063ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.627798875Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql grafana | logger=migrator t=2024-10-20T18:14:26.629118539Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.319194ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.632658919Z level=info msg="Executing migration" id="Add for to alert table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) grafana | logger=migrator t=2024-10-20T18:14:26.636316571Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.657082ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.641729942Z level=info msg="Executing migration" id="Add column uid in alert_notification" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.645344453Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.613971ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.650425511Z level=info msg="Executing migration" id="Update uid column values in alert_notification" policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2024-10-20T18:14:26.650601773Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=174.792µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.653852239Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-10-20T18:14:26.655721161Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.868182ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.661331914Z level=info msg="Executing migration" id="Remove unique index org_id_name" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.661991912Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=661.298µs policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.666923768Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2024-10-20T18:14:26.67064345Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.718642ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.674992819Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) grafana | logger=migrator t=2024-10-20T18:14:26.67505963Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=67.521µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.678315507Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.679201886Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=886.709µs policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.68219852Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql grafana | logger=migrator t=2024-10-20T18:14:26.68309549Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=896.63µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.68920995Z level=info msg="Executing migration" id="Drop old annotation table v4" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) grafana | logger=migrator t=2024-10-20T18:14:26.689295511Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=85.891µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.693825562Z level=info msg="Executing migration" id="create annotation table v5" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.69541923Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.588828ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.699542427Z level=info msg="Executing migration" id="add index annotation 0 v3" policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql grafana | logger=migrator t=2024-10-20T18:14:26.700474208Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=935.102µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.704747105Z level=info msg="Executing migration" id="add index annotation 1 v3" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-10-20T18:14:26.705693996Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=946.851µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.709281307Z level=info msg="Executing migration" id="add index annotation 2 v3" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.710243977Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=962.43µs policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.714328244Z level=info msg="Executing migration" id="add index annotation 3 v3" policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2024-10-20T18:14:26.715341775Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.013231ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.719425081Z level=info msg="Executing migration" id="add index annotation 4 v3" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) grafana | logger=migrator t=2024-10-20T18:14:26.720504054Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.079003ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.72371899Z level=info msg="Executing migration" id="Update annotation table charset" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.72374519Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=26.79µs policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.726880826Z level=info msg="Executing migration" id="Add column region_id to annotation table" policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2024-10-20T18:14:26.733227817Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.374111ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.737568277Z level=info msg="Executing migration" id="Drop category_id index" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) grafana | logger=migrator t=2024-10-20T18:14:26.738357366Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=789.169µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.741658353Z level=info msg="Executing migration" id="Add column tags to annotation table" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.745501917Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.843244ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.748360039Z level=info msg="Executing migration" id="Create annotation_tag table v2" policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2024-10-20T18:14:26.749023567Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=661.838µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.75290589Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-10-20T18:14:26.753801731Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=895.321µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.756773505Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.757595814Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=822.059µs policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.762374468Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2024-10-20T18:14:26.772647334Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=10.273726ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.816797874Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) grafana | logger=migrator t=2024-10-20T18:14:26.817975407Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=1.176564ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.821563998Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.822994413Z level=info msg="Migration successfully executed" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" duration=1.429445ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.826449503Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2024-10-20T18:14:26.826709596Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=259.113µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.830884483Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) grafana | logger=migrator t=2024-10-20T18:14:26.831381458Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=496.635µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.834934429Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.835258213Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=323.964µs policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.841519964Z level=info msg="Executing migration" id="Add created time to annotation table" policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2024-10-20T18:14:26.845557469Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.037405ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.849462614Z level=info msg="Executing migration" id="Add updated time to annotation table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-10-20T18:14:26.853387998Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=3.925024ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.859850392Z level=info msg="Executing migration" id="Add index for created in annotation table" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.860791742Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=940.59µs policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.863761556Z level=info msg="Executing migration" id="Add index for updated in annotation table" policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2024-10-20T18:14:26.864676496Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=914.84µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.869040255Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) grafana | logger=migrator t=2024-10-20T18:14:26.869256378Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=216.473µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.872239301Z level=info msg="Executing migration" id="Add epoch_end column" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.876422668Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.182717ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.879871378Z level=info msg="Executing migration" id="Add index for epoch_end" policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2024-10-20T18:14:26.880739637Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=867.559µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.885638153Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) grafana | logger=migrator t=2024-10-20T18:14:26.886946387Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=1.301604ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.890048342Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.890479717Z level=info msg="Migration successfully executed" id="Move region to single row" duration=434.835µs policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.893295389Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2024-10-20T18:14:26.89417974Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=875.821µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.898578529Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-10-20T18:14:26.899373229Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=795.42µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.901974118Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.902980949Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.006341ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.905750061Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2024-10-20T18:14:26.90660052Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=849.869µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.911253303Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2024-10-20T18:14:26.912085502Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=832.139µs grafana | logger=migrator t=2024-10-20T18:14:26.914822123Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2024-10-20T18:14:26.915673212Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=850.939µs grafana | logger=migrator t=2024-10-20T18:14:26.920520408Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2024-10-20T18:14:26.92073064Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=211.113µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-10-20T18:14:26.924085038Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.925433293Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.347905ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.931132338Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.931893696Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=761.348µs policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2024-10-20T18:14:26.934807319Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.936834022Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=2.026143ms 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)) grafana | logger=migrator t=2024-10-20T18:14:26.946764865Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.947433283Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=668.248µs policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.951356437Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.951486138Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=129.541µs policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2024-10-20T18:14:26.953561522Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.953923926Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=362.044µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-10-20T18:14:26.956169621Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.956240232Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=69.681µs policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.958166504Z level=info msg="Executing migration" id="create team table" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.958988583Z level=info msg="Migration successfully executed" id="create team table" duration=821.859µs policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2024-10-20T18:14:26.963015618Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.963940179Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=924.301µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) grafana | logger=migrator t=2024-10-20T18:14:26.96666005Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.96757442Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=914.07µs policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.972407225Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.97728315Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.875395ms policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2024-10-20T18:14:26.980140532Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.980373346Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=233.173µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) grafana | logger=migrator t=2024-10-20T18:14:26.982544119Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.98346593Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=921.361µs policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2024-10-20T18:14:26.986274062Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.987106881Z level=info msg="Migration successfully executed" id="create team member table" duration=831.379µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) grafana | logger=migrator t=2024-10-20T18:14:26.992426112Z level=info msg="Executing migration" id="add index team_member.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:26.993835987Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.415835ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.997730362Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:26.999174198Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.443646ms policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2024-10-20T18:14:27.002226242Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.003588988Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.362406ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-10-20T18:14:27.00828738Z level=info msg="Executing migration" id="Add column email to team table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.01282018Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.53267ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.015870753Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.020315381Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.443808ms policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2024-10-20T18:14:27.023362664Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.029390469Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=6.027125ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-10-20T18:14:27.034038189Z level=info msg="Executing migration" id="create dashboard acl table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.034882718Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=844.389µs policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.037700749Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.038555968Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=854.999µs policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2024-10-20T18:14:27.04156782Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.043182718Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.614558ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) grafana | logger=migrator t=2024-10-20T18:14:27.048237422Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.049126612Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=893.34µs policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.051920652Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.052786941Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=865.929µs policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-10-20T18:14:27.055764523Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.057492212Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.719779ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) grafana | logger=migrator t=2024-10-20T18:14:27.060884299Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.062404955Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.520656ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.066029364Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.066926474Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=897.13µs policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2024-10-20T18:14:27.071097249Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" 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)) grafana | logger=migrator t=2024-10-20T18:14:27.071585014Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=487.935µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.075670739Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.076037463Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=367.134µs policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.07953541Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2024-10-20T18:14:27.080720172Z level=info msg="Migration successfully executed" id="create tag table" duration=1.184102ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.084496154Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) grafana | logger=migrator t=2024-10-20T18:14:27.085514675Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.019011ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.088958052Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.089771671Z level=info msg="Migration successfully executed" id="create login attempt table" duration=812.659µs policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.093894985Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-10-20T18:14:27.094949936Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.046521ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.098215592Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) grafana | logger=migrator t=2024-10-20T18:14:27.099220413Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.005291ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.102366147Z 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-20T18:14:27.116500169Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=14.132792ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.120928687Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-10-20T18:14:27.121468363Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=539.496µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.124420825Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-10-20T18:14:27.125444805Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.02445ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.128471418Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.128884943Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=413.285µs policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-10-20T18:14:27.132901006Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.133586974Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=691.678µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) grafana | logger=migrator t=2024-10-20T18:14:27.13695978Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.137778909Z level=info msg="Migration successfully executed" id="create user auth table" duration=818.549µs policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.140998174Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.142016925Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.018431ms policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-10-20T18:14:27.145971088Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.14614504Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=173.582µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-10-20T18:14:27.149451625Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.157361431Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=7.911026ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.160509555Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.164139884Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=3.630489ms grafana | logger=migrator t=2024-10-20T18:14:27.16842457Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-10-20T18:14:27.173477254Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.051984ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.176689909Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2024-10-20T18:14:27.181910335Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.219826ms grafana | logger=migrator t=2024-10-20T18:14:27.185217131Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-10-20T18:14:27.186243652Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.032951ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.190287716Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.195448191Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.159825ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.19895383Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-10-20T18:14:27.199818159Z level=info msg="Migration successfully executed" id="create server_lock table" duration=864.989µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.203084314Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-10-20T18:14:27.204123325Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.038521ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.208342111Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.209330471Z level=info msg="Migration successfully executed" id="create user auth token table" duration=988.83µs policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.212609126Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-10-20T18:14:27.213610968Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.001782ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.217059435Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-10-20T18:14:27.218078886Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.018851ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.222367332Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.223465964Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.098282ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.226663628Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-10-20T18:14:27.235248812Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=8.583074ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.238581868Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-10-20T18:14:27.239324866Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=742.998µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.24346542Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.244226319Z level=info msg="Migration successfully executed" id="create cache_data table" duration=760.319µs policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.248505634Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-10-20T18:14:27.250154602Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.648478ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.253831302Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2024-10-20T18:14:27.254803782Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=965.57µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.259172109Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.260955929Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.7839ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.264653389Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-10-20T18:14:27.264881251Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=227.122µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.267434839Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-10-20T18:14:27.267716052Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=280.733µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.27125024Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.272947458Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.695848ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.277127843Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.278159835Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.031852ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-10-20T18:14:27.281481101Z 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-20T18:14:27.282537772Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.056082ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.28602944Z 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-20T18:14:27.286198622Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=166.702µs policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-10-20T18:14:27.290462947Z 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-20T18:14:27.291771192Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.306145ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-10-20T18:14:27.295427881Z 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-20T18:14:27.297063709Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.641998ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.300677238Z 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-20T18:14:27.301695009Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.017691ms policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-10-20T18:14:27.306257058Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.307462971Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.211423ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-10-20T18:14:27.310934519Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.31659878Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.663591ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.320922526Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.321855346Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=932.15µs policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-10-20T18:14:27.325595607Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.32586641Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=270.273µs policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-10-20T18:14:27.32956422Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.331506971Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.940762ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.336331753Z 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-20T18:14:27.337535206Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.203833ms policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-10-20T18:14:27.340767681Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.341819093Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.050912ms policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-10-20T18:14:27.344931406Z 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-20T18:14:27.345075558Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=143.351µs policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.504862402Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.507056186Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=2.194964ms policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2024-10-20T18:14:27.511414403Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.512550376Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.135733ms policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2024-10-20T18:14:27.517700391Z 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-20T18:14:27.518805393Z 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.105252ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.521937027Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.523048738Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.111671ms policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-10-20T18:14:27.526295623Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.532248569Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.948586ms policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2024-10-20T18:14:27.535903458Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.536994919Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.091481ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.541178385Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.542284546Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.106441ms policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-10-20T18:14:27.54544992Z 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-20T18:14:27.570483041Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=25.033951ms policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-10-20T18:14:27.575873589Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.596148058Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=20.273949ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.599227741Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" policy-db-migrator | policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-10-20T18:14:27.60002494Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=793.879µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.603614639Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-10-20T18:14:27.604342886Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=728.217µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.608619033Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.616888402Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=8.268149ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.620264988Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-10-20T18:14:27.627080481Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=6.813763ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.630741522Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-10-20T18:14:27.631698792Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=956.9µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.635987819Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.637727857Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.737768ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.64162819Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-10-20T18:14:27.643197866Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.569337ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.727026141Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-10-20T18:14:27.728866701Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.84045ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.733975946Z 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-20T18:14:27.734238639Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=262.143µs policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.738485555Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-10-20T18:14:27.748282801Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=9.793236ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.75190632Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-10-20T18:14:27.760980537Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=9.092948ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.778360415Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.787963189Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=9.602544ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.80664914Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-10-20T18:14:27.808296758Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.647378ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.861021598Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" 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-20T18:14:27.862799327Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.777299ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.869465279Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.875479534Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.013495ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.880360867Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-10-20T18:14:27.886587514Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.226007ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.889596656Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-10-20T18:14:27.890585866Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=988.84µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.895634451Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.905220275Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=9.580574ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.933510831Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-10-20T18:14:27.941562698Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=8.049107ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.946712083Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-10-20T18:14:27.946788084Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=73.491µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.952569787Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.954452006Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.881849ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.959643382Z 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 | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-10-20T18:14:27.961340951Z 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.697279ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.964839629Z 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 | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-10-20T18:14:27.9659737Z 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.134301ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.970874134Z 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-20T18:14:27.971064176Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=189.552µs policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:27.974417042Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-10-20T18:14:27.980623719Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.205797ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.984966136Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-10-20T18:14:27.992116013Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=7.149267ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:27.997896826Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.004139263Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.239897ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.008808006Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-10-20T18:14:28.015224229Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.416003ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.020757548Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2024-10-20T18:14:28.027248604Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.489876ms grafana | logger=migrator t=2024-10-20T18:14:28.032362788Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.032431189Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=68.661µs policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.035257544Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.036647976Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.390332ms policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-10-20T18:14:28.041528368Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.050035042Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=8.504814ms policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-10-20T18:14:28.054626592Z 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-20T18:14:28.054704283Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=80.491µs policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.058551986Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.065085583Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.532947ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-10-20T18:14:28.068845336Z 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-20T18:14:28.069927425Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.081709ms policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-10-20T18:14:28.132859359Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.141595334Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=8.736435ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.145923241Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.146884379Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=960.768µs policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-10-20T18:14:28.150399109Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.15155194Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.152611ms policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-10-20T18:14:28.155320222Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.161998369Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.677716ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.16674391Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.167746728Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=1.004418ms policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-10-20T18:14:28.171201479Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.172663751Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.461482ms policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL grafana | logger=migrator t=2024-10-20T18:14:28.175873968Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.176832377Z level=info msg="Migration successfully executed" id="create alert_image table" duration=957.889µs policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.181354495Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.182453535Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.09901ms policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-10-20T18:14:28.185770174Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.185837334Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=67.681µ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-20T18:14:28.189779198Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.191448553Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.668045ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.19580838Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.196790659Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=982.359µs policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-10-20T18:14:28.204127741Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.204855808Z 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 | grafana | logger=migrator t=2024-10-20T18:14:28.212616244Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.213298251Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=681.597µs policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-10-20T18:14:28.220551353Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.222229397Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.674064ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.228475111Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.235221309Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.745648ms policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-10-20T18:14:28.239411215Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.240486404Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.074649ms policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-10-20T18:14:28.247100371Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.248266151Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.16592ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.256708024Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.258135467Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.426783ms policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-10-20T18:14:28.264689863Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.266455798Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.764985ms policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-10-20T18:14:28.275015121Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-10-20T18:14:28.276897767Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.885206ms policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-10-20T18:14:28.284659774Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-10-20T18:14:28.284686855Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=27.891µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.292128519Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.292219009Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=91.19µs policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.297848198Z level=info msg="Executing migration" id="add library_element folder uid" policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-10-20T18:14:28.305355143Z level=info msg="Migration successfully executed" id="add library_element folder uid" duration=7.508575ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.309584489Z level=info msg="Executing migration" id="populate library_element folder_uid" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-10-20T18:14:28.310412636Z level=info msg="Migration successfully executed" id="populate library_element folder_uid" duration=830.717µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.317223705Z level=info msg="Executing migration" id="add index library_element org_id-folder_uid-name-kind" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.319357913Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_uid-name-kind" duration=2.133598ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.323194506Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-10-20T18:14:28.323591219Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=396.413µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.328644523Z level=info msg="Executing migration" id="create data_keys table" 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-20T18:14:28.329679451Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.034458ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.33640426Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.338083894Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.678854ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.341641154Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-10-20T18:14:28.375099802Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=33.458928ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.378914105Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-10-20T18:14:28.384329692Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.415067ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.390999019Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.391227641Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=228.502µs policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.401075566Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-10-20T18:14:28.437201807Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=36.127501ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.448529295Z level=info msg="Executing migration" id="rename data_keys id column back to name" 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-20T18:14:28.481483487Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=32.955413ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.48416965Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.484757686Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=587.696µs policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.489660438Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-10-20T18:14:28.490659287Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=998.409µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.500164678Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" 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-20T18:14:28.500521341Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=356.673µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.50969975Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.510579188Z level=info msg="Migration successfully executed" id="create permission table" duration=879.318µs policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.516349448Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-10-20T18:14:28.517428857Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.076149ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.521384261Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) grafana | logger=migrator t=2024-10-20T18:14:28.52243342Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.048869ms policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.526737887Z level=info msg="Executing migration" id="create role table" policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-10-20T18:14:28.527597004Z level=info msg="Migration successfully executed" id="create role table" duration=858.537µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.532793899Z level=info msg="Executing migration" id="add column display_name" 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-20T18:14:28.540401944Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.607655ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.545238656Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.552332957Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.093821ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.560708179Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-10-20T18:14:28.561708558Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=999.809µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.567910101Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-10-20T18:14:28.56895178Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.041439ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.571678724Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.572679572Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=999.988µs policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.578953016Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-10-20T18:14:28.579786513Z level=info msg="Migration successfully executed" id="create team role table" duration=832.967µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.586871504Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-10-20T18:14:28.587911233Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.039309ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.593298989Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.594390119Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.09067ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.599370281Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-10-20T18:14:28.600400721Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.03248ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.607179249Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-10-20T18:14:28.607979676Z level=info msg="Migration successfully executed" id="create user role table" duration=800.097µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.615573791Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.616665961Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.09172ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.622963005Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-10-20T18:14:28.625064043Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=2.097478ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.630017135Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-10-20T18:14:28.632032853Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=2.015178ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.642979977Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.644271278Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.2908ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.652577689Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-10-20T18:14:28.654262894Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.684615ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.66083663Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.662526265Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.685075ms grafana | logger=migrator t=2024-10-20T18:14:28.672695683Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2024-10-20T18:14:28.682034953Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=9.31435ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.689073723Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2024-10-20T18:14:28.690047772Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=975.799µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.693877454Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.694745363Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=865.598µs policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.698212952Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2024-10-20T18:14:28.69906558Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=850.457µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.704564587Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2024-10-20T18:14:28.705364713Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=799.966µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.709495639Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.710224925Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=731.076µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.741942698Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2024-10-20T18:14:28.743774054Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.830826ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.748455715Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.756591025Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.15223ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.760681959Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2024-10-20T18:14:28.766421859Z level=info msg="Migration successfully executed" id="permission kind migration" duration=5.738989ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.770595765Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-10-20T18:14:28.779532422Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=8.936217ms policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.785886026Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2024-10-20T18:14:28.793869425Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.982899ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.798735277Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.799840696Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.105419ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.805262473Z level=info msg="Executing migration" id="add permission action scope role_id index" policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-10-20T18:14:28.806401532Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=1.138909ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.81301648Z level=info msg="Executing migration" id="remove permission role_id action scope index" policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2024-10-20T18:14:28.81424949Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.23295ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.819389705Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.820891368Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.500793ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.825765619Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2024-10-20T18:14:28.827561235Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.795386ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.836193859Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2024-10-20T18:14:28.836410881Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=215.182µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.844048167Z level=info msg="Executing migration" id="create query_history_details table v1" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.845480159Z level=info msg="Migration successfully executed" id="create query_history_details table v1" duration=1.431222ms policy-db-migrator | msg grafana | logger=migrator t=2024-10-20T18:14:28.85019938Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2024-10-20T18:14:28.85028847Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=51.081µs policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.855192153Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2024-10-20T18:14:28.855686427Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=494.854µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.8596095Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2024-10-20T18:14:28.860281767Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=673.557µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.864083259Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.86539778Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.313891ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.870641985Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-10-20T18:14:28.870966998Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=321.733µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.876392464Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-10-20T18:14:28.877056921Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=703.487µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.881177796Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.882431677Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.253721ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.888961973Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-10-20T18:14:28.891313564Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=2.351301ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.897158194Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.906143701Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.986137ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.909099456Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=migrator t=2024-10-20T18:14:28.909154077Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=54.891µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.912835928Z level=info msg="Executing migration" id="create correlation table v1" 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-20T18:14:28.913606435Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=770.237µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.916923444Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.918721769Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.798025ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.922237949Z level=info msg="Executing migration" id="add index correlations.source_uid" 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-20T18:14:28.923928313Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.689954ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.9281733Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.936490742Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.323242ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.939571049Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2024-10-20T18:14:28.940597507Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.026338ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.943861935Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" 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-20T18:14:28.944894644Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.032239ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.94906593Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.971282201Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=22.216071ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.974164786Z level=info msg="Executing migration" id="create correlation v2" 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-20T18:14:28.975232455Z level=info msg="Migration successfully executed" id="create correlation v2" duration=1.067289ms policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.979189899Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.980267638Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.077409ms policy-db-migrator | TRUNCATE TABLE sequence grafana | logger=migrator t=2024-10-20T18:14:28.98392989Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.984957999Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.027899ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.988178876Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.989270446Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.0911ms policy-db-migrator | > upgrade 0100-pdpstatistics.sql grafana | logger=migrator t=2024-10-20T18:14:28.992416163Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.992636545Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=219.872µs policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-10-20T18:14:28.996258216Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:28.997012212Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=753.346µs policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:28.999602694Z level=info msg="Executing migration" id="add provisioning column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:29.012911698Z level=info msg="Migration successfully executed" id="add provisioning column" duration=13.303034ms policy-db-migrator | DROP TABLE pdpstatistics grafana | logger=migrator t=2024-10-20T18:14:29.016701109Z level=info msg="Executing migration" id="create entity_events table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:29.018059344Z level=info msg="Migration successfully executed" id="create entity_events table" duration=1.358405ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:29.022277119Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:29.023419482Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.142133ms policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-10-20T18:14:29.026254942Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:29.026687787Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats grafana | logger=migrator t=2024-10-20T18:14:29.029706259Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:29.030135584Z 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" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:29.034039406Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:29.034750923Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=711.387µs policy-db-migrator | > upgrade 0120-statistics_sequence.sql grafana | logger=migrator t=2024-10-20T18:14:29.03817965Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:29.039959579Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.780509ms policy-db-migrator | DROP TABLE statistics_sequence grafana | logger=migrator t=2024-10-20T18:14:29.044029543Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-10-20T18:14:29.045922653Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.89168ms policy-db-migrator | grafana | logger=migrator t=2024-10-20T18:14:29.049157998Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | policyadmin: OK: upgrade (1300) grafana | logger=migrator t=2024-10-20T18:14:29.050222349Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.064031ms policy-db-migrator | name version grafana | logger=migrator t=2024-10-20T18:14:29.053335803Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" policy-db-migrator | policyadmin 1300 grafana | logger=migrator t=2024-10-20T18:14:29.054348504Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.012791ms policy-db-migrator | ID script operation from_version to_version tag success atTime grafana | logger=migrator t=2024-10-20T18:14:29.058326016Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:30 grafana | logger=migrator t=2024-10-20T18:14:29.059423538Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.097712ms policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:30 grafana | logger=migrator t=2024-10-20T18:14:29.062470291Z level=info msg="Executing migration" id="Drop public config table" policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:30 grafana | logger=migrator t=2024-10-20T18:14:29.063215719Z level=info msg="Migration successfully executed" id="Drop public config table" duration=744.938µs policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:30 grafana | logger=migrator t=2024-10-20T18:14:29.066311792Z level=info msg="Executing migration" id="Recreate dashboard public config v2" policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:30 grafana | logger=migrator t=2024-10-20T18:14:29.067414174Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.101792ms policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:31 grafana | logger=migrator t=2024-10-20T18:14:29.071410297Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:31 grafana | logger=migrator t=2024-10-20T18:14:29.072478758Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.068171ms policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:31 grafana | logger=migrator t=2024-10-20T18:14:29.075647882Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:31 grafana | logger=migrator t=2024-10-20T18:14:29.076781094Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.132912ms policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:31 grafana | logger=migrator t=2024-10-20T18:14:29.080556484Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:31 grafana | logger=migrator t=2024-10-20T18:14:29.081674687Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.117903ms policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:31 grafana | logger=migrator t=2024-10-20T18:14:29.085212255Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:31 grafana | logger=migrator t=2024-10-20T18:14:29.112437361Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=27.226196ms policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:31 grafana | logger=migrator t=2024-10-20T18:14:29.121877233Z level=info msg="Executing migration" id="add annotations_enabled column" policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:31 grafana | logger=migrator t=2024-10-20T18:14:29.130304234Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=8.426771ms policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:31 grafana | logger=migrator t=2024-10-20T18:14:29.13734667Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:31 grafana | logger=migrator t=2024-10-20T18:14:29.145850963Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.503403ms policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:31 grafana | logger=migrator t=2024-10-20T18:14:29.153576956Z level=info msg="Executing migration" id="delete orphaned public dashboards" policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:31 grafana | logger=migrator t=2024-10-20T18:14:29.153812438Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=233.572µs policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:31 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:31 grafana | logger=migrator t=2024-10-20T18:14:29.195578201Z level=info msg="Executing migration" id="add share column" policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:31 grafana | logger=migrator t=2024-10-20T18:14:29.206173156Z level=info msg="Migration successfully executed" id="add share column" duration=10.595655ms policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:31 grafana | logger=migrator t=2024-10-20T18:14:29.209939037Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:31 grafana | logger=migrator t=2024-10-20T18:14:29.210126889Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=187.732µs policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:31 grafana | logger=migrator t=2024-10-20T18:14:29.215425457Z level=info msg="Executing migration" id="create file table" policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:31 grafana | logger=migrator t=2024-10-20T18:14:29.216379338Z level=info msg="Migration successfully executed" id="create file table" duration=951.681µs policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:31 grafana | logger=migrator t=2024-10-20T18:14:29.220209939Z level=info msg="Executing migration" id="file table idx: path natural pk" policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:31 grafana | logger=migrator t=2024-10-20T18:14:29.22214377Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.933711ms policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:31 grafana | logger=migrator t=2024-10-20T18:14:29.226203884Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:31 grafana | logger=migrator t=2024-10-20T18:14:29.227620399Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.416855ms policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:32 grafana | logger=migrator t=2024-10-20T18:14:29.232593254Z level=info msg="Executing migration" id="create file_meta table" policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:32 grafana | logger=migrator t=2024-10-20T18:14:29.233418122Z level=info msg="Migration successfully executed" id="create file_meta table" duration=824.138µs policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:32 grafana | logger=migrator t=2024-10-20T18:14:29.236156722Z level=info msg="Executing migration" id="file table idx: path key" policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:32 grafana | logger=migrator t=2024-10-20T18:14:29.237265884Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.111082ms policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:32 grafana | logger=migrator t=2024-10-20T18:14:29.240266056Z level=info msg="Executing migration" id="set path collation in file table" policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:32 grafana | logger=migrator t=2024-10-20T18:14:29.240329207Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=63.301µs policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:32 grafana | logger=migrator t=2024-10-20T18:14:29.245327011Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:32 grafana | logger=migrator t=2024-10-20T18:14:29.245422442Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=96.021µs policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:32 grafana | logger=migrator t=2024-10-20T18:14:29.248677047Z level=info msg="Executing migration" id="managed permissions migration" policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:32 grafana | logger=migrator t=2024-10-20T18:14:29.249518377Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=841.41µs grafana | logger=migrator t=2024-10-20T18:14:29.252905094Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:32 grafana | logger=migrator t=2024-10-20T18:14:29.253243637Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=338.163µs policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:32 grafana | logger=migrator t=2024-10-20T18:14:29.258673076Z level=info msg="Executing migration" id="RBAC action name migrator" policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:32 grafana | logger=migrator t=2024-10-20T18:14:29.260915701Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=2.241815ms policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:32 grafana | logger=migrator t=2024-10-20T18:14:29.264719792Z level=info msg="Executing migration" id="Add UID column to playlist" policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:32 grafana | logger=migrator t=2024-10-20T18:14:29.273507007Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.786725ms policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:32 grafana | logger=migrator t=2024-10-20T18:14:29.276464519Z level=info msg="Executing migration" id="Update uid column values in playlist" policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:32 grafana | logger=migrator t=2024-10-20T18:14:29.27662329Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=158.481µs policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:32 grafana | logger=migrator t=2024-10-20T18:14:29.280641975Z level=info msg="Executing migration" id="Add index for uid in playlist" policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:32 grafana | logger=migrator t=2024-10-20T18:14:29.281741456Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.099581ms policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:32 grafana | logger=migrator t=2024-10-20T18:14:29.286285666Z level=info msg="Executing migration" id="update group index for alert rules" policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:32 grafana | logger=migrator t=2024-10-20T18:14:29.28667341Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=387.874µs policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:32 grafana | logger=migrator t=2024-10-20T18:14:29.37802159Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:32 grafana | logger=migrator t=2024-10-20T18:14:29.378276264Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=253.094µs policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:32 grafana | logger=migrator t=2024-10-20T18:14:29.38161265Z level=info msg="Executing migration" id="admin only folder/dashboard permission" policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:32 grafana | logger=migrator t=2024-10-20T18:14:29.382111975Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=498.895µs policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:32 grafana | logger=migrator t=2024-10-20T18:14:29.385495222Z level=info msg="Executing migration" id="add action column to seed_assignment" policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:32 grafana | logger=migrator t=2024-10-20T18:14:29.396055676Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=10.561534ms policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:33 grafana | logger=migrator t=2024-10-20T18:14:29.400819218Z level=info msg="Executing migration" id="add scope column to seed_assignment" policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:33 grafana | logger=migrator t=2024-10-20T18:14:29.407994145Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=7.174377ms policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:33 grafana | logger=migrator t=2024-10-20T18:14:29.411673995Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:33 grafana | logger=migrator t=2024-10-20T18:14:29.412773857Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.099182ms policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:33 grafana | logger=migrator t=2024-10-20T18:14:29.416665439Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:33 grafana | logger=migrator t=2024-10-20T18:14:29.491680213Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=75.014624ms policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:33 grafana | logger=migrator t=2024-10-20T18:14:29.495724196Z level=info msg="Executing migration" id="add unique index builtin_role_name back" policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:33 grafana | logger=migrator t=2024-10-20T18:14:29.497706438Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.982762ms policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:33 grafana | logger=migrator t=2024-10-20T18:14:29.501359078Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:33 grafana | logger=migrator t=2024-10-20T18:14:29.502849644Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.491236ms policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:33 grafana | logger=migrator t=2024-10-20T18:14:29.507238302Z level=info msg="Executing migration" id="add primary key to seed_assigment" policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:33 grafana | logger=migrator t=2024-10-20T18:14:29.533195534Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=25.957312ms policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:33 grafana | logger=migrator t=2024-10-20T18:14:29.537323968Z level=info msg="Executing migration" id="add origin column to seed_assignment" policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:33 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:33 grafana | logger=migrator t=2024-10-20T18:14:29.543571916Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=6.245578ms policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:33 grafana | logger=migrator t=2024-10-20T18:14:29.546842202Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:33 grafana | logger=migrator t=2024-10-20T18:14:29.547164615Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=323.563µs policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:33 grafana | logger=migrator t=2024-10-20T18:14:29.55134778Z level=info msg="Executing migration" id="prevent seeding OnCall access" policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:33 grafana | logger=migrator t=2024-10-20T18:14:29.551510532Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=162.202µs policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:33 grafana | logger=migrator t=2024-10-20T18:14:29.554892649Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:33 grafana | logger=migrator t=2024-10-20T18:14:29.555229123Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=336.594µs policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:33 grafana | logger=migrator t=2024-10-20T18:14:29.558801851Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:33 grafana | logger=migrator t=2024-10-20T18:14:29.559142775Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=341.224µs policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:33 grafana | logger=migrator t=2024-10-20T18:14:29.562516451Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:34 grafana | logger=migrator t=2024-10-20T18:14:29.562820024Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=303.423µs policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:34 grafana | logger=migrator t=2024-10-20T18:14:29.56698107Z level=info msg="Executing migration" id="create folder table" policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:34 grafana | logger=migrator t=2024-10-20T18:14:29.568428565Z level=info msg="Migration successfully executed" id="create folder table" duration=1.446805ms policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:34 grafana | logger=migrator t=2024-10-20T18:14:29.57159216Z level=info msg="Executing migration" id="Add index for parent_uid" policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:34 grafana | logger=migrator t=2024-10-20T18:14:29.572773973Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.181333ms policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:34 grafana | logger=migrator t=2024-10-20T18:14:29.576575004Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:34 grafana | logger=migrator t=2024-10-20T18:14:29.577673066Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.097372ms policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:34 grafana | logger=migrator t=2024-10-20T18:14:29.581653649Z level=info msg="Executing migration" id="Update folder title length" policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:34 grafana | logger=migrator t=2024-10-20T18:14:29.581682979Z level=info msg="Migration successfully executed" id="Update folder title length" duration=26.58µs policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:34 grafana | logger=migrator t=2024-10-20T18:14:29.584657611Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:34 grafana | logger=migrator t=2024-10-20T18:14:29.585815575Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.157444ms policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:34 grafana | logger=migrator t=2024-10-20T18:14:29.58908041Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:34 grafana | logger=migrator t=2024-10-20T18:14:29.590720787Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.632287ms policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:34 grafana | logger=migrator t=2024-10-20T18:14:29.594677931Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2010241814300800u 1 2024-10-20 18:14:34 grafana | logger=migrator t=2024-10-20T18:14:29.59657521Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.89552ms policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2010241814300900u 1 2024-10-20 18:14:34 grafana | logger=migrator t=2024-10-20T18:14:29.599831877Z level=info msg="Executing migration" id="Sync dashboard and folder table" policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2010241814300900u 1 2024-10-20 18:14:34 grafana | logger=migrator t=2024-10-20T18:14:29.600543764Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=711.717µs policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2010241814300900u 1 2024-10-20 18:14:34 grafana | logger=migrator t=2024-10-20T18:14:29.603717018Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2010241814300900u 1 2024-10-20 18:14:35 grafana | logger=migrator t=2024-10-20T18:14:29.604135353Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=418.425µs policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2010241814300900u 1 2024-10-20 18:14:35 grafana | logger=migrator t=2024-10-20T18:14:29.608391329Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2010241814300900u 1 2024-10-20 18:14:35 grafana | logger=migrator t=2024-10-20T18:14:29.610157328Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.765619ms policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2010241814300900u 1 2024-10-20 18:14:35 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2010241814300900u 1 2024-10-20 18:14:35 grafana | logger=migrator t=2024-10-20T18:14:29.613447203Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2010241814300900u 1 2024-10-20 18:14:35 grafana | logger=migrator t=2024-10-20T18:14:29.615343874Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.895381ms policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2010241814300900u 1 2024-10-20 18:14:35 grafana | logger=migrator t=2024-10-20T18:14:29.618959693Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2010241814300900u 1 2024-10-20 18:14:35 grafana | logger=migrator t=2024-10-20T18:14:29.620005075Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.045472ms policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2010241814300900u 1 2024-10-20 18:14:35 grafana | logger=migrator t=2024-10-20T18:14:29.623869107Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2010241814300900u 1 2024-10-20 18:14:35 grafana | logger=migrator t=2024-10-20T18:14:29.62501704Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.147183ms policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2010241814301000u 1 2024-10-20 18:14:35 grafana | logger=migrator t=2024-10-20T18:14:29.628479527Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2010241814301000u 1 2024-10-20 18:14:35 grafana | logger=migrator t=2024-10-20T18:14:29.630233766Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.753748ms policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2010241814301000u 1 2024-10-20 18:14:35 grafana | logger=migrator t=2024-10-20T18:14:29.63423954Z level=info msg="Executing migration" id="create anon_device table" policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2010241814301000u 1 2024-10-20 18:14:35 grafana | logger=migrator t=2024-10-20T18:14:29.635181029Z level=info msg="Migration successfully executed" id="create anon_device table" duration=940.669µs policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2010241814301000u 1 2024-10-20 18:14:35 grafana | logger=migrator t=2024-10-20T18:14:29.638239292Z level=info msg="Executing migration" id="add unique index anon_device.device_id" policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2010241814301000u 1 2024-10-20 18:14:35 grafana | logger=migrator t=2024-10-20T18:14:29.639370195Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.130313ms grafana | logger=migrator t=2024-10-20T18:14:29.642408858Z level=info msg="Executing migration" id="add index anon_device.updated_at" policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2010241814301000u 1 2024-10-20 18:14:35 grafana | logger=migrator t=2024-10-20T18:14:29.64350773Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.098362ms policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2010241814301000u 1 2024-10-20 18:14:35 grafana | logger=migrator t=2024-10-20T18:14:29.647559354Z level=info msg="Executing migration" id="create signing_key table" policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2010241814301000u 1 2024-10-20 18:14:35 grafana | logger=migrator t=2024-10-20T18:14:29.648440813Z level=info msg="Migration successfully executed" id="create signing_key table" duration=880.479µs policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2010241814301100u 1 2024-10-20 18:14:35 grafana | logger=migrator t=2024-10-20T18:14:29.651568437Z level=info msg="Executing migration" id="add unique index signing_key.key_id" policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2010241814301200u 1 2024-10-20 18:14:35 grafana | logger=migrator t=2024-10-20T18:14:29.652680909Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.111952ms policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2010241814301200u 1 2024-10-20 18:14:35 grafana | logger=migrator t=2024-10-20T18:14:29.655801894Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2010241814301200u 1 2024-10-20 18:14:36 grafana | logger=migrator t=2024-10-20T18:14:29.656957336Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.155392ms policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2010241814301200u 1 2024-10-20 18:14:36 grafana | logger=migrator t=2024-10-20T18:14:29.660950769Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 2010241814301300u 1 2024-10-20 18:14:36 grafana | logger=migrator t=2024-10-20T18:14:29.661220923Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=271.264µs policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 2010241814301300u 1 2024-10-20 18:14:36 grafana | logger=migrator t=2024-10-20T18:14:29.664534948Z level=info msg="Executing migration" id="Add folder_uid for dashboard" policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 2010241814301300u 1 2024-10-20 18:14:36 grafana | logger=migrator t=2024-10-20T18:14:29.673481255Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=8.945977ms policy-db-migrator | policyadmin: OK @ 1300 grafana | logger=migrator t=2024-10-20T18:14:29.676780721Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-10-20T18:14:29.677448258Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=668.337µs grafana | logger=migrator t=2024-10-20T18:14:29.680367619Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-10-20T18:14:29.68038916Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=22.191µs grafana | logger=migrator t=2024-10-20T18:14:29.68408694Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-10-20T18:14:29.685205782Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.119122ms grafana | logger=migrator t=2024-10-20T18:14:29.688245495Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-10-20T18:14:29.688272415Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=28.21µs grafana | logger=migrator t=2024-10-20T18:14:29.691063975Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" grafana | logger=migrator t=2024-10-20T18:14:29.692968936Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.904171ms grafana | logger=migrator t=2024-10-20T18:14:29.696960029Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-10-20T18:14:29.698126072Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.165863ms grafana | logger=migrator t=2024-10-20T18:14:29.701159095Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-10-20T18:14:29.702176406Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.016741ms grafana | logger=migrator t=2024-10-20T18:14:29.705147628Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-10-20T18:14:29.705900676Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=753.268µs grafana | logger=migrator t=2024-10-20T18:14:29.709758828Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-10-20T18:14:29.710020111Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=262.203µs grafana | logger=migrator t=2024-10-20T18:14:29.713288056Z level=info msg="Executing migration" id="managed dashboard permissions annotation actions migration" grafana | logger=migrator t=2024-10-20T18:14:29.714193206Z level=info msg="Migration successfully executed" id="managed dashboard permissions annotation actions migration" duration=904.82µs grafana | logger=migrator t=2024-10-20T18:14:29.717699705Z level=info msg="Executing migration" id="create cloud_migration table v1" grafana | logger=migrator t=2024-10-20T18:14:29.719073469Z level=info msg="Migration successfully executed" id="create cloud_migration table v1" duration=1.372994ms grafana | logger=migrator t=2024-10-20T18:14:29.723018492Z level=info msg="Executing migration" id="create cloud_migration_run table v1" grafana | logger=migrator t=2024-10-20T18:14:29.723895472Z level=info msg="Migration successfully executed" id="create cloud_migration_run table v1" duration=876.58µs grafana | logger=migrator t=2024-10-20T18:14:29.726898754Z level=info msg="Executing migration" id="add stack_id column" grafana | logger=migrator t=2024-10-20T18:14:29.736037773Z level=info msg="Migration successfully executed" id="add stack_id column" duration=9.138569ms grafana | logger=migrator t=2024-10-20T18:14:29.739028125Z level=info msg="Executing migration" id="add region_slug column" grafana | logger=migrator t=2024-10-20T18:14:29.748143195Z level=info msg="Migration successfully executed" id="add region_slug column" duration=9.11467ms grafana | logger=migrator t=2024-10-20T18:14:29.75136651Z level=info msg="Executing migration" id="add cluster_slug column" grafana | logger=migrator t=2024-10-20T18:14:29.760506939Z level=info msg="Migration successfully executed" id="add cluster_slug column" duration=9.139569ms grafana | logger=migrator t=2024-10-20T18:14:29.76437992Z level=info msg="Executing migration" id="add migration uid column" grafana | logger=migrator t=2024-10-20T18:14:29.773716082Z level=info msg="Migration successfully executed" id="add migration uid column" duration=9.335322ms grafana | logger=migrator t=2024-10-20T18:14:29.776841386Z level=info msg="Executing migration" id="Update uid column values for migration" grafana | logger=migrator t=2024-10-20T18:14:29.776964237Z level=info msg="Migration successfully executed" id="Update uid column values for migration" duration=122.691µs grafana | logger=migrator t=2024-10-20T18:14:29.779363473Z level=info msg="Executing migration" id="Add unique index migration_uid" grafana | logger=migrator t=2024-10-20T18:14:29.780212792Z level=info msg="Migration successfully executed" id="Add unique index migration_uid" duration=849.029µs grafana | logger=migrator t=2024-10-20T18:14:29.784372207Z level=info msg="Executing migration" id="add migration run uid column" grafana | logger=migrator t=2024-10-20T18:14:29.795929303Z level=info msg="Migration successfully executed" id="add migration run uid column" duration=11.558356ms grafana | logger=migrator t=2024-10-20T18:14:29.798962176Z level=info msg="Executing migration" id="Update uid column values for migration run" grafana | logger=migrator t=2024-10-20T18:14:29.799081187Z level=info msg="Migration successfully executed" id="Update uid column values for migration run" duration=119.171µs grafana | logger=migrator t=2024-10-20T18:14:29.801940628Z level=info msg="Executing migration" id="Add unique index migration_run_uid" grafana | logger=migrator t=2024-10-20T18:14:29.803125651Z level=info msg="Migration successfully executed" id="Add unique index migration_run_uid" duration=1.184253ms grafana | logger=migrator t=2024-10-20T18:14:29.807037264Z level=info msg="Executing migration" id="Rename table cloud_migration to cloud_migration_session_tmp_qwerty - v1" grafana | logger=migrator t=2024-10-20T18:14:29.833151937Z level=info msg="Migration successfully executed" id="Rename table cloud_migration to cloud_migration_session_tmp_qwerty - v1" duration=26.114563ms grafana | logger=migrator t=2024-10-20T18:14:29.83624197Z level=info msg="Executing migration" id="create cloud_migration_session v2" grafana | logger=migrator t=2024-10-20T18:14:29.836917867Z level=info msg="Migration successfully executed" id="create cloud_migration_session v2" duration=675.597µs grafana | logger=migrator t=2024-10-20T18:14:29.840039281Z level=info msg="Executing migration" id="create index UQE_cloud_migration_session_uid - v2" grafana | logger=migrator t=2024-10-20T18:14:29.841193654Z level=info msg="Migration successfully executed" id="create index UQE_cloud_migration_session_uid - v2" duration=1.151753ms grafana | logger=migrator t=2024-10-20T18:14:29.845106596Z level=info msg="Executing migration" id="copy cloud_migration_session v1 to v2" grafana | logger=migrator t=2024-10-20T18:14:29.845426089Z level=info msg="Migration successfully executed" id="copy cloud_migration_session v1 to v2" duration=319.493µs grafana | logger=migrator t=2024-10-20T18:14:29.848310651Z level=info msg="Executing migration" id="drop cloud_migration_session_tmp_qwerty" grafana | logger=migrator t=2024-10-20T18:14:29.84912377Z level=info msg="Migration successfully executed" id="drop cloud_migration_session_tmp_qwerty" duration=811.289µs grafana | logger=migrator t=2024-10-20T18:14:29.851449765Z level=info msg="Executing migration" id="Rename table cloud_migration_run to cloud_migration_snapshot_tmp_qwerty - v1" grafana | logger=migrator t=2024-10-20T18:14:29.876461886Z level=info msg="Migration successfully executed" id="Rename table cloud_migration_run to cloud_migration_snapshot_tmp_qwerty - v1" duration=25.014251ms grafana | logger=migrator t=2024-10-20T18:14:29.880365549Z level=info msg="Executing migration" id="create cloud_migration_snapshot v2" grafana | logger=migrator t=2024-10-20T18:14:29.881023266Z level=info msg="Migration successfully executed" id="create cloud_migration_snapshot v2" duration=657.477µs grafana | logger=migrator t=2024-10-20T18:14:29.883337111Z level=info msg="Executing migration" id="create index UQE_cloud_migration_snapshot_uid - v2" grafana | logger=migrator t=2024-10-20T18:14:29.88417082Z level=info msg="Migration successfully executed" id="create index UQE_cloud_migration_snapshot_uid - v2" duration=833.519µs grafana | logger=migrator t=2024-10-20T18:14:29.887023131Z level=info msg="Executing migration" id="copy cloud_migration_snapshot v1 to v2" grafana | logger=migrator t=2024-10-20T18:14:29.887335674Z level=info msg="Migration successfully executed" id="copy cloud_migration_snapshot v1 to v2" duration=312.103µs grafana | logger=migrator t=2024-10-20T18:14:29.891329558Z level=info msg="Executing migration" id="drop cloud_migration_snapshot_tmp_qwerty" grafana | logger=migrator t=2024-10-20T18:14:29.892161067Z level=info msg="Migration successfully executed" id="drop cloud_migration_snapshot_tmp_qwerty" duration=831.319µs grafana | logger=migrator t=2024-10-20T18:14:29.895389162Z level=info msg="Executing migration" id="add snapshot upload_url column" grafana | logger=migrator t=2024-10-20T18:14:29.907044288Z level=info msg="Migration successfully executed" id="add snapshot upload_url column" duration=11.655856ms grafana | logger=migrator t=2024-10-20T18:14:29.909884379Z level=info msg="Executing migration" id="add snapshot status column" grafana | logger=migrator t=2024-10-20T18:14:29.916582402Z level=info msg="Migration successfully executed" id="add snapshot status column" duration=6.697483ms grafana | logger=migrator t=2024-10-20T18:14:29.920709736Z level=info msg="Executing migration" id="add snapshot local_directory column" grafana | logger=migrator t=2024-10-20T18:14:29.932058339Z level=info msg="Migration successfully executed" id="add snapshot local_directory column" duration=11.350713ms grafana | logger=migrator t=2024-10-20T18:14:29.961860043Z level=info msg="Executing migration" id="add snapshot gms_snapshot_uid column" grafana | logger=migrator t=2024-10-20T18:14:29.976892835Z level=info msg="Migration successfully executed" id="add snapshot gms_snapshot_uid column" duration=15.022282ms grafana | logger=migrator t=2024-10-20T18:14:29.9801558Z level=info msg="Executing migration" id="add snapshot encryption_key column" grafana | logger=migrator t=2024-10-20T18:14:29.986734152Z level=info msg="Migration successfully executed" id="add snapshot encryption_key column" duration=6.578582ms grafana | logger=migrator t=2024-10-20T18:14:29.990973137Z level=info msg="Executing migration" id="add snapshot error_string column" grafana | logger=migrator t=2024-10-20T18:14:30.000417631Z level=info msg="Migration successfully executed" id="add snapshot error_string column" duration=9.444134ms grafana | logger=migrator t=2024-10-20T18:14:30.003862528Z level=info msg="Executing migration" id="create cloud_migration_resource table v1" grafana | logger=migrator t=2024-10-20T18:14:30.004761477Z level=info msg="Migration successfully executed" id="create cloud_migration_resource table v1" duration=898.469µs grafana | logger=migrator t=2024-10-20T18:14:30.008071843Z level=info msg="Executing migration" id="delete cloud_migration_snapshot.result column" grafana | logger=migrator t=2024-10-20T18:14:30.045603081Z level=info msg="Migration successfully executed" id="delete cloud_migration_snapshot.result column" duration=37.531138ms grafana | logger=migrator t=2024-10-20T18:14:30.049844546Z level=info msg="Executing migration" id="alter kv_store.value to longtext" grafana | logger=migrator t=2024-10-20T18:14:30.049910747Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=66.381µs grafana | logger=migrator t=2024-10-20T18:14:30.053151752Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" grafana | logger=migrator t=2024-10-20T18:14:30.063007319Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=9.854677ms grafana | logger=migrator t=2024-10-20T18:14:30.066734189Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" grafana | logger=migrator t=2024-10-20T18:14:30.07691515Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=10.180961ms grafana | logger=migrator t=2024-10-20T18:14:30.081209816Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" grafana | logger=migrator t=2024-10-20T18:14:30.08151938Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=309.274µs grafana | logger=migrator t=2024-10-20T18:14:30.084951057Z level=info msg="Executing migration" id="managed folder permissions alerting silences actions migration" grafana | logger=migrator t=2024-10-20T18:14:30.08516522Z level=info msg="Migration successfully executed" id="managed folder permissions alerting silences actions migration" duration=213.873µs grafana | logger=migrator t=2024-10-20T18:14:30.088502096Z level=info msg="Executing migration" id="add record column to alert_rule table" grafana | logger=migrator t=2024-10-20T18:14:30.101847611Z level=info msg="Migration successfully executed" id="add record column to alert_rule table" duration=13.345755ms grafana | logger=migrator t=2024-10-20T18:14:30.105193807Z level=info msg="Executing migration" id="add record column to alert_rule_version table" grafana | logger=migrator t=2024-10-20T18:14:30.111894839Z level=info msg="Migration successfully executed" id="add record column to alert_rule_version table" duration=6.701002ms grafana | logger=migrator t=2024-10-20T18:14:30.116032864Z level=info msg="Executing migration" id="add resolved_at column to alert_instance table" grafana | logger=migrator t=2024-10-20T18:14:30.125243964Z level=info msg="Migration successfully executed" id="add resolved_at column to alert_instance table" duration=9.21067ms grafana | logger=migrator t=2024-10-20T18:14:30.128690591Z level=info msg="Executing migration" id="add last_sent_at column to alert_instance table" grafana | logger=migrator t=2024-10-20T18:14:30.138088344Z level=info msg="Migration successfully executed" id="add last_sent_at column to alert_instance table" duration=9.397163ms grafana | logger=migrator t=2024-10-20T18:14:30.141553971Z level=info msg="Executing migration" id="Enable traceQL streaming for all Tempo datasources" grafana | logger=migrator t=2024-10-20T18:14:30.141576671Z level=info msg="Migration successfully executed" id="Enable traceQL streaming for all Tempo datasources" duration=23.09µs grafana | logger=migrator t=2024-10-20T18:14:30.145873108Z level=info msg="migrations completed" performed=594 skipped=0 duration=4.607481763s grafana | logger=migrator t=2024-10-20T18:14:30.146443854Z level=info msg="Unlocking database" grafana | logger=sqlstore t=2024-10-20T18:14:30.161439426Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-10-20T18:14:30.161638188Z level=info msg="Created default organization" grafana | logger=secrets t=2024-10-20T18:14:30.166057727Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.angulardetectorsprovider.dynamic t=2024-10-20T18:14:30.214574803Z level=info msg="Restored cache from database" duration=401.835µs grafana | logger=plugin.store t=2024-10-20T18:14:30.216042309Z level=info msg="Loading plugins..." grafana | logger=plugins.registration t=2024-10-20T18:14:30.245390516Z level=error msg="Could not register plugin" pluginId=xychart error="plugin xychart is already registered" grafana | logger=plugins.initialization t=2024-10-20T18:14:30.245409197Z level=error msg="Could not initialize plugin" pluginId=xychart error="plugin xychart is already registered" grafana | logger=local.finder t=2024-10-20T18:14:30.245522768Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-10-20T18:14:30.245536558Z level=info msg="Plugins loaded" count=54 duration=29.497079ms grafana | logger=query_data t=2024-10-20T18:14:30.249700404Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-10-20T18:14:30.253308972Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.notifier.alertmanager org=1 t=2024-10-20T18:14:30.257350906Z level=info msg="Applying new configuration to Alertmanager" configHash=d2c56faca6af2a5772ff4253222f7386 grafana | logger=ngalert.state.manager t=2024-10-20T18:14:30.263499443Z level=info msg="Running in alternative execution of Error/NoData mode" grafana | logger=infra.usagestats.collector t=2024-10-20T18:14:30.265278812Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-10-20T18:14:30.266759079Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-10-20T18:14:30.286712815Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-10-20T18:14:30.286783066Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2024-10-20T18:14:30.287937628Z level=info msg="Storage starting" grafana | logger=ngalert.multiorg.alertmanager t=2024-10-20T18:14:30.289272973Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=ngalert.state.manager t=2024-10-20T18:14:30.289247113Z level=info msg="Warming state cache for startup" grafana | logger=http.server t=2024-10-20T18:14:30.292301386Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafana.update.checker t=2024-10-20T18:14:30.362590927Z level=info msg="Update check succeeded" duration=74.024933ms grafana | logger=plugins.update.checker t=2024-10-20T18:14:30.362776719Z level=info msg="Update check succeeded" duration=75.484678ms grafana | logger=plugin.angulardetectorsprovider.dynamic t=2024-10-20T18:14:30.375113153Z level=info msg="Patterns update finished" duration=60.728608ms grafana | logger=provisioning.dashboard t=2024-10-20T18:14:30.407915788Z level=info msg="starting to provision dashboards" grafana | logger=ngalert.state.manager t=2024-10-20T18:14:30.409501366Z level=info msg="State cache has been initialized" states=0 duration=120.254704ms grafana | logger=ngalert.scheduler t=2024-10-20T18:14:30.409538416Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 grafana | logger=ticker t=2024-10-20T18:14:30.409591067Z level=info msg=starting first_tick=2024-10-20T18:14:40Z grafana | logger=grafana-apiserver t=2024-10-20T18:14:30.56660098Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=grafana-apiserver t=2024-10-20T18:14:30.567157175Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" grafana | logger=provisioning.dashboard t=2024-10-20T18:14:30.619038947Z level=info msg="finished to provision dashboards" grafana | logger=infra.usagestats t=2024-10-20T18:15:17.300730303Z 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 grafana ... Removing policy-db-migrator ... Removing prometheus ... Removing mariadb ... Removing policy-db-migrator ... done Removing grafana ... done Removing policy-api ... 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.Ib9w2BqZpq ]] + rsync -av /tmp/tmp.Ib9w2BqZpq/ /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,344,304 bytes received 95 bytes 2,688,798.00 bytes/sec total size is 1,343,655 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 2105 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/jenkins6046666032200333.sh ---> sysstat.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins10443508920907772655.sh ---> package-listing.sh ++ tr '[:upper:]' '[:lower:]' ++ facter osfamily + 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/jenkins12009350679220910732.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-H0bB from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-H0bB/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins450859844649490718.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config13489966210626854454tmp 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/jenkins9789507130140274179.sh ---> create-netrc.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins15985255902570784732.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-H0bB from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-H0bB/bin to PATH [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins15436752490377942537.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins12910237248488131657.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-H0bB 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-H0bB/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/jenkins2459953960186068920.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-H0bB from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-H0bB/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/344 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-78131 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 865 27255 0 4045 30845 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:4b:2d:5d brd ff:ff:ff:ff:ff:ff inet 10.30.107.18/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86073sec preferred_lft 86073sec inet6 fe80::f816:3eff:fe4b:2d5d/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:68:1e:80:57 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-78131) 10/20/24 _x86_64_ (8 CPU) 18:11:27 LINUX RESTART (8 CPU) 18:12:01 tps rtps wtps bread/s bwrtn/s 18:13:01 317.60 43.53 274.07 1781.17 22074.32 18:14:01 138.87 16.23 122.64 2686.04 27938.29 18:15:01 361.99 14.60 347.39 812.50 75800.53 18:16:01 10.95 0.03 10.91 3.20 13390.97 Average: 207.35 18.60 188.75 1320.78 34800.74 18:12:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:13:01 30088772 31744240 2850448 8.65 75728 1884736 1351932 3.98 830248 1718728 217724 18:14:01 28356664 31646188 4582556 13.91 106368 3441720 1389244 4.09 1014840 3177408 1351348 18:15:01 26973076 30690556 5966144 18.11 128836 3811840 4109824 12.09 2054688 3455608 1208 18:16:01 26995592 30714180 5943628 18.04 128896 3812632 4060788 11.95 2034824 3454168 100 Average: 28103526 31198791 4835694 14.68 109957 3237732 2727947 8.03 1483650 2951478 392595 18:12:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:13:01 lo 1.40 1.40 0.15 0.15 0.00 0.00 0.00 0.00 18:13:01 ens3 127.20 89.90 1086.40 33.44 0.00 0.00 0.00 0.00 18:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:14:01 br-862db29b86c9 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:14:01 lo 9.26 9.26 0.85 0.85 0.00 0.00 0.00 0.00 18:14:01 ens3 356.83 225.41 10183.78 19.71 0.00 0.00 0.00 0.00 18:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:15:01 veth3df9e11 130.58 159.76 114.57 38.95 0.00 0.00 0.00 0.01 18:15:01 br-862db29b86c9 3.67 4.10 6.18 2.60 0.00 0.00 0.00 0.00 18:15:01 vetha403ce1 124.65 105.17 40.62 113.90 0.00 0.00 0.00 0.01 18:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:16:01 veth3df9e11 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 18:16:01 br-862db29b86c9 1.83 2.03 0.14 0.19 0.00 0.00 0.00 0.00 18:16:01 vetha403ce1 1.12 1.20 0.82 0.08 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: veth3df9e11 32.64 39.95 28.64 9.74 0.00 0.00 0.00 0.00 Average: br-862db29b86c9 1.37 1.53 1.58 0.70 0.00 0.00 0.00 0.00 Average: vetha403ce1 31.44 26.59 10.36 28.49 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-78131) 10/20/24 _x86_64_ (8 CPU) 18:11:27 LINUX RESTART (8 CPU) 18:12:01 CPU %user %nice %system %iowait %steal %idle 18:13:01 all 10.12 0.00 0.97 2.22 0.04 86.65 18:13:01 0 19.18 0.00 1.27 1.48 0.05 78.02 18:13:01 1 31.08 0.00 1.95 2.67 0.07 64.23 18:13:01 2 8.41 0.00 0.77 0.32 0.03 90.47 18:13:01 3 5.67 0.00 0.65 0.45 0.02 93.21 18:13:01 4 1.28 0.00 0.50 0.05 0.02 98.15 18:13:01 5 12.58 0.00 0.79 0.32 0.07 86.25 18:13:01 6 1.80 0.00 1.32 3.61 0.02 93.25 18:13:01 7 0.92 0.00 0.55 8.88 0.03 89.62 18:14:01 all 10.73 0.00 2.57 2.07 0.05 84.58 18:14:01 0 4.86 0.00 2.19 0.07 0.05 92.83 18:14:01 1 27.99 0.00 2.81 3.57 0.10 65.54 18:14:01 2 11.31 0.00 2.79 0.37 0.03 85.49 18:14:01 3 4.10 0.00 2.37 0.17 0.03 93.33 18:14:01 4 11.55 0.00 2.50 0.29 0.03 85.63 18:14:01 5 8.71 0.00 2.62 3.17 0.05 85.45 18:14:01 6 12.30 0.00 2.89 0.39 0.03 84.39 18:14:01 7 5.09 0.00 2.33 8.58 0.05 83.95 18:15:01 all 16.21 0.00 2.70 4.27 0.06 76.75 18:15:01 0 14.19 0.00 2.48 3.27 0.07 79.99 18:15:01 1 14.65 0.00 3.64 18.78 0.08 62.85 18:15:01 2 12.98 0.00 2.40 2.48 0.07 82.08 18:15:01 3 15.13 0.00 2.74 0.45 0.05 81.63 18:15:01 4 16.44 0.00 2.15 0.20 0.05 81.16 18:15:01 5 17.56 0.00 2.47 2.94 0.05 76.98 18:15:01 6 18.68 0.00 3.11 1.14 0.05 77.01 18:15:01 7 20.03 0.00 2.70 4.93 0.05 72.30 18:16:01 all 0.19 0.00 0.07 0.62 0.03 99.09 18:16:01 0 0.10 0.00 0.15 0.07 0.05 99.63 18:16:01 1 0.12 0.00 0.08 4.87 0.07 94.86 18:16:01 2 0.07 0.00 0.05 0.00 0.00 99.88 18:16:01 3 0.42 0.00 0.03 0.00 0.02 99.53 18:16:01 4 0.18 0.00 0.08 0.00 0.02 99.72 18:16:01 5 0.42 0.00 0.07 0.00 0.02 99.50 18:16:01 6 0.12 0.00 0.07 0.00 0.02 99.80 18:16:01 7 0.12 0.00 0.07 0.00 0.03 99.78 Average: all 9.30 0.00 1.58 2.29 0.04 86.78 Average: 0 9.58 0.00 1.52 1.22 0.05 87.62 Average: 1 18.45 0.00 2.12 7.46 0.08 71.89 Average: 2 8.18 0.00 1.50 0.79 0.03 89.49 Average: 3 6.32 0.00 1.45 0.27 0.03 91.93 Average: 4 7.35 0.00 1.30 0.13 0.03 91.19 Average: 5 9.81 0.00 1.48 1.60 0.05 87.05 Average: 6 8.21 0.00 1.84 1.28 0.03 88.63 Average: 7 6.53 0.00 1.41 5.59 0.04 86.44