Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-24254 (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-JOnj6MOhcTu6/agent.2073 SSH_AGENT_PID=2075 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_4278264873860526977.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_4278264873860526977.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/jenkins4934930375443580538.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-3MV1 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-3MV1/bin to PATH Generating Requirements File Python 3.10.6 pip 24.1.2 from /tmp/venv-3MV1/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.4.0 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.144 botocore==1.34.144 bs4==0.0.2 cachetools==5.4.0 certifi==2024.7.4 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.7.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.6.1 docker==4.2.2 dogpile.cache==1.3.3 email_validator==2.2.0 filelock==3.15.4 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.32.0 httplib2==0.22.0 identify==2.6.0 idna==3.7 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.4 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==3.0.0 jsonschema==4.23.0 jsonschema-specifications==2023.12.1 keystoneauth1==5.7.0 kubernetes==30.1.0 lftools==0.37.10 lxml==5.2.2 MarkupSafe==2.1.5 msgpack==1.0.8 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==3.3.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.1.0 oslo.config==9.5.0 oslo.context==5.5.0 oslo.i18n==6.3.0 oslo.log==6.1.0 oslo.serialization==5.4.0 oslo.utils==7.2.0 packaging==24.1 pbr==6.0.0 platformdirs==4.2.2 prettytable==3.10.2 pyasn1==0.6.0 pyasn1_modules==0.4.0 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.3.0 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.9.0 pyrsistent==0.20.0 python-cinderclient==9.5.0 python-dateutil==2.9.0.post0 python-heatclient==3.5.0 python-jenkins==1.8.2 python-keystoneclient==5.4.0 python-magnumclient==4.6.0 python-novaclient==18.6.0 python-openstackclient==6.6.0 python-swiftclient==4.6.0 PyYAML==6.0.1 referencing==0.35.1 requests==2.32.3 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.19.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.2 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.2.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.13.0 tqdm==4.66.4 typing_extensions==4.12.2 tzdata==2024.1 urllib3==1.26.19 virtualenv==20.26.3 wcwidth==0.2.13 websocket-client==1.8.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.4.3 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-montreal-project-csit-api] $ /bin/sh /tmp/jenkins15069909447640616963.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/jenkins11992858339209148756.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.qRGvYYwCr7 ++ echo ROBOT_VENV=/tmp/tmp.qRGvYYwCr7 +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.qRGvYYwCr7 ++ source /tmp/tmp.qRGvYYwCr7/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.qRGvYYwCr7 +++ 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.qRGvYYwCr7/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.qRGvYYwCr7) ' '!=' x ']' +++ PS1='(tmp.qRGvYYwCr7) ' +++ export PS1 +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ set -exu ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' ++ echo 'Installing Python Requirements' Installing Python Requirements ++ python3 -m pip install -qq -r /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.7.4 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.7 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.2.2 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.1 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.2 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.19 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.qRGvYYwCr7/src/onap ++ rm -rf /tmp/tmp.qRGvYYwCr7/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 ERROR: Command errored out with exit status 1: command: /tmp/tmp.qRGvYYwCr7/bin/python3 /tmp/tmp.qRGvYYwCr7/lib/python3.6/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-0mom2hip/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --extra-index-url https://nexus3.onap.org/repository/PyPi.staging/simple --pre -- setuptools wheel 'Cython; python_version < '"'"'3.13'"'"'' 'Cython>=3.0; python_version >= '"'"'3.13'"'"'' cwd: None Complete output (12 lines): Traceback (most recent call last): File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/lib/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/tmp/tmp.qRGvYYwCr7/lib/python3.6/site-packages/pip/__main__.py", line 27, in "ignore", category=DeprecationWarning, module=".*packaging\\.version" File "/usr/lib/python3.6/warnings.py", line 131, in filterwarnings import re File "/usr/lib/python3.6/re.py", line 142, in class RegexFlag(enum.IntFlag): AttributeError: module 'enum' has no attribute 'IntFlag' ---------------------------------------- ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.7.4 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.7 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.2.2 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.1 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.2 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.19 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.qRGvYYwCr7/bin/activate + '[' -z /tmp/tmp.qRGvYYwCr7/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.qRGvYYwCr7/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.qRGvYYwCr7 ++ 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.qRGvYYwCr7/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.qRGvYYwCr7) ' ++ '[' 'x(tmp.qRGvYYwCr7) ' '!=' x ']' ++ PS1='(tmp.qRGvYYwCr7) (tmp.qRGvYYwCr7) ' ++ 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.iyaq77tjR2 + cd /tmp/tmp.iyaq77tjR2 + docker login -u docker -p docker nexus3.onap.org:10001 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded + SETUP=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-montreal-project-csit-api/.gitreview +++ GERRIT_BRANCH=montreal +++ echo GERRIT_BRANCH=montreal GERRIT_BRANCH=montreal +++ rm -rf /w/workspace/policy-api-montreal-project-csit-api/models +++ mkdir /w/workspace/policy-api-montreal-project-csit-api/models +++ git clone -b montreal --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-montreal-project-csit-api/models Cloning into '/w/workspace/policy-api-montreal-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json +++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-montreal-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose +++ grafana=false +++ gui=false +++ [[ 2 -gt 0 ]] +++ key=api +++ case $key in +++ echo api api +++ component=api +++ shift +++ [[ 1 -gt 0 ]] +++ key=--grafana +++ case $key in +++ grafana=true +++ shift +++ [[ 0 -gt 0 ]] +++ cd /w/workspace/policy-api-montreal-project-csit-api/compose +++ echo 'Configuring docker compose...' Configuring docker compose... +++ source export-ports.sh +++ source get-versions.sh +++ '[' -z api ']' +++ '[' -n api ']' +++ '[' api == logs ']' +++ '[' true = true ']' +++ echo 'Starting api application with Grafana' Starting api application with Grafana +++ docker-compose up -d api grafana Creating network "compose_default" with the default driver Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 10.10.2: Pulling from mariadb Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:3.0.3-SNAPSHOT)... 3.0.3-SNAPSHOT: Pulling from onap/policy-db-migrator Digest: sha256:fcbc94a1b6dfd18b1351b8502d394edecc84c485efe30e4df5426677ec05482c Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.0.3-SNAPSHOT Pulling api (nexus3.onap.org:10001/onap/policy-api:3.0.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:f20d3127bf2876f4a1df76246fca576b41ddf1125ed1c546fbd8b16ea55117e6 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:079600c9517b678c10cda6006b4487d3174512fd4c6cface37df7822756ed7a5 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done Creating prometheus ... done Creating grafana ... Creating grafana ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-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 grafana Up 10 seconds policy-api Up 11 seconds policy-db-migrator Up 11 seconds prometheus Up 10 seconds mariadb Up 12 seconds NAMES STATUS grafana Up 15 seconds policy-api Up 16 seconds prometheus Up 15 seconds mariadb Up 17 seconds NAMES STATUS grafana Up 20 seconds policy-api Up 21 seconds prometheus Up 20 seconds mariadb Up 22 seconds NAMES STATUS grafana Up 25 seconds policy-api Up 26 seconds prometheus Up 25 seconds mariadb Up 27 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 18:16:17 up 3 min, 0 users, load average: 1.75, 0.70, 0.27 Tasks: 178 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.8 us, 2.3 sy, 0.0 ni, 83.4 id, 3.4 wa, 0.0 hi, 0.0 si, 0.1 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.4G 25G 1.0M 4.2G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up 25 seconds policy-api Up 26 seconds prometheus Up 26 seconds mariadb Up 28 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 6b1a900194c6 grafana 0.03% 68.83MiB / 31.41GiB 0.21% 23.4kB / 4.21kB 0B / 25.6MB 20 9df7e54d6593 policy-api 0.09% 458.3MiB / 31.41GiB 1.42% 998kB / 710kB 0B / 0B 54 07d67c9989e9 prometheus 0.00% 19.58MiB / 31.41GiB 0.06% 782B / 0B 217kB / 0B 13 1d7079526e13 mariadb 0.01% 100.5MiB / 31.41GiB 0.31% 986kB / 1.18MB 11MB / 68MB 28 + echo + cd /tmp/tmp.iyaq77tjR2 + 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.iyaq77tjR2/output.xml Log: /tmp/tmp.iyaq77tjR2/log.html Report: /tmp/tmp.iyaq77tjR2/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 grafana Up About a minute policy-api Up About a minute prometheus Up About a minute mariadb Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 18:17:28 up 4 min, 0 users, load average: 0.77, 0.65, 0.28 Tasks: 176 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.0 us, 1.8 sy, 0.0 ni, 86.7 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.8G 25G 1.0M 4.2G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api 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 6b1a900194c6 grafana 0.13% 69.36MiB / 31.41GiB 0.22% 24.6kB / 5.75kB 0B / 25.6MB 20 9df7e54d6593 policy-api 0.21% 890.8MiB / 31.41GiB 2.77% 7MB / 2.55MB 0B / 0B 54 07d67c9989e9 prometheus 0.00% 24.44MiB / 31.41GiB 0.08% 55kB / 6.46kB 217kB / 0B 13 1d7079526e13 mariadb 0.02% 101.4MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 11MB / 68.4MB 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 grafana, policy-api, policy-db-migrator, prometheus, mariadb mariadb | 2024-07-16 18:15:49+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-07-16 18:15:49+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-07-16 18:15:49+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-07-16 18:15:49+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-07-16 18:15:49 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-07-16 18:15:49 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-07-16 18:15:49 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2024-07-16 18:15:50+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-07-16 18:15:50+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-07-16 18:15:50+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-07-16 18:15:50 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 101 ... mariadb | 2024-07-16 18:15:50 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-07-16 18:15:50 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-07-16 18:15:50 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-07-16 18:15:50 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-07-16 18:15:50 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-07-16 18:15:50 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-07-16 18:15:50 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-07-16 18:15:50 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-07-16 18:15:50 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-07-16 18:15:50 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-07-16 18:15:50 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-07-16 18:15:50 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-07-16 18:15:50 0 [Note] InnoDB: log sequence number 45452; transaction id 14 mariadb | 2024-07-16 18:15:50 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-07-16 18:15:50 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-07-16 18:15:50 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-07-16 18:15:50 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-07-16 18:15:50 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2024-07-16 18:15:51+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-07-16 18:15:53+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-07-16 18:15:53+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2024-07-16 18:15:53+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2024-07-16 18:15:53+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' grafana | logger=settings t=2024-07-16T18:15:52.061658653Z level=info msg="Starting Grafana" version=11.1.0 commit=5b85c4c2fcf5d32d4f68aaef345c53096359b2f1 branch=HEAD compiled=2024-07-16T18:15:52Z grafana | logger=settings t=2024-07-16T18:15:52.061917497Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-07-16T18:15:52.061930177Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-07-16T18:15:52.061936997Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-07-16T18:15:52.061940257Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-07-16T18:15:52.061942967Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-07-16T18:15:52.061946047Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-07-16T18:15:52.061948827Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-07-16T18:15:52.061951847Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-07-16T18:15:52.061959417Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-07-16T18:15:52.061964527Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-07-16T18:15:52.061967497Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-07-16T18:15:52.061970837Z level=info msg=Target target=[all] grafana | logger=settings t=2024-07-16T18:15:52.061980208Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-07-16T18:15:52.061983718Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-07-16T18:15:52.061986768Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-07-16T18:15:52.061989718Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-07-16T18:15:52.061992888Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-07-16T18:15:52.061996128Z level=info msg="App mode production" grafana | logger=featuremgmt t=2024-07-16T18:15:52.062265211Z level=info msg=FeatureToggles recoveryThreshold=true lokiQuerySplitting=true correlations=true ssoSettingsApi=true cloudWatchCrossAccountQuerying=true cloudWatchNewLabelParsing=true annotationPermissionUpdate=true awsAsyncQueryCaching=true transformationsRedesign=true lokiQueryHints=true prometheusConfigOverhaulAuth=true prometheusMetricEncyclopedia=true influxdbBackendMigration=true topnav=true exploreMetrics=true logsInfiniteScrolling=true dashgpt=true logRowsPopoverMenu=true dataplaneFrontendFallback=true alertingSimplifiedRouting=true logsExploreTableVisualisation=true alertingInsights=true kubernetesPlaylists=true lokiStructuredMetadata=true recordedQueriesMulti=true awsDatasourcesNewFormStyling=true lokiMetricDataplane=true betterPageScrolling=true panelMonitoring=true publicDashboards=true exploreContentOutline=true managedPluginsInstall=true angularDeprecationUI=true logsContextDatasourceUi=true nestedFolders=true alertingNoDataErrorExecution=true prometheusDataplane=true grafana | logger=sqlstore t=2024-07-16T18:15:52.062318633Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-07-16T18:15:52.062333173Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-07-16T18:15:52.063706252Z level=info msg="Locking database" grafana | logger=migrator t=2024-07-16T18:15:52.063718803Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-07-16T18:15:52.06431409Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-07-16T18:15:52.065125252Z level=info msg="Migration successfully executed" id="create migration_log table" duration=810.742µs grafana | logger=migrator t=2024-07-16T18:15:52.071962517Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-07-16T18:15:52.072747188Z level=info msg="Migration successfully executed" id="create user table" duration=784.511µs grafana | logger=migrator t=2024-07-16T18:15:52.076796975Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-07-16T18:15:52.07786635Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.068845ms grafana | logger=migrator t=2024-07-16T18:15:52.082327662Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-07-16T18:15:52.083463338Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.135116ms grafana | logger=migrator t=2024-07-16T18:15:52.088172543Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-07-16T18:15:52.088892954Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=690.369µs grafana | logger=migrator t=2024-07-16T18:15:52.09220738Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-07-16T18:15:52.092955439Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=746.759µs grafana | logger=migrator t=2024-07-16T18:15:52.096409658Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-07-16T18:15:52.100194191Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=3.783513ms grafana | logger=migrator t=2024-07-16T18:15:52.104451991Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-07-16T18:15:52.105310002Z level=info msg="Migration successfully executed" id="create user table v2" duration=857.541µs grafana | logger=migrator t=2024-07-16T18:15:52.108503837Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-07-16T18:15:52.109648822Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.143045ms grafana | logger=migrator t=2024-07-16T18:15:52.113373375Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-07-16T18:15:52.114547121Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.172516ms grafana | logger=migrator t=2024-07-16T18:15:52.119566501Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-07-16T18:15:52.119924506Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=354.075µs grafana | logger=migrator t=2024-07-16T18:15:52.122955298Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-07-16T18:15:52.123545276Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=597.298µs grafana | logger=migrator t=2024-07-16T18:15:52.127315109Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-07-16T18:15:52.128630528Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.316688ms grafana | logger=migrator t=2024-07-16T18:15:52.131807562Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-07-16T18:15:52.131835142Z level=info msg="Migration successfully executed" id="Update user table charset" duration=28.52µs grafana | logger=migrator t=2024-07-16T18:15:52.136204083Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-07-16T18:15:52.138069119Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.864576ms grafana | logger=migrator t=2024-07-16T18:15:52.141523597Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-07-16T18:15:52.141887192Z level=info msg="Migration successfully executed" id="Add missing user data" duration=362.945µs grafana | logger=migrator t=2024-07-16T18:15:52.145590084Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-07-16T18:15:52.147952577Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=2.367363ms grafana | logger=migrator t=2024-07-16T18:15:52.153163509Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-07-16T18:15:52.15393977Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=776.111µs grafana | logger=migrator t=2024-07-16T18:15:52.156993683Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-07-16T18:15:52.15820549Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.211127ms grafana | logger=migrator t=2024-07-16T18:15:52.161167241Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-07-16T18:15:52.169196633Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=8.028862ms grafana | logger=migrator t=2024-07-16T18:15:52.172149715Z level=info msg="Executing migration" id="Add uid column to user" grafana | logger=migrator t=2024-07-16T18:15:52.173348362Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=1.198717ms grafana | logger=migrator t=2024-07-16T18:15:52.177398878Z level=info msg="Executing migration" id="Update uid column values for users" grafana | logger=migrator t=2024-07-16T18:15:52.177678912Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=279.554µs grafana | logger=migrator t=2024-07-16T18:15:52.181043679Z level=info msg="Executing migration" id="Add unique index user_uid" grafana | logger=migrator t=2024-07-16T18:15:52.18181883Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=781.221µs grafana | logger=migrator t=2024-07-16T18:15:52.185381849Z 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-07-16T18:15:52.185960478Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=577.649µs grafana | logger=migrator t=2024-07-16T18:15:52.191564927Z level=info msg="Executing migration" id="update login and email fields to lowercase" grafana | logger=migrator t=2024-07-16T18:15:52.192320017Z level=info msg="Migration successfully executed" id="update login and email fields to lowercase" duration=754.89µs grafana | logger=migrator t=2024-07-16T18:15:52.196560266Z level=info msg="Executing migration" id="update login and email fields to lowercase2" grafana | logger=migrator t=2024-07-16T18:15:52.197288817Z level=info msg="Migration successfully executed" id="update login and email fields to lowercase2" duration=728.491µs grafana | logger=migrator t=2024-07-16T18:15:52.201330113Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-07-16T18:15:52.202238075Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=907.982µs grafana | logger=migrator t=2024-07-16T18:15:52.207480489Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-07-16T18:15:52.208290451Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=809.372µs grafana | logger=migrator t=2024-07-16T18:15:52.212146705Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-07-16T18:15:52.212970186Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=823.071µs grafana | logger=migrator t=2024-07-16T18:15:52.216485226Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-07-16T18:15:52.217252246Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=774.52µs grafana | logger=migrator t=2024-07-16T18:15:52.221740829Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-07-16T18:15:52.22253313Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=785.141µs grafana | logger=migrator t=2024-07-16T18:15:52.226183032Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-07-16T18:15:52.226210012Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=27.49µs grafana | logger=migrator t=2024-07-16T18:15:52.229350106Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-07-16T18:15:52.230137996Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=787.36µs grafana | logger=migrator t=2024-07-16T18:15:52.234445366Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-07-16T18:15:52.235096026Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=650.28µs grafana | logger=migrator t=2024-07-16T18:15:52.241616298Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-07-16T18:15:52.242335447Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=722.679µs grafana | logger=migrator t=2024-07-16T18:15:52.245238978Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-07-16T18:15:52.245944359Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=705.281µs grafana | logger=migrator t=2024-07-16T18:15:52.250610023Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-07-16T18:15:52.253793318Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.183085ms grafana | logger=migrator t=2024-07-16T18:15:52.257014144Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-07-16T18:15:52.257981896Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=961.282µs grafana | logger=migrator t=2024-07-16T18:15:52.260920928Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-07-16T18:15:52.261723079Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=801.691µs grafana | logger=migrator t=2024-07-16T18:15:52.265158217Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-07-16T18:15:52.265666525Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=508.158µs grafana | logger=migrator t=2024-07-16T18:15:52.269508339Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-07-16T18:15:52.270010795Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=502.186µs grafana | logger=migrator t=2024-07-16T18:15:52.272865805Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-07-16T18:15:52.274031162Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.164227ms grafana | logger=migrator t=2024-07-16T18:15:52.277627222Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-07-16T18:15:52.27818037Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=553.158µs grafana | logger=migrator t=2024-07-16T18:15:52.282179666Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-07-16T18:15:52.282694963Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=515.127µs grafana | logger=migrator t=2024-07-16T18:15:52.285457692Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-07-16T18:15:52.285800616Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=342.734µs grafana | logger=migrator t=2024-07-16T18:15:52.288859389Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-07-16T18:15:52.289729591Z level=info msg="Migration successfully executed" id="create star table" duration=868.492µs grafana | logger=migrator t=2024-07-16T18:15:52.294051212Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-07-16T18:15:52.295388751Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.326879ms grafana | logger=migrator t=2024-07-16T18:15:52.298644036Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-07-16T18:15:52.299549189Z level=info msg="Migration successfully executed" id="create org table v1" duration=904.813µs grafana | logger=migrator t=2024-07-16T18:15:52.302717703Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-07-16T18:15:52.303547955Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=829.632µs grafana | logger=migrator t=2024-07-16T18:15:52.30678241Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-07-16T18:15:52.307495871Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=713.061µs grafana | logger=migrator t=2024-07-16T18:15:52.311548158Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-07-16T18:15:52.312316578Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=767.81µs grafana | logger=migrator t=2024-07-16T18:15:52.315400431Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-07-16T18:15:52.316359644Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=958.253µs grafana | logger=migrator t=2024-07-16T18:15:52.319512458Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-07-16T18:15:52.320463982Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=951.374µs grafana | logger=migrator t=2024-07-16T18:15:52.323718237Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-07-16T18:15:52.323746838Z level=info msg="Migration successfully executed" id="Update org table charset" duration=29.171µs grafana | logger=migrator t=2024-07-16T18:15:52.327623042Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-07-16T18:15:52.327659943Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=36.441µs grafana | logger=migrator t=2024-07-16T18:15:52.331027439Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-07-16T18:15:52.331392625Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=364.386µs grafana | logger=migrator t=2024-07-16T18:15:52.334799563Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-07-16T18:15:52.33602541Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.218907ms grafana | logger=migrator t=2024-07-16T18:15:52.33961139Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-07-16T18:15:52.340511502Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=899.362µs grafana | logger=migrator t=2024-07-16T18:15:52.343806549Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-07-16T18:15:52.344663771Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=857.142µs grafana | logger=migrator t=2024-07-16T18:15:52.347998978Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-07-16T18:15:52.348935791Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=929.252µs grafana | logger=migrator t=2024-07-16T18:15:52.353249181Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-07-16T18:15:52.354015582Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=765.971µs grafana | logger=migrator t=2024-07-16T18:15:52.357231527Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-07-16T18:15:52.357808136Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=576.618µs grafana | logger=migrator t=2024-07-16T18:15:52.36098064Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-07-16T18:15:52.367097255Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=6.102415ms grafana | logger=migrator t=2024-07-16T18:15:52.371624978Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-07-16T18:15:52.372608552Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=982.374µs grafana | logger=migrator t=2024-07-16T18:15:52.37597504Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-07-16T18:15:52.376964873Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=980.533µs grafana | logger=migrator t=2024-07-16T18:15:52.380502533Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-07-16T18:15:52.381397915Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=900.572µs grafana | logger=migrator t=2024-07-16T18:15:52.385467112Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-07-16T18:15:52.3859388Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=471.718µs grafana | logger=migrator t=2024-07-16T18:15:52.389015242Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-07-16T18:15:52.389978296Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=962.374µs grafana | logger=migrator t=2024-07-16T18:15:52.394237086Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-07-16T18:15:52.394386848Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=149.732µs grafana | logger=migrator t=2024-07-16T18:15:52.397571942Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-07-16T18:15:52.400667745Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=3.095303ms grafana | logger=migrator t=2024-07-16T18:15:52.403993602Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-07-16T18:15:52.406045211Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.050719ms grafana | logger=migrator t=2024-07-16T18:15:52.416528788Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-07-16T18:15:52.418575296Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=2.045578ms grafana | logger=migrator t=2024-07-16T18:15:52.423605627Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-07-16T18:15:52.424623171Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.016744ms grafana | logger=migrator t=2024-07-16T18:15:52.427971578Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-07-16T18:15:52.4302476Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.276102ms grafana | logger=migrator t=2024-07-16T18:15:52.433651828Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-07-16T18:15:52.43460617Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=953.532µs grafana | logger=migrator t=2024-07-16T18:15:52.438930232Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-07-16T18:15:52.439873215Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=935.693µs grafana | logger=migrator t=2024-07-16T18:15:52.443104219Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-07-16T18:15:52.443134891Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=29.562µs grafana | logger=migrator t=2024-07-16T18:15:52.446838762Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-07-16T18:15:52.446889853Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=52.531µs grafana | logger=migrator t=2024-07-16T18:15:52.452519222Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-07-16T18:15:52.455123418Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.603866ms grafana | logger=migrator t=2024-07-16T18:15:52.458368853Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-07-16T18:15:52.460771537Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.402254ms grafana | logger=migrator t=2024-07-16T18:15:52.464212556Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-07-16T18:15:52.466570828Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.357532ms grafana | logger=migrator t=2024-07-16T18:15:52.470716217Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-07-16T18:15:52.473025089Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.308612ms grafana | logger=migrator t=2024-07-16T18:15:52.476616589Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-07-16T18:15:52.476889184Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=267.705µs grafana | logger=migrator t=2024-07-16T18:15:52.480124259Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-07-16T18:15:52.481022521Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=898.172µs grafana | logger=migrator t=2024-07-16T18:15:52.484102204Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-07-16T18:15:52.485031827Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=928.483µs grafana | logger=migrator t=2024-07-16T18:15:52.489268446Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-07-16T18:15:52.489310858Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=43.731µs grafana | logger=migrator t=2024-07-16T18:15:52.492667195Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-07-16T18:15:52.493813151Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.145366ms grafana | logger=migrator t=2024-07-16T18:15:52.496781952Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-07-16T18:15:52.497648464Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=865.972µs grafana | logger=migrator t=2024-07-16T18:15:52.501606519Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-07-16T18:15:52.509299118Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=7.691759ms grafana | logger=migrator t=2024-07-16T18:15:52.512601154Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-07-16T18:15:52.513216053Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=614.26µs grafana | logger=migrator t=2024-07-16T18:15:52.516322176Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb (172.17.0.2) 3306 port [tcp/mysql] succeeded! policy-db-migrator | 321 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Preparing upgrade release version: 1300 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 policy-db-migrator | upgrade: 0 -> 1300 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- 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-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.2:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.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-07-16T18:16:03.247+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 21 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-07-16T18:16:03.249+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-07-16T18:16:04.906+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-07-16T18:16:04.994+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 78 ms. Found 6 JPA repository interfaces. policy-api | [2024-07-16T18:16:05.389+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-07-16T18:16:05.390+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-07-16T18:16:06.044+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-07-16T18:16:06.054+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-07-16T18:16:06.056+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-07-16T18:16:06.056+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] policy-api | [2024-07-16T18:16:06.153+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-07-16T18:16:06.154+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2839 ms policy-api | [2024-07-16T18:16:06.543+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-07-16T18:16:06.614+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-api | [2024-07-16T18:16:06.617+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-api | [2024-07-16T18:16:06.657+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2024-07-16T18:16:06.998+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-api | [2024-07-16T18:16:07.019+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-07-16T18:16:07.118+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@2620e717 policy-api | [2024-07-16T18:16:07.121+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-07-16T18:16:07.153+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-07-16T18:16:07.155+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead policy-api | [2024-07-16T18:16:08.849+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-api | [2024-07-16T18:16:08.852+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-07-16T18:16:10.010+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-07-16T18:16:10.686+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-07-16T18:16:11.713+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-07-16T18:16:11.914+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@1e33203f, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@58a01e47, org.springframework.security.web.context.SecurityContextHolderFilter@36c6d53b, org.springframework.security.web.header.HeaderWriterFilter@69cf9acb, org.springframework.security.web.authentication.logout.LogoutFilter@58d291c1, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@ab8b1ef, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@39d666e0, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@56bc8c45, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@6149184e, org.springframework.security.web.access.ExceptionTranslationFilter@62c4ad40, org.springframework.security.web.access.intercept.AuthorizationFilter@4f3eddc0] policy-api | [2024-07-16T18:16:12.767+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-07-16T18:16:12.825+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-07-16T18:16:12.842+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-07-16T18:16:12.860+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.278 seconds (process running for 10.851) policy-api | [2024-07-16T18:16:20.413+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-07-16T18:16:20.413+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-07-16T18:16:20.415+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms policy-api | [2024-07-16T18:16:23.028+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-07-16T18:16:23.144+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes policy-api | [2024-07-16T18:16:23.378+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2024-07-16T18:16:24.584+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2024-07-16T18:16:26.443+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-07-16T18:16:26.750+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-07-16T18:16:26.978+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-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- policy-api | [2024-07-16T18:16:27.213+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-07-16T18:16:27.441+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-07-16T18:16:27.661+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2024-07-16 18:15:54+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-07-16 18:15:54 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-07-16 18:15:54 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-07-16 18:15:54 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-07-16 18:15:54 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-07-16 18:15:54 0 [Note] InnoDB: Buffer pool(s) dump completed at 240716 18:15:54 mariadb | 2024-07-16 18:15:54 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-07-16 18:15:54 0 [Note] InnoDB: Shutdown completed; log sequence number 347253; transaction id 298 mariadb | 2024-07-16 18:15:54 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-07-16 18:15:54+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-07-16 18:15:54+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-07-16 18:15:54 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-07-16 18:15:54 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-07-16 18:15:54 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-07-16 18:15:54 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-07-16 18:15:54 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-07-16 18:15:54 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-07-16 18:15:54 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-07-16 18:15:54 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-07-16 18:15:54 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-07-16 18:15:54 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-07-16 18:15:55 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-07-16 18:15:55 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-07-16 18:15:55 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-07-16 18:15:55 0 [Note] InnoDB: log sequence number 347253; transaction id 299 mariadb | 2024-07-16 18:15:55 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-07-16 18:15:55 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-07-16 18:15:55 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-07-16 18:15:55 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-07-16 18:15:55 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-07-16 18:15:55 0 [Note] Server socket created on IP: '::'. mariadb | 2024-07-16 18:15:55 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2024-07-16 18:15:55 0 [Note] InnoDB: Buffer pool(s) load completed at 240716 18:15:55 mariadb | 2024-07-16 18:15:55 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) mariadb | 2024-07-16 18:15:55 52 [Warning] Aborted connection 52 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.517048676Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=726.09µs prometheus | ts=2024-07-16T18:15:51.265Z caller=main.go:589 level=info msg="No time or size retention was set so using the default time retention" duration=15d policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2024-07-16T18:15:52.52093255Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" prometheus | ts=2024-07-16T18:15:51.265Z caller=main.go:633 level=info msg="Starting Prometheus Server" mode=server version="(version=2.53.1, branch=HEAD, revision=14cfec3f6048b735e08c1e9c64c8d4211d32bab4)" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.521878894Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=945.754µs prometheus | ts=2024-07-16T18:15:51.265Z caller=main.go:638 level=info build_context="(go=go1.22.5, platform=linux/amd64, user=root@9f8e5b6970da, date=20240710-10:16:27, tags=netgo,builtinassets,stringlabels)" 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-07-16T18:15:52.525146249Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" prometheus | ts=2024-07-16T18:15:51.265Z caller=main.go:639 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))" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.525573915Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=426.476µs prometheus | ts=2024-07-16T18:15:51.265Z caller=main.go:640 level=info fd_limits="(soft=1048576, hard=1048576)" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.52872864Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" prometheus | ts=2024-07-16T18:15:51.265Z caller=main.go:641 level=info vm_limits="(soft=unlimited, hard=unlimited)" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.529399419Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=669.849µs prometheus | ts=2024-07-16T18:15:51.267Z caller=web.go:568 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2024-07-16T18:15:52.533354864Z level=info msg="Executing migration" id="Add check_sum column" prometheus | ts=2024-07-16T18:15:51.267Z caller=main.go:1148 level=info msg="Starting TSDB ..." policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.53587926Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.523646ms prometheus | ts=2024-07-16T18:15:51.269Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 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-07-16T18:15:52.538964233Z level=info msg="Executing migration" id="Add index for dashboard_title" prometheus | ts=2024-07-16T18:15:51.269Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.539910447Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=945.733µs prometheus | ts=2024-07-16T18:15:51.273Z caller=head.go:626 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.543112431Z level=info msg="Executing migration" id="delete tags for deleted dashboards" prometheus | ts=2024-07-16T18:15:51.273Z caller=head.go:713 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=1.16µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.543370024Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=256.323µs prometheus | ts=2024-07-16T18:15:51.273Z caller=head.go:721 level=info component=tsdb msg="Replaying WAL, this may take a while" policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2024-07-16T18:15:52.547656424Z level=info msg="Executing migration" id="delete stars for deleted dashboards" prometheus | ts=2024-07-16T18:15:51.274Z caller=head.go:793 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.547869747Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=212.403µs prometheus | ts=2024-07-16T18:15:51.274Z caller=head.go:830 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=28.011µs wal_replay_duration=365.145µs wbl_replay_duration=170ns chunk_snapshot_load_duration=0s mmap_chunk_replay_duration=1.16µs total_replay_duration=413.176µs 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-07-16T18:15:52.551198004Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" prometheus | ts=2024-07-16T18:15:51.276Z caller=main.go:1169 level=info fs_type=EXT4_SUPER_MAGIC policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.552162467Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=964.503µs prometheus | ts=2024-07-16T18:15:51.276Z caller=main.go:1172 level=info msg="TSDB started" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.555367003Z level=info msg="Executing migration" id="Add isPublic for dashboard" prometheus | ts=2024-07-16T18:15:51.276Z caller=main.go:1354 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.557848717Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.480564ms prometheus | ts=2024-07-16T18:15:51.276Z caller=main.go:1391 level=info msg="updated GOGC" old=100 new=75 policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2024-07-16T18:15:52.560985312Z level=info msg="Executing migration" id="Add deleted for dashboard" prometheus | ts=2024-07-16T18:15:51.276Z caller=main.go:1402 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=772.069µs db_storage=1.02µs remote_storage=1.75µs web_handler=610ns query_engine=1.03µs scrape=234.263µs scrape_sd=90.381µs notify=21.64µs notify_sd=6.96µs rules=1.55µs tracing=4.44µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.563623839Z level=info msg="Migration successfully executed" id="Add deleted for dashboard" duration=2.637857ms prometheus | ts=2024-07-16T18:15:51.276Z caller=main.go:1133 level=info msg="Server is ready to receive web requests." 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-07-16T18:15:52.568611038Z level=info msg="Executing migration" id="Add index for deleted" prometheus | ts=2024-07-16T18:15:51.276Z caller=manager.go:164 level=info component="rule manager" msg="Starting rule manager..." policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.569528821Z level=info msg="Migration successfully executed" id="Add index for deleted" duration=922.373µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.573644419Z level=info msg="Executing migration" id="create data_source table" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.574740475Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.100056ms policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2024-07-16T18:15:52.577871748Z level=info msg="Executing migration" id="add index data_source.account_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.578911222Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.038474ms 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-07-16T18:15:52.583154653Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.584246107Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.090734ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.587202948Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.588100701Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=897.383µs policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2024-07-16T18:15:52.591238175Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.592147318Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=908.733µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-07-16T18:15:52.596362807Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.604778095Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=8.414528ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.608097621Z level=info msg="Executing migration" id="create data_source table v2" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.609035994Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=939.103µs policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2024-07-16T18:15:52.612806868Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.613413256Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=606.318µs 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-07-16T18:15:52.616528449Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.61724176Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=712.421µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.620495205Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.621268806Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=773.001µs policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2024-07-16T18:15:52.625247252Z level=info msg="Executing migration" id="Add column with_credentials" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.628217883Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.969391ms 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-07-16T18:15:52.631624641Z level=info msg="Executing migration" id="Add secure json data column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.634930818Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=3.044142ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.639307999Z level=info msg="Executing migration" id="Update data_source table charset" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.645371174Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=6.060944ms policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2024-07-16T18:15:52.649102526Z level=info msg="Executing migration" id="Update initial version to 1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.649516972Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=417.626µs grafana | logger=migrator t=2024-07-16T18:15:52.654079145Z level=info msg="Executing migration" id="Add read_only data column" 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-07-16T18:15:52.656767393Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.687998ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.661750823Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.662155369Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=399.796µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.667044267Z level=info msg="Executing migration" id="Update json_data with nulls" policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2024-07-16T18:15:52.667476184Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=431.427µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.671126684Z level=info msg="Executing migration" id="Add uid column" 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-07-16T18:15:52.674889377Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.762973ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.679569732Z level=info msg="Executing migration" id="Update uid value" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.679891958Z level=info msg="Migration successfully executed" id="Update uid value" duration=321.715µs policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2024-07-16T18:15:52.684138677Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.685515206Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.375769ms 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-07-16T18:15:52.689082006Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.690497586Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.390979ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.695397635Z level=info msg="Executing migration" id="Add is_prunable column" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.697992941Z level=info msg="Migration successfully executed" id="Add is_prunable column" duration=2.594556ms policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql grafana | logger=migrator t=2024-07-16T18:15:52.701177765Z level=info msg="Executing migration" id="Add api_version column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.703830933Z level=info msg="Migration successfully executed" id="Add api_version column" duration=2.652438ms 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-07-16T18:15:52.707270741Z level=info msg="Executing migration" id="create api_key table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.708152483Z level=info msg="Migration successfully executed" id="create api_key table" duration=881.272µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.713472938Z level=info msg="Executing migration" id="add index api_key.account_id" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.714910928Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.43692ms policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2024-07-16T18:15:52.71865215Z level=info msg="Executing migration" id="add index api_key.key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.720196581Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.543591ms 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-07-16T18:15:52.723689621Z level=info msg="Executing migration" id="add index api_key.account_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.724599004Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=908.973µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.729405051Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.730594448Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.188157ms policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2024-07-16T18:15:52.734617244Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.736115575Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.517271ms 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-07-16T18:15:52.739667804Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.740580267Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=912.093µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.745218052Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.752596406Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=7.369924ms policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql grafana | logger=migrator t=2024-07-16T18:15:52.756148545Z level=info msg="Executing migration" id="create api_key table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.756990288Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=841.213µs 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-07-16T18:15:52.760285543Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.761113975Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=827.782µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.76573046Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.766597212Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=866.562µs policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql grafana | logger=migrator t=2024-07-16T18:15:52.769710446Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.770626128Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=914.742µs 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-07-16T18:15:52.775655279Z level=info msg="Executing migration" id="copy api_key v1 to v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.776088434Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=432.405µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.779226519Z level=info msg="Executing migration" id="Drop old table api_key_v1" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.779927468Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=675.429µs policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2024-07-16T18:15:52.783104023Z level=info msg="Executing migration" id="Update api_key table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.783301175Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=194.202µs 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-07-16T18:15:52.786511521Z level=info msg="Executing migration" id="Add expires to api_key table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.790356425Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=3.845254ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.795316684Z level=info msg="Executing migration" id="Add service account foreign key" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.797971581Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.652597ms policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2024-07-16T18:15:52.801161716Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.801432639Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=270.393µs 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-07-16T18:15:52.804424322Z level=info msg="Executing migration" id="Add last_used_at to api_key table" policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.807195251Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.770409ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.812000878Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2024-07-16T18:15:52.814702506Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.700778ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.817713358Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" 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-07-16T18:15:52.81853914Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=825.002µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.821499621Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.822124919Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=624.808µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.827213961Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2024-07-16T18:15:52.828173435Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=958.464µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.831236068Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" 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-07-16T18:15:52.83213945Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=903.132µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.835463127Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.836761245Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.296818ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.842032878Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2024-07-16T18:15:52.843034393Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=999.755µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.846338498Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext 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-07-16T18:15:52.846501811Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=163.113µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.849848408Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.849875029Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=27.08µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.853078093Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2024-07-16T18:15:52.856131336Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=3.052413ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.865658459Z level=info msg="Executing migration" id="Add encrypted dashboard json column" 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-07-16T18:15:52.869711976Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=4.051697ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.873452479Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.873685402Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=232.083µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.877384874Z level=info msg="Executing migration" id="create quota table v1" policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2024-07-16T18:15:52.878220885Z level=info msg="Migration successfully executed" id="create quota table v1" duration=835.551µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.883115604Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" 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-07-16T18:15:52.88422846Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.111406ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.887901721Z level=info msg="Executing migration" id="Update quota table charset" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.887939981Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=39.43µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.891684724Z level=info msg="Executing migration" id="create plugin_setting table" policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2024-07-16T18:15:52.892592537Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=903.833µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.897237892Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" 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-07-16T18:15:52.898299067Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.061145ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.901972748Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.905225034Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=3.253476ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.908626252Z level=info msg="Executing migration" id="Update plugin_setting table charset" policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2024-07-16T18:15:52.908656042Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=30.89µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.913007953Z level=info msg="Executing migration" id="create session 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-07-16T18:15:52.913922356Z level=info msg="Migration successfully executed" id="create session table" duration=913.843µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.917620797Z level=info msg="Executing migration" id="Drop old table playlist table" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.917943243Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=321.455µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.921589623Z level=info msg="Executing migration" id="Drop old table playlist_item table" policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2024-07-16T18:15:52.921843656Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=253.133µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.925239154Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-07-16T18:15:52.926060555Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=820.621µs grafana | logger=migrator t=2024-07-16T18:15:52.930595819Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-07-16T18:15:52.931456031Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=859.722µs grafana | logger=migrator t=2024-07-16T18:15:52.935348956Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-07-16T18:15:52.935377406Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=29.01µ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-07-16T18:15:52.938924356Z level=info msg="Executing migration" id="Update playlist_item table charset" policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.938948827Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=25.281µs policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2024-07-16T18:15:52.942214032Z level=info msg="Executing migration" id="Add playlist column created_at" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.947544657Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=5.329645ms 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-07-16T18:15:52.984128589Z level=info msg="Executing migration" id="Add playlist column updated_at" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.990701252Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=6.573553ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.994755438Z level=info msg="Executing migration" id="drop preferences table v2" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:52.994909211Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=152.753µs policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2024-07-16T18:15:52.999674037Z level=info msg="Executing migration" id="drop preferences table v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:52.999839539Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=133.642µ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-07-16T18:15:53.004636727Z level=info msg="Executing migration" id="create preferences table v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.006192609Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.553882ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.010511529Z level=info msg="Executing migration" id="Update preferences table charset" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.01058102Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=68.811µs policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2024-07-16T18:15:53.014081688Z level=info msg="Executing migration" id="Add column team_id in preferences" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.017530507Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.445469ms 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-07-16T18:15:53.021764567Z level=info msg="Executing migration" id="Update team_id column values in preferences" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.022030291Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=265.473µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.025579951Z level=info msg="Executing migration" id="Add column week_start in preferences" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.030425658Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=4.841827ms policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2024-07-16T18:15:53.03412008Z level=info msg="Executing migration" id="Add column preferences.json_data" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.038622943Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=4.502493ms 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-07-16T18:15:53.04199382Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.042165152Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=126.892µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.047926693Z level=info msg="Executing migration" id="Add preferences index org_id" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.048900287Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=973.064µs policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2024-07-16T18:15:53.052507278Z level=info msg="Executing migration" id="Add preferences index user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.053919507Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.411869ms 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-07-16T18:15:53.058326829Z level=info msg="Executing migration" id="create alert table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.059999413Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.672874ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.064604517Z level=info msg="Executing migration" id="add index alert org_id & id " policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.06555986Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=955.043µs policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2024-07-16T18:15:53.069115351Z level=info msg="Executing migration" id="add index alert state" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.070095994Z level=info msg="Migration successfully executed" id="add index alert state" duration=980.403µs 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-07-16T18:15:53.073721405Z level=info msg="Executing migration" id="add index alert dashboard_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.074708379Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=986.734µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.078940719Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.07981806Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=876.212µs policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2024-07-16T18:15:53.083498492Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.085235086Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.737054ms 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-07-16T18:15:53.089248443Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.090867455Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.621842ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.095398189Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.106454713Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=11.055434ms policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2024-07-16T18:15:53.10969198Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.110335058Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=644.288µs 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-07-16T18:15:53.11333199Z 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" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.114049831Z 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=717.701µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.118350251Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.119172132Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=824.371µs policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-07-16T18:15:53.125356929Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.126957651Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=1.599672ms 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-07-16T18:15:53.17324112Z level=info msg="Executing migration" id="create alert_notification table v1" policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.17465368Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.41208ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.178575705Z level=info msg="Executing migration" id="Add column is_default" policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2024-07-16T18:15:53.18245496Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.880605ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.188052828Z level=info msg="Executing migration" id="Add column frequency" 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-07-16T18:15:53.191933532Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.877424ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.195700815Z level=info msg="Executing migration" id="Add column send_reminder" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.199720601Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.997036ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.203441944Z level=info msg="Executing migration" id="Add column disable_resolve_message" policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2024-07-16T18:15:53.207316878Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.876024ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.213114939Z level=info msg="Executing migration" id="add index alert_notification org_id & name" 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-07-16T18:15:53.214102083Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=986.764µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.218642976Z level=info msg="Executing migration" id="Update alert table charset" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.218743787Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=100.261µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.223035419Z level=info msg="Executing migration" id="Update alert_notification table charset" policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-07-16T18:15:53.223193231Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=158.652µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.288766588Z level=info msg="Executing migration" id="create notification_journal table 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-07-16T18:15:53.290159258Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.39394ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.296288584Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.297322989Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.033885ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.41788137Z level=info msg="Executing migration" id="drop alert_notification_journal" policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-07-16T18:15:53.419498003Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.618403ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.424604185Z level=info msg="Executing migration" id="create alert_notification_state table v1" 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-07-16T18:15:53.426012314Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.409709ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.429890968Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.430976193Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.084405ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.434553184Z level=info msg="Executing migration" id="Add for to alert table" policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-07-16T18:15:53.438702512Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=4.148498ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.443762162Z level=info msg="Executing migration" id="Add column uid in alert_notification" 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-07-16T18:15:53.447601247Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.838525ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.452399133Z level=info msg="Executing migration" id="Update uid column values in alert_notification" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.452688868Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=289.475µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.455215033Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-07-16T18:15:53.456243027Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.029884ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.491170317Z level=info msg="Executing migration" id="Remove unique index org_id_name" 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-07-16T18:15:53.492535686Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.366929ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.528573582Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.535160764Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=6.588062ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.570644961Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-07-16T18:15:53.570911475Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=265.864µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.578810476Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-07-16T18:15:53.580288727Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.477711ms grafana | logger=migrator t=2024-07-16T18:15:53.585156475Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" 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-07-16T18:15:53.586092098Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=935.373µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.590156625Z level=info msg="Executing migration" id="Drop old annotation table v4" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.590373038Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=215.873µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.596495723Z level=info msg="Executing migration" id="create annotation table v5" policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-07-16T18:15:53.59835314Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.857177ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.602566479Z level=info msg="Executing migration" id="add index annotation 0 v3" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-07-16T18:15:53.603655534Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.089255ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.608393531Z level=info msg="Executing migration" id="add index annotation 1 v3" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.609522727Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.128276ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.614173342Z level=info msg="Executing migration" id="add index annotation 2 v3" policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.615324888Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.151256ms policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-07-16T18:15:53.621551425Z level=info msg="Executing migration" id="add index annotation 3 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.622780572Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.228667ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.626146809Z level=info msg="Executing migration" id="add index annotation 4 v3" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.627349016Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.201947ms policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-07-16T18:15:53.63326363Z level=info msg="Executing migration" id="Update annotation table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.633416212Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=100.691µs policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-07-16T18:15:53.6368751Z level=info msg="Executing migration" id="Add column region_id to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.641726968Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.850528ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.644977314Z level=info msg="Executing migration" id="Drop category_id index" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.646169361Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=1.192746ms policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-07-16T18:15:53.653705536Z level=info msg="Executing migration" id="Add column tags to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.657930105Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=4.23371ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2024-07-16T18:15:53.661032088Z level=info msg="Executing migration" id="Create annotation_tag table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.661594317Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=561.669µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.665760785Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.666863821Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.102556ms policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-07-16T18:15:53.673478633Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.675276599Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.795136ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-07-16T18:15:53.679225853Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.689247075Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=10.022892ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.693448793Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.694076172Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=626.839µs policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-07-16T18:15:53.700256518Z 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-07-16T18:15:53.701795829Z 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.538591ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-07-16T18:15:53.705586423Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.706246633Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=660.69µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.709828643Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.710993599Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=1.163796ms policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-07-16T18:15:53.71676733Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.717315198Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=547.848µs policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-07-16T18:15:53.721653249Z level=info msg="Executing migration" id="Add created time to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.726148172Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.494382ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.729290845Z level=info msg="Executing migration" id="Add updated time to annotation table" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.733852409Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.560674ms policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-07-16T18:15:53.737343809Z level=info msg="Executing migration" id="Add index for created in annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.738786239Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.442161ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-07-16T18:15:53.745549754Z level=info msg="Executing migration" id="Add index for updated in annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.747618022Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=2.066328ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.753320562Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.753588536Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=268.604µs policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-07-16T18:15:53.759943915Z level=info msg="Executing migration" id="Add epoch_end column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.766867802Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.924657ms policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-07-16T18:15:53.770927629Z level=info msg="Executing migration" id="Add index for epoch_end" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.771900283Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=971.994µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.776369206Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.776654989Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=285.743µs policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-07-16T18:15:53.78449459Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.785192509Z level=info msg="Migration successfully executed" id="Move region to single row" duration=698.119µs policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-07-16T18:15:53.792263128Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.793780499Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.517681ms policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.800360432Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2024-07-16T18:15:53.801184423Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=824.301µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.809681303Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2024-07-16T18:15:53.810668666Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=984.843µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.854648343Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.856150344Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.505381ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.862461212Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-07-16T18:15:53.863452516Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=992.284µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.867569064Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2024-07-16T18:15:53.868574258Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.008244ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.873217333Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.873314715Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=97.282µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.882592075Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-07-16T18:15:53.884080396Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.489281ms grafana | logger=migrator t=2024-07-16T18:15:53.890382394Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.891256136Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=873.582µs 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-07-16T18:15:53.89790539Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.899598363Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.692823ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.90297033Z 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-07-16T18:15:53.904506922Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.536392ms policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-07-16T18:15:53.9107753Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.910972673Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=195.943µs policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-07-16T18:15:53.917580665Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.918184693Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=601.488µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.924220488Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.92433758Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=116.181µs policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-07-16T18:15:53.930236643Z level=info msg="Executing migration" id="create team table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.931591222Z level=info msg="Migration successfully executed" id="create team table" duration=1.353989ms 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-07-16T18:15:53.93862362Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.940364815Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.740725ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.948288776Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.949776257Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.487861ms policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-07-16T18:15:53.953985146Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.959028996Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=5.04384ms 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-07-16T18:15:53.965331895Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.965511197Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=180.082µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.971727114Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.973184394Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.45691ms policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-07-16T18:15:53.979849908Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.981306068Z level=info msg="Migration successfully executed" id="create team member table" duration=1.45617ms 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-07-16T18:15:53.984890659Z level=info msg="Executing migration" id="add index team_member.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:53.986315189Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.42406ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:53.994211629Z 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-07-16T18:15:53.995498957Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.286858ms policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-07-16T18:15:54.003429249Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.004931912Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.505073ms 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-07-16T18:15:54.010975191Z level=info msg="Executing migration" id="Add column email to team table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.016166108Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=5.193607ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.028377939Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.03658297Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=8.203441ms policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-07-16T18:15:54.041848787Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-07-16T18:15:54.049821925Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=7.969508ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.055937005Z level=info msg="Executing migration" id="create dashboard acl table" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.057211274Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.275869ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.061230834Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-07-16T18:15:54.062413432Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.182527ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.070845646Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" 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-07-16T18:15:54.071862701Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.016925ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.081563635Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.082952165Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.38757ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.091719235Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-07-16T18:15:54.093116515Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.39665ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.098404484Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" 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-07-16T18:15:54.099796404Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.39146ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.105759182Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.106701016Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=938.624µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.111163652Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-07-16T18:15:54.112521362Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.3572ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.119167481Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" 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-07-16T18:15:54.119872001Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=707.11µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.124209195Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.12458599Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=367.595µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.134149792Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-07-16T18:15:54.135017175Z level=info msg="Migration successfully executed" id="create tag table" duration=866.053µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.144886931Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2024-07-16T18:15:54.146781499Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.887288ms policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-07-16T18:15:54.15225663Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.15359716Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.3417ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.160464021Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.161849482Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.384481ms policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-07-16T18:15:54.171058089Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.172456339Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.39794ms policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-07-16T18:15:54.176987556Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.191501471Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=14.514635ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.201284925Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.201995856Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=710.631µs policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-07-16T18:15:54.206492753Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.207944984Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.441611ms policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-07-16T18:15:54.211804481Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.212248928Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=444.207µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.218938597Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.219550175Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=614.208µs policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-07-16T18:15:54.22659241Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.227749777Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.156957ms policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-07-16T18:15:54.232921924Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.234486367Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.562833ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.240781959Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.24084393Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=64.011µs policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-07-16T18:15:54.248033088Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.255812302Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=7.774944ms 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-07-16T18:15:54.259889993Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.263576118Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=3.685605ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.269956421Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-07-16T18:15:54.274955346Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=4.998545ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.278903755Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" 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-07-16T18:15:54.2840231Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.118945ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.289615952Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.290496196Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=879.504µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.343119135Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-07-16T18:15:54.351062972Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=7.946777ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.356940078Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.357547188Z level=info msg="Migration successfully executed" id="create server_lock table" duration=607.17µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.362069834Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-07-16T18:15:54.364038553Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.968479ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.370054533Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-07-16T18:15:54.371011787Z level=info msg="Migration successfully executed" id="create user auth token table" duration=955.804µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.376854884Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.377901469Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.044925ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.38272277Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-07-16T18:15:54.384268193Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.544673ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.39016769Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-07-16T18:15:54.391208396Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.040346ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.395292036Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.402467383Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=7.175857ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.409977393Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-07-16T18:15:54.410965968Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=988.465µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.419547515Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-07-16T18:15:54.420952956Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.404861ms policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-07-16T18:15:54.426267855Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-07-16T18:15:54.427420762Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.152587ms policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-07-16T18:15:54.431101686Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.432067161Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=964.934µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.437209487Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.438188521Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=978.804µs policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-07-16T18:15:54.448820498Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.44892722Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=107.532µs policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-07-16T18:15:54.454255679Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.454371691Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=116.612µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.459038899Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.4604238Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.384381ms policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-07-16T18:15:54.465415924Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.467099839Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.683855ms 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-07-16T18:15:54.472921435Z 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-07-16T18:15:54.473957Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.035255ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.483888197Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.483994159Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=106.682µs policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-07-16T18:15:54.490336743Z 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-07-16T18:15:54.491898456Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.561523ms policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-07-16T18:15:54.49960712Z 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-07-16T18:15:54.500511493Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=903.974µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.507902592Z 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-07-16T18:15:54.509576997Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.673745ms policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-07-16T18:15:54.51385733Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-07-16T18:15:54.515462985Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.604545ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.519114048Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.524700161Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.585843ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.528936014Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-07-16T18:15:54.529774756Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=838.283µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.533735125Z level=info msg="Executing migration" id="delete alert_definition_version table" 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-07-16T18:15:54.533812486Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=77.571µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.537198216Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.538714608Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.515912ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.543248805Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-07-16T18:15:54.54424304Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=993.735µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.547632681Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" 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-07-16T18:15:54.548673706Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.040825ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.552259869Z 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-07-16T18:15:54.55234787Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=85.831µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.556488732Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-07-16T18:15:54.557389335Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=900.543µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.561198251Z level=info msg="Executing migration" id="create alert_instance table" 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-07-16T18:15:54.563296672Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=2.097371ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.568050902Z 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-07-16T18:15:54.569072328Z 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.020806ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.57259555Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2024-07-16T18:15:54.573578764Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=983.194µs policy-db-migrator | > upgrade 0120-toscatrigger.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.577087897Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-07-16T18:15:54.58274304Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.653663ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.587429679Z 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-07-16T18:15:54.588314223Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=884.244µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.591796434Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-07-16T18:15:54.592668467Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=871.043µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.597216334Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-07-16T18:15:54.621779418Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=24.563794ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.626204064Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.648684866Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=22.476682ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.652343009Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-07-16T18:15:54.653156632Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=812.893µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.656993279Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-07-16T18:15:54.657906032Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=912.333µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.662398599Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.670435747Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=8.037158ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.67465403Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-07-16T18:15:54.680382934Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=5.728364ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.684486275Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-07-16T18:15:54.685626782Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.138207ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.690050188Z 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-07-16T18:15:54.691154984Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.100916ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.694967661Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-07-16T18:15:54.696072677Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.104626ms policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.699756311Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2024-07-16T18:15:54.700937719Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.180438ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.705548767Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2024-07-16T18:15:54.705634998Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=83.231µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.709474065Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.717141789Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=7.666454ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.726814672Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2024-07-16T18:15:54.737251336Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=10.440964ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.747526198Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2024-07-16T18:15:54.75913057Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=11.603572ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.768196874Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.769355241Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.157817ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.779750285Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.78137822Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.627225ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.822373166Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.831179236Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=8.80795ms policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2024-07-16T18:15:54.835635572Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.842110598Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.474956ms policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-07-16T18:15:54.846345411Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.847113031Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=766.85µs policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.852526002Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.861062818Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=8.538356ms policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2024-07-16T18:15:54.865531445Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.870383856Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=4.851351ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.874613879Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.8746856Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=72.491µs policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-07-16T18:15:54.877798266Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.878862912Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.064145ms policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2024-07-16T18:15:54.884424854Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.885933916Z 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.507212ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.890021907Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.891810743Z 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.788327ms policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2024-07-16T18:15:54.896765087Z 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-07-16T18:15:54.896877698Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=113.801µs policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2024-07-16T18:15:54.900510003Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.908419369Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=7.909857ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.913036498Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | msg grafana | logger=migrator t=2024-07-16T18:15:54.919141078Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.10433ms policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2024-07-16T18:15:54.955451895Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.965689266Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=10.238071ms policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2024-07-16T18:15:54.971408001Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.97673271Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=5.323719ms policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2024-07-16T18:15:54.980981953Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:54.988447253Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=7.46455ms policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.99231117Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2024-07-16T18:15:54.992357951Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=47.231µs policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-07-16T18:15:54.999252073Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-16T18:15:55.000513462Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.260969ms policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | TRUNCATE TABLE sequence policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE statistics_sequence policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1300) policy-db-migrator | name version policy-db-migrator | policyadmin 1300 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:55 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:55 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:55 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:55 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:55 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:55 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:55 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:55 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:55 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:55 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:55 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:55 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:55 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:55 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:56 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:56 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:56 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:56 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:56 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:56 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:56 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:56 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:56 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:56 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:56 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:56 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:56 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:56 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:56 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:56 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:56 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:56 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:56 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:56 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:56 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:56 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:56 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:56 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:57 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:57 grafana | logger=migrator t=2024-07-16T18:15:55.004796525Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2024-07-16T18:15:55.011788129Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=6.992054ms grafana | logger=migrator t=2024-07-16T18:15:55.016050892Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2024-07-16T18:15:55.016111872Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=61.64µs grafana | logger=migrator t=2024-07-16T18:15:55.020614439Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2024-07-16T18:15:55.026818781Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.203732ms grafana | logger=migrator t=2024-07-16T18:15:55.031832215Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2024-07-16T18:15:55.032758979Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=931.935µs grafana | logger=migrator t=2024-07-16T18:15:55.037096353Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2024-07-16T18:15:55.043466487Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.369914ms grafana | logger=migrator t=2024-07-16T18:15:55.048640724Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2024-07-16T18:15:55.049385445Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=744.571µs grafana | logger=migrator t=2024-07-16T18:15:55.053168071Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2024-07-16T18:15:55.054103884Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=935.523µs grafana | logger=migrator t=2024-07-16T18:15:55.059636986Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2024-07-16T18:15:55.069125997Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=9.489911ms grafana | logger=migrator t=2024-07-16T18:15:55.078742319Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2024-07-16T18:15:55.080087589Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=1.34418ms grafana | logger=migrator t=2024-07-16T18:15:55.090638355Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2024-07-16T18:15:55.092527033Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.891348ms grafana | logger=migrator t=2024-07-16T18:15:55.096753676Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2024-07-16T18:15:55.097646518Z level=info msg="Migration successfully executed" id="create alert_image table" duration=891.502µs grafana | logger=migrator t=2024-07-16T18:15:55.10109964Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2024-07-16T18:15:55.102110365Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.010885ms grafana | logger=migrator t=2024-07-16T18:15:55.10650255Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2024-07-16T18:15:55.106624202Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=120.662µs grafana | logger=migrator t=2024-07-16T18:15:55.110156793Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2024-07-16T18:15:55.111172209Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.015316ms grafana | logger=migrator t=2024-07-16T18:15:55.114661121Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2024-07-16T18:15:55.116247674Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.585813ms grafana | logger=migrator t=2024-07-16T18:15:55.121250707Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-07-16T18:15:55.121695195Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-07-16T18:15:55.125404189Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2024-07-16T18:15:55.125862636Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=458.027µs grafana | logger=migrator t=2024-07-16T18:15:55.129452919Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2024-07-16T18:15:55.131264296Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.809937ms grafana | logger=migrator t=2024-07-16T18:15:55.137283125Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2024-07-16T18:15:55.144990119Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=7.707484ms grafana | logger=migrator t=2024-07-16T18:15:55.14977487Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2024-07-16T18:15:55.151592227Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.816207ms grafana | logger=migrator t=2024-07-16T18:15:55.157088608Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2024-07-16T18:15:55.158641501Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.553383ms grafana | logger=migrator t=2024-07-16T18:15:55.164156542Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2024-07-16T18:15:55.165245849Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.088987ms grafana | logger=migrator t=2024-07-16T18:15:55.169800776Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2024-07-16T18:15:55.170970844Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.169538ms grafana | logger=migrator t=2024-07-16T18:15:55.174585617Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2024-07-16T18:15:55.175670333Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.084646ms policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:57 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:57 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:57 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:57 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:57 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:57 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:57 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:57 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:57 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:57 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:57 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:57 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:57 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:57 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:57 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:57 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:57 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:57 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:57 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:57 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:57 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:57 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:57 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:57 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:58 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:58 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:58 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:58 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:58 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:58 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:58 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:58 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:58 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:58 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:58 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:58 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:58 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:58 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:58 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:58 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:58 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:58 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:58 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:59 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:59 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:59 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:59 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:59 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:59 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:59 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:59 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:59 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:59 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:59 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:59 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1607241815550800u 1 2024-07-16 18:15:59 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1607241815550900u 1 2024-07-16 18:15:59 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1607241815550900u 1 2024-07-16 18:15:59 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1607241815550900u 1 2024-07-16 18:15:59 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1607241815550900u 1 2024-07-16 18:15:59 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1607241815550900u 1 2024-07-16 18:16:00 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1607241815550900u 1 2024-07-16 18:16:00 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1607241815550900u 1 2024-07-16 18:16:00 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1607241815550900u 1 2024-07-16 18:16:00 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1607241815550900u 1 2024-07-16 18:16:00 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1607241815550900u 1 2024-07-16 18:16:00 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1607241815550900u 1 2024-07-16 18:16:00 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1607241815550900u 1 2024-07-16 18:16:00 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1607241815550900u 1 2024-07-16 18:16:00 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1607241815551000u 1 2024-07-16 18:16:00 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1607241815551000u 1 2024-07-16 18:16:00 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1607241815551000u 1 2024-07-16 18:16:00 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1607241815551000u 1 2024-07-16 18:16:00 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1607241815551000u 1 2024-07-16 18:16:00 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1607241815551000u 1 2024-07-16 18:16:00 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1607241815551000u 1 2024-07-16 18:16:00 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1607241815551000u 1 2024-07-16 18:16:00 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1607241815551000u 1 2024-07-16 18:16:00 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1607241815551100u 1 2024-07-16 18:16:00 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1607241815551200u 1 2024-07-16 18:16:00 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1607241815551200u 1 2024-07-16 18:16:01 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1607241815551200u 1 2024-07-16 18:16:01 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1607241815551200u 1 2024-07-16 18:16:01 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 1607241815551300u 1 2024-07-16 18:16:01 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 1607241815551300u 1 2024-07-16 18:16:01 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 1607241815551300u 1 2024-07-16 18:16:01 policy-db-migrator | policyadmin: OK @ 1300 grafana | logger=migrator t=2024-07-16T18:15:55.180534075Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2024-07-16T18:15:55.180555246Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=22.091µs grafana | logger=migrator t=2024-07-16T18:15:55.184396382Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2024-07-16T18:15:55.184640196Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=243.044µs grafana | logger=migrator t=2024-07-16T18:15:55.188500252Z level=info msg="Executing migration" id="add library_element folder uid" grafana | logger=migrator t=2024-07-16T18:15:55.197685579Z level=info msg="Migration successfully executed" id="add library_element folder uid" duration=9.184706ms grafana | logger=migrator t=2024-07-16T18:15:55.202692232Z level=info msg="Executing migration" id="populate library_element folder_uid" grafana | logger=migrator t=2024-07-16T18:15:55.203139219Z level=info msg="Migration successfully executed" id="populate library_element folder_uid" duration=447.267µs grafana | logger=migrator t=2024-07-16T18:15:55.210978405Z level=info msg="Executing migration" id="add index library_element org_id-folder_uid-name-kind" grafana | logger=migrator t=2024-07-16T18:15:55.213391691Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_uid-name-kind" duration=2.413406ms grafana | logger=migrator t=2024-07-16T18:15:55.217996219Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2024-07-16T18:15:55.218593738Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=597.319µs grafana | logger=migrator t=2024-07-16T18:15:55.222065929Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2024-07-16T18:15:55.223120915Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.054726ms grafana | logger=migrator t=2024-07-16T18:15:55.226696618Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2024-07-16T18:15:55.2275588Z level=info msg="Migration successfully executed" id="create secrets table" duration=861.492µs grafana | logger=migrator t=2024-07-16T18:15:55.23297618Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2024-07-16T18:15:55.264188512Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=31.211002ms grafana | logger=migrator t=2024-07-16T18:15:55.297966033Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2024-07-16T18:15:55.30728274Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=9.318249ms grafana | logger=migrator t=2024-07-16T18:15:55.311472372Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2024-07-16T18:15:55.311720435Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=247.114µs grafana | logger=migrator t=2024-07-16T18:15:55.316337374Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2024-07-16T18:15:55.348138974Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=31.80064ms grafana | logger=migrator t=2024-07-16T18:15:55.352647871Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2024-07-16T18:15:55.38572258Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=33.074379ms grafana | logger=migrator t=2024-07-16T18:15:55.389855191Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2024-07-16T18:15:55.390608723Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=753.002µs grafana | logger=migrator t=2024-07-16T18:15:55.395473564Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2024-07-16T18:15:55.396617571Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.143987ms grafana | logger=migrator t=2024-07-16T18:15:55.400238145Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2024-07-16T18:15:55.400551979Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=313.534µs grafana | logger=migrator t=2024-07-16T18:15:55.404381366Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2024-07-16T18:15:55.40535302Z level=info msg="Migration successfully executed" id="create permission table" duration=970.814µs grafana | logger=migrator t=2024-07-16T18:15:55.409800416Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2024-07-16T18:15:55.410959263Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.152017ms grafana | logger=migrator t=2024-07-16T18:15:55.414538317Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2024-07-16T18:15:55.415785495Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.246848ms grafana | logger=migrator t=2024-07-16T18:15:55.419405728Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2024-07-16T18:15:55.420311122Z level=info msg="Migration successfully executed" id="create role table" duration=904.504µs grafana | logger=migrator t=2024-07-16T18:15:55.424562755Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2024-07-16T18:15:55.432364019Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.800194ms grafana | logger=migrator t=2024-07-16T18:15:55.436356389Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2024-07-16T18:15:55.445110959Z level=info msg="Migration successfully executed" id="add column group_name" duration=8.75402ms grafana | logger=migrator t=2024-07-16T18:15:55.448829153Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2024-07-16T18:15:55.449599335Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=769.852µs grafana | logger=migrator t=2024-07-16T18:15:55.45337243Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2024-07-16T18:15:55.454178023Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=805.583µs grafana | logger=migrator t=2024-07-16T18:15:55.45876529Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2024-07-16T18:15:55.459543342Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=773.382µs grafana | logger=migrator t=2024-07-16T18:15:55.462707849Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2024-07-16T18:15:55.463390009Z level=info msg="Migration successfully executed" id="create team role table" duration=681.96µs grafana | logger=migrator t=2024-07-16T18:15:55.467767964Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2024-07-16T18:15:55.468547025Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=778.891µs grafana | logger=migrator t=2024-07-16T18:15:55.472070497Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2024-07-16T18:15:55.47293257Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=861.323µs grafana | logger=migrator t=2024-07-16T18:15:55.476344981Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2024-07-16T18:15:55.477177202Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=831.951µs grafana | logger=migrator t=2024-07-16T18:15:55.481595438Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2024-07-16T18:15:55.482233907Z level=info msg="Migration successfully executed" id="create user role table" duration=638.339µs grafana | logger=migrator t=2024-07-16T18:15:55.488483981Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2024-07-16T18:15:55.490605942Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=2.120781ms grafana | logger=migrator t=2024-07-16T18:15:55.494412208Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2024-07-16T18:15:55.495592986Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.180438ms grafana | logger=migrator t=2024-07-16T18:15:55.499148618Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2024-07-16T18:15:55.500232564Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.083156ms grafana | logger=migrator t=2024-07-16T18:15:55.504749231Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2024-07-16T18:15:55.505593333Z level=info msg="Migration successfully executed" id="create builtin role table" duration=843.282µs grafana | logger=migrator t=2024-07-16T18:15:55.509165566Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2024-07-16T18:15:55.510287753Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.122056ms grafana | logger=migrator t=2024-07-16T18:15:55.516143189Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2024-07-16T18:15:55.518358972Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=2.215003ms grafana | logger=migrator t=2024-07-16T18:15:55.524500962Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2024-07-16T18:15:55.532455611Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.954999ms grafana | logger=migrator t=2024-07-16T18:15:55.538559401Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2024-07-16T18:15:55.539415674Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=861.573µs grafana | logger=migrator t=2024-07-16T18:15:55.542872764Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2024-07-16T18:15:55.544196064Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.32277ms grafana | logger=migrator t=2024-07-16T18:15:55.550211084Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2024-07-16T18:15:55.551267428Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.056654ms grafana | logger=migrator t=2024-07-16T18:15:55.555980359Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2024-07-16T18:15:55.557031035Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.050245ms grafana | logger=migrator t=2024-07-16T18:15:55.561173595Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2024-07-16T18:15:55.562567035Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.39205ms grafana | logger=migrator t=2024-07-16T18:15:55.56821107Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2024-07-16T18:15:55.569647871Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.436451ms grafana | logger=migrator t=2024-07-16T18:15:55.573595829Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2024-07-16T18:15:55.583189541Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=9.593902ms grafana | logger=migrator t=2024-07-16T18:15:55.58649537Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2024-07-16T18:15:55.594406777Z level=info msg="Migration successfully executed" id="permission kind migration" duration=7.910817ms grafana | logger=migrator t=2024-07-16T18:15:55.598341955Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2024-07-16T18:15:55.604042029Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=5.699464ms grafana | logger=migrator t=2024-07-16T18:15:55.607519811Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2024-07-16T18:15:55.61555638Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=8.035789ms grafana | logger=migrator t=2024-07-16T18:15:55.620198869Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2024-07-16T18:15:55.621314055Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.115056ms grafana | logger=migrator t=2024-07-16T18:15:55.628538892Z level=info msg="Executing migration" id="add permission action scope role_id index" grafana | logger=migrator t=2024-07-16T18:15:55.629645558Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=1.106326ms grafana | logger=migrator t=2024-07-16T18:15:55.633542206Z level=info msg="Executing migration" id="remove permission role_id action scope index" grafana | logger=migrator t=2024-07-16T18:15:55.635245721Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.702805ms grafana | logger=migrator t=2024-07-16T18:15:55.639733678Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2024-07-16T18:15:55.640670191Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=936.453µs grafana | logger=migrator t=2024-07-16T18:15:55.64468944Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2024-07-16T18:15:55.646595178Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.903628ms grafana | logger=migrator t=2024-07-16T18:15:55.650216253Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2024-07-16T18:15:55.650320384Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=105.531µs grafana | logger=migrator t=2024-07-16T18:15:55.655894497Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2024-07-16T18:15:55.655953287Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=60.79µs grafana | logger=migrator t=2024-07-16T18:15:55.663868805Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2024-07-16T18:15:55.664539194Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=670.559µs grafana | logger=migrator t=2024-07-16T18:15:55.668118838Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2024-07-16T18:15:55.669103022Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=985.224µs grafana | logger=migrator t=2024-07-16T18:15:55.673106131Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2024-07-16T18:15:55.674172597Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.066426ms grafana | logger=migrator t=2024-07-16T18:15:55.679261072Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2024-07-16T18:15:55.679704259Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=442.356µs grafana | logger=migrator t=2024-07-16T18:15:55.683314712Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2024-07-16T18:15:55.683799269Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=484.227µs grafana | logger=migrator t=2024-07-16T18:15:55.688471578Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2024-07-16T18:15:55.689301781Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=829.963µs grafana | logger=migrator t=2024-07-16T18:15:55.692858214Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2024-07-16T18:15:55.694731861Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.874587ms grafana | logger=migrator t=2024-07-16T18:15:55.698426326Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2024-07-16T18:15:55.706598126Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.17208ms grafana | logger=migrator t=2024-07-16T18:15:55.710556195Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2024-07-16T18:15:55.710603046Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=47.061µs grafana | logger=migrator t=2024-07-16T18:15:55.713913295Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2024-07-16T18:15:55.714760727Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=844.462µs grafana | logger=migrator t=2024-07-16T18:15:55.718543573Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2024-07-16T18:15:55.720272139Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.731786ms grafana | logger=migrator t=2024-07-16T18:15:55.725447015Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2024-07-16T18:15:55.726641473Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.195908ms grafana | logger=migrator t=2024-07-16T18:15:55.730196016Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2024-07-16T18:15:55.740703222Z level=info msg="Migration successfully executed" id="add correlation config column" duration=10.507005ms grafana | logger=migrator t=2024-07-16T18:15:55.77574701Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2024-07-16T18:15:55.777879071Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=2.131351ms grafana | logger=migrator t=2024-07-16T18:15:55.782995047Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2024-07-16T18:15:55.784086243Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.086036ms grafana | logger=migrator t=2024-07-16T18:15:55.787702476Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2024-07-16T18:15:55.809357447Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=21.656371ms grafana | logger=migrator t=2024-07-16T18:15:55.81493595Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2024-07-16T18:15:55.816146788Z level=info msg="Migration successfully executed" id="create correlation v2" duration=1.209728ms grafana | logger=migrator t=2024-07-16T18:15:55.819898852Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2024-07-16T18:15:55.821176761Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.276299ms grafana | logger=migrator t=2024-07-16T18:15:55.825902222Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2024-07-16T18:15:55.827704428Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.801996ms grafana | logger=migrator t=2024-07-16T18:15:55.833479724Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2024-07-16T18:15:55.834646771Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.166968ms grafana | logger=migrator t=2024-07-16T18:15:55.838088001Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2024-07-16T18:15:55.83862576Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=537.249µs grafana | logger=migrator t=2024-07-16T18:15:55.842445116Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2024-07-16T18:15:55.843614573Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.168527ms grafana | logger=migrator t=2024-07-16T18:15:55.848313473Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2024-07-16T18:15:55.856494984Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.181081ms grafana | logger=migrator t=2024-07-16T18:15:55.860082187Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2024-07-16T18:15:55.860740296Z level=info msg="Migration successfully executed" id="create entity_events table" duration=657.539µs grafana | logger=migrator t=2024-07-16T18:15:55.865531918Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2024-07-16T18:15:55.867167052Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.634554ms grafana | logger=migrator t=2024-07-16T18:15:55.871876521Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-07-16T18:15:55.872608672Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-07-16T18:15:55.876080043Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-07-16T18:15:55.87650271Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-07-16T18:15:55.880132153Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2024-07-16T18:15:55.881064867Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=938.124µs grafana | logger=migrator t=2024-07-16T18:15:55.885476852Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2024-07-16T18:15:55.887083216Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.605504ms grafana | logger=migrator t=2024-07-16T18:15:55.891739116Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-07-16T18:15:55.892796901Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.057155ms grafana | logger=migrator t=2024-07-16T18:15:55.899120645Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-07-16T18:15:55.90083785Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.716505ms grafana | logger=migrator t=2024-07-16T18:15:55.905720963Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-07-16T18:15:55.906831038Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.110665ms grafana | logger=migrator t=2024-07-16T18:15:55.911314105Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-07-16T18:15:55.91234539Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.037515ms grafana | logger=migrator t=2024-07-16T18:15:55.916762195Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-07-16T18:15:55.917503486Z level=info msg="Migration successfully executed" id="Drop public config table" duration=736.021µs grafana | logger=migrator t=2024-07-16T18:15:55.923950602Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2024-07-16T18:15:55.925799239Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.838327ms grafana | logger=migrator t=2024-07-16T18:15:55.930259065Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-07-16T18:15:55.931334211Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.074896ms grafana | logger=migrator t=2024-07-16T18:15:55.935745196Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-07-16T18:15:55.936907204Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.161898ms grafana | logger=migrator t=2024-07-16T18:15:55.940784891Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2024-07-16T18:15:55.941980638Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.195387ms grafana | logger=migrator t=2024-07-16T18:15:55.946400444Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2024-07-16T18:15:55.968810296Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=22.409312ms grafana | logger=migrator t=2024-07-16T18:15:55.974245796Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2024-07-16T18:15:55.981224749Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.977493ms grafana | logger=migrator t=2024-07-16T18:15:55.985065106Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2024-07-16T18:15:55.994625917Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=9.560321ms grafana | logger=migrator t=2024-07-16T18:15:55.998035398Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2024-07-16T18:15:55.998323792Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=288.284µs grafana | logger=migrator t=2024-07-16T18:15:56.003003681Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2024-07-16T18:15:56.011565988Z level=info msg="Migration successfully executed" id="add share column" duration=8.561217ms grafana | logger=migrator t=2024-07-16T18:15:56.014918908Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2024-07-16T18:15:56.015106971Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=187.743µs grafana | logger=migrator t=2024-07-16T18:15:56.021216331Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2024-07-16T18:15:56.022167865Z level=info msg="Migration successfully executed" id="create file table" duration=956.214µs grafana | logger=migrator t=2024-07-16T18:15:56.027455653Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-07-16T18:15:56.028567609Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.111706ms grafana | logger=migrator t=2024-07-16T18:15:56.033551973Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-07-16T18:15:56.035268788Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.714865ms grafana | logger=migrator t=2024-07-16T18:15:56.038578337Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-07-16T18:15:56.040214942Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.636375ms grafana | logger=migrator t=2024-07-16T18:15:56.043997927Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-07-16T18:15:56.04618208Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=2.182833ms grafana | logger=migrator t=2024-07-16T18:15:56.049882135Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-07-16T18:15:56.049985806Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=103.181µs grafana | logger=migrator t=2024-07-16T18:15:56.053189533Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-07-16T18:15:56.053294065Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=103.302µs grafana | logger=migrator t=2024-07-16T18:15:56.057387405Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-07-16T18:15:56.05832199Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=931.375µs grafana | logger=migrator t=2024-07-16T18:15:56.064988367Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-07-16T18:15:56.065416954Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=427.687µs grafana | logger=migrator t=2024-07-16T18:15:56.068828734Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-07-16T18:15:56.071114809Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=2.285525ms grafana | logger=migrator t=2024-07-16T18:15:56.074567609Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-07-16T18:15:56.083684995Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=9.116316ms grafana | logger=migrator t=2024-07-16T18:15:56.086667999Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-07-16T18:15:56.086889462Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=220.923µs grafana | logger=migrator t=2024-07-16T18:15:56.089965407Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-07-16T18:15:56.091139125Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.173738ms grafana | logger=migrator t=2024-07-16T18:15:56.096782348Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-07-16T18:15:56.097258245Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=476.587µs grafana | logger=migrator t=2024-07-16T18:15:56.102566263Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-07-16T18:15:56.102863298Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=295.915µs grafana | logger=migrator t=2024-07-16T18:15:56.10573525Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-07-16T18:15:56.106259238Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=523.618µs grafana | logger=migrator t=2024-07-16T18:15:56.109690869Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-07-16T18:15:56.118709213Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=9.017844ms grafana | logger=migrator t=2024-07-16T18:15:56.122841904Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-07-16T18:15:56.131728585Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.886241ms grafana | logger=migrator t=2024-07-16T18:15:56.135670693Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-07-16T18:15:56.136489555Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=816.962µs grafana | logger=migrator t=2024-07-16T18:15:56.143054252Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-07-16T18:15:56.21593172Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=72.869218ms grafana | logger=migrator t=2024-07-16T18:15:56.298005514Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-07-16T18:15:56.299409085Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.404191ms grafana | logger=migrator t=2024-07-16T18:15:56.302699253Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-07-16T18:15:56.304168505Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.468292ms grafana | logger=migrator t=2024-07-16T18:15:56.307927801Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-07-16T18:15:56.333474088Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=25.545397ms grafana | logger=migrator t=2024-07-16T18:15:56.336419402Z level=info msg="Executing migration" id="add origin column to seed_assignment" grafana | logger=migrator t=2024-07-16T18:15:56.345515497Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=9.095495ms grafana | logger=migrator t=2024-07-16T18:15:56.348759314Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" grafana | logger=migrator t=2024-07-16T18:15:56.349051938Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=273.054µs grafana | logger=migrator t=2024-07-16T18:15:56.3518813Z level=info msg="Executing migration" id="prevent seeding OnCall access" grafana | logger=migrator t=2024-07-16T18:15:56.352079943Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=198.423µs grafana | logger=migrator t=2024-07-16T18:15:56.354528469Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-07-16T18:15:56.354803253Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=274.424µs grafana | logger=migrator t=2024-07-16T18:15:56.35792518Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-07-16T18:15:56.358194344Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=268.914µs grafana | logger=migrator t=2024-07-16T18:15:56.362184263Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-07-16T18:15:56.362482887Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=298.094µs grafana | logger=migrator t=2024-07-16T18:15:56.365571013Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-07-16T18:15:56.3667413Z level=info msg="Migration successfully executed" id="create folder table" duration=1.170027ms grafana | logger=migrator t=2024-07-16T18:15:56.37147419Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-07-16T18:15:56.37283132Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.35671ms grafana | logger=migrator t=2024-07-16T18:15:56.379409498Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-07-16T18:15:56.381803074Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=2.392145ms grafana | logger=migrator t=2024-07-16T18:15:56.38570329Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-07-16T18:15:56.385735851Z level=info msg="Migration successfully executed" id="Update folder title length" duration=33.401µs grafana | logger=migrator t=2024-07-16T18:15:56.389065021Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-07-16T18:15:56.390492822Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.427261ms grafana | logger=migrator t=2024-07-16T18:15:56.394731244Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-07-16T18:15:56.396235437Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.503163ms grafana | logger=migrator t=2024-07-16T18:15:56.399459874Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-07-16T18:15:56.401035237Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.575213ms grafana | logger=migrator t=2024-07-16T18:15:56.404273346Z level=info msg="Executing migration" id="Sync dashboard and folder table" grafana | logger=migrator t=2024-07-16T18:15:56.404808563Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=534.637µs grafana | logger=migrator t=2024-07-16T18:15:56.413856296Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" grafana | logger=migrator t=2024-07-16T18:15:56.414538077Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=695.691µs grafana | logger=migrator t=2024-07-16T18:15:56.420263442Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" grafana | logger=migrator t=2024-07-16T18:15:56.422654077Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=2.390215ms grafana | logger=migrator t=2024-07-16T18:15:56.426593916Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" grafana | logger=migrator t=2024-07-16T18:15:56.428214709Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.623473ms grafana | logger=migrator t=2024-07-16T18:15:56.432656395Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" grafana | logger=migrator t=2024-07-16T18:15:56.433918704Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.261219ms grafana | logger=migrator t=2024-07-16T18:15:56.438844196Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" grafana | logger=migrator t=2024-07-16T18:15:56.440133875Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.289119ms grafana | logger=migrator t=2024-07-16T18:15:56.443599417Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" grafana | logger=migrator t=2024-07-16T18:15:56.444842826Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.242879ms grafana | logger=migrator t=2024-07-16T18:15:56.449438763Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-07-16T18:15:56.45055938Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.120047ms grafana | logger=migrator t=2024-07-16T18:15:56.456095442Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-07-16T18:15:56.457709506Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.613484ms grafana | logger=migrator t=2024-07-16T18:15:56.462989874Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-07-16T18:15:56.464976473Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.986219ms grafana | logger=migrator t=2024-07-16T18:15:56.469218256Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-07-16T18:15:56.47085769Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.638574ms grafana | logger=migrator t=2024-07-16T18:15:56.474326912Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-07-16T18:15:56.475463447Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.136156ms grafana | logger=migrator t=2024-07-16T18:15:56.480087217Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-07-16T18:15:56.48171058Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.621913ms grafana | logger=migrator t=2024-07-16T18:15:56.486173986Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-07-16T18:15:56.486727875Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=554.679µs grafana | logger=migrator t=2024-07-16T18:15:56.492399059Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-07-16T18:15:56.501455262Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=9.055623ms grafana | logger=migrator t=2024-07-16T18:15:56.507367429Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-07-16T18:15:56.508137061Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=770.392µs grafana | logger=migrator t=2024-07-16T18:15:56.511497621Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-07-16T18:15:56.511516071Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=19.37µs grafana | logger=migrator t=2024-07-16T18:15:56.51476619Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-07-16T18:15:56.516709288Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.943048ms grafana | logger=migrator t=2024-07-16T18:15:56.524147728Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-07-16T18:15:56.524173548Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=24.75µs grafana | logger=migrator t=2024-07-16T18:15:56.53031631Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" grafana | logger=migrator t=2024-07-16T18:15:56.53172784Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.40988ms grafana | logger=migrator t=2024-07-16T18:15:56.535887332Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-07-16T18:15:56.538112934Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=2.224112ms grafana | logger=migrator t=2024-07-16T18:15:56.542291276Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-07-16T18:15:56.543568835Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.248689ms grafana | logger=migrator t=2024-07-16T18:15:56.549293559Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-07-16T18:15:56.550312315Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.022586ms grafana | logger=migrator t=2024-07-16T18:15:56.555791626Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-07-16T18:15:56.556142471Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=352.065µs grafana | logger=migrator t=2024-07-16T18:15:56.561742604Z level=info msg="Executing migration" id="managed dashboard permissions annotation actions migration" grafana | logger=migrator t=2024-07-16T18:15:56.562935521Z level=info msg="Migration successfully executed" id="managed dashboard permissions annotation actions migration" duration=1.191787ms grafana | logger=migrator t=2024-07-16T18:15:56.567233685Z level=info msg="Executing migration" id="create cloud_migration table v1" grafana | logger=migrator t=2024-07-16T18:15:56.568189889Z level=info msg="Migration successfully executed" id="create cloud_migration table v1" duration=955.814µs grafana | logger=migrator t=2024-07-16T18:15:56.572445012Z level=info msg="Executing migration" id="create cloud_migration_run table v1" grafana | logger=migrator t=2024-07-16T18:15:56.573291084Z level=info msg="Migration successfully executed" id="create cloud_migration_run table v1" duration=845.612µs grafana | logger=migrator t=2024-07-16T18:15:56.577744801Z level=info msg="Executing migration" id="add stack_id column" grafana | logger=migrator t=2024-07-16T18:15:56.588021733Z level=info msg="Migration successfully executed" id="add stack_id column" duration=10.271132ms grafana | logger=migrator t=2024-07-16T18:15:56.591173249Z level=info msg="Executing migration" id="add region_slug column" grafana | logger=migrator t=2024-07-16T18:15:56.598540578Z level=info msg="Migration successfully executed" id="add region_slug column" duration=7.365699ms grafana | logger=migrator t=2024-07-16T18:15:56.603558642Z level=info msg="Executing migration" id="add cluster_slug column" grafana | logger=migrator t=2024-07-16T18:15:56.613406048Z level=info msg="Migration successfully executed" id="add cluster_slug column" duration=9.847446ms grafana | logger=migrator t=2024-07-16T18:15:56.616351251Z level=info msg="Executing migration" id="add migration uid column" grafana | logger=migrator t=2024-07-16T18:15:56.624487612Z level=info msg="Migration successfully executed" id="add migration uid column" duration=8.134511ms grafana | logger=migrator t=2024-07-16T18:15:56.630072934Z level=info msg="Executing migration" id="Update uid column values for migration" grafana | logger=migrator t=2024-07-16T18:15:56.630274057Z level=info msg="Migration successfully executed" id="Update uid column values for migration" duration=201.263µs grafana | logger=migrator t=2024-07-16T18:15:56.633480764Z level=info msg="Executing migration" id="Add unique index migration_uid" grafana | logger=migrator t=2024-07-16T18:15:56.635016887Z level=info msg="Migration successfully executed" id="Add unique index migration_uid" duration=1.535133ms grafana | logger=migrator t=2024-07-16T18:15:56.638336807Z level=info msg="Executing migration" id="add migration run uid column" grafana | logger=migrator t=2024-07-16T18:15:56.648367605Z level=info msg="Migration successfully executed" id="add migration run uid column" duration=10.032938ms grafana | logger=migrator t=2024-07-16T18:15:56.653216946Z level=info msg="Executing migration" id="Update uid column values for migration run" grafana | logger=migrator t=2024-07-16T18:15:56.653469541Z level=info msg="Migration successfully executed" id="Update uid column values for migration run" duration=251.975µs grafana | logger=migrator t=2024-07-16T18:15:56.657135824Z level=info msg="Executing migration" id="Add unique index migration_run_uid" grafana | logger=migrator t=2024-07-16T18:15:56.658764338Z level=info msg="Migration successfully executed" id="Add unique index migration_run_uid" duration=1.627434ms grafana | logger=migrator t=2024-07-16T18:15:56.662023157Z level=info msg="Executing migration" id="alter kv_store.value to longtext" grafana | logger=migrator t=2024-07-16T18:15:56.66221597Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=192.813µs grafana | logger=migrator t=2024-07-16T18:15:56.667472758Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" grafana | logger=migrator t=2024-07-16T18:15:56.679583256Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=12.110688ms grafana | logger=migrator t=2024-07-16T18:15:56.682769074Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" grafana | logger=migrator t=2024-07-16T18:15:56.691352901Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=8.582287ms grafana | logger=migrator t=2024-07-16T18:15:56.695550453Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" grafana | logger=migrator t=2024-07-16T18:15:56.695768716Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=218.003µs grafana | logger=migrator t=2024-07-16T18:15:56.698591968Z level=info msg="Executing migration" id="managed folder permissions alerting silences actions migration" grafana | logger=migrator t=2024-07-16T18:15:56.69875038Z level=info msg="Migration successfully executed" id="managed folder permissions alerting silences actions migration" duration=158.392µs grafana | logger=migrator t=2024-07-16T18:15:56.70350585Z level=info msg="Executing migration" id="add record column to alert_rule table" grafana | logger=migrator t=2024-07-16T18:15:56.716159837Z level=info msg="Migration successfully executed" id="add record column to alert_rule table" duration=12.657297ms grafana | logger=migrator t=2024-07-16T18:15:56.719171993Z level=info msg="Executing migration" id="add record column to alert_rule_version table" grafana | logger=migrator t=2024-07-16T18:15:56.726708244Z level=info msg="Migration successfully executed" id="add record column to alert_rule_version table" duration=7.535651ms grafana | logger=migrator t=2024-07-16T18:15:56.729703688Z level=info msg="migrations completed" performed=572 skipped=0 duration=4.665415738s grafana | logger=migrator t=2024-07-16T18:15:56.730296977Z level=info msg="Unlocking database" grafana | logger=sqlstore t=2024-07-16T18:15:56.74604763Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-07-16T18:15:56.746234952Z level=info msg="Created default organization" grafana | logger=secrets t=2024-07-16T18:15:56.768257848Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.angulardetectorsprovider.dynamic t=2024-07-16T18:15:56.816015474Z level=info msg="Restored cache from database" duration=383.466µs grafana | logger=plugin.store t=2024-07-16T18:15:56.817724449Z level=info msg="Loading plugins..." grafana | logger=plugins.registration t=2024-07-16T18:15:56.846962162Z level=error msg="Could not register plugin" pluginId=xychart error="plugin xychart is already registered" grafana | logger=plugins.initialization t=2024-07-16T18:15:56.846979412Z level=error msg="Could not initialize plugin" pluginId=xychart error="plugin xychart is already registered" grafana | logger=local.finder t=2024-07-16T18:15:56.847127684Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-07-16T18:15:56.847144275Z level=info msg="Plugins loaded" count=54 duration=29.420686ms grafana | logger=query_data t=2024-07-16T18:15:56.851059513Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-07-16T18:15:56.854397292Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.notifier.alertmanager org=1 t=2024-07-16T18:15:56.861128061Z level=info msg="Applying new configuration to Alertmanager" configHash=d2c56faca6af2a5772ff4253222f7386 grafana | logger=ngalert.state.manager t=2024-07-16T18:15:56.868809754Z level=info msg="Running in alternative execution of Error/NoData mode" grafana | logger=infra.usagestats.collector t=2024-07-16T18:15:56.870992957Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-07-16T18:15:56.872943006Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-07-16T18:15:56.891572032Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-07-16T18:15:56.891585672Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2024-07-16T18:15:56.891842315Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2024-07-16T18:15:56.892132149Z level=info msg="Warming state cache for startup" grafana | logger=ngalert.multiorg.alertmanager t=2024-07-16T18:15:56.905211833Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=http.server t=2024-07-16T18:15:56.906852218Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=ngalert.state.manager t=2024-07-16T18:15:56.963767349Z level=info msg="State cache has been initialized" states=0 duration=71.62855ms grafana | logger=ngalert.scheduler t=2024-07-16T18:15:56.963953641Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 grafana | logger=ticker t=2024-07-16T18:15:56.964222966Z level=info msg=starting first_tick=2024-07-16T18:16:00Z grafana | logger=grafana.update.checker t=2024-07-16T18:15:56.977142857Z level=info msg="Update check succeeded" duration=84.902936ms grafana | logger=provisioning.dashboard t=2024-07-16T18:15:56.979924498Z level=info msg="starting to provision dashboards" grafana | logger=plugins.update.checker t=2024-07-16T18:15:56.981623553Z level=info msg="Update check succeeded" duration=89.182309ms grafana | logger=plugin.angulardetectorsprovider.dynamic t=2024-07-16T18:15:57.156526559Z level=info msg="Patterns update finished" duration=179.476113ms grafana | logger=provisioning.dashboard t=2024-07-16T18:15:57.310382374Z level=info msg="finished to provision dashboards" grafana | logger=grafana-apiserver t=2024-07-16T18:15:57.608112395Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=grafana-apiserver t=2024-07-16T18:15:57.608607493Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" grafana | logger=infra.usagestats t=2024-07-16T18:16:30.906976564Z level=info msg="Usage stats are ready to report" ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping grafana ... Stopping policy-api ... Stopping prometheus ... Stopping mariadb ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing grafana ... Removing policy-api ... Removing policy-db-migrator ... Removing prometheus ... Removing mariadb ... Removing grafana ... done Removing policy-db-migrator ... 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 ++ tr : ' ' ++ echo braceexpand:hashall:interactive-comments:xtrace + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o 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.iyaq77tjR2 ]] + rsync -av /tmp/tmp.iyaq77tjR2/ /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,345,341 bytes received 95 bytes 2,690,872.00 bytes/sec total size is 1,344,691 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 2075 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/jenkins7794591291986514861.sh ---> sysstat.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins15070786153257751501.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/policy-api-montreal-project-csit-api + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/policy-api-montreal-project-csit-api ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/policy-api-montreal-project-csit-api ']' + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-montreal-project-csit-api/archives/ [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins17681958010088933653.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-3MV1 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-3MV1/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins5558152514543940421.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config2381638908609495239tmp 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/jenkins16718449932696670170.sh ---> create-netrc.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins12666596103261629282.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-3MV1 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-3MV1/bin to PATH [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins17905497000772319617.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins16551537063361029492.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-3MV1 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-3MV1/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/jenkins6778918858397009173.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-3MV1 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-3MV1/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/248 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-24254 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 869 27052 0 4245 30842 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:67:fc:c1 brd ff:ff:ff:ff:ff:ff inet 10.30.106.23/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86084sec preferred_lft 86084sec inet6 fe80::f816:3eff:fe67:fcc1/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:9f:59:f1:5e 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-24254) 07/16/24 _x86_64_ (8 CPU) 18:13:06 LINUX RESTART (8 CPU) 18:14:02 tps rtps wtps bread/s bwrtn/s 18:15:01 136.72 28.01 108.71 2122.13 27607.46 18:16:01 470.80 25.46 445.34 2448.39 97200.55 18:17:01 21.66 0.57 21.10 55.72 18237.89 18:18:01 49.49 1.33 48.16 104.75 20110.38 Average: 169.80 13.78 156.01 1178.77 40841.92 18:14:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:15:01 29923616 31670988 3015604 9.16 79552 1970264 1441824 4.24 906524 1800336 150096 18:16:01 27542592 31461940 5396628 16.38 129880 4005176 3346736 9.85 1246720 3686716 2116 18:17:01 26595448 30517792 6343772 19.26 130328 4007528 4311252 12.68 2225408 3653060 48 18:18:01 27692984 31571236 5246236 15.93 131780 3972068 1483008 4.36 1207328 3603064 18612 Average: 27938660 31305489 5000560 15.18 117885 3488759 2645705 7.78 1396495 3185794 42718 18:14:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:15:01 ens3 74.77 52.71 1113.05 10.32 0.00 0.00 0.00 0.00 18:15:01 lo 1.29 1.29 0.15 0.15 0.00 0.00 0.00 0.00 18:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:16:01 veth14f8577 0.32 0.43 0.02 0.03 0.00 0.00 0.00 0.00 18:16:01 ens3 352.34 214.55 11087.33 17.59 0.00 0.00 0.00 0.00 18:16:01 vethc41b9b8 29.61 38.53 2.94 4.52 0.00 0.00 0.00 0.00 18:16:01 vethd21e110 38.24 29.78 4.50 2.95 0.00 0.00 0.00 0.00 18:17:01 veth14f8577 124.46 104.95 41.36 113.89 0.00 0.00 0.00 0.01 18:17:01 ens3 5.33 4.42 1.07 1.05 0.00 0.00 0.00 0.00 18:17:01 vethc41b9b8 101.22 121.33 111.65 34.44 0.00 0.00 0.00 0.01 18:17:01 veth8f66b9b 0.18 0.42 0.02 0.78 0.00 0.00 0.00 0.00 18:18:01 ens3 52.99 48.18 71.26 41.35 0.00 0.00 0.00 0.00 18:18:01 lo 32.60 32.60 10.54 10.54 0.00 0.00 0.00 0.00 18:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: ens3 121.55 80.07 3076.03 17.61 0.00 0.00 0.00 0.00 Average: lo 7.08 7.08 2.55 2.55 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-24254) 07/16/24 _x86_64_ (8 CPU) 18:13:06 LINUX RESTART (8 CPU) 18:14:02 CPU %user %nice %system %iowait %steal %idle 18:15:01 all 9.80 0.00 0.80 2.93 0.04 86.43 18:15:01 0 1.20 0.00 0.22 0.02 0.02 98.55 18:15:01 1 9.09 0.00 0.93 14.64 0.10 75.23 18:15:01 2 25.20 0.00 1.75 1.02 0.03 71.99 18:15:01 3 33.00 0.00 1.73 3.14 0.07 62.06 18:15:01 4 3.56 0.00 0.59 1.22 0.02 94.61 18:15:01 5 0.83 0.00 0.29 2.51 0.03 96.33 18:15:01 6 4.07 0.00 0.51 0.86 0.03 94.52 18:15:01 7 1.54 0.00 0.34 0.08 0.02 98.02 18:16:01 all 11.40 0.00 3.85 3.48 0.06 81.21 18:16:01 0 7.87 0.00 3.49 2.12 0.05 86.47 18:16:01 1 8.50 0.00 3.18 8.30 0.07 79.94 18:16:01 2 8.84 0.00 4.78 1.80 0.07 84.50 18:16:01 3 24.86 0.00 4.13 1.56 0.07 69.38 18:16:01 4 13.17 0.00 3.17 0.30 0.05 83.30 18:16:01 5 10.86 0.00 3.93 2.09 0.05 83.07 18:16:01 6 6.83 0.00 4.51 8.16 0.07 80.43 18:16:01 7 10.30 0.00 3.65 3.48 0.05 82.53 18:17:01 all 12.46 0.00 1.07 0.20 0.05 86.22 18:17:01 0 7.58 0.00 1.00 0.02 0.05 91.36 18:17:01 1 16.22 0.00 1.30 0.43 0.03 82.01 18:17:01 2 14.39 0.00 1.10 0.02 0.07 84.43 18:17:01 3 6.77 0.00 0.69 0.02 0.05 92.47 18:17:01 4 9.66 0.00 0.67 0.93 0.05 88.69 18:17:01 5 19.18 0.00 1.62 0.17 0.07 78.96 18:17:01 6 14.18 0.00 1.34 0.02 0.05 84.42 18:17:01 7 11.73 0.00 0.80 0.00 0.03 87.43 18:18:01 all 3.96 0.00 0.46 0.35 0.03 95.20 18:18:01 0 8.56 0.00 0.35 0.08 0.03 90.98 18:18:01 1 1.15 0.00 0.30 0.05 0.02 98.48 18:18:01 2 2.02 0.00 0.43 0.03 0.05 97.46 18:18:01 3 1.69 0.00 0.40 0.08 0.03 97.79 18:18:01 4 0.88 0.00 0.40 1.74 0.03 96.95 18:18:01 5 0.98 0.00 0.48 0.58 0.02 97.93 18:18:01 6 4.13 0.00 0.58 0.17 0.02 95.10 18:18:01 7 12.25 0.00 0.72 0.08 0.02 86.93 Average: all 9.40 0.00 1.54 1.73 0.04 87.28 Average: 0 6.31 0.00 1.26 0.56 0.04 91.83 Average: 1 8.74 0.00 1.43 5.81 0.05 83.97 Average: 2 12.57 0.00 2.01 0.71 0.05 84.65 Average: 3 16.50 0.00 1.73 1.19 0.05 80.52 Average: 4 6.81 0.00 1.21 1.05 0.04 90.89 Average: 5 7.98 0.00 1.58 1.33 0.04 89.06 Average: 6 7.32 0.00 1.73 2.29 0.04 88.62 Average: 7 8.98 0.00 1.38 0.91 0.03 88.70