Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-17606 (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-MvRGmIkipbqz/agent.2117 SSH_AGENT_PID=2119 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_17238778384441336861.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_17238778384441336861.key) [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) The recommended git tool is: NONE using credential onap-jenkins-ssh Wiping out workspace first. Cloning the remote Git repository Cloning repository git://cloud.onap.org/mirror/policy/docker.git > git init /w/workspace/policy-api-montreal-project-csit-api # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_SSH to set credentials Gerrit user Verifying host key using manually-configured host key entries > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/montreal^{commit} # timeout=10 Checking out Revision 828a01cf695f53919dbff4ebbb1499c9674812b5 (refs/remotes/origin/montreal) > git config core.sparsecheckout # timeout=10 > git checkout -f 828a01cf695f53919dbff4ebbb1499c9674812b5 # timeout=30 Commit message: "Set Montreal default branch" > git rev-list --no-walk 828a01cf695f53919dbff4ebbb1499c9674812b5 # timeout=10 provisioning config files... copy managed file [npmrc] to file:/home/jenkins/.npmrc copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins14617912045059562868.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-mIp3 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-mIp3/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-mIp3/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.127 botocore==1.34.127 bs4==0.0.2 cachetools==5.3.3 certifi==2024.6.2 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.1.2 filelock==3.15.1 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.30.0 httplib2==0.22.0 identify==2.5.36 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.22.0 jsonschema-specifications==2023.12.1 keystoneauth1==5.6.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.1.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.1 oslo.config==9.4.0 oslo.context==5.5.0 oslo.i18n==6.3.0 oslo.log==6.0.0 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==24.1 pbr==6.0.0 platformdirs==4.2.2 prettytable==3.10.0 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.8.2 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.5.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.18.1 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.1 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.12.5 tqdm==4.66.4 typing_extensions==4.12.2 tzdata==2024.1 urllib3==1.26.19 virtualenv==20.26.2 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/jenkins2253468554453908071.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/jenkins12816683426067209878.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.zUNs11T8mM ++ echo ROBOT_VENV=/tmp/tmp.zUNs11T8mM +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.zUNs11T8mM ++ source /tmp/tmp.zUNs11T8mM/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.zUNs11T8mM +++ 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.zUNs11T8mM/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.zUNs11T8mM) ' '!=' x ']' +++ PS1='(tmp.zUNs11T8mM) ' +++ 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.6.2 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.zUNs11T8mM/src/onap ++ rm -rf /tmp/tmp.zUNs11T8mM/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.zUNs11T8mM/bin/python3 /tmp/tmp.zUNs11T8mM/lib/python3.6/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-y2o61l90/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.zUNs11T8mM/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.6.2 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.zUNs11T8mM/bin/activate + '[' -z /tmp/tmp.zUNs11T8mM/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.zUNs11T8mM/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.zUNs11T8mM ++ 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.zUNs11T8mM/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.zUNs11T8mM) ' ++ '[' 'x(tmp.zUNs11T8mM) ' '!=' x ']' ++ PS1='(tmp.zUNs11T8mM) (tmp.zUNs11T8mM) ' ++ 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 ++ sed 's/./& /g' ++ echo hxB + 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.nJKc0whOGi + cd /tmp/tmp.nJKc0whOGi + docker login -u docker -p docker nexus3.onap.org:10001 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded + SETUP=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-montreal-project-csit-api/.gitreview +++ GERRIT_BRANCH=montreal +++ echo GERRIT_BRANCH=montreal GERRIT_BRANCH=montreal +++ rm -rf /w/workspace/policy-api-montreal-project-csit-api/models +++ mkdir /w/workspace/policy-api-montreal-project-csit-api/models +++ git clone -b montreal --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-montreal-project-csit-api/models Cloning into '/w/workspace/policy-api-montreal-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json +++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-montreal-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose +++ grafana=false +++ gui=false +++ [[ 2 -gt 0 ]] +++ key=api +++ case $key in +++ echo api api +++ component=api +++ shift +++ [[ 1 -gt 0 ]] +++ key=--grafana +++ case $key in +++ grafana=true +++ shift +++ [[ 0 -gt 0 ]] +++ cd /w/workspace/policy-api-montreal-project-csit-api/compose +++ echo 'Configuring docker compose...' Configuring docker compose... +++ source export-ports.sh +++ source get-versions.sh +++ '[' -z api ']' +++ '[' -n api ']' +++ '[' api == logs ']' +++ '[' true = true ']' +++ echo 'Starting api application with Grafana' Starting api application with Grafana +++ docker-compose up -d api grafana Creating network "compose_default" with the default driver Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 10.10.2: Pulling from mariadb Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:3.0.2)... 3.0.2: Pulling from onap/policy-db-migrator Digest: sha256:777d99819ab037b10e0a21c75da376b572c54e87a9748c204d86178849fe011a Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.0.2 Pulling api (nexus3.onap.org:10001/onap/policy-api:3.0.2)... 3.0.2: Pulling from onap/policy-api Digest: sha256:fb501d6af2a3cd55552ba398d5bc20867cf32ebda2e7f9c473849f184245c945 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.0.2 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:5c435642ca4d8427ca26f4901c11114023004709037880cd7860d5b7176aa731 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:0dc5a246ab16bb2c38a349fb588174e832b4c6c2db0981d0c3e6cd774ba66a54 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating prometheus ... Creating mariadb ... 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 12 seconds mariadb Up 12 seconds prometheus Up 10 seconds NAMES STATUS grafana Up 15 seconds policy-api Up 16 seconds mariadb Up 18 seconds prometheus Up 15 seconds NAMES STATUS grafana Up 20 seconds policy-api Up 21 seconds mariadb Up 23 seconds prometheus Up 21 seconds NAMES STATUS grafana Up 25 seconds policy-api Up 26 seconds mariadb Up 28 seconds prometheus Up 26 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:15:16 up 3 min, 0 users, load average: 1.94, 0.89, 0.35 Tasks: 179 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.7 us, 2.0 sy, 0.0 ni, 83.8 id, 4.4 wa, 0.0 hi, 0.1 si, 0.1 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.4G 26G 1.0M 4.0G 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 mariadb Up 28 seconds prometheus Up 26 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 5d9a58d3b4f2 grafana 0.03% 57.59MiB / 31.41GiB 0.18% 23.4kB / 4.12kB 0B / 25.1MB 21 91b31a86dd6e policy-api 0.47% 442.2MiB / 31.41GiB 1.37% 999kB / 710kB 0B / 0B 53 093f354f29eb mariadb 0.01% 100.9MiB / 31.41GiB 0.31% 985kB / 1.18MB 11.2MB / 70.4MB 28 53aa97178af3 prometheus 0.00% 18.97MiB / 31.41GiB 0.06% 872B / 0B 0B / 0B 11 + echo + cd /tmp/tmp.nJKc0whOGi + echo 'Reading the testplan:' Reading the testplan: + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + echo 'api-test.robot api-slas.robot' + 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.nJKc0whOGi/output.xml Log: /tmp/tmp.nJKc0whOGi/log.html Report: /tmp/tmp.nJKc0whOGi/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 mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 18:16:27 up 5 min, 0 users, load average: 0.74, 0.77, 0.35 Tasks: 177 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.4 us, 1.6 sy, 0.0 ni, 86.4 id, 3.5 wa, 0.0 hi, 0.1 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.6G 25G 1.0M 4.0G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 5d9a58d3b4f2 grafana 0.07% 58.38MiB / 31.41GiB 0.18% 24.7kB / 5.66kB 0B / 25.1MB 21 91b31a86dd6e policy-api 0.10% 673.4MiB / 31.41GiB 2.09% 7MB / 2.55MB 0B / 0B 54 093f354f29eb mariadb 0.02% 102MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 11.2MB / 70.8MB 18 53aa97178af3 prometheus 0.00% 24.96MiB / 31.41GiB 0.08% 55kB / 6.43kB 0B / 0B 13 + echo + source_safely /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose ++ cd /w/workspace/policy-api-montreal-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to grafana, policy-api, policy-db-migrator, mariadb, prometheus mariadb | 2024-06-17 18:14:48+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-06-17 18:14:48+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-06-17 18:14:48+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-06-17 18:14:48+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-06-17 18:14:48 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-06-17 18:14:48 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-06-17 18:14:48 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-06-17 18:14:49+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-06-17 18:14:50+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-06-17 18:14:50+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-06-17 18:14:50 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 95 ... mariadb | 2024-06-17 18:14:50 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-06-17 18:14:50 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-06-17 18:14:50 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-06-17 18:14:50 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-06-17 18:14: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-06-17 18:14:50 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-06-17 18:14:50 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-06-17 18:14:50 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-06-17 18:14:50 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-06-17 18:14:50 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-06-17 18:14:50 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-06-17 18:14:50 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-06-17 18:14:50 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-06-17 18:14:50 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-06-17 18:14:50 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-06-17 18:14:50 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-06-17 18:14:50 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-06-17 18:14: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-06-17 18:14:51+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-06-17 18:14:52+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-06-17 18:14:52+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2024-06-17 18:14:52+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2024-06-17 18:14:52+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 grafana | logger=settings t=2024-06-17T18:14:50.993090793Z level=info msg="Starting Grafana" version=11.0.0 commit=83b9528bce85cf9371320f6d6e450916156da3f6 branch=v11.0.x compiled=2024-06-17T18:14:50Z grafana | logger=settings t=2024-06-17T18:14:50.993414647Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-06-17T18:14:50.993426527Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-06-17T18:14:50.993430467Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-06-17T18:14:50.993433868Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-06-17T18:14:50.993436788Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-06-17T18:14:50.993442948Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-06-17T18:14:50.993447998Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-06-17T18:14:50.993451388Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-06-17T18:14:50.993455448Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-06-17T18:14:50.993458658Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-06-17T18:14:50.993464248Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-06-17T18:14:50.993468058Z level=info msg=Target target=[all] grafana | logger=settings t=2024-06-17T18:14:50.99366734Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-06-17T18:14:50.9936706Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-06-17T18:14:50.99367353Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-06-17T18:14:50.99367622Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-06-17T18:14:50.99367902Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-06-17T18:14:50.99368527Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-06-17T18:14:50.994014164Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-06-17T18:14:50.994072705Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-06-17T18:14:50.995962157Z level=info msg="Locking database" grafana | logger=migrator t=2024-06-17T18:14:50.995982278Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-06-17T18:14:50.996777627Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-06-17T18:14:50.997701008Z level=info msg="Migration successfully executed" id="create migration_log table" duration=919.531µs grafana | logger=migrator t=2024-06-17T18:14:51.004265114Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-06-17T18:14:51.005138035Z level=info msg="Migration successfully executed" id="create user table" duration=872.401µs grafana | logger=migrator t=2024-06-17T18:14:51.008424745Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-06-17T18:14:51.009347496Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=921.071µs policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.3:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.4:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v3.1.4) policy-api | policy-api | [2024-06-17T18:15:04.041+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 23 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-06-17T18:15:04.043+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-06-17T18:15:05.738+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-06-17T18:15:05.826+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 77 ms. Found 6 JPA repository interfaces. policy-api | [2024-06-17T18:15:06.240+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-06-17T18:15:06.241+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-06-17T18:15:06.884+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-06-17T18:15:06.892+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-06-17T18:15:06.894+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-06-17T18:15:06.894+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] policy-api | [2024-06-17T18:15:06.985+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-06-17T18:15:06.986+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2872 ms policy-api | [2024-06-17T18:15:07.389+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-06-17T18:15:07.458+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-api | [2024-06-17T18:15:07.462+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-api | [2024-06-17T18:15:07.501+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2024-06-17T18:15:07.867+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-api | [2024-06-17T18:15:07.888+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-06-17T18:15:07.996+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@3d37203b policy-api | [2024-06-17T18:15:07.998+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-06-17T18:15:08.027+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-06-17T18:15:08.029+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead policy-api | [2024-06-17T18:15:09.919+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-api | [2024-06-17T18:15:09.922+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-06-17T18:15:11.129+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-06-17T18:15:11.910+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-06-17T18:15:12.868+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-06-17T18:15:13.058+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@5c1348c6, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@4f3eddc0, org.springframework.security.web.context.SecurityContextHolderFilter@69cf9acb, org.springframework.security.web.header.HeaderWriterFilter@62c4ad40, org.springframework.security.web.authentication.logout.LogoutFilter@dcaa0e8, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@3341ba8e, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@5f160f9c, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@234a08ea, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@729f8c5d, org.springframework.security.web.access.ExceptionTranslationFilter@4567dcbc, org.springframework.security.web.access.intercept.AuthorizationFilter@543d242e] policy-api | [2024-06-17T18:15:13.898+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-06-17T18:15:13.952+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-06-17T18:15:13.981+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-06-17T18:15:13.999+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.671 seconds (process running for 11.272) policy-api | [2024-06-17T18:15:19.389+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-06-17T18:15:19.389+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-06-17T18:15:19.390+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-api | [2024-06-17T18:15:21.791+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-06-17T18:15:21.924+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes policy-api | [2024-06-17T18:15:22.178+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2024-06-17T18:15:23.365+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies policy-api | [2024-06-17T18:15:25.313+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-06-17T18:15:25.663+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-06-17T18:15:25.945+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2024-06-17T18:15:26.192+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 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;' 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-06-17 18:14:53+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-06-17 18:14:53 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-06-17 18:14:53 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-06-17 18:14:53 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-06-17 18:14:53 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-06-17 18:14:53 0 [Note] InnoDB: Buffer pool(s) dump completed at 240617 18:14:53 mariadb | 2024-06-17 18:14:54 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-06-17 18:14:54 0 [Note] InnoDB: Shutdown completed; log sequence number 329738; transaction id 298 mariadb | 2024-06-17 18:14:54 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-06-17 18:14:54+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-06-17 18:14:54+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. policy-api | [2024-06-17T18:15:26.437+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-06-17T18:15:26.667+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2024-06-17T18:14:51.012462433Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-06-17T18:14:51.013321914Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=858.771µs grafana | logger=migrator t=2024-06-17T18:14:51.016396651Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-06-17T18:14:51.01713507Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=738.579µs grafana | logger=migrator t=2024-06-17T18:14:51.023453016Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-06-17T18:14:51.024181184Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=735.208µs grafana | logger=migrator t=2024-06-17T18:14:51.027976301Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-06-17T18:14:51.031676115Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=3.700195ms grafana | logger=migrator t=2024-06-17T18:14:51.035151447Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-06-17T18:14:51.036423822Z level=info msg="Migration successfully executed" id="create user table v2" duration=1.270705ms grafana | logger=migrator t=2024-06-17T18:14:51.043271925Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-06-17T18:14:51.045126838Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.858063ms grafana | logger=migrator t=2024-06-17T18:14:51.050012967Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-06-17T18:14:51.051041809Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.028892ms grafana | logger=migrator t=2024-06-17T18:14:51.055032947Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-06-17T18:14:51.055831557Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=797.65µs grafana | logger=migrator t=2024-06-17T18:14:51.062213234Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-06-17T18:14:51.06354725Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=1.334216ms grafana | logger=migrator t=2024-06-17T18:14:51.067964884Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-06-17T18:14:51.069829286Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.869533ms grafana | logger=migrator t=2024-06-17T18:14:51.073127876Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-06-17T18:14:51.073170597Z level=info msg="Migration successfully executed" id="Update user table charset" duration=44.241µs grafana | logger=migrator t=2024-06-17T18:14:51.076499847Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-06-17T18:14:51.07759469Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.094303ms grafana | logger=migrator t=2024-06-17T18:14:51.082951795Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-06-17T18:14:51.083185968Z level=info msg="Migration successfully executed" id="Add missing user data" duration=227.562µs grafana | logger=migrator t=2024-06-17T18:14:51.085610647Z level=info msg="Executing migration" id="Add is_disabled column to user" mariadb | mariadb | 2024-06-17 18:14:54 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-06-17 18:14:54 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-06-17 18:14:54 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-06-17 18:14:54 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-06-17 18:14:54 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-06-17 18:14: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-06-17 18:14:54 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-06-17 18:14:54 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-06-17 18:14:54 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-06-17 18:14:54 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-06-17 18:14:54 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-06-17 18:14:54 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-06-17 18:14:54 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-06-17 18:14:54 0 [Note] InnoDB: log sequence number 329738; transaction id 299 mariadb | 2024-06-17 18:14:54 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-06-17 18:14:54 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-06-17 18:14:54 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-06-17 18:14:54 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-06-17 18:14:54 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-06-17 18:14:54 0 [Note] Server socket created on IP: '::'. mariadb | 2024-06-17 18:14:54 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-06-17 18:14:54 0 [Note] InnoDB: Buffer pool(s) load completed at 240617 18:14:54 mariadb | 2024-06-17 18:14:54 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) mariadb | 2024-06-17 18:14:54 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) grafana | logger=migrator t=2024-06-17T18:14:51.087478539Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.867342ms grafana | logger=migrator t=2024-06-17T18:14:51.091111273Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-06-17T18:14:51.09248772Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.377667ms grafana | logger=migrator t=2024-06-17T18:14:51.095715079Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-06-17T18:14:51.096840893Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.127964ms grafana | logger=migrator t=2024-06-17T18:14:51.101765562Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-06-17T18:14:51.109795239Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=8.029347ms grafana | logger=migrator t=2024-06-17T18:14:51.113139939Z level=info msg="Executing migration" id="Add uid column to user" grafana | logger=migrator t=2024-06-17T18:14:51.114232953Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=1.089804ms grafana | logger=migrator t=2024-06-17T18:14:51.117372771Z level=info msg="Executing migration" id="Update uid column values for users" grafana | logger=migrator t=2024-06-17T18:14:51.117599714Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=221.672µs grafana | logger=migrator t=2024-06-17T18:14:51.120693581Z level=info msg="Executing migration" id="Add unique index user_uid" grafana | logger=migrator t=2024-06-17T18:14:51.12142952Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=735.389µs grafana | logger=migrator t=2024-06-17T18:14:51.126109846Z 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-06-17T18:14:51.126580682Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=470.536µs grafana | logger=migrator t=2024-06-17T18:14:51.12969339Z level=info msg="Executing migration" id="update login and email fields to lowercase" grafana | logger=migrator t=2024-06-17T18:14:51.130258226Z level=info msg="Migration successfully executed" id="update login and email fields to lowercase" duration=564.676µs grafana | logger=migrator t=2024-06-17T18:14:51.133591527Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-06-17T18:14:51.134373466Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=775.089µs grafana | logger=migrator t=2024-06-17T18:14:51.140360129Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-06-17T18:14:51.141488002Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.126284ms grafana | logger=migrator t=2024-06-17T18:14:51.14464714Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-06-17T18:14:51.145812494Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.172884ms grafana | logger=migrator t=2024-06-17T18:14:51.148885632Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-06-17T18:14:51.14961984Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=730.188µs grafana | logger=migrator t=2024-06-17T18:14:51.15459715Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-06-17T18:14:51.15536437Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=766.73µs grafana | logger=migrator t=2024-06-17T18:14:51.158099293Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-06-17T18:14:51.158123423Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=27.91µs grafana | logger=migrator t=2024-06-17T18:14:51.161233321Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-06-17T18:14:51.161911599Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=676.198µs grafana | logger=migrator t=2024-06-17T18:14:51.16695801Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-06-17T18:14:51.167955482Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=997.672µs grafana | logger=migrator t=2024-06-17T18:14:51.172415966Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-06-17T18:14:51.173476059Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.063263ms grafana | logger=migrator t=2024-06-17T18:14:51.176858369Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-06-17T18:14:51.177919102Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.060573ms grafana | logger=migrator t=2024-06-17T18:14:51.182852742Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-06-17T18:14:51.185924409Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.065717ms grafana | logger=migrator t=2024-06-17T18:14:51.188856334Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-06-17T18:14:51.189697735Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=835.02µs grafana | logger=migrator t=2024-06-17T18:14:51.193824515Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-06-17T18:14:51.194509793Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=685.198µs grafana | logger=migrator t=2024-06-17T18:14:51.200285822Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-06-17T18:14:51.201664669Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.378287ms grafana | logger=migrator t=2024-06-17T18:14:51.205150561Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-06-17T18:14:51.206248135Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.096774ms grafana | logger=migrator t=2024-06-17T18:14:51.209501644Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-06-17T18:14:51.210199782Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=697.838µs grafana | logger=migrator t=2024-06-17T18:14:51.213546473Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-06-17T18:14:51.214450314Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=905.421µs grafana | logger=migrator t=2024-06-17T18:14:51.225403246Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-06-17T18:14:51.22736287Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=1.962864ms grafana | logger=migrator t=2024-06-17T18:14:51.232750925Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-06-17T18:14:51.233324192Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=576.427µs grafana | logger=migrator t=2024-06-17T18:14:51.23643867Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-06-17T18:14:51.23732762Z level=info msg="Migration successfully executed" id="create star table" duration=888.381µs grafana | logger=migrator t=2024-06-17T18:14:51.240962624Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-06-17T18:14:51.242470122Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.506558ms grafana | logger=migrator t=2024-06-17T18:14:51.247913438Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-06-17T18:14:51.248848229Z level=info msg="Migration successfully executed" id="create org table v1" duration=934.421µs grafana | logger=migrator t=2024-06-17T18:14:51.255183686Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-06-17T18:14:51.25714461Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.962514ms grafana | logger=migrator t=2024-06-17T18:14:51.260818524Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-06-17T18:14:51.262216241Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.396867ms grafana | logger=migrator t=2024-06-17T18:14:51.265580691Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-06-17T18:14:51.266447852Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=866.691µs grafana | logger=migrator t=2024-06-17T18:14:51.270008985Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-06-17T18:14:51.270968337Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=958.862µs grafana | logger=migrator t=2024-06-17T18:14:51.277950251Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-06-17T18:14:51.279316948Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.365406ms grafana | logger=migrator t=2024-06-17T18:14:51.283114453Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-06-17T18:14:51.283299596Z level=info msg="Migration successfully executed" id="Update org table charset" duration=85.901µs grafana | logger=migrator t=2024-06-17T18:14:51.28696548Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-06-17T18:14:51.287035731Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=71.911µs grafana | logger=migrator t=2024-06-17T18:14:51.290890768Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-06-17T18:14:51.291370043Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=478.905µs grafana | logger=migrator t=2024-06-17T18:14:51.297097092Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-06-17T18:14:51.298082724Z level=info msg="Migration successfully executed" id="create dashboard table" duration=952.302µs grafana | logger=migrator t=2024-06-17T18:14:51.301169552Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-06-17T18:14:51.302443017Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.271935ms grafana | logger=migrator t=2024-06-17T18:14:51.306113431Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-06-17T18:14:51.307236105Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.122094ms grafana | logger=migrator t=2024-06-17T18:14:51.313261258Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-06-17T18:14:51.314112438Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=850.95µs grafana | logger=migrator t=2024-06-17T18:14:51.346410738Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-06-17T18:14:51.347824165Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.414307ms grafana | logger=migrator t=2024-06-17T18:14:51.3515066Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-06-17T18:14:51.352517442Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.010122ms grafana | logger=migrator t=2024-06-17T18:14:51.358308502Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-06-17T18:14:51.364224434Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=5.915622ms grafana | logger=migrator t=2024-06-17T18:14:51.367751726Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-06-17T18:14:51.368758808Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=1.006702ms grafana | logger=migrator t=2024-06-17T18:14:51.37223511Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-06-17T18:14:51.373651507Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.411527ms grafana | logger=migrator t=2024-06-17T18:14:51.381388641Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-06-17T18:14:51.382388063Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=992.002µs grafana | logger=migrator t=2024-06-17T18:14:51.387013359Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-06-17T18:14:51.387401994Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=388.435µs grafana | logger=migrator t=2024-06-17T18:14:51.39041704Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-06-17T18:14:51.391334611Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=916.871µs grafana | logger=migrator t=2024-06-17T18:14:51.396768527Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-06-17T18:14:51.396879928Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=111.111µs grafana | logger=migrator t=2024-06-17T18:14:51.400149408Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-06-17T18:14:51.402466966Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.323608ms grafana | logger=migrator t=2024-06-17T18:14:51.405685345Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-06-17T18:14:51.407481086Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.795351ms grafana | logger=migrator t=2024-06-17T18:14:51.412891932Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-06-17T18:14:51.415038298Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=2.157946ms grafana | logger=migrator t=2024-06-17T18:14:51.418046974Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-06-17T18:14:51.418977005Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=922.811µs grafana | logger=migrator t=2024-06-17T18:14:51.423008634Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-06-17T18:14:51.42513531Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.126426ms grafana | logger=migrator t=2024-06-17T18:14:51.472909947Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-06-17T18:14:51.475207975Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=2.302358ms grafana | logger=migrator t=2024-06-17T18:14:51.47897348Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-06-17T18:14:51.480040223Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.066683ms grafana | logger=migrator t=2024-06-17T18:14:51.483131781Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-06-17T18:14:51.483161351Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=30.501µs grafana | logger=migrator t=2024-06-17T18:14:51.485841193Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-06-17T18:14:51.485866434Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=25.681µs grafana | logger=migrator t=2024-06-17T18:14:51.49058227Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-06-17T18:14:51.492823147Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.240337ms grafana | logger=migrator t=2024-06-17T18:14:51.495815824Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-06-17T18:14:51.498146442Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.330488ms grafana | logger=migrator t=2024-06-17T18:14:51.50131919Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-06-17T18:14:51.503673479Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.353839ms grafana | logger=migrator t=2024-06-17T18:14:51.50960602Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-06-17T18:14:51.511070468Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.464228ms grafana | logger=migrator t=2024-06-17T18:14:51.515174998Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-06-17T18:14:51.515707854Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=532.806µs grafana | logger=migrator t=2024-06-17T18:14:51.519133606Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-06-17T18:14:51.520627444Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.493228ms grafana | logger=migrator t=2024-06-17T18:14:51.527855661Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-06-17T18:14:51.529121156Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.320516ms grafana | logger=migrator t=2024-06-17T18:14:51.532086972Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-06-17T18:14:51.532134053Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=47.661µs grafana | logger=migrator t=2024-06-17T18:14:51.535355822Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-06-17T18:14:51.536356344Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.000122ms grafana | logger=migrator t=2024-06-17T18:14:51.541247433Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-06-17T18:14:51.542101813Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=853.72µs grafana | logger=migrator t=2024-06-17T18:14:51.54515251Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-06-17T18:14:51.551282244Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=6.127294ms grafana | logger=migrator t=2024-06-17T18:14:51.554556124Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-06-17T18:14:51.555681997Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=1.122003ms grafana | logger=migrator t=2024-06-17T18:14:51.558606553Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-06-17T18:14:51.559640585Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.036873ms grafana | logger=migrator t=2024-06-17T18:14:51.564273961Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-06-17T18:14:51.565372464Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.094973ms grafana | logger=migrator t=2024-06-17T18:14:51.568233129Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-06-17T18:14:51.568687635Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=454.166µs grafana | logger=migrator t=2024-06-17T18:14:51.571520819Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-06-17T18:14:51.572219307Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=698.018µs grafana | logger=migrator t=2024-06-17T18:14:51.578202989Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-06-17T18:14:51.580555548Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.352309ms grafana | logger=migrator t=2024-06-17T18:14:51.583818987Z level=info msg="Executing migration" id="Add index for dashboard_title" policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb (172.17.0.3) 3306 port [tcp/mysql] succeeded! policy-db-migrator | 321 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Preparing upgrade release version: 1300 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 policy-db-migrator | upgrade: 0 -> 1300 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:51.584987961Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=1.168794ms grafana | logger=migrator t=2024-06-17T18:14:51.5881625Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-06-17T18:14:51.588478933Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=324.294µs grafana | logger=migrator t=2024-06-17T18:14:51.594063251Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-06-17T18:14:51.594377635Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=313.684µs grafana | logger=migrator t=2024-06-17T18:14:51.597903277Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-06-17T18:14:51.59975807Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.859513ms grafana | logger=migrator t=2024-06-17T18:14:51.603222752Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-06-17T18:14:51.605719032Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.49496ms grafana | logger=migrator t=2024-06-17T18:14:51.61132586Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-06-17T18:14:51.612436003Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.109703ms grafana | logger=migrator t=2024-06-17T18:14:51.615300188Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-06-17T18:14:51.616199559Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=898.831µs grafana | logger=migrator t=2024-06-17T18:14:51.618963322Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-06-17T18:14:51.619942694Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=973.292µs grafana | logger=migrator t=2024-06-17T18:14:51.625085036Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-06-17T18:14:51.625985407Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=900.441µs grafana | logger=migrator t=2024-06-17T18:14:51.62874449Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-06-17T18:14:51.630058066Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.313596ms grafana | logger=migrator t=2024-06-17T18:14:51.633345666Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-06-17T18:14:51.640447391Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=7.102245ms grafana | logger=migrator t=2024-06-17T18:14:51.646158081Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-06-17T18:14:51.647060292Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=901.621µs grafana | logger=migrator t=2024-06-17T18:14:51.650106038Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-06-17T18:14:51.650900958Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=794.98µs grafana | logger=migrator t=2024-06-17T18:14:51.65353246Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-06-17T18:14:51.654566742Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.037313ms grafana | logger=migrator t=2024-06-17T18:14:51.661222433Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-06-17T18:14:51.662108493Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=885.15µs grafana | logger=migrator t=2024-06-17T18:14:51.665113979Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-06-17T18:14:51.667252075Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.138516ms grafana | logger=migrator t=2024-06-17T18:14:51.669866807Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-06-17T18:14:51.671694649Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=1.827562ms grafana | logger=migrator t=2024-06-17T18:14:51.676364756Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-06-17T18:14:51.676385726Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=21.35µs grafana | logger=migrator t=2024-06-17T18:14:51.678976717Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-06-17T18:14:51.67921765Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=241.023µs grafana | logger=migrator t=2024-06-17T18:14:51.681255685Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-06-17T18:14:51.683099327Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=1.843402ms grafana | logger=migrator t=2024-06-17T18:14:51.688053637Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-06-17T18:14:51.688370461Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=316.394µs grafana | logger=migrator t=2024-06-17T18:14:51.691180275Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-06-17T18:14:51.691482208Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=301.493µs grafana | logger=migrator t=2024-06-17T18:14:51.694609386Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-06-17T18:14:51.697130776Z level=info msg="Migration successfully executed" id="Add uid column" duration=2.521ms grafana | logger=migrator t=2024-06-17T18:14:51.701460269Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-06-17T18:14:51.701836783Z level=info msg="Migration successfully executed" id="Update uid value" duration=376.474µs grafana | logger=migrator t=2024-06-17T18:14:51.706922555Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-06-17T18:14:51.707796066Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=872.981µs grafana | logger=migrator t=2024-06-17T18:14:51.710793022Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-06-17T18:14:51.711568221Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=775.159µs grafana | logger=migrator t=2024-06-17T18:14:51.714597258Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-06-17T18:14:51.715257046Z level=info msg="Migration successfully executed" id="create api_key table" duration=659.418µs policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | 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 | -------------- grafana | logger=migrator t=2024-06-17T18:14:51.719654859Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-06-17T18:14:51.721087146Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.431427ms grafana | logger=migrator t=2024-06-17T18:14:51.726606013Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-06-17T18:14:51.728480065Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.870792ms grafana | logger=migrator t=2024-06-17T18:14:51.732922649Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-06-17T18:14:51.73467728Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.753921ms grafana | logger=migrator t=2024-06-17T18:14:51.739185955Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-06-17T18:14:51.740050285Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=864.46µs grafana | logger=migrator t=2024-06-17T18:14:51.744270046Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-06-17T18:14:51.745199977Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=929.411µs grafana | logger=migrator t=2024-06-17T18:14:51.749686282Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-06-17T18:14:51.750499181Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=813.109µs grafana | logger=migrator t=2024-06-17T18:14:51.754451389Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-06-17T18:14:51.764585062Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=10.133813ms grafana | logger=migrator t=2024-06-17T18:14:51.768516839Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-06-17T18:14:51.769142837Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=625.498µs grafana | logger=migrator t=2024-06-17T18:14:51.773463089Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-06-17T18:14:51.774338Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=880.271µs grafana | logger=migrator t=2024-06-17T18:14:51.77766839Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-06-17T18:14:51.778563811Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=894.941µs grafana | logger=migrator t=2024-06-17T18:14:51.782591859Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-06-17T18:14:51.78347368Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=880.571µs grafana | logger=migrator t=2024-06-17T18:14:51.786922752Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-06-17T18:14:51.787390257Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=466.075µs grafana | logger=migrator t=2024-06-17T18:14:51.790401414Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-06-17T18:14:51.791036471Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=636.127µs grafana | logger=migrator t=2024-06-17T18:14:51.793575652Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-06-17T18:14:51.793609362Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=34.47µs grafana | logger=migrator t=2024-06-17T18:14:51.798031936Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-06-17T18:14:51.801911423Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=3.877267ms grafana | logger=migrator t=2024-06-17T18:14:51.805332644Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-06-17T18:14:51.809079639Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=3.745255ms grafana | logger=migrator t=2024-06-17T18:14:51.812373919Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-06-17T18:14:51.812663453Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=289.244µs grafana | logger=migrator t=2024-06-17T18:14:51.816644221Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-06-17T18:14:51.819202012Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.558891ms grafana | logger=migrator t=2024-06-17T18:14:51.823542424Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-06-17T18:14:51.826957125Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=3.419051ms grafana | logger=migrator t=2024-06-17T18:14:51.830318436Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-06-17T18:14:51.831237297Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=919.941µs grafana | logger=migrator t=2024-06-17T18:14:51.83557472Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" 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 grafana | logger=migrator t=2024-06-17T18:14:51.836274938Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=700.598µs grafana | logger=migrator t=2024-06-17T18:14:51.83976295Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-06-17T18:14:51.840700712Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=937.012µs grafana | logger=migrator t=2024-06-17T18:14:51.844822431Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-06-17T18:14:51.845828253Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.005092ms grafana | logger=migrator t=2024-06-17T18:14:51.849994064Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-06-17T18:14:51.851019326Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.021432ms grafana | logger=migrator t=2024-06-17T18:14:51.854602949Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-06-17T18:14:51.855595821Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=992.772µs grafana | logger=migrator t=2024-06-17T18:14:51.859096314Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-06-17T18:14:51.859334057Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=237.163µs grafana | logger=migrator t=2024-06-17T18:14:51.863938552Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-06-17T18:14:51.863966163Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=28.621µs grafana | logger=migrator t=2024-06-17T18:14:51.867677257Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-06-17T18:14:51.87284473Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=5.165373ms grafana | logger=migrator t=2024-06-17T18:14:51.877199072Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-06-17T18:14:51.880381091Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=3.181559ms grafana | logger=migrator t=2024-06-17T18:14:51.884073936Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-06-17T18:14:51.884298838Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=227.542µs grafana | logger=migrator t=2024-06-17T18:14:51.88859471Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-06-17T18:14:51.889766284Z level=info msg="Migration successfully executed" id="create quota table v1" duration=1.171324ms grafana | logger=migrator t=2024-06-17T18:14:51.896385374Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-06-17T18:14:51.897488678Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.108224ms grafana | logger=migrator t=2024-06-17T18:14:51.900925969Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-06-17T18:14:51.90101445Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=35.33µs grafana | logger=migrator t=2024-06-17T18:14:51.905471584Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-06-17T18:14:51.906483236Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.011182ms grafana | logger=migrator t=2024-06-17T18:14:51.9100908Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-06-17T18:14:51.911066992Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=975.732µs grafana | logger=migrator t=2024-06-17T18:14:51.914605115Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-06-17T18:14:51.918061896Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=3.449271ms grafana | logger=migrator t=2024-06-17T18:14:51.921588019Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-06-17T18:14:51.921621879Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=28.01µs grafana | logger=migrator t=2024-06-17T18:14:51.925914811Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-06-17T18:14:51.926886413Z level=info msg="Migration successfully executed" id="create session table" duration=967.612µs grafana | logger=migrator t=2024-06-17T18:14:51.930362505Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-06-17T18:14:51.930574837Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=183.562µs grafana | logger=migrator t=2024-06-17T18:14:51.934378263Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-06-17T18:14:51.934804589Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=420.115µs grafana | logger=migrator t=2024-06-17T18:14:51.939692278Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-06-17T18:14:51.941115235Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.422467ms grafana | logger=migrator t=2024-06-17T18:14:51.945029342Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-06-17T18:14:51.945990854Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=962.262µs grafana | logger=migrator t=2024-06-17T18:14:51.950990534Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-06-17T18:14:51.951019335Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=35.881µs grafana | logger=migrator t=2024-06-17T18:14:51.955427638Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-06-17T18:14:51.955468658Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=42.47µs grafana | logger=migrator t=2024-06-17T18:14:51.959372746Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-06-17T18:14:51.964437087Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=5.073492ms grafana | logger=migrator t=2024-06-17T18:14:51.968997812Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-06-17T18:14:51.972298432Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.30014ms grafana | logger=migrator t=2024-06-17T18:14:51.975543111Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-06-17T18:14:51.975725343Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=181.782µs grafana | logger=migrator t=2024-06-17T18:14:51.979873483Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-06-17T18:14:51.980040945Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=167.252µs grafana | logger=migrator t=2024-06-17T18:14:51.983527847Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-06-17T18:14:51.984954225Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.427568ms grafana | logger=migrator t=2024-06-17T18:14:51.988773771Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-06-17T18:14:51.988921563Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=55.781µs grafana | logger=migrator t=2024-06-17T18:14:51.992265713Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-06-17T18:14:51.995496242Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.229919ms grafana | logger=migrator t=2024-06-17T18:14:51.999328708Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-06-17T18:14:51.999583082Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=254.113µs grafana | logger=migrator t=2024-06-17T18:14:52.002677719Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-06-17T18:14:52.005949988Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.271899ms grafana | logger=migrator t=2024-06-17T18:14:52.009367989Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2024-06-17T18:14:52.012508826Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.139947ms grafana | logger=migrator t=2024-06-17T18:14:52.016462493Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-06-17T18:14:52.016535814Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=69.951µs grafana | logger=migrator t=2024-06-17T18:14:52.057181895Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-06-17T18:14:52.058718993Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.536638ms grafana | logger=migrator t=2024-06-17T18:14:52.062639269Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-06-17T18:14:52.064016075Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.376656ms grafana | logger=migrator t=2024-06-17T18:14:52.224593553Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2024-06-17T18:14:52.226594407Z level=info msg="Migration successfully executed" id="create alert table v1" duration=2.000114ms grafana | logger=migrator t=2024-06-17T18:14:52.233339687Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-06-17T18:14:52.235739906Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=2.399678ms grafana | logger=migrator t=2024-06-17T18:14:52.245621472Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-06-17T18:14:52.246742115Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.124783ms grafana | logger=migrator t=2024-06-17T18:14:52.249468688Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-06-17T18:14:52.25049634Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.027922ms grafana | logger=migrator t=2024-06-17T18:14:52.253426015Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-06-17T18:14:52.254260785Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=834.4µs grafana | logger=migrator t=2024-06-17T18:14:52.257196449Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-06-17T18:14:52.258255552Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.058753ms grafana | logger=migrator t=2024-06-17T18:14:52.262459791Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-06-17T18:14:52.263601985Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.143024ms grafana | logger=migrator t=2024-06-17T18:14:52.266875653Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-06-17T18:14:52.277969725Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=11.092692ms grafana | logger=migrator t=2024-06-17T18:14:52.281354395Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-06-17T18:14:52.282029963Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=675.718µs grafana | logger=migrator t=2024-06-17T18:14:52.285836758Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2024-06-17T18:14:52.286657528Z 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=820.67µs grafana | logger=migrator t=2024-06-17T18:14:52.290165469Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-06-17T18:14:52.290782877Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=617.258µs grafana | logger=migrator t=2024-06-17T18:14:52.294546861Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-06-17T18:14:52.295526383Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=979.021µs grafana | logger=migrator t=2024-06-17T18:14:52.300948847Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2024-06-17T18:14:52.301967669Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.018623ms grafana | logger=migrator t=2024-06-17T18:14:52.305162916Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-06-17T18:14:52.311195798Z level=info msg="Migration successfully executed" id="Add column is_default" duration=6.030792ms grafana | logger=migrator t=2024-06-17T18:14:52.314913192Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-06-17T18:14:52.317644104Z level=info msg="Migration successfully executed" id="Add column frequency" duration=2.731862ms grafana | logger=migrator t=2024-06-17T18:14:52.32154069Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-06-17T18:14:52.325364965Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.823595ms grafana | logger=migrator t=2024-06-17T18:14:52.328835937Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-06-17T18:14:52.334392792Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=5.556925ms grafana | logger=migrator t=2024-06-17T18:14:52.337711231Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-06-17T18:14:52.339432642Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.733631ms grafana | logger=migrator t=2024-06-17T18:14:52.343959495Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-06-17T18:14:52.344012636Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=54.161µs grafana | logger=migrator t=2024-06-17T18:14:52.347199974Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-06-17T18:14:52.347231894Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=32.39µs grafana | logger=migrator t=2024-06-17T18:14:52.350334071Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-06-17T18:14:52.351227431Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=893.05µs grafana | logger=migrator t=2024-06-17T18:14:52.355627383Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql grafana | logger=migrator t=2024-06-17T18:14:52.357282123Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.65424ms grafana | logger=migrator t=2024-06-17T18:14:52.36213207Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2024-06-17T18:14:52.36298675Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=854.39µs grafana | logger=migrator t=2024-06-17T18:14:52.366457202Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2024-06-17T18:14:52.367516364Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.058763ms grafana | logger=migrator t=2024-06-17T18:14:52.371974257Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-06-17T18:14:52.373061599Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.009342ms grafana | logger=migrator t=2024-06-17T18:14:52.376364818Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2024-06-17T18:14:52.380140763Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.775285ms grafana | logger=migrator t=2024-06-17T18:14:52.383413362Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2024-06-17T18:14:52.387165156Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.750744ms grafana | logger=migrator t=2024-06-17T18:14:52.413573199Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-06-17T18:14:52.414074244Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=499.596µs grafana | logger=migrator t=2024-06-17T18:14:52.420835805Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2024-06-17T18:14:52.421877677Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.042432ms grafana | logger=migrator t=2024-06-17T18:14:52.425138285Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2024-06-17T18:14:52.426176778Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.038463ms grafana | logger=migrator t=2024-06-17T18:14:52.430980164Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2024-06-17T18:14:52.437538912Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=6.557708ms grafana | logger=migrator t=2024-06-17T18:14:52.440988023Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2024-06-17T18:14:52.441100304Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=112.031µs grafana | logger=migrator t=2024-06-17T18:14:52.444442934Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-06-17T18:14:52.445418155Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=974.731µs grafana | logger=migrator t=2024-06-17T18:14:52.547001217Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2024-06-17T18:14:52.54891597Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.916453ms grafana | logger=migrator t=2024-06-17T18:14:52.554137731Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2024-06-17T18:14:52.554420685Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=282.554µs grafana | logger=migrator t=2024-06-17T18:14:52.59715643Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2024-06-17T18:14:52.598745059Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.577619ms grafana | logger=migrator t=2024-06-17T18:14:52.605084584Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2024-06-17T18:14:52.606585581Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.501787ms grafana | logger=migrator t=2024-06-17T18:14:52.688783684Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2024-06-17T18:14:52.690524904Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.74105ms grafana | logger=migrator t=2024-06-17T18:14:52.694660503Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2024-06-17T18:14:52.695715556Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.054473ms grafana | logger=migrator t=2024-06-17T18:14:52.700173828Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2024-06-17T18:14:52.702245173Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=2.060545ms grafana | logger=migrator t=2024-06-17T18:14:52.708254744Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2024-06-17T18:14:52.709951654Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.68765ms grafana | logger=migrator t=2024-06-17T18:14:52.713326984Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2024-06-17T18:14:52.713358854Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=32.75µs grafana | logger=migrator t=2024-06-17T18:14:52.718002279Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2024-06-17T18:14:52.725813952Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=7.812313ms grafana | logger=migrator t=2024-06-17T18:14:52.738826266Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2024-06-17T18:14:52.740508675Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=1.682489ms grafana | logger=migrator t=2024-06-17T18:14:52.746473806Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2024-06-17T18:14:52.750954919Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=4.476913ms grafana | logger=migrator t=2024-06-17T18:14:52.783298081Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-06-17T18:14:52.785011212Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=1.713321ms grafana | logger=migrator t=2024-06-17T18:14:52.851549149Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2024-06-17T18:14:52.853152228Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.60486ms grafana | logger=migrator t=2024-06-17T18:14:52.859047217Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0450-pdpgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-06-17T18:14:52.861331685Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=2.291228ms grafana | logger=migrator t=2024-06-17T18:14:52.866809229Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2024-06-17T18:14:52.879448579Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=12.63825ms grafana | logger=migrator t=2024-06-17T18:14:52.884321046Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2024-06-17T18:14:52.884946914Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=626.128µs grafana | logger=migrator t=2024-06-17T18:14:52.889548668Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" grafana | logger=migrator t=2024-06-17T18:14:52.891527371Z 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.989383ms grafana | logger=migrator t=2024-06-17T18:14:52.897672234Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2024-06-17T18:14:52.89811378Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=441.056µs grafana | logger=migrator t=2024-06-17T18:14:52.901385698Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2024-06-17T18:14:52.902151287Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=765.199µs grafana | logger=migrator t=2024-06-17T18:14:52.905382355Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2024-06-17T18:14:52.905725349Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=342.464µs grafana | logger=migrator t=2024-06-17T18:14:52.911005512Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2024-06-17T18:14:52.915759308Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.753136ms grafana | logger=migrator t=2024-06-17T18:14:52.919215329Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2024-06-17T18:14:52.923358188Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.142319ms grafana | logger=migrator t=2024-06-17T18:14:52.92691724Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2024-06-17T18:14:52.9286125Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.68952ms grafana | logger=migrator t=2024-06-17T18:14:52.933480838Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2024-06-17T18:14:52.93448268Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.001531ms grafana | logger=migrator t=2024-06-17T18:14:52.93787312Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2024-06-17T18:14:52.938238994Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=365.644µs grafana | logger=migrator t=2024-06-17T18:14:52.942531325Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2024-06-17T18:14:52.949396006Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.864001ms grafana | logger=migrator t=2024-06-17T18:14:52.95391182Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2024-06-17T18:14:52.955451288Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.537868ms grafana | logger=migrator t=2024-06-17T18:14:52.960144303Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2024-06-17T18:14:52.960352156Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=209.123µs grafana | logger=migrator t=2024-06-17T18:14:52.963529673Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2024-06-17T18:14:52.963932498Z level=info msg="Migration successfully executed" id="Move region to single row" duration=402.725µs grafana | logger=migrator t=2024-06-17T18:14:52.96836069Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2024-06-17T18:14:52.969265761Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=905.311µs grafana | logger=migrator t=2024-06-17T18:14:52.972917194Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2024-06-17T18:14:52.973750094Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=832.63µs grafana | logger=migrator t=2024-06-17T18:14:52.976965042Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-06-17T18:14:52.977902333Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=940.311µs grafana | logger=migrator t=2024-06-17T18:14:52.983509799Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-06-17T18:14:52.985073768Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.524328ms grafana | logger=migrator t=2024-06-17T18:14:52.988986864Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2024-06-17T18:14:52.990395571Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.401977ms grafana | logger=migrator t=2024-06-17T18:14:52.994117835Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2024-06-17T18:14:52.995032606Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=914.081µs grafana | logger=migrator t=2024-06-17T18:14:52.999745421Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2024-06-17T18:14:52.999814572Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=68.891µs grafana | logger=migrator t=2024-06-17T18:14:53.002930839Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2024-06-17T18:14:53.004177254Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.246505ms grafana | logger=migrator t=2024-06-17T18:14:53.009033392Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2024-06-17T18:14:53.010271496Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.238034ms grafana | logger=migrator t=2024-06-17T18:14:53.016748343Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.01825669Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.507847ms grafana | logger=migrator t=2024-06-17T18:14:53.02163209Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2024-06-17T18:14:53.022539491Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=907.451µs grafana | logger=migrator t=2024-06-17T18:14:53.026609929Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2024-06-17T18:14:53.026927043Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=310.764µs grafana | logger=migrator t=2024-06-17T18:14:53.031370255Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2024-06-17T18:14:53.031920342Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=550.307µs grafana | logger=migrator t=2024-06-17T18:14:53.035726317Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2024-06-17T18:14:53.035833088Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=107.541µs grafana | logger=migrator t=2024-06-17T18:14:53.04019381Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2024-06-17T18:14:53.040939299Z level=info msg="Migration successfully executed" id="create team table" duration=745.209µs grafana | logger=migrator t=2024-06-17T18:14:53.045407681Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2024-06-17T18:14:53.046343452Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=935.171µs grafana | logger=migrator t=2024-06-17T18:14:53.051749876Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2024-06-17T18:14:53.052621396Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=870.48µs grafana | logger=migrator t=2024-06-17T18:14:53.057306312Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2024-06-17T18:14:53.064478286Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=7.172864ms grafana | logger=migrator t=2024-06-17T18:14:53.07069036Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2024-06-17T18:14:53.070870752Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=180.662µs grafana | logger=migrator t=2024-06-17T18:14:53.077098416Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2024-06-17T18:14:53.078840246Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.74127ms grafana | logger=migrator t=2024-06-17T18:14:53.086960912Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2024-06-17T18:14:53.087770062Z level=info msg="Migration successfully executed" id="create team member table" duration=807µs grafana | logger=migrator t=2024-06-17T18:14:53.093304597Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2024-06-17T18:14:53.094660173Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.354986ms grafana | logger=migrator t=2024-06-17T18:14:53.104847684Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2024-06-17T18:14:53.106326961Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.478907ms grafana | logger=migrator t=2024-06-17T18:14:53.111639794Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2024-06-17T18:14:53.112536874Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=896.98µs grafana | logger=migrator t=2024-06-17T18:14:53.119364945Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2024-06-17T18:14:53.128014178Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=8.648242ms grafana | logger=migrator t=2024-06-17T18:14:53.13670344Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2024-06-17T18:14:53.145338882Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=8.632362ms grafana | logger=migrator t=2024-06-17T18:14:53.150964238Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2024-06-17T18:14:53.15446992Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=3.505752ms grafana | logger=migrator t=2024-06-17T18:14:53.15953551Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2024-06-17T18:14:53.160504581Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=968.381µs grafana | logger=migrator t=2024-06-17T18:14:53.168064791Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2024-06-17T18:14:53.16965327Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.587338ms grafana | logger=migrator t=2024-06-17T18:14:53.174235834Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2024-06-17T18:14:53.175263266Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.027202ms grafana | logger=migrator t=2024-06-17T18:14:53.181101215Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2024-06-17T18:14:53.182534362Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.434606ms grafana | logger=migrator t=2024-06-17T18:14:53.192305227Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2024-06-17T18:14:53.193874816Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.569019ms grafana | logger=migrator t=2024-06-17T18:14:53.198368659Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2024-06-17T18:14:53.199256459Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=888.05µs grafana | logger=migrator t=2024-06-17T18:14:53.205481323Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2024-06-17T18:14:53.206473645Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=990.611µs grafana | logger=migrator t=2024-06-17T18:14:53.214056524Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2024-06-17T18:14:53.215627823Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.570929ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0690-toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.220236457Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" prometheus | ts=2024-06-17T18:14:50.151Z caller=main.go:573 level=info msg="No time or size retention was set so using the default time retention" duration=15d 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-06-17T18:14:53.221011867Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=775.47µs prometheus | ts=2024-06-17T18:14:50.151Z caller=main.go:617 level=info msg="Starting Prometheus Server" mode=server version="(version=2.52.0, branch=HEAD, revision=879d80922a227c37df502e7315fad8ceb10a986d)" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.227815227Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" prometheus | ts=2024-06-17T18:14:50.151Z caller=main.go:622 level=info build_context="(go=go1.22.3, platform=linux/amd64, user=root@1b4f4c206e41, date=20240508-21:56:43, tags=netgo,builtinassets,stringlabels)" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.228190501Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=367.694µs prometheus | ts=2024-06-17T18:14:50.152Z caller=main.go:623 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-06-17T18:14:53.232884767Z level=info msg="Executing migration" id="create tag table" prometheus | ts=2024-06-17T18:14:50.152Z caller=main.go:624 level=info fd_limits="(soft=1048576, hard=1048576)" policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2024-06-17T18:14:53.23398556Z level=info msg="Migration successfully executed" id="create tag table" duration=1.100413ms prometheus | ts=2024-06-17T18:14:50.152Z caller=main.go:625 level=info vm_limits="(soft=unlimited, hard=unlimited)" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.240059391Z level=info msg="Executing migration" id="add index tag.key_value" prometheus | ts=2024-06-17T18:14:50.154Z caller=web.go:568 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 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-06-17T18:14:53.2416276Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.567609ms prometheus | ts=2024-06-17T18:14:50.154Z caller=main.go:1129 level=info msg="Starting TSDB ..." policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.245961841Z level=info msg="Executing migration" id="create login attempt table" prometheus | ts=2024-06-17T18:14:50.159Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.246837832Z level=info msg="Migration successfully executed" id="create login attempt table" duration=877.111µs prometheus | ts=2024-06-17T18:14:50.159Z 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-06-17T18:14:53.253417449Z level=info msg="Executing migration" id="add index login_attempt.username" prometheus | ts=2024-06-17T18:14:50.162Z caller=head.go:616 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2024-06-17T18:14:53.25433546Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=917.581µs prometheus | ts=2024-06-17T18:14:50.162Z caller=head.go:703 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.8µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.26112091Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" prometheus | ts=2024-06-17T18:14:50.162Z caller=head.go:711 level=info component=tsdb msg="Replaying WAL, this may take a while" 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-06-17T18:14:53.262063972Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=947.712µs prometheus | ts=2024-06-17T18:14:50.163Z caller=head.go:783 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.270048356Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" prometheus | ts=2024-06-17T18:14:50.163Z caller=head.go:820 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=43.531µs wal_replay_duration=647.907µs wbl_replay_duration=320ns chunk_snapshot_load_duration=0s mmap_chunk_replay_duration=2.8µs total_replay_duration=730.278µs policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.285018833Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=14.972067ms prometheus | ts=2024-06-17T18:14:50.166Z caller=main.go:1150 level=info fs_type=EXT4_SUPER_MAGIC policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.290227044Z level=info msg="Executing migration" id="create login_attempt v2" prometheus | ts=2024-06-17T18:14:50.166Z caller=main.go:1153 level=info msg="TSDB started" policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-06-17T18:14:53.290935113Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=707.309µs prometheus | ts=2024-06-17T18:14:50.166Z caller=main.go:1335 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.295263324Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" prometheus | ts=2024-06-17T18:14:50.167Z caller=main.go:1372 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=994.882µs db_storage=1.6µs remote_storage=2.07µs web_handler=520ns query_engine=1.25µs scrape=232.262µs scrape_sd=132.032µs notify=32.34µs notify_sd=21.44µs rules=1.72µs tracing=6.89µs 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-06-17T18:14:53.296476288Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.211954ms prometheus | ts=2024-06-17T18:14:50.167Z caller=main.go:1114 level=info msg="Server is ready to receive web requests." policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.302338357Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" prometheus | ts=2024-06-17T18:14:50.167Z caller=manager.go:163 level=info component="rule manager" msg="Starting rule manager..." policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.302656191Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=317.824µs policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.307246355Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-06-17T18:14:53.307863663Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=612.178µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.317831871Z level=info msg="Executing migration" id="create user auth table" 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-06-17T18:14:53.319008655Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.176873ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.357926184Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.359545643Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.619289ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.365440473Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-06-17T18:14:53.365588515Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=149.332µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.370462833Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" 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-06-17T18:14:53.37697295Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=6.510817ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.38122944Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.38635943Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.12719ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.390812223Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-06-17T18:14:53.396514491Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.701728ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.403815187Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" 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-06-17T18:14:53.409410353Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.594766ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.414700355Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.415633236Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=932.431µs policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.419882476Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2024-06-17T18:14:53.425015237Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.138711ms grafana | logger=migrator t=2024-06-17T18:14:53.429705943Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-06-17T18:14:53.430455732Z level=info msg="Migration successfully executed" id="create server_lock table" duration=749.599µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.434322747Z level=info msg="Executing migration" id="add index server_lock.operation_uid" 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-06-17T18:14:53.435278899Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=955.922µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.4404607Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.44217414Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.71281ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.447166169Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-06-17T18:14:53.44813998Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=979.861µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.455166684Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-06-17T18:14:53.456636681Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.524798ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.494393837Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-06-17T18:14:53.495964216Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.569899ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.501004205Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-06-17T18:14:53.506563641Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.559076ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.516467518Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.517400499Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=931.331µs policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.525682397Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-06-17T18:14:53.527111794Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.429347ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.531604477Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-06-17T18:14:53.533220296Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.606709ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.536640526Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.537480526Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=839.82µs policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.543300975Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-06-17T18:14:53.544344358Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.042983ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.549270296Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2024-06-17T18:14:53.549406537Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=135.491µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.557003477Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.55722725Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=223.093µs policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.565200924Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-06-17T18:14:53.566127105Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=924.061µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.577271017Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-06-17T18:14:53.579114908Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.838851ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.583713453Z 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-06-17T18:14:53.585240471Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.531818ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.59280808Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-06-17T18:14:53.592887381Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=80.451µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.601887188Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-06-17T18:14:53.603398065Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.522778ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.610038534Z 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-06-17T18:14:53.611776404Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.74423ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.617245359Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-06-17T18:14:53.618482043Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.230954ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.622980917Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-06-17T18:14:53.624008719Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.027132ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.628978737Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.639753065Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=10.772468ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.645664795Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-06-17T18:14:53.646759468Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.091213ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.65115266Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-06-17T18:14:53.651321002Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=165.812µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.655724923Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.657658386Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.932963ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.662575685Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-06-17T18:14:53.663567017Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=990.991µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.669710129Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-06-17T18:14:53.670712511Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.002422ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.676009163Z 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-06-17T18:14:53.676118325Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=106.462µs policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.681232705Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.682626531Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.393636ms policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-06-17T18:14:53.689521973Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.691050821Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.528058ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.700948238Z 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-06-17T18:14:53.702489306Z 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.547588ms policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2024-06-17T18:14:53.708539808Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.70958734Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.047322ms policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2024-06-17T18:14:53.717027488Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.726312068Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=9.28544ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.731459129Z 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-06-17T18:14:53.73240804Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=947.361µs policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-06-17T18:14:53.73665518Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.737773553Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.118283ms policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2024-06-17T18:14:53.741980973Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.769932043Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=27.9527ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.772844418Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.796276695Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=23.431717ms policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-06-17T18:14:53.804574663Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.805369922Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=794.899µ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-06-17T18:14:53.81193691Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.813921063Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.982993ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.817131911Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.82297736Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.842929ms policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.82632771Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-06-17T18:14:53.832155128Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=5.820208ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.835285705Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.836273577Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=987.512µs policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.839407504Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-06-17T18:14:53.840396736Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=989.122µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.843675895Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" 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-06-17T18:14:53.844648766Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=972.401µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.847918395Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.848982518Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.063953ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.852036304Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-06-17T18:14:53.852100164Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=64.78µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.855010069Z level=info msg="Executing migration" id="add column for to alert_rule" 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-06-17T18:14:53.860951599Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=5.94199ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.864014785Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.870220878Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.205833ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.874350057Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-06-17T18:14:53.880813624Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.463167ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.885115514Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" 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-06-17T18:14:53.886098056Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=982.672µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.889434125Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.890501168Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.066563ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.89491272Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-06-17T18:14:53.904040098Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=9.127408ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.90760751Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.912088323Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=4.475743ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.915409832Z 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-06-17T18:14:53.916409934Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=999.442µs policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-06-17T18:14:53.919657113Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.925727464Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=6.069831ms 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-06-17T18:14:53.92956375Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.935646262Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.082122ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.939041292Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.939126953Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=86.151µs policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-06-17T18:14:53.94393799Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.945580059Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.642209ms 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-06-17T18:14:53.950236114Z 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-06-17T18:14:53.951670551Z 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.435187ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.954659786Z 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-06-17T18:14:53.955727979Z 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.068103ms policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-06-17T18:14:53.959799467Z 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-06-17T18:14:53.959861638Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=62.751µs 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-06-17T18:14:53.963040906Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.969132127Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.090961ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.97276038Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:53.979036574Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.275254ms policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-06-17T18:14:53.982189442Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.988630428Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.436416ms 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-06-17T18:14:53.992741976Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:53.999027141Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.284695ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.002170858Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.009393503Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=7.222075ms grafana | logger=migrator t=2024-06-17T18:14:54.012913485Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-06-17T18:14:54.012977505Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=64.72µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.020208891Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-06-17T18:14:54.021574277Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.374466ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.031354582Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.040046865Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=8.689423ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.049135553Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-06-17T18:14:54.049205673Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=70.81µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.053812958Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-06-17T18:14:54.062771013Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=8.957355ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.095988295Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.09805254Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=2.068425ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.103884199Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-06-17T18:14:54.112136566Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=8.254087ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.117132265Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-06-17T18:14:54.117756533Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=624.038µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.122011123Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.123056475Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.045132ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.128304047Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-06-17T18:14:54.139476459Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=11.309303ms policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-06-17T18:14:54.143474026Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.144221835Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=747.659µs policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.150025774Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.1522186Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=2.197036ms policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-06-17T18:14:54.155843312Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.158544664Z level=info msg="Migration successfully executed" id="create alert_image table" duration=2.684332ms 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-06-17T18:14:54.162558342Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.164867049Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=2.313678ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.168283289Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.16838202Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=99.561µs policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-06-17T18:14:54.17342458Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.174509283Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.084383ms 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-06-17T18:14:54.177473798Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.17855758Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.083462ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.183425728Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.184001455Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-06-17T18:14:54.187683528Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.188284035Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=600.167µs policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.191644825Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.192935971Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.289966ms policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-06-17T18:14:54.230549784Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.240123407Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=9.574923ms policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-06-17T18:14:54.285674826Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.287195544Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.522678ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.29107527Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.293105623Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=2.022244ms policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-06-17T18:14:54.298975333Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.299822653Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=846.46µs policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.303200233Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.305119995Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.918952ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.308845559Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-06-17T18:14:54.310178415Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.333456ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.313750737Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-06-17T18:14:54.313806358Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=62.551µs policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-06-17T18:14:54.319311513Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-06-17T18:14:54.319455454Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=150.131µs policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-06-17T18:14:54.322746273Z level=info msg="Executing migration" id="add library_element folder uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.331254914Z level=info msg="Migration successfully executed" id="add library_element folder uid" duration=8.509331ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.334747885Z level=info msg="Executing migration" id="populate library_element folder_uid" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.335112679Z level=info msg="Migration successfully executed" id="populate library_element folder_uid" duration=364.774µs policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-06-17T18:14:54.341300792Z level=info msg="Executing migration" id="add index library_element org_id-folder_uid-name-kind" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.342463946Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_uid-name-kind" duration=1.161194ms policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-06-17T18:14:54.345711454Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.34619937Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=487.996µs policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.350163307Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.351201789Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.031122ms policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-06-17T18:14:54.354515968Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2024-06-17T18:14:54.355339478Z level=info msg="Migration successfully executed" id="create secrets table" duration=826.39µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.360252276Z level=info msg="Executing migration" id="rename data_keys name column to id" 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-06-17T18:14:54.393902194Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=33.649587ms policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.399693202Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-06-17T18:14:54.40720184Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=7.508378ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.410172306Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-06-17T18:14:54.410441859Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=274.424µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.415384857Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.448092233Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=32.706966ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.451725386Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-06-17T18:14:54.480716249Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=28.991183ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.483962457Z level=info msg="Executing migration" id="create kv_store table v1" 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-06-17T18:14:54.484849767Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=887.03µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.49182121Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.493743122Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.921322ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.497211043Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-06-17T18:14:54.497843581Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=632.368µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.501862678Z level=info msg="Executing migration" id="create permission 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-06-17T18:14:54.504275657Z level=info msg="Migration successfully executed" id="create permission table" duration=2.416519ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.511050517Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.512520994Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.470908ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.515744582Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-06-17T18:14:54.517112158Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.368376ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.520393287Z level=info msg="Executing migration" id="create role table" 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-06-17T18:14:54.521393789Z level=info msg="Migration successfully executed" id="create role table" duration=993.901µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.524474515Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.533759695Z level=info msg="Migration successfully executed" id="add column display_name" duration=9.284329ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.538737003Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-06-17T18:14:54.544714634Z level=info msg="Migration successfully executed" id="add column group_name" duration=5.976531ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.548190855Z level=info msg="Executing migration" id="add index role.org_id" 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-06-17T18:14:54.54939523Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.204115ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.552397705Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.55367205Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.275235ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.558697319Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-06-17T18:14:54.559906544Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.209055ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.56297175Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-06-17T18:14:54.564037282Z level=info msg="Migration successfully executed" id="create team role table" duration=1.068262ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.567005547Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.568138261Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.135694ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.572943997Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-06-17T18:14:54.574058801Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.114554ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.577250638Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-06-17T18:14:54.578720556Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.467288ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.584551184Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.585598587Z level=info msg="Migration successfully executed" id="create user role table" duration=1.047103ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.591190133Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-06-17T18:14:54.592461708Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.272905ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.596949761Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-06-17T18:14:54.598209786Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.259685ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.601453154Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.603895143Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=2.440609ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.609776172Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-06-17T18:14:54.610743974Z level=info msg="Migration successfully executed" id="create builtin role table" duration=968.362µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.613555477Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-06-17T18:14:54.61464543Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.089693ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.617428852Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.618501855Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.068583ms policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.623228541Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2024-06-17T18:14:54.63158456Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=8.355549ms grafana | logger=migrator t=2024-06-17T18:14:54.634731927Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2024-06-17T18:14:54.63583453Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.102533ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.638851936Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.639998619Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.150373ms policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2024-06-17T18:14:54.644751475Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.645769647Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.017522ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.648744102Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.649793855Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.048863ms policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2024-06-17T18:14:54.65277565Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.65360662Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=802.499µs policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2024-06-17T18:14:54.658498978Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.660021996Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.522208ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.662997471Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.669628329Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=6.635198ms policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2024-06-17T18:14:54.67222407Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.677863776Z level=info msg="Migration successfully executed" id="permission kind migration" duration=5.638946ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.682518111Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.688194098Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=5.673787ms policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2024-06-17T18:14:54.691101342Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.696958432Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=5.85679ms policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-06-17T18:14:54.699829746Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.700619495Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=789.329µs policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.705734276Z level=info msg="Executing migration" id="add permission action scope role_id index" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.706539865Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=804.849µs policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2024-06-17T18:14:54.710737495Z level=info msg="Executing migration" id="remove permission role_id action scope index" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.711571344Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=833.749µs policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.714793992Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.715793464Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=998.552µs policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-06-17T18:14:54.719993074Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.721232328Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.238594ms policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2024-06-17T18:14:54.724338195Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.724486937Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=148.512µs policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.727645924Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.727786546Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=141.702µs policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2024-06-17T18:14:54.732044016Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.732824295Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=780.059µs policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2024-06-17T18:14:54.736307086Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.737330138Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.024152ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.740518356Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | msg grafana | logger=migrator t=2024-06-17T18:14:54.741313505Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=794.609µs policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2024-06-17T18:14:54.744370932Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.744632535Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=260.184µs policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2024-06-17T18:14:54.748935585Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.749595473Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=659.548µs policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2024-06-17T18:14:54.753020944Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.75436896Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.345705ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.758152394Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.760257539Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=2.103895ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-06-17T18:14:54.76455325Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.77390979Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=9.35808ms policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.777341761Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.777539213Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=199.462µs policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-06-17T18:14:54.781254287Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.782249379Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=994.032µs policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.786684251Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.787702923Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.017722ms policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=migrator t=2024-06-17T18:14:54.790465796Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.791403177Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=938.041µs policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-06-17T18:14:54.796020562Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.802392527Z level=info msg="Migration successfully executed" id="add correlation config column" duration=6.371665ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.805614575Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.80690675Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.292535ms policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) grafana | logger=migrator t=2024-06-17T18:14:54.809940376Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.811071859Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.130963ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.81624134Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.838801316Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=22.560456ms policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2024-06-17T18:14:54.841911163Z level=info msg="Executing migration" id="create correlation v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.842867584Z level=info msg="Migration successfully executed" id="create correlation v2" duration=955.571µs policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-06-17T18:14:54.847656481Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.848735144Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.078253ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.851532377Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.85262617Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.093253ms policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-06-17T18:14:54.855696966Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.85681965Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.122094ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.86275312Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.862993832Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=240.412µs policy-db-migrator | TRUNCATE TABLE sequence grafana | logger=migrator t=2024-06-17T18:14:54.86616262Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.867177362Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.013682ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.870113486Z level=info msg="Executing migration" id="add provisioning column" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.880132635Z level=info msg="Migration successfully executed" id="add provisioning column" duration=10.018889ms policy-db-migrator | > upgrade 0100-pdpstatistics.sql grafana | logger=migrator t=2024-06-17T18:14:54.885910703Z level=info msg="Executing migration" id="create entity_events table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.886986396Z level=info msg="Migration successfully executed" id="create entity_events table" duration=1.075753ms policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-06-17T18:14:54.889968111Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.891236386Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.265185ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.894369763Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.894820958Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | DROP TABLE pdpstatistics grafana | logger=migrator t=2024-06-17T18:14:54.900735778Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.901532127Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.907147063Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.908465049Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.318676ms policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-06-17T18:14:54.913271106Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.915391041Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=2.120575ms policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats grafana | logger=migrator t=2024-06-17T18:14:54.921178209Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.922746538Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.567849ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.926065727Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.927477814Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.411407ms policy-db-migrator | > upgrade 0120-statistics_sequence.sql grafana | logger=migrator t=2024-06-17T18:14:54.930697412Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.931833115Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.137913ms policy-db-migrator | DROP TABLE statistics_sequence grafana | logger=migrator t=2024-06-17T18:14:54.985123904Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-17T18:14:54.986520211Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.393777ms policy-db-migrator | grafana | logger=migrator t=2024-06-17T18:14:54.992892796Z level=info msg="Executing migration" id="Drop public config table" policy-db-migrator | policyadmin: OK: upgrade (1300) grafana | logger=migrator t=2024-06-17T18:14:54.994343523Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.450107ms policy-db-migrator | name version grafana | logger=migrator t=2024-06-17T18:14:55.000121091Z level=info msg="Executing migration" id="Recreate dashboard public config v2" policy-db-migrator | policyadmin 1300 grafana | logger=migrator t=2024-06-17T18:14:55.001410436Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.288865ms policy-db-migrator | ID script operation from_version to_version tag success atTime grafana | logger=migrator t=2024-06-17T18:14:55.004323811Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:55 grafana | logger=migrator t=2024-06-17T18:14:55.006131092Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.806901ms policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:55 grafana | logger=migrator t=2024-06-17T18:14:55.042083106Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:55 grafana | logger=migrator t=2024-06-17T18:14:55.044075899Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.991133ms policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:55 grafana | logger=migrator t=2024-06-17T18:14:55.049094879Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:55 grafana | logger=migrator t=2024-06-17T18:14:55.05089257Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.797481ms policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:55 grafana | logger=migrator t=2024-06-17T18:14:55.054123048Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:55 grafana | logger=migrator t=2024-06-17T18:14:55.075947836Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=21.820968ms policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:55 grafana | logger=migrator t=2024-06-17T18:14:55.078784499Z level=info msg="Executing migration" id="add annotations_enabled column" policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:55 grafana | logger=migrator t=2024-06-17T18:14:55.085691661Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.907132ms policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:55 grafana | logger=migrator t=2024-06-17T18:14:55.091982125Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:55 grafana | logger=migrator t=2024-06-17T18:14:55.100389724Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.407109ms policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:55 grafana | logger=migrator t=2024-06-17T18:14:55.103759254Z level=info msg="Executing migration" id="delete orphaned public dashboards" policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:55 grafana | logger=migrator t=2024-06-17T18:14:55.104002637Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=241.363µs policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:55 grafana | logger=migrator t=2024-06-17T18:14:55.107195604Z level=info msg="Executing migration" id="add share column" policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:55 grafana | logger=migrator t=2024-06-17T18:14:55.116046639Z level=info msg="Migration successfully executed" id="add share column" duration=8.847285ms policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:55 grafana | logger=migrator t=2024-06-17T18:14:55.118948273Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:55 grafana | logger=migrator t=2024-06-17T18:14:55.119141355Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=193.042µs policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:56 grafana | logger=migrator t=2024-06-17T18:14:55.123096692Z level=info msg="Executing migration" id="create file table" policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:56 grafana | logger=migrator t=2024-06-17T18:14:55.125526271Z level=info msg="Migration successfully executed" id="create file table" duration=2.435399ms policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:56 grafana | logger=migrator t=2024-06-17T18:14:55.129577809Z level=info msg="Executing migration" id="file table idx: path natural pk" policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:56 grafana | logger=migrator t=2024-06-17T18:14:55.130841103Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.262835ms policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:56 grafana | logger=migrator t=2024-06-17T18:14:55.134849411Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:56 grafana | logger=migrator t=2024-06-17T18:14:55.136140956Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.290865ms policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:56 grafana | logger=migrator t=2024-06-17T18:14:55.142741374Z level=info msg="Executing migration" id="create file_meta table" policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:56 grafana | logger=migrator t=2024-06-17T18:14:55.143786336Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.044252ms policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:56 grafana | logger=migrator t=2024-06-17T18:14:55.147343848Z level=info msg="Executing migration" id="file table idx: path key" policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:56 grafana | logger=migrator t=2024-06-17T18:14:55.15002101Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=2.669962ms policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:56 grafana | logger=migrator t=2024-06-17T18:14:55.153968226Z level=info msg="Executing migration" id="set path collation in file table" policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:56 grafana | logger=migrator t=2024-06-17T18:14:55.154073107Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=104.541µs policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:56 grafana | logger=migrator t=2024-06-17T18:14:55.159194528Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:56 grafana | logger=migrator t=2024-06-17T18:14:55.15942117Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=226.182µs policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:57 grafana | logger=migrator t=2024-06-17T18:14:55.162961222Z level=info msg="Executing migration" id="managed permissions migration" policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:57 grafana | logger=migrator t=2024-06-17T18:14:55.163956804Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=993.782µs policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:57 grafana | logger=migrator t=2024-06-17T18:14:55.168024002Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:57 grafana | logger=migrator t=2024-06-17T18:14:55.168585688Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=561.016µs policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:57 grafana | logger=migrator t=2024-06-17T18:14:55.172629236Z level=info msg="Executing migration" id="RBAC action name migrator" policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:57 grafana | logger=migrator t=2024-06-17T18:14:55.174428037Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.793951ms policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:57 grafana | logger=migrator t=2024-06-17T18:14:55.178634407Z level=info msg="Executing migration" id="Add UID column to playlist" policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:57 grafana | logger=migrator t=2024-06-17T18:14:55.188489023Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=9.854076ms policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:57 grafana | logger=migrator t=2024-06-17T18:14:55.191717491Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-06-17T18:14:55.191954564Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=236.613µs policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:57 grafana | logger=migrator t=2024-06-17T18:14:55.194895159Z level=info msg="Executing migration" id="Add index for uid in playlist" policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:57 grafana | logger=migrator t=2024-06-17T18:14:55.195939721Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.045152ms policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:57 grafana | logger=migrator t=2024-06-17T18:14:55.200017249Z level=info msg="Executing migration" id="update group index for alert rules" policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:57 grafana | logger=migrator t=2024-06-17T18:14:55.200666807Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=649.108µs policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:57 grafana | logger=migrator t=2024-06-17T18:14:55.203886515Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:57 grafana | logger=migrator t=2024-06-17T18:14:55.20432034Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=435.775µs policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:57 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:57 grafana | logger=migrator t=2024-06-17T18:14:55.208026454Z level=info msg="Executing migration" id="admin only folder/dashboard permission" policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:57 grafana | logger=migrator t=2024-06-17T18:14:55.208791343Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=765.809µs policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:57 grafana | logger=migrator t=2024-06-17T18:14:55.212232333Z level=info msg="Executing migration" id="add action column to seed_assignment" policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:57 grafana | logger=migrator t=2024-06-17T18:14:55.221453632Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=9.221299ms policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:58 grafana | logger=migrator t=2024-06-17T18:14:55.225275907Z level=info msg="Executing migration" id="add scope column to seed_assignment" policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:58 grafana | logger=migrator t=2024-06-17T18:14:55.234654278Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=9.377581ms policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:58 grafana | logger=migrator t=2024-06-17T18:14:55.237951227Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:58 grafana | logger=migrator t=2024-06-17T18:14:55.238826377Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=873.97µs policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:58 grafana | logger=migrator t=2024-06-17T18:14:55.242247638Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:58 grafana | logger=migrator t=2024-06-17T18:14:55.318414546Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=76.165918ms policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:58 grafana | logger=migrator t=2024-06-17T18:14:55.32300192Z level=info msg="Executing migration" id="add unique index builtin_role_name back" policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:58 grafana | logger=migrator t=2024-06-17T18:14:55.324239315Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.234245ms policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:58 grafana | logger=migrator t=2024-06-17T18:14:55.327506893Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:58 grafana | logger=migrator t=2024-06-17T18:14:55.328812689Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.305306ms policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:58 grafana | logger=migrator t=2024-06-17T18:14:55.33228582Z level=info msg="Executing migration" id="add primary key to seed_assigment" policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:58 grafana | logger=migrator t=2024-06-17T18:14:55.358440969Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=26.154718ms policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:58 grafana | logger=migrator t=2024-06-17T18:14:55.363790542Z level=info msg="Executing migration" id="add origin column to seed_assignment" policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:58 grafana | logger=migrator t=2024-06-17T18:14:55.372874319Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=9.082857ms policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:58 grafana | logger=migrator t=2024-06-17T18:14:55.378183291Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:58 grafana | logger=migrator t=2024-06-17T18:14:55.378496245Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=311.814µs policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:58 grafana | logger=migrator t=2024-06-17T18:14:55.381802664Z level=info msg="Executing migration" id="prevent seeding OnCall access" policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:58 grafana | logger=migrator t=2024-06-17T18:14:55.381983316Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=180.552µs policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:58 grafana | logger=migrator t=2024-06-17T18:14:55.386336098Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:58 grafana | logger=migrator t=2024-06-17T18:14:55.386833064Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=500.256µs policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:58 grafana | logger=migrator t=2024-06-17T18:14:55.390543547Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:58 grafana | logger=migrator t=2024-06-17T18:14:55.391009693Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=465.636µs policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:58 grafana | logger=migrator t=2024-06-17T18:14:55.394696776Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:59 grafana | logger=migrator t=2024-06-17T18:14:55.395206722Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=508.566µs policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:59 grafana | logger=migrator t=2024-06-17T18:14:55.399831797Z level=info msg="Executing migration" id="create folder table" policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:59 grafana | logger=migrator t=2024-06-17T18:14:55.40094326Z level=info msg="Migration successfully executed" id="create folder table" duration=1.110633ms policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:59 grafana | logger=migrator t=2024-06-17T18:14:55.404586283Z level=info msg="Executing migration" id="Add index for parent_uid" policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:59 grafana | logger=migrator t=2024-06-17T18:14:55.405917469Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.330636ms policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:59 grafana | logger=migrator t=2024-06-17T18:14:55.411499515Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:59 grafana | logger=migrator t=2024-06-17T18:14:55.412691199Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.191104ms policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:59 grafana | logger=migrator t=2024-06-17T18:14:55.418817011Z level=info msg="Executing migration" id="Update folder title length" policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:59 grafana | logger=migrator t=2024-06-17T18:14:55.418846111Z level=info msg="Migration successfully executed" id="Update folder title length" duration=28.78µs policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:59 grafana | logger=migrator t=2024-06-17T18:14:55.421752716Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:59 grafana | logger=migrator t=2024-06-17T18:14:55.42383765Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=2.084094ms policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:59 grafana | logger=migrator t=2024-06-17T18:14:55.427699775Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:59 grafana | logger=migrator t=2024-06-17T18:14:55.428887129Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.184584ms policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:59 grafana | logger=migrator t=2024-06-17T18:14:55.433067419Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:59 grafana | logger=migrator t=2024-06-17T18:14:55.434978881Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.908922ms policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:59 grafana | logger=migrator t=2024-06-17T18:14:55.438780476Z level=info msg="Executing migration" id="Sync dashboard and folder table" policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:59 grafana | logger=migrator t=2024-06-17T18:14:55.439581536Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=801.08µs policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:14:59 grafana | logger=migrator t=2024-06-17T18:14:55.443162258Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:15:00 grafana | logger=migrator t=2024-06-17T18:14:55.443510842Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=347.754µs policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:15:00 grafana | logger=migrator t=2024-06-17T18:14:55.447636541Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:15:00 grafana | logger=migrator t=2024-06-17T18:14:55.448838335Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.201294ms policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1706241814550800u 1 2024-06-17 18:15:00 grafana | logger=migrator t=2024-06-17T18:14:55.455889068Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1706241814550900u 1 2024-06-17 18:15:00 grafana | logger=migrator t=2024-06-17T18:14:55.457232774Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.344336ms policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1706241814550900u 1 2024-06-17 18:15:00 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1706241814550900u 1 2024-06-17 18:15:00 grafana | logger=migrator t=2024-06-17T18:14:55.4619489Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1706241814550900u 1 2024-06-17 18:15:00 grafana | logger=migrator t=2024-06-17T18:14:55.463781611Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.829741ms policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1706241814550900u 1 2024-06-17 18:15:00 grafana | logger=migrator t=2024-06-17T18:14:55.468437576Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1706241814550900u 1 2024-06-17 18:15:00 grafana | logger=migrator t=2024-06-17T18:14:55.469799752Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.361686ms policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1706241814550900u 1 2024-06-17 18:15:00 grafana | logger=migrator t=2024-06-17T18:14:55.473108121Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1706241814550900u 1 2024-06-17 18:15:00 grafana | logger=migrator t=2024-06-17T18:14:55.474333226Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.226835ms policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1706241814550900u 1 2024-06-17 18:15:00 grafana | logger=migrator t=2024-06-17T18:14:55.477814387Z level=info msg="Executing migration" id="create anon_device table" policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1706241814550900u 1 2024-06-17 18:15:00 grafana | logger=migrator t=2024-06-17T18:14:55.47897118Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.157003ms policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1706241814550900u 1 2024-06-17 18:15:00 grafana | logger=migrator t=2024-06-17T18:14:55.483644856Z level=info msg="Executing migration" id="add unique index anon_device.device_id" policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1706241814550900u 1 2024-06-17 18:15:00 grafana | logger=migrator t=2024-06-17T18:14:55.484970711Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.325605ms policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1706241814550900u 1 2024-06-17 18:15:00 grafana | logger=migrator t=2024-06-17T18:14:55.488512083Z level=info msg="Executing migration" id="add index anon_device.updated_at" policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1706241814551000u 1 2024-06-17 18:15:00 grafana | logger=migrator t=2024-06-17T18:14:55.489850779Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.337296ms policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1706241814551000u 1 2024-06-17 18:15:00 grafana | logger=migrator t=2024-06-17T18:14:55.496005132Z level=info msg="Executing migration" id="create signing_key table" policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1706241814551000u 1 2024-06-17 18:15:00 grafana | logger=migrator t=2024-06-17T18:14:55.497037404Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.005202ms policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1706241814551000u 1 2024-06-17 18:15:01 grafana | logger=migrator t=2024-06-17T18:14:55.500405963Z level=info msg="Executing migration" id="add unique index signing_key.key_id" policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1706241814551000u 1 2024-06-17 18:15:01 grafana | logger=migrator t=2024-06-17T18:14:55.502418607Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=2.013534ms policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1706241814551000u 1 2024-06-17 18:15:01 grafana | logger=migrator t=2024-06-17T18:14:55.505894828Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1706241814551000u 1 2024-06-17 18:15:01 grafana | logger=migrator t=2024-06-17T18:14:55.507886812Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.991794ms grafana | logger=migrator t=2024-06-17T18:14:55.512521516Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1706241814551000u 1 2024-06-17 18:15:01 grafana | logger=migrator t=2024-06-17T18:14:55.513065973Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=544.797µs policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1706241814551000u 1 2024-06-17 18:15:01 grafana | logger=migrator t=2024-06-17T18:14:55.516839937Z level=info msg="Executing migration" id="Add folder_uid for dashboard" policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1706241814551100u 1 2024-06-17 18:15:01 grafana | logger=migrator t=2024-06-17T18:14:55.529301894Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=12.460457ms policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1706241814551200u 1 2024-06-17 18:15:01 grafana | logger=migrator t=2024-06-17T18:14:55.532632984Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1706241814551200u 1 2024-06-17 18:15:01 grafana | logger=migrator t=2024-06-17T18:14:55.533518124Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=886.29µs policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1706241814551200u 1 2024-06-17 18:15:01 grafana | logger=migrator t=2024-06-17T18:14:55.53740805Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1706241814551200u 1 2024-06-17 18:15:01 grafana | logger=migrator t=2024-06-17T18:14:55.537522491Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=116.151µs policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 1706241814551300u 1 2024-06-17 18:15:01 grafana | logger=migrator t=2024-06-17T18:14:55.542417119Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 1706241814551300u 1 2024-06-17 18:15:01 grafana | logger=migrator t=2024-06-17T18:14:55.544474444Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=2.057304ms policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 1706241814551300u 1 2024-06-17 18:15:01 grafana | logger=migrator t=2024-06-17T18:14:55.548456821Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" policy-db-migrator | policyadmin: OK @ 1300 grafana | logger=migrator t=2024-06-17T18:14:55.548520441Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=64.301µs grafana | logger=migrator t=2024-06-17T18:14:55.552396947Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" grafana | logger=migrator t=2024-06-17T18:14:55.553866684Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.466837ms grafana | logger=migrator t=2024-06-17T18:14:55.558101124Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-06-17T18:14:55.559408309Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.306835ms grafana | logger=migrator t=2024-06-17T18:14:55.564282177Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-06-17T18:14:55.56627532Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.992023ms grafana | logger=migrator t=2024-06-17T18:14:55.575883324Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-06-17T18:14:55.576817795Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=934.871µs grafana | logger=migrator t=2024-06-17T18:14:55.581677222Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-06-17T18:14:55.582303389Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=627.417µs grafana | logger=migrator t=2024-06-17T18:14:55.586141265Z level=info msg="Executing migration" id="managed dashboard permissions annotation actions migration" grafana | logger=migrator t=2024-06-17T18:14:55.587382879Z level=info msg="Migration successfully executed" id="managed dashboard permissions annotation actions migration" duration=1.208784ms grafana | logger=migrator t=2024-06-17T18:14:55.592364288Z level=info msg="Executing migration" id="create cloud_migration table v1" grafana | logger=migrator t=2024-06-17T18:14:55.59332912Z level=info msg="Migration successfully executed" id="create cloud_migration table v1" duration=962.922µs grafana | logger=migrator t=2024-06-17T18:14:55.596848131Z level=info msg="Executing migration" id="create cloud_migration_run table v1" grafana | logger=migrator t=2024-06-17T18:14:55.597863913Z level=info msg="Migration successfully executed" id="create cloud_migration_run table v1" duration=1.013572ms grafana | logger=migrator t=2024-06-17T18:14:55.602472168Z level=info msg="Executing migration" id="add stack_id column" grafana | logger=migrator t=2024-06-17T18:14:55.612080221Z level=info msg="Migration successfully executed" id="add stack_id column" duration=9.607784ms grafana | logger=migrator t=2024-06-17T18:14:55.615519271Z level=info msg="Executing migration" id="add region_slug column" grafana | logger=migrator t=2024-06-17T18:14:55.62474609Z level=info msg="Migration successfully executed" id="add region_slug column" duration=9.226939ms grafana | logger=migrator t=2024-06-17T18:14:55.628481254Z level=info msg="Executing migration" id="add cluster_slug column" grafana | logger=migrator t=2024-06-17T18:14:55.636833143Z level=info msg="Migration successfully executed" id="add cluster_slug column" duration=8.350889ms grafana | logger=migrator t=2024-06-17T18:14:55.642264067Z level=info msg="Executing migration" id="alter kv_store.value to longtext" grafana | logger=migrator t=2024-06-17T18:14:55.642420319Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=155.432µs grafana | logger=migrator t=2024-06-17T18:14:55.648588962Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" grafana | logger=migrator t=2024-06-17T18:14:55.659976336Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=11.392484ms grafana | logger=migrator t=2024-06-17T18:14:55.664222286Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" grafana | logger=migrator t=2024-06-17T18:14:55.673199522Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=8.977506ms grafana | logger=migrator t=2024-06-17T18:14:55.700316532Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" grafana | logger=migrator t=2024-06-17T18:14:55.700948289Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=631.527µs grafana | logger=migrator t=2024-06-17T18:14:55.707974332Z level=info msg="migrations completed" performed=558 skipped=0 duration=4.711228015s grafana | logger=migrator t=2024-06-17T18:14:55.709137716Z level=info msg="Unlocking database" grafana | logger=sqlstore t=2024-06-17T18:14:55.726069866Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-06-17T18:14:55.726333649Z level=info msg="Created default organization" grafana | logger=secrets t=2024-06-17T18:14:55.731953235Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.angulardetectorsprovider.dynamic t=2024-06-17T18:14:55.777736524Z level=info msg="Restored cache from database" duration=742.648µs grafana | logger=plugin.store t=2024-06-17T18:14:55.779295423Z level=info msg="Loading plugins..." grafana | logger=plugins.registration t=2024-06-17T18:14:55.818638937Z level=error msg="Could not register plugin" pluginId=xychart error="plugin xychart is already registered" grafana | logger=plugins.initialization t=2024-06-17T18:14:55.818688658Z level=error msg="Could not initialize plugin" pluginId=xychart error="plugin xychart is already registered" grafana | logger=local.finder t=2024-06-17T18:14:55.818889Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-06-17T18:14:55.8189191Z level=info msg="Plugins loaded" count=54 duration=39.626537ms grafana | logger=query_data t=2024-06-17T18:14:55.824949112Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-06-17T18:14:55.828801157Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.notifier.alertmanager org=1 t=2024-06-17T18:14:55.836549238Z level=info msg="Applying new configuration to Alertmanager" configHash=a013a3f424edb13bed8050eaf374d506 grafana | logger=ngalert.state.manager t=2024-06-17T18:14:55.845955159Z level=info msg="Running in alternative execution of Error/NoData mode" grafana | logger=infra.usagestats.collector t=2024-06-17T18:14:55.847914532Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-06-17T18:14:55.849876485Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-06-17T18:14:55.871165017Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-06-17T18:14:55.871189727Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2024-06-17T18:14:55.87145767Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2024-06-17T18:14:55.872731065Z level=info msg="Warming state cache for startup" grafana | logger=ngalert.multiorg.alertmanager t=2024-06-17T18:14:55.874145282Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=http.server t=2024-06-17T18:14:55.888236728Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=ngalert.state.manager t=2024-06-17T18:14:56.706710358Z level=info msg="State cache has been initialized" states=0 duration=833.973172ms grafana | logger=ngalert.scheduler t=2024-06-17T18:14:56.706785038Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 grafana | logger=ticker t=2024-06-17T18:14:56.706870639Z level=info msg=starting first_tick=2024-06-17T18:15:00Z grafana | logger=provisioning.dashboard t=2024-06-17T18:14:56.732104377Z level=info msg="starting to provision dashboards" grafana | logger=provisioning.dashboard t=2024-06-17T18:14:56.990818017Z level=info msg="finished to provision dashboards" grafana | logger=plugins.update.checker t=2024-06-17T18:14:57.07084746Z level=info msg="Update check succeeded" duration=1.196190802s grafana | logger=grafana.update.checker t=2024-06-17T18:14:57.078009904Z level=info msg="Update check succeeded" duration=1.202445686s grafana | logger=plugin.angulardetectorsprovider.dynamic t=2024-06-17T18:14:57.084312298Z level=info msg="Patterns update finished" duration=426.328825ms grafana | logger=grafana-apiserver t=2024-06-17T18:14:57.139349566Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=grafana-apiserver t=2024-06-17T18:14:57.139997394Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" grafana | logger=infra.usagestats t=2024-06-17T18:15:26.890699614Z 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 mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing grafana ... Removing policy-api ... Removing policy-db-migrator ... Removing mariadb ... Removing prometheus ... Removing grafana ... done Removing prometheus ... done Removing policy-db-migrator ... done Removing policy-api ... done Removing mariadb ... done Removing network compose_default ++ cd /w/workspace/policy-api-montreal-project-csit-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.nJKc0whOGi ]] + rsync -av /tmp/tmp.nJKc0whOGi/ /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,344,929 bytes received 95 bytes 2,690,048.00 bytes/sec total size is 1,344,279 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 2119 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/jenkins17634714833132145988.sh ---> sysstat.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins16617699664841102836.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/jenkins3529622686420469325.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-mIp3 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-mIp3/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins16213975738509389737.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config6124127562225364012tmp 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/jenkins12750139472726275067.sh ---> create-netrc.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins1745712044756252595.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-mIp3 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-mIp3/bin to PATH [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins6792597864872439446.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins3549057539626268313.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-mIp3 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-mIp3/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/jenkins1487357291138253304.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-mIp3 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-mIp3/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/219 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-17606 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2800.000 BogoMIPS: 5600.00 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 856 27284 0 4026 30855 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:4f:b2:35 brd ff:ff:ff:ff:ff:ff inet 10.30.106.132/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86028sec preferred_lft 86028sec inet6 fe80::f816:3eff:fe4f:b235/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:5a:d5:a3:9a 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-17606) 06/17/24 _x86_64_ (8 CPU) 18:11:29 LINUX RESTART (8 CPU) 18:12:02 tps rtps wtps bread/s bwrtn/s 18:13:01 295.02 40.65 254.36 1851.48 18953.53 18:14:01 128.08 23.11 104.97 2767.14 23239.59 18:15:01 377.04 11.85 365.19 805.22 75204.42 18:16:01 24.16 0.50 23.66 41.05 11313.31 18:17:01 39.73 0.88 38.84 43.59 12624.35 Average: 172.39 15.31 157.08 1099.15 28297.62 18:12:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:13:01 30152484 31722380 2786736 8.46 68364 1812200 1359092 4.00 846280 1648468 155008 18:14:01 29154460 31665720 3784760 11.49 98780 2691204 1396736 4.11 991480 2431964 688008 18:15:01 27777924 31473940 5161296 15.67 128288 3790364 3293216 9.69 1235512 3468976 1968 18:16:01 27061420 30760316 5877800 17.84 128880 3792296 4079036 12.00 1984828 3436484 88 18:17:01 27906620 31561764 5032600 15.28 129816 3756724 1519592 4.47 1211548 3388316 8648 Average: 28410582 31436824 4528638 13.75 110826 3168558 2329534 6.85 1253930 2874842 170744 18:12:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:13:01 lo 1.49 1.49 0.17 0.17 0.00 0.00 0.00 0.00 18:13:01 ens3 179.38 114.54 1045.19 46.16 0.00 0.00 0.00 0.00 18:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:14:01 lo 6.47 6.47 0.61 0.61 0.00 0.00 0.00 0.00 18:14:01 br-4c4c0e8420cd 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:14:01 ens3 186.62 120.66 4633.22 14.25 0.00 0.00 0.00 0.00 18:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:15:01 veth341d186 33.79 26.46 4.01 2.41 0.00 0.00 0.00 0.00 18:15:01 lo 3.67 3.67 0.32 0.32 0.00 0.00 0.00 0.00 18:15:01 veth8dd3084 0.00 0.18 0.00 0.01 0.00 0.00 0.00 0.00 18:15:01 vetha6ea591 0.37 0.50 0.02 0.03 0.00 0.00 0.00 0.00 18:16:01 lo 9.43 9.43 8.48 8.48 0.00 0.00 0.00 0.00 18:16:01 veth8dd3084 0.18 0.23 0.02 0.77 0.00 0.00 0.00 0.00 18:16:01 vetha6ea591 124.46 104.98 41.35 113.87 0.00 0.00 0.00 0.01 18:16:01 br-4c4c0e8420cd 3.78 4.25 6.18 2.60 0.00 0.00 0.00 0.00 18:17:01 lo 8.28 8.28 0.68 0.68 0.00 0.00 0.00 0.00 18:17:01 ens3 814.51 530.04 11997.47 123.96 0.00 0.00 0.00 0.00 18:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 5.88 5.88 2.06 2.06 0.00 0.00 0.00 0.00 Average: ens3 116.50 75.94 2285.83 18.20 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-17606) 06/17/24 _x86_64_ (8 CPU) 18:11:29 LINUX RESTART (8 CPU) 18:12:02 CPU %user %nice %system %iowait %steal %idle 18:13:01 all 9.95 0.00 0.94 2.51 0.03 86.57 18:13:01 0 8.31 0.00 0.58 0.87 0.03 90.21 18:13:01 1 3.08 0.00 0.36 0.29 0.02 96.26 18:13:01 2 3.77 0.00 1.10 2.43 0.03 92.67 18:13:01 3 11.39 0.00 0.83 5.21 0.02 82.54 18:13:01 4 17.17 0.00 1.70 2.51 0.03 78.59 18:13:01 5 23.37 0.00 1.68 3.26 0.07 71.62 18:13:01 6 2.07 0.00 0.54 5.14 0.00 92.24 18:13:01 7 10.39 0.00 0.76 0.37 0.03 88.44 18:14:01 all 10.06 0.00 1.36 2.51 0.04 86.02 18:14:01 0 3.38 0.00 1.49 0.43 0.03 94.67 18:14:01 1 2.71 0.00 1.29 4.55 0.07 91.38 18:14:01 2 3.78 0.00 1.05 0.64 0.03 94.49 18:14:01 3 4.04 0.00 0.70 0.90 0.05 94.30 18:14:01 4 35.03 0.00 2.21 1.75 0.08 60.93 18:14:01 5 26.00 0.00 2.46 1.24 0.07 70.23 18:14:01 6 1.99 0.00 0.77 10.18 0.03 87.03 18:14:01 7 3.54 0.00 0.89 0.40 0.02 95.15 18:15:01 all 6.17 0.00 2.95 9.43 0.10 81.36 18:15:01 0 10.58 0.00 3.07 2.71 0.14 83.50 18:15:01 1 6.01 0.00 2.94 38.25 0.12 52.68 18:15:01 2 5.51 0.00 2.67 7.95 0.08 83.78 18:15:01 3 4.64 0.00 2.57 1.04 0.09 91.66 18:15:01 4 6.40 0.00 3.32 2.86 0.07 87.34 18:15:01 5 5.40 0.00 2.67 3.63 0.07 88.23 18:15:01 6 5.38 0.00 3.32 18.11 0.12 73.07 18:15:01 7 5.40 0.00 3.00 0.71 0.12 90.76 18:16:01 all 13.09 0.00 1.25 0.65 0.05 84.96 18:16:01 0 12.61 0.00 1.29 0.00 0.03 86.07 18:16:01 1 13.25 0.00 1.32 4.59 0.03 80.81 18:16:01 2 16.34 0.00 1.39 0.17 0.03 82.07 18:16:01 3 12.61 0.00 1.12 0.00 0.03 86.24 18:16:01 4 16.18 0.00 1.71 0.00 0.05 82.06 18:16:01 5 13.87 0.00 1.10 0.02 0.05 84.95 18:16:01 6 10.00 0.00 1.07 0.43 0.05 88.45 18:16:01 7 9.86 0.00 1.02 0.00 0.03 89.09 18:17:01 all 2.99 0.00 0.43 1.12 0.02 95.43 18:17:01 0 1.40 0.00 0.53 0.23 0.03 97.80 18:17:01 1 2.26 0.00 0.34 7.85 0.02 89.54 18:17:01 2 1.39 0.00 0.45 0.00 0.02 98.14 18:17:01 3 12.85 0.00 0.50 0.22 0.07 86.37 18:17:01 4 0.68 0.00 0.35 0.07 0.02 98.88 18:17:01 5 0.87 0.00 0.50 0.03 0.00 98.60 18:17:01 6 2.35 0.00 0.48 0.55 0.05 96.56 18:17:01 7 2.35 0.00 0.28 0.05 0.02 97.30 Average: all 8.46 0.00 1.38 3.23 0.05 86.89 Average: 0 7.24 0.00 1.39 0.84 0.05 90.47 Average: 1 5.47 0.00 1.25 11.10 0.05 82.13 Average: 2 6.17 0.00 1.33 2.23 0.04 90.22 Average: 3 9.10 0.00 1.14 1.47 0.05 88.23 Average: 4 15.10 0.00 1.85 1.43 0.05 81.57 Average: 5 13.87 0.00 1.68 1.63 0.05 82.77 Average: 6 4.36 0.00 1.22 6.80 0.05 87.57 Average: 7 6.30 0.00 1.18 0.30 0.04 92.17