Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-23651 (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-v3onsk7g1NqZ/agent.2056 SSH_AGENT_PID=2058 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_2100021604449803062.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_2100021604449803062.key) [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) The recommended git tool is: NONE using credential onap-jenkins-ssh Wiping out workspace first. Cloning the remote Git repository Cloning repository git://cloud.onap.org/mirror/policy/docker.git > git init /w/workspace/policy-api-montreal-project-csit-api # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_SSH to set credentials Gerrit user Verifying host key using manually-configured host key entries > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/montreal^{commit} # timeout=10 Checking out Revision 80b3e0eb572d9e891bb8deeaaf8728d30e0a2906 (refs/remotes/origin/montreal) > git config core.sparsecheckout # timeout=10 > git checkout -f 80b3e0eb572d9e891bb8deeaaf8728d30e0a2906 # timeout=30 Commit message: "Fix timeout in pap CSIT for auditing undeploys" > git rev-list --no-walk 80b3e0eb572d9e891bb8deeaaf8728d30e0a2906 # timeout=10 provisioning config files... copy managed file [npmrc] to file:/home/jenkins/.npmrc copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins9506786593977968683.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-IIxi 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-IIxi/bin to PATH Generating Requirements File Python 3.10.6 pip 24.1.2 from /tmp/venv-IIxi/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.4.0 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.144 botocore==1.34.144 bs4==0.0.2 cachetools==5.3.3 certifi==2024.7.4 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.7.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.6.1 docker==4.2.2 dogpile.cache==1.3.3 email_validator==2.2.0 filelock==3.15.4 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.32.0 httplib2==0.22.0 identify==2.6.0 idna==3.7 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.4 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==3.0.0 jsonschema==4.23.0 jsonschema-specifications==2023.12.1 keystoneauth1==5.7.0 kubernetes==30.1.0 lftools==0.37.10 lxml==5.2.2 MarkupSafe==2.1.5 msgpack==1.0.8 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.3.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.9.1 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==3.2.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.1.0 oslo.config==9.5.0 oslo.context==5.5.0 oslo.i18n==6.3.0 oslo.log==6.1.0 oslo.serialization==5.4.0 oslo.utils==7.2.0 packaging==24.1 pbr==6.0.0 platformdirs==4.2.2 prettytable==3.10.2 pyasn1==0.6.0 pyasn1_modules==0.4.0 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.3.0 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.9.0 pyrsistent==0.20.0 python-cinderclient==9.5.0 python-dateutil==2.9.0.post0 python-heatclient==3.5.0 python-jenkins==1.8.2 python-keystoneclient==5.4.0 python-magnumclient==4.6.0 python-novaclient==18.6.0 python-openstackclient==6.6.0 python-swiftclient==4.6.0 PyYAML==6.0.1 referencing==0.35.1 requests==2.32.3 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.19.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.2 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.2.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.13.0 tqdm==4.66.4 typing_extensions==4.12.2 tzdata==2024.1 urllib3==1.26.19 virtualenv==20.26.3 wcwidth==0.2.13 websocket-client==1.8.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.4.3 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-montreal-project-csit-api] $ /bin/sh /tmp/jenkins8600767836588528151.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/jenkins3353049799013409929.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.VimC2QxOR3 ++ echo ROBOT_VENV=/tmp/tmp.VimC2QxOR3 +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.VimC2QxOR3 ++ source /tmp/tmp.VimC2QxOR3/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.VimC2QxOR3 +++ 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.VimC2QxOR3/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.VimC2QxOR3) ' '!=' x ']' +++ PS1='(tmp.VimC2QxOR3) ' +++ export PS1 +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ set -exu ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' ++ echo 'Installing Python Requirements' Installing Python Requirements ++ python3 -m pip install -qq -r /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.7.4 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.7 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==5.2.2 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.1 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.2 python-dateutil==2.9.0.post0 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.15.0 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.19 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.VimC2QxOR3/src/onap ++ rm -rf /tmp/tmp.VimC2QxOR3/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.VimC2QxOR3/bin/python3 /tmp/tmp.VimC2QxOR3/lib/python3.6/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-r65f6669/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.VimC2QxOR3/lib/python3.6/site-packages/pip/__main__.py", line 27, in "ignore", category=DeprecationWarning, module=".*packaging\\.version" File "/usr/lib/python3.6/warnings.py", line 131, in filterwarnings import re File "/usr/lib/python3.6/re.py", line 142, in class RegexFlag(enum.IntFlag): AttributeError: module 'enum' has no attribute 'IntFlag' ---------------------------------------- ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.7.4 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==1.0.0 idna==3.7 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==5.2.2 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.1 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.2 python-dateutil==2.9.0.post0 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.15.0 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.19 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.VimC2QxOR3/bin/activate + '[' -z /tmp/tmp.VimC2QxOR3/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.VimC2QxOR3/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.VimC2QxOR3 ++ 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.VimC2QxOR3/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.VimC2QxOR3) ' ++ '[' 'x(tmp.VimC2QxOR3) ' '!=' x ']' ++ PS1='(tmp.VimC2QxOR3) (tmp.VimC2QxOR3) ' ++ export PS1 ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + export TEST_PLAN_DIR=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests + TEST_PLAN_DIR=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests + export TEST_OPTIONS= + TEST_OPTIONS= ++ mktemp -d + WORKDIR=/tmp/tmp.Tby61pNlE8 + cd /tmp/tmp.Tby61pNlE8 + docker login -u docker -p docker nexus3.onap.org:10001 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded + SETUP=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-montreal-project-csit-api/.gitreview +++ GERRIT_BRANCH=montreal +++ echo GERRIT_BRANCH=montreal GERRIT_BRANCH=montreal +++ rm -rf /w/workspace/policy-api-montreal-project-csit-api/models +++ mkdir /w/workspace/policy-api-montreal-project-csit-api/models +++ git clone -b montreal --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-montreal-project-csit-api/models Cloning into '/w/workspace/policy-api-montreal-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json +++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-montreal-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose +++ grafana=false +++ gui=false +++ [[ 2 -gt 0 ]] +++ key=api +++ case $key in +++ echo api api +++ component=api +++ shift +++ [[ 1 -gt 0 ]] +++ key=--grafana +++ case $key in +++ grafana=true +++ shift +++ [[ 0 -gt 0 ]] +++ cd /w/workspace/policy-api-montreal-project-csit-api/compose +++ echo 'Configuring docker compose...' Configuring docker compose... +++ source export-ports.sh +++ source get-versions.sh +++ '[' -z api ']' +++ '[' -n api ']' +++ '[' api == logs ']' +++ '[' true = true ']' +++ echo 'Starting api application with Grafana' Starting api application with Grafana +++ docker-compose up -d api grafana Creating network "compose_default" with the default driver Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 10.10.2: Pulling from mariadb Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:3.0.3-SNAPSHOT)... 3.0.3-SNAPSHOT: Pulling from onap/policy-db-migrator Digest: sha256:fcbc94a1b6dfd18b1351b8502d394edecc84c485efe30e4df5426677ec05482c Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.0.3-SNAPSHOT Pulling api (nexus3.onap.org:10001/onap/policy-api:3.0.2)... 3.0.2: Pulling from onap/policy-api Digest: sha256:fb501d6af2a3cd55552ba398d5bc20867cf32ebda2e7f9c473849f184245c945 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.0.2 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:f20d3127bf2876f4a1df76246fca576b41ddf1125ed1c546fbd8b16ea55117e6 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... latest: Pulling from grafana/grafana Digest: sha256:079600c9517b678c10cda6006b4487d3174512fd4c6cface37df7822756ed7a5 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating prometheus ... Creating mariadb ... Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-montreal-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS grafana Up 11 seconds policy-api Up 10 seconds policy-db-migrator Up 13 seconds mariadb Up 13 seconds prometheus Up 11 seconds NAMES STATUS grafana Up 16 seconds policy-api Up 15 seconds mariadb Up 18 seconds prometheus Up 16 seconds NAMES STATUS grafana Up 21 seconds policy-api Up 20 seconds mariadb Up 23 seconds prometheus Up 21 seconds NAMES STATUS grafana Up 26 seconds policy-api Up 25 seconds mariadb Up 29 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:14:36 up 3 min, 0 users, load average: 2.57, 0.95, 0.36 Tasks: 179 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.1 us, 2.3 sy, 0.0 ni, 82.9 id, 3.5 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.5G 25G 1.0M 4.2G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up 26 seconds policy-api Up 25 seconds mariadb Up 29 seconds prometheus Up 27 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 21fe0990d44b grafana 0.05% 60.64MiB / 31.41GiB 0.19% 23.3kB / 4.01kB 0B / 25.6MB 20 d7554a0de9fd policy-api 0.11% 544MiB / 31.41GiB 1.69% 998kB / 710kB 0B / 0B 55 03dadd2d5d85 mariadb 0.02% 100.2MiB / 31.41GiB 0.31% 986kB / 1.18MB 11.2MB / 68MB 28 56e5d851834d prometheus 0.00% 18.88MiB / 31.41GiB 0.06% 824B / 0B 0B / 0B 13 + echo + cd /tmp/tmp.Tby61pNlE8 + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + sed 's|^|/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot' + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates' ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ... + relax_set + set +e + set +o pipefail + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ============================================================================== api ============================================================================== api.Api-Test ============================================================================== Healthcheck :: Verify policy api health check | PASS | ------------------------------------------------------------------------------ RetrievePolicyTypes :: Retrieve all policy types | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | ------------------------------------------------------------------------------ RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNodeTemplates :: Create node templates in database using spe... | PASS | ------------------------------------------------------------------------------ RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | ------------------------------------------------------------------------------ RetrieveAllPolicies :: Retrieve all policies | PASS | ------------------------------------------------------------------------------ RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | ------------------------------------------------------------------------------ RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | ------------------------------------------------------------------------------ RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | ------------------------------------------------------------------------------ DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ Metrics :: Verify policy-api is exporting prometheus metrics | PASS | ------------------------------------------------------------------------------ api.Api-Test | PASS | 22 tests, 22 passed, 0 failed ============================================================================== api.Api-Slas ============================================================================== WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ api.Api-Slas | PASS | 9 tests, 9 passed, 0 failed ============================================================================== api | PASS | 31 tests, 31 passed, 0 failed ============================================================================== Output: /tmp/tmp.Tby61pNlE8/output.xml Log: /tmp/tmp.Tby61pNlE8/log.html Report: /tmp/tmp.Tby61pNlE8/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:15:47 up 4 min, 0 users, load average: 0.95, 0.83, 0.36 Tasks: 177 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.2 us, 1.8 sy, 0.0 ni, 86.1 id, 2.8 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.8G 25G 1.0M 4.2G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api Up About a minute 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 21fe0990d44b grafana 0.03% 65.28MiB / 31.41GiB 0.20% 24.4kB / 5.51kB 0B / 25.6MB 20 d7554a0de9fd policy-api 0.14% 891MiB / 31.41GiB 2.77% 7.01MB / 2.58MB 0B / 0B 55 03dadd2d5d85 mariadb 0.02% 101.2MiB / 31.41GiB 0.31% 2.39MB / 7.04MB 11.2MB / 68.3MB 18 56e5d851834d prometheus 0.08% 24.21MiB / 31.41GiB 0.08% 87.8kB / 7.42kB 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 grafana | logger=settings t=2024-07-13T18:14:10.412424478Z level=info msg="Starting Grafana" version=11.1.0 commit=5b85c4c2fcf5d32d4f68aaef345c53096359b2f1 branch=HEAD compiled=2024-07-13T18:14:10Z grafana | logger=settings t=2024-07-13T18:14:10.412671367Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-07-13T18:14:10.412678197Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-07-13T18:14:10.412681767Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-07-13T18:14:10.412684557Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-07-13T18:14:10.412687437Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-07-13T18:14:10.412690307Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-07-13T18:14:10.412696238Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-07-13T18:14:10.412699608Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-07-13T18:14:10.412702608Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-07-13T18:14:10.412705788Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-07-13T18:14:10.412708978Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-07-13T18:14:10.412712348Z level=info msg=Target target=[all] grafana | logger=settings t=2024-07-13T18:14:10.412717938Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-07-13T18:14:10.412721218Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-07-13T18:14:10.412724429Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-07-13T18:14:10.412729509Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-07-13T18:14:10.412732749Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-07-13T18:14:10.412736329Z level=info msg="App mode production" grafana | logger=featuremgmt t=2024-07-13T18:14:10.413009899Z level=info msg=FeatureToggles angularDeprecationUI=true prometheusMetricEncyclopedia=true exploreMetrics=true lokiQueryHints=true annotationPermissionUpdate=true exploreContentOutline=true dataplaneFrontendFallback=true lokiStructuredMetadata=true publicDashboards=true dashgpt=true alertingInsights=true topnav=true awsDatasourcesNewFormStyling=true kubernetesPlaylists=true cloudWatchNewLabelParsing=true ssoSettingsApi=true prometheusDataplane=true prometheusConfigOverhaulAuth=true transformationsRedesign=true panelMonitoring=true recoveryThreshold=true logRowsPopoverMenu=true logsContextDatasourceUi=true awsAsyncQueryCaching=true nestedFolders=true recordedQueriesMulti=true lokiQuerySplitting=true logsInfiniteScrolling=true cloudWatchCrossAccountQuerying=true alertingNoDataErrorExecution=true lokiMetricDataplane=true alertingSimplifiedRouting=true logsExploreTableVisualisation=true betterPageScrolling=true correlations=true influxdbBackendMigration=true managedPluginsInstall=true grafana | logger=sqlstore t=2024-07-13T18:14:10.413056941Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-07-13T18:14:10.413069961Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-07-13T18:14:10.414594938Z level=info msg="Locking database" grafana | logger=migrator t=2024-07-13T18:14:10.414606539Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-07-13T18:14:10.415161219Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-07-13T18:14:10.416045892Z level=info msg="Migration successfully executed" id="create migration_log table" duration=884.212µs grafana | logger=migrator t=2024-07-13T18:14:10.421472623Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-07-13T18:14:10.422294704Z level=info msg="Migration successfully executed" id="create user table" duration=821.791µs grafana | logger=migrator t=2024-07-13T18:14:10.42571172Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-07-13T18:14:10.427477306Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.769786ms grafana | logger=migrator t=2024-07-13T18:14:10.43110412Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-07-13T18:14:10.432206541Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.101761ms grafana | logger=migrator t=2024-07-13T18:14:10.437523268Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-07-13T18:14:10.438239864Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=716.266µs grafana | logger=migrator t=2024-07-13T18:14:10.441932992Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-07-13T18:14:10.442559955Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=621.943µs grafana | logger=migrator t=2024-07-13T18:14:10.476306676Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-07-13T18:14:10.480430558Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.121762ms grafana | logger=migrator t=2024-07-13T18:14:10.485378912Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-07-13T18:14:10.486256285Z level=info msg="Migration successfully executed" id="create user table v2" duration=880.503µs grafana | logger=migrator t=2024-07-13T18:14:10.489406112Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-07-13T18:14:10.490137069Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=734.237µs grafana | logger=migrator t=2024-07-13T18:14:10.493456952Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-07-13T18:14:10.494620035Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.161933ms grafana | logger=migrator t=2024-07-13T18:14:10.500638018Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-07-13T18:14:10.50124188Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=587.422µs grafana | logger=migrator t=2024-07-13T18:14:10.504585684Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-07-13T18:14:10.506252856Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=1.671052ms grafana | logger=migrator t=2024-07-13T18:14:10.509901291Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-07-13T18:14:10.511759201Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.85872ms grafana | logger=migrator t=2024-07-13T18:14:10.516473085Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-07-13T18:14:10.516499366Z level=info msg="Migration successfully executed" id="Update user table charset" duration=33.002µs grafana | logger=migrator t=2024-07-13T18:14:10.519810789Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-07-13T18:14:10.520885099Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.07282ms grafana | logger=migrator t=2024-07-13T18:14:10.524875766Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-07-13T18:14:10.525198228Z level=info msg="Migration successfully executed" id="Add missing user data" duration=322.552µs grafana | logger=migrator t=2024-07-13T18:14:10.528536953Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-07-13T18:14:10.529724006Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.187383ms grafana | logger=migrator t=2024-07-13T18:14:10.535723438Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-07-13T18:14:10.536469486Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=745.228µs grafana | logger=migrator t=2024-07-13T18:14:10.539231418Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-07-13T18:14:10.54035366Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.121772ms grafana | logger=migrator t=2024-07-13T18:14:10.543220807Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-07-13T18:14:10.551223784Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=8.001876ms grafana | logger=migrator t=2024-07-13T18:14:10.554135631Z level=info msg="Executing migration" id="Add uid column to user" grafana | logger=migrator t=2024-07-13T18:14:10.555407888Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=1.272407ms grafana | logger=migrator t=2024-07-13T18:14:10.559647416Z level=info msg="Executing migration" id="Update uid column values for users" grafana | logger=migrator t=2024-07-13T18:14:10.559886385Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=238.739µs grafana | logger=migrator t=2024-07-13T18:14:10.561987453Z level=info msg="Executing migration" id="Add unique index user_uid" grafana | logger=migrator t=2024-07-13T18:14:10.562709729Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=722.146µs grafana | logger=migrator t=2024-07-13T18:14:10.565641948Z level=info msg="Executing migration" id="update login field with orgid to allow for multiple service accounts with same name across orgs" grafana | logger=migrator t=2024-07-13T18:14:10.56597303Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=330.972µs grafana | logger=migrator t=2024-07-13T18:14:10.570667634Z level=info msg="Executing migration" id="update login and email fields to lowercase" grafana | logger=migrator t=2024-07-13T18:14:10.571053469Z level=info msg="Migration successfully executed" id="update login and email fields to lowercase" duration=380.384µs grafana | logger=migrator t=2024-07-13T18:14:10.574189065Z level=info msg="Executing migration" id="update login and email fields to lowercase2" grafana | logger=migrator t=2024-07-13T18:14:10.574627101Z level=info msg="Migration successfully executed" id="update login and email fields to lowercase2" duration=444.507µs grafana | logger=migrator t=2024-07-13T18:14:10.57812104Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-07-13T18:14:10.579486201Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.363711ms grafana | logger=migrator t=2024-07-13T18:14:10.58269697Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-07-13T18:14:10.583669946Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=972.056µs grafana | logger=migrator t=2024-07-13T18:14:10.588219875Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-07-13T18:14:10.588941301Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=720.506µs grafana | logger=migrator t=2024-07-13T18:14:10.592212402Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-07-13T18:14:10.592949121Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=736.048µs grafana | logger=migrator t=2024-07-13T18:14:10.595865349Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-07-13T18:14:10.596568684Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=703.155µs grafana | logger=migrator t=2024-07-13T18:14:10.600805661Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-07-13T18:14:10.600834452Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=29.541µs grafana | logger=migrator t=2024-07-13T18:14:10.603690168Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-07-13T18:14:10.604343383Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=652.935µs grafana | logger=migrator t=2024-07-13T18:14:10.607457708Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-07-13T18:14:10.608910092Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.451443ms grafana | logger=migrator t=2024-07-13T18:14:10.614086214Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-07-13T18:14:10.615204746Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.117482ms grafana | logger=migrator t=2024-07-13T18:14:10.618219637Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-07-13T18:14:10.618857961Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=638.394µs grafana | logger=migrator t=2024-07-13T18:14:10.621739938Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-07-13T18:14:10.62478515Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.044452ms grafana | logger=migrator t=2024-07-13T18:14:10.62935461Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-07-13T18:14:10.630222512Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=867.322µs grafana | logger=migrator t=2024-07-13T18:14:10.633330167Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-07-13T18:14:10.634283802Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=953.865µs grafana | logger=migrator t=2024-07-13T18:14:10.637490262Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-07-13T18:14:10.63825561Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=765.188µs grafana | logger=migrator t=2024-07-13T18:14:10.642838879Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-07-13T18:14:10.643575637Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=736.088µs grafana | logger=migrator t=2024-07-13T18:14:10.647192361Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-07-13T18:14:10.647877546Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=684.635µs grafana | logger=migrator t=2024-07-13T18:14:10.65122419Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-07-13T18:14:10.651904416Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=681.006µs grafana | logger=migrator t=2024-07-13T18:14:10.655998957Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-07-13T18:14:10.656827048Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=828.501µs grafana | logger=migrator t=2024-07-13T18:14:10.661558284Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-07-13T18:14:10.662239539Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=680.705µs grafana | logger=migrator t=2024-07-13T18:14:10.665710538Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-07-13T18:14:10.666498537Z level=info msg="Migration successfully executed" id="create star table" duration=787.859µs grafana | logger=migrator t=2024-07-13T18:14:10.669417145Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-07-13T18:14:10.670330549Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=912.983µs grafana | logger=migrator t=2024-07-13T18:14:10.673730664Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-07-13T18:14:10.674755123Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.024189ms grafana | logger=migrator t=2024-07-13T18:14:10.679645285Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-07-13T18:14:10.680276158Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=630.613µs grafana | logger=migrator t=2024-07-13T18:14:10.682981538Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-07-13T18:14:10.68359132Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=609.352µs grafana | logger=migrator t=2024-07-13T18:14:10.68653426Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-07-13T18:14:10.687199954Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=665.325µs grafana | logger=migrator t=2024-07-13T18:14:10.690183765Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-07-13T18:14:10.690833709Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=653.695µs grafana | logger=migrator t=2024-07-13T18:14:10.695942288Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-07-13T18:14:10.697482195Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.544137ms grafana | logger=migrator t=2024-07-13T18:14:10.700977855Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-07-13T18:14:10.701004786Z level=info msg="Migration successfully executed" id="Update org table charset" duration=27.831µs grafana | logger=migrator t=2024-07-13T18:14:10.705190281Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-07-13T18:14:10.705215412Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=25.581µs grafana | logger=migrator t=2024-07-13T18:14:10.708512704Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-07-13T18:14:10.70865751Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=144.966µs grafana | logger=migrator t=2024-07-13T18:14:10.713548721Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-07-13T18:14:10.714178444Z level=info msg="Migration successfully executed" id="create dashboard table" duration=629.763µs grafana | logger=migrator t=2024-07-13T18:14:10.717417474Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-07-13T18:14:10.718624959Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.207505ms grafana | logger=migrator t=2024-07-13T18:14:10.721918222Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-07-13T18:14:10.723177998Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.258686ms grafana | logger=migrator t=2024-07-13T18:14:10.729070936Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-07-13T18:14:10.730078534Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.007358ms grafana | logger=migrator t=2024-07-13T18:14:10.733341305Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-07-13T18:14:10.734542419Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.200364ms grafana | logger=migrator t=2024-07-13T18:14:10.737596052Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-07-13T18:14:10.738292709Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=692.187µs grafana | logger=migrator t=2024-07-13T18:14:10.744058103Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-07-13T18:14:10.750044884Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=5.986322ms grafana | logger=migrator t=2024-07-13T18:14:10.755036729Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-07-13T18:14:10.755800288Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=764.01µs grafana | logger=migrator t=2024-07-13T18:14:10.758443416Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" mariadb | 2024-07-13 18:14:07+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-07-13 18:14:07+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-07-13 18:14:07+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-07-13 18:14:07+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-07-13 18:14:07 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-07-13 18:14:07 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-07-13 18:14:07 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2024-07-13 18:14:09+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-07-13 18:14:09+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-07-13 18:14:09+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-07-13 18:14:09 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 96 ... mariadb | 2024-07-13 18:14:09 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-07-13 18:14:09 0 [Note] InnoDB: Number of transaction pools: 1 policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb (172.17.0.2) 3306 port [tcp/mysql] succeeded! policy-db-migrator | 321 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Preparing upgrade release version: 1300 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 policy-db-migrator | upgrade: 0 -> 1300 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:10.759247645Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=758.197µs grafana | logger=migrator t=2024-07-13T18:14:10.763918639Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-07-13T18:14:10.76532147Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.403381ms grafana | logger=migrator t=2024-07-13T18:14:10.768379713Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-07-13T18:14:10.768978575Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=598.932µs grafana | logger=migrator t=2024-07-13T18:14:10.77204173Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-07-13T18:14:10.773350538Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.308468ms grafana | logger=migrator t=2024-07-13T18:14:10.778102164Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-07-13T18:14:10.778187608Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=84.853µs grafana | logger=migrator t=2024-07-13T18:14:10.781125026Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-07-13T18:14:10.782921822Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.797106ms grafana | logger=migrator t=2024-07-13T18:14:10.785937275Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-07-13T18:14:10.787742201Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.804986ms grafana | logger=migrator t=2024-07-13T18:14:10.824336148Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-07-13T18:14:10.827437453Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=3.102085ms grafana | logger=migrator t=2024-07-13T18:14:10.830188665Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-07-13T18:14:10.830916183Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=727.267µs grafana | logger=migrator t=2024-07-13T18:14:10.833582311Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-07-13T18:14:10.835364797Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.782306ms grafana | logger=migrator t=2024-07-13T18:14:10.840364532Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-07-13T18:14:10.841100879Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=736.347µs grafana | logger=migrator t=2024-07-13T18:14:10.8438022Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-07-13T18:14:10.844534016Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=731.396µs grafana | logger=migrator t=2024-07-13T18:14:10.848407351Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-07-13T18:14:10.848442742Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=36.761µs grafana | logger=migrator t=2024-07-13T18:14:10.851516406Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-07-13T18:14:10.851559817Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=35.431µs grafana | logger=migrator t=2024-07-13T18:14:10.856893885Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-07-13T18:14:10.858739003Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=1.844828ms grafana | logger=migrator t=2024-07-13T18:14:10.861635331Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-07-13T18:14:10.864654533Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=3.018682ms grafana | logger=migrator t=2024-07-13T18:14:10.868025728Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-07-13T18:14:10.87105592Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=3.019662ms grafana | logger=migrator t=2024-07-13T18:14:10.876592396Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-07-13T18:14:10.878445455Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.852909ms grafana | logger=migrator t=2024-07-13T18:14:10.881214227Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-07-13T18:14:10.881411144Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=196.907µs grafana | logger=migrator t=2024-07-13T18:14:10.884358084Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-07-13T18:14:10.88506348Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=705.195µs grafana | logger=migrator t=2024-07-13T18:14:10.89046619Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-07-13T18:14:10.891146425Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=680.305µs grafana | logger=migrator t=2024-07-13T18:14:10.893941889Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-07-13T18:14:10.893963359Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=22.241µs grafana | logger=migrator t=2024-07-13T18:14:10.896818315Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-07-13T18:14:10.897559812Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=741.237µs grafana | logger=migrator t=2024-07-13T18:14:10.903663339Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-07-13T18:14:10.904306023Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=642.624µs grafana | logger=migrator t=2024-07-13T18:14:10.907484421Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-07-13T18:14:10.912876891Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=5.39148ms grafana | logger=migrator t=2024-07-13T18:14:10.915865791Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-07-13T18:14:10.916522006Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=655.834µs grafana | logger=migrator t=2024-07-13T18:14:10.919847819Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql mariadb | 2024-07-13 18:14:09 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-07-13 18:14:09 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-07-13 18:14:09 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-07-13 18:14:09 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-07-13 18:14:09 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-07-13 18:14:09 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-07-13 18:14:09 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-07-13 18:14:09 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-07-13 18:14:09 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-07-13 18:14:09 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-07-13 18:14:09 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-07-13 18:14:09 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-07-13 18:14:09 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-07-13 18:14:09 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-07-13 18:14:09 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-07-13 18:14:09 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2024-07-13 18:14:10+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-07-13 18:14:11+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-07-13 18:14:11+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | mariadb | 2024-07-13 18:14:11+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | 2024-07-13 18:14:11+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | grafana | logger=migrator t=2024-07-13T18:14:10.920575556Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=727.427µs grafana | logger=migrator t=2024-07-13T18:14:10.925100734Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-07-13T18:14:10.925859811Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=758.618µs grafana | logger=migrator t=2024-07-13T18:14:10.928799731Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-07-13T18:14:10.929104823Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=305.081µs grafana | logger=migrator t=2024-07-13T18:14:10.932166316Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-07-13T18:14:10.932659554Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=493.078µs grafana | logger=migrator t=2024-07-13T18:14:10.93740807Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-07-13T18:14:10.939429665Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.021095ms grafana | logger=migrator t=2024-07-13T18:14:10.942454757Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-07-13T18:14:10.943249067Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=794.02µs grafana | logger=migrator t=2024-07-13T18:14:10.946011689Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-07-13T18:14:10.946171785Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=160.236µs grafana | logger=migrator t=2024-07-13T18:14:10.950554037Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-07-13T18:14:10.950711593Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=157.626µs grafana | logger=migrator t=2024-07-13T18:14:10.9538668Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-07-13T18:14:10.954582877Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=715.857µs grafana | logger=migrator t=2024-07-13T18:14:10.959160496Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-07-13T18:14:10.961202632Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.036536ms grafana | logger=migrator t=2024-07-13T18:14:10.965281844Z level=info msg="Executing migration" id="Add deleted for dashboard" grafana | logger=migrator t=2024-07-13T18:14:10.967310598Z level=info msg="Migration successfully executed" id="Add deleted for dashboard" duration=2.028394ms grafana | logger=migrator t=2024-07-13T18:14:10.970374182Z level=info msg="Executing migration" id="Add index for deleted" grafana | logger=migrator t=2024-07-13T18:14:10.971103049Z level=info msg="Migration successfully executed" id="Add index for deleted" duration=728.657µs grafana | logger=migrator t=2024-07-13T18:14:10.974284477Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-07-13T18:14:10.975152629Z level=info msg="Migration successfully executed" id="create data_source table" duration=867.952µs grafana | logger=migrator t=2024-07-13T18:14:10.97895717Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-07-13T18:14:10.979715919Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=757.709µs grafana | logger=migrator t=2024-07-13T18:14:10.982777442Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-07-13T18:14:10.983560541Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=782.079µs grafana | logger=migrator t=2024-07-13T18:14:10.986533681Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-07-13T18:14:10.987223176Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=685.295µs grafana | logger=migrator t=2024-07-13T18:14:10.991191924Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-07-13T18:14:10.991857538Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=665.064µs grafana | logger=migrator t=2024-07-13T18:14:10.995596477Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-07-13T18:14:11.001465194Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=5.868627ms grafana | logger=migrator t=2024-07-13T18:14:11.005531156Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-07-13T18:14:11.006380688Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=852.243µs grafana | logger=migrator t=2024-07-13T18:14:11.009463368Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-07-13T18:14:11.010203617Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=739.999µs grafana | logger=migrator t=2024-07-13T18:14:11.013311117Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-07-13T18:14:11.014061305Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=749.708µs grafana | logger=migrator t=2024-07-13T18:14:11.017970096Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-07-13T18:14:11.018782389Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=812.072µs grafana | logger=migrator t=2024-07-13T18:14:11.022001443Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-07-13T18:14:11.024907775Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.906922ms 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-07-13 18:14:12+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-07-13 18:14:12 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-07-13 18:14:12 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-07-13 18:14:12 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-07-13 18:14:12 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-07-13 18:14:12 0 [Note] InnoDB: Buffer pool(s) dump completed at 240713 18:14:12 mariadb | 2024-07-13 18:14:13 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-07-13 18:14:13 0 [Note] InnoDB: Shutdown completed; log sequence number 340143; transaction id 298 mariadb | 2024-07-13 18:14:13 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-07-13 18:14:13+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-07-13 18:14:13+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-07-13 18:14:13 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-07-13 18:14:13 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-07-13 18:14:13 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-07-13 18:14:13 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-07-13 18:14:13 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-07-13 18:14:13 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-07-13 18:14:13 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-07-13 18:14:13 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-07-13 18:14:13 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-07-13 18:14:13 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-07-13 18:14:13 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-07-13 18:14:13 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-07-13 18:14:13 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-07-13 18:14:13 0 [Note] InnoDB: log sequence number 340143; transaction id 299 mariadb | 2024-07-13 18:14:13 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-07-13 18:14:13 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-07-13 18:14:13 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-07-13 18:14:13 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-07-13 18:14:13 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-07-13 18:14:13 0 [Note] Server socket created on IP: '::'. mariadb | 2024-07-13 18:14:13 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2024-07-13 18:14:13 0 [Note] InnoDB: Buffer pool(s) load completed at 240713 18:14:13 mariadb | 2024-07-13 18:14:14 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) mariadb | 2024-07-13 18:14:14 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-07-13T18:14:11.028228473Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-07-13T18:14:11.03047058Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.221786ms grafana | logger=migrator t=2024-07-13T18:14:11.03436081Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-07-13T18:14:11.034385391Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=25.081µs grafana | logger=migrator t=2024-07-13T18:14:11.037540122Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-07-13T18:14:11.03773284Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=188.007µs grafana | logger=migrator t=2024-07-13T18:14:11.041396912Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-07-13T18:14:11.045035652Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.63828ms grafana | logger=migrator t=2024-07-13T18:14:11.048786287Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-07-13T18:14:11.048978444Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=192.797µs grafana | logger=migrator t=2024-07-13T18:14:11.052760291Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-07-13T18:14:11.052935477Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=175.276µs grafana | logger=migrator t=2024-07-13T18:14:11.056553247Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-07-13T18:14:11.058978761Z level=info msg="Migration successfully executed" id="Add uid column" duration=2.425154ms grafana | logger=migrator t=2024-07-13T18:14:11.062217566Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-07-13T18:14:11.062387042Z level=info msg="Migration successfully executed" id="Update uid value" duration=169.737µs grafana | logger=migrator t=2024-07-13T18:14:11.065615277Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-07-13T18:14:11.066364546Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=749.279µs grafana | logger=migrator t=2024-07-13T18:14:11.070342309Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-07-13T18:14:11.071512684Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.169935ms grafana | logger=migrator t=2024-07-13T18:14:11.075381884Z level=info msg="Executing migration" id="Add is_prunable column" grafana | logger=migrator t=2024-07-13T18:14:11.079190071Z level=info msg="Migration successfully executed" id="Add is_prunable column" duration=3.808037ms grafana | logger=migrator t=2024-07-13T18:14:11.082685676Z level=info msg="Executing migration" id="Add api_version column" grafana | logger=migrator t=2024-07-13T18:14:11.085421381Z level=info msg="Migration successfully executed" id="Add api_version column" duration=2.736605ms grafana | logger=migrator t=2024-07-13T18:14:11.091753087Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-07-13T18:14:11.092470844Z level=info msg="Migration successfully executed" id="create api_key table" duration=718.137µs grafana | logger=migrator t=2024-07-13T18:14:11.095649257Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-07-13T18:14:11.096378095Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=728.668µs grafana | logger=migrator t=2024-07-13T18:14:11.099479534Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-07-13T18:14:11.100307887Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=822.543µs grafana | logger=migrator t=2024-07-13T18:14:11.108376689Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-07-13T18:14:11.109170679Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=794.07µs grafana | logger=migrator t=2024-07-13T18:14:11.11229451Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-07-13T18:14:11.113399152Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.104262ms grafana | logger=migrator t=2024-07-13T18:14:11.117607665Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-07-13T18:14:11.118726698Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.118903ms grafana | logger=migrator t=2024-07-13T18:14:11.122004224Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-07-13T18:14:11.122696152Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=697.778µs grafana | logger=migrator t=2024-07-13T18:14:11.125597414Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-07-13T18:14:11.13197635Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=6.377916ms grafana | logger=migrator t=2024-07-13T18:14:11.135974534Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-07-13T18:14:11.13664448Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=669.816µs grafana | logger=migrator t=2024-07-13T18:14:11.139623025Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-07-13T18:14:11.140349423Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=725.778µs grafana | logger=migrator t=2024-07-13T18:14:11.178440545Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-07-13T18:14:11.179770436Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.330861ms grafana | logger=migrator t=2024-07-13T18:14:11.184781809Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-07-13T18:14:11.185521348Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=739.839µs grafana | logger=migrator t=2024-07-13T18:14:11.191396345Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-07-13T18:14:11.191976987Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=588.793µs grafana | logger=migrator t=2024-07-13T18:14:11.195237064Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-07-13T18:14:11.195846027Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=608.994µs grafana | logger=migrator t=2024-07-13T18:14:11.199746947Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-07-13T18:14:11.199777408Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=30.951µs grafana | logger=migrator t=2024-07-13T18:14:11.201986704Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-07-13T18:14:11.204550143Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.563089ms grafana | logger=migrator t=2024-07-13T18:14:11.207616041Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-07-13T18:14:11.211660547Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=4.058256ms grafana | logger=migrator t=2024-07-13T18:14:11.215430833Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-07-13T18:14:11.215586529Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=155.926µs grafana | logger=migrator t=2024-07-13T18:14:11.21792356Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-07-13T18:14:11.22051465Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.59078ms grafana | logger=migrator t=2024-07-13T18:14:11.223570358Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-07-13T18:14:11.226082985Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.507227ms grafana | logger=migrator t=2024-07-13T18:14:11.229714855Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-07-13T18:14:11.230474824Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=759.849µs grafana | logger=migrator t=2024-07-13T18:14:11.233341265Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-07-13T18:14:11.233885825Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=544.481µs grafana | logger=migrator t=2024-07-13T18:14:11.242242618Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-07-13T18:14:11.243803819Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.560011ms grafana | logger=migrator t=2024-07-13T18:14:11.25005955Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-07-13T18:14:11.250685724Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=626.394µs grafana | logger=migrator t=2024-07-13T18:14:11.253945391Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-07-13T18:14:11.254484622Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=541.101µs grafana | logger=migrator t=2024-07-13T18:14:11.257383494Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-07-13T18:14:11.258664973Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.277399ms grafana | logger=migrator t=2024-07-13T18:14:11.263864114Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-07-13T18:14:11.263930346Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=66.973µs grafana | logger=migrator t=2024-07-13T18:14:11.269863795Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-07-13T18:14:11.269900957Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=38.801µs grafana | logger=migrator t=2024-07-13T18:14:11.273394512Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-07-13T18:14:11.27617938Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=2.784628ms grafana | logger=migrator t=2024-07-13T18:14:11.279580731Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-07-13T18:14:11.282282905Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.701404ms grafana | logger=migrator t=2024-07-13T18:14:11.286600322Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-07-13T18:14:11.286669104Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=69.263µs grafana | logger=migrator t=2024-07-13T18:14:11.289715522Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-07-13T18:14:11.290486692Z level=info msg="Migration successfully executed" id="create quota table v1" duration=770.68µs grafana | logger=migrator t=2024-07-13T18:14:11.293813661Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-07-13T18:14:11.29510429Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.2881ms grafana | logger=migrator t=2024-07-13T18:14:11.299291052Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-07-13T18:14:11.299328654Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=38.701µs grafana | logger=migrator t=2024-07-13T18:14:11.303899319Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-07-13T18:14:11.305050495Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.150705ms grafana | logger=migrator t=2024-07-13T18:14:11.311427621Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-07-13T18:14:11.312319785Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=889.984µs grafana | logger=migrator t=2024-07-13T18:14:11.316513917Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-07-13T18:14:11.321704888Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=5.190311ms grafana | logger=migrator t=2024-07-13T18:14:11.326697861Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-07-13T18:14:11.326723902Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=27.311µs grafana | logger=migrator t=2024-07-13T18:14:11.331451094Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-07-13T18:14:11.332700413Z level=info msg="Migration successfully executed" id="create session table" duration=1.249718ms grafana | logger=migrator t=2024-07-13T18:14:11.336475328Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-07-13T18:14:11.336598773Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=123.955µs grafana | logger=migrator t=2024-07-13T18:14:11.340822976Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-07-13T18:14:11.340904999Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=82.523µs grafana | logger=migrator t=2024-07-13T18:14:11.344048861Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-07-13T18:14:11.344759858Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=710.777µs grafana | logger=migrator t=2024-07-13T18:14:11.347878838Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-07-13T18:14:11.348947219Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.068131ms grafana | logger=migrator t=2024-07-13T18:14:11.353236675Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-07-13T18:14:11.353275097Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=39.692µs grafana | logger=migrator t=2024-07-13T18:14:11.35828143Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-07-13T18:14:11.358307311Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=25.751µs grafana | logger=migrator t=2024-07-13T18:14:11.361522425Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-07-13T18:14:11.36528405Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=3.795976ms grafana | logger=migrator t=2024-07-13T18:14:11.368750905Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-07-13T18:14:11.373489547Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=4.738142ms grafana | logger=migrator t=2024-07-13T18:14:11.479675268Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-07-13T18:14:11.479888957Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=217.849µs grafana | logger=migrator t=2024-07-13T18:14:11.484462444Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-07-13T18:14:11.484599329Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=137.296µs grafana | logger=migrator t=2024-07-13T18:14:11.488478428Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-07-13T18:14:11.49032037Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.841232ms grafana | logger=migrator t=2024-07-13T18:14:11.495110985Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-07-13T18:14:11.495168017Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=58.082µs grafana | logger=migrator t=2024-07-13T18:14:11.525482187Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-07-13T18:14:11.530564134Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=5.079586ms grafana | logger=migrator t=2024-07-13T18:14:11.537260603Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-07-13T18:14:11.53743283Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=173.946µs grafana | logger=migrator t=2024-07-13T18:14:11.540440166Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-07-13T18:14:11.543572976Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.13268ms grafana | logger=migrator t=2024-07-13T18:14:11.547590421Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2024-07-13T18:14:11.55067369Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.084279ms grafana | logger=migrator t=2024-07-13T18:14:11.55375895Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-07-13T18:14:11.553881175Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=122.015µs grafana | logger=migrator t=2024-07-13T18:14:11.557017846Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-07-13T18:14:11.557942761Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=924.175µs grafana | logger=migrator t=2024-07-13T18:14:11.56202647Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-07-13T18:14:11.563371161Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.342872ms grafana | logger=migrator t=2024-07-13T18:14:11.566878416Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2024-07-13T18:14:11.568560112Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.682445ms grafana | logger=migrator t=2024-07-13T18:14:11.571844498Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-07-13T18:14:11.572711601Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=866.943µs grafana | logger=migrator t=2024-07-13T18:14:11.576917334Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-07-13T18:14:11.577806768Z level=info msg="Migration successfully executed" id="add index alert state" duration=889.454µs grafana | logger=migrator t=2024-07-13T18:14:11.580927139Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-07-13T18:14:11.581814164Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=887.385µs grafana | logger=migrator t=2024-07-13T18:14:11.585281257Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-07-13T18:14:11.585933612Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=652.115µs grafana | logger=migrator t=2024-07-13T18:14:11.590279581Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-07-13T18:14:11.591200906Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=921.325µs grafana | logger=migrator t=2024-07-13T18:14:11.594397429Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-07-13T18:14:11.595530314Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.131834ms grafana | logger=migrator t=2024-07-13T18:14:11.598968816Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-07-13T18:14:11.610435139Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=11.467993ms grafana | logger=migrator t=2024-07-13T18:14:11.614299618Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-07-13T18:14:11.614798887Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=499.339µs grafana | logger=migrator t=2024-07-13T18:14:11.617733Z 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-07-13T18:14:11.618371366Z 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=637.526µs grafana | logger=migrator t=2024-07-13T18:14:11.675702729Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-07-13T18:14:11.676199548Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=497.999µs grafana | logger=migrator t=2024-07-13T18:14:11.681322576Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-07-13T18:14:11.68220244Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=879.134µs grafana | logger=migrator t=2024-07-13T18:14:11.6860654Z level=info msg="Executing migration" id="create alert_notification table v1" prometheus | ts=2024-07-13T18:14:09.599Z caller=main.go:589 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2024-07-13T18:14:09.599Z caller=main.go:633 level=info msg="Starting Prometheus Server" mode=server version="(version=2.53.1, branch=HEAD, revision=14cfec3f6048b735e08c1e9c64c8d4211d32bab4)" prometheus | ts=2024-07-13T18:14:09.599Z caller=main.go:638 level=info build_context="(go=go1.22.5, platform=linux/amd64, user=root@9f8e5b6970da, date=20240710-10:16:27, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2024-07-13T18:14:09.599Z caller=main.go:639 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" prometheus | ts=2024-07-13T18:14:09.599Z caller=main.go:640 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-07-13T18:14:09.599Z caller=main.go:641 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-07-13T18:14:09.601Z caller=web.go:568 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-07-13T18:14:09.601Z caller=main.go:1148 level=info msg="Starting TSDB ..." prometheus | ts=2024-07-13T18:14:09.603Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-07-13T18:14:09.603Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-07-13T18:14:09.609Z caller=head.go:626 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-07-13T18:14:09.609Z caller=head.go:713 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=1.72µs prometheus | ts=2024-07-13T18:14:09.609Z caller=head.go:721 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-07-13T18:14:09.609Z caller=head.go:793 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-07-13T18:14:09.610Z caller=head.go:830 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=52.962µs wal_replay_duration=589.882µs wbl_replay_duration=220ns chunk_snapshot_load_duration=0s mmap_chunk_replay_duration=1.72µs total_replay_duration=855.653µs prometheus | ts=2024-07-13T18:14:09.613Z caller=main.go:1169 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-07-13T18:14:09.613Z caller=main.go:1172 level=info msg="TSDB started" prometheus | ts=2024-07-13T18:14:09.613Z caller=main.go:1354 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-07-13T18:14:09.614Z caller=main.go:1391 level=info msg="updated GOGC" old=100 new=75 prometheus | ts=2024-07-13T18:14:09.614Z caller=main.go:1402 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.449354ms db_storage=1.5µs remote_storage=1.7µs web_handler=620ns query_engine=1.17µs scrape=320.572µs scrape_sd=143.525µs notify=105.394µs notify_sd=28.751µs rules=21.811µs tracing=7.83µs prometheus | ts=2024-07-13T18:14:09.615Z caller=main.go:1133 level=info msg="Server is ready to receive web requests." prometheus | ts=2024-07-13T18:14:09.615Z caller=manager.go:164 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2024-07-13T18:14:11.687242655Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.173275ms grafana | logger=migrator t=2024-07-13T18:14:11.691284252Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-07-13T18:14:11.696525224Z level=info msg="Migration successfully executed" id="Add column is_default" duration=5.241422ms grafana | logger=migrator t=2024-07-13T18:14:11.700948144Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-07-13T18:14:11.704494221Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.545917ms grafana | logger=migrator t=2024-07-13T18:14:11.708267677Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-07-13T18:14:11.711805624Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.538687ms grafana | logger=migrator t=2024-07-13T18:14:11.716044278Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-07-13T18:14:11.719661857Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.617179ms grafana | logger=migrator t=2024-07-13T18:14:11.733300074Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-07-13T18:14:11.734998719Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.697025ms grafana | logger=migrator t=2024-07-13T18:14:11.739238224Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-07-13T18:14:11.739266955Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=28.082µs grafana | logger=migrator t=2024-07-13T18:14:11.74304222Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-07-13T18:14:11.743069741Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=26.631µs grafana | logger=migrator t=2024-07-13T18:14:11.841323206Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-07-13T18:14:11.842753392Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.434005ms grafana | logger=migrator t=2024-07-13T18:14:11.897074329Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-07-13T18:14:11.898624129Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.54963ms grafana | logger=migrator t=2024-07-13T18:14:11.902194947Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2024-07-13T18:14:11.903341571Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.147304ms grafana | logger=migrator t=2024-07-13T18:14:11.908586034Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2024-07-13T18:14:11.909451518Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=864.744µs grafana | logger=migrator t=2024-07-13T18:14:11.91445167Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-07-13T18:14:11.915642477Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.190317ms grafana | logger=migrator t=2024-07-13T18:14:11.92041084Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2024-07-13T18:14:11.926447644Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=6.035874ms grafana | logger=migrator t=2024-07-13T18:14:11.930197289Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2024-07-13T18:14:11.932876512Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=2.678523ms grafana | logger=migrator t=2024-07-13T18:14:11.936791203Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-07-13T18:14:11.937065073Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=273.07µs grafana | logger=migrator t=2024-07-13T18:14:11.942008645Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2024-07-13T18:14:11.943060556Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.051312ms grafana | logger=migrator t=2024-07-13T18:14:11.950462151Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2024-07-13T18:14:11.951862626Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.400474ms grafana | logger=migrator t=2024-07-13T18:14:11.9576819Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2024-07-13T18:14:11.962250726Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=4.572656ms grafana | logger=migrator t=2024-07-13T18:14:11.965183999Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2024-07-13T18:14:11.965231701Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=47.882µs grafana | logger=migrator t=2024-07-13T18:14:11.967963667Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-07-13T18:14:11.968563901Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=600.294µs grafana | logger=migrator t=2024-07-13T18:14:11.974164297Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2024-07-13T18:14:11.975476447Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.31254ms grafana | logger=migrator t=2024-07-13T18:14:11.979224172Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2024-07-13T18:14:11.979350937Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=127.036µs grafana | logger=migrator t=2024-07-13T18:14:11.983264118Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2024-07-13T18:14:11.984111531Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=846.912µs grafana | logger=migrator t=2024-07-13T18:14:11.988067984Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2024-07-13T18:14:11.988912436Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=842.672µs grafana | logger=migrator t=2024-07-13T18:14:11.993946511Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2024-07-13T18:14:11.994856586Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=909.315µs grafana | logger=migrator t=2024-07-13T18:14:11.998040969Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2024-07-13T18:14:12.000011605Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.967947ms grafana | logger=migrator t=2024-07-13T18:14:12.003015041Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2024-07-13T18:14:12.004093122Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.077371ms grafana | logger=migrator t=2024-07-13T18:14:12.008953404Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2024-07-13T18:14:12.010129768Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.175103ms grafana | logger=migrator t=2024-07-13T18:14:12.014104037Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2024-07-13T18:14:12.014125318Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=21.971µs grafana | logger=migrator t=2024-07-13T18:14:12.018160369Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2024-07-13T18:14:12.02457841Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.416881ms grafana | logger=migrator t=2024-07-13T18:14:12.028003698Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2024-07-13T18:14:12.028617401Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=612.982µs grafana | logger=migrator t=2024-07-13T18:14:12.03312818Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2024-07-13T18:14:12.03607318Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=2.94227ms grafana | logger=migrator t=2024-07-13T18:14:12.041255154Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-07-13T18:14:12.042337034Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=1.08067ms grafana | logger=migrator t=2024-07-13T18:14:12.046589684Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2024-07-13T18:14:12.04755985Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=969.496µs grafana | logger=migrator t=2024-07-13T18:14:12.051270118Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2024-07-13T18:14:12.05211394Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=843.511µs grafana | logger=migrator t=2024-07-13T18:14:12.058072033Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2024-07-13T18:14:12.07053528Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=12.461816ms grafana | logger=migrator t=2024-07-13T18:14:12.07508097Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2024-07-13T18:14:12.07562788Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=547.75µs grafana | logger=migrator t=2024-07-13T18:14:12.078753747Z 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-07-13T18:14:12.079511035Z 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=757.128µs grafana | logger=migrator t=2024-07-13T18:14:12.084803703Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2024-07-13T18:14:12.085325753Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=521.09µs grafana | logger=migrator t=2024-07-13T18:14:12.089002421Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2024-07-13T18:14:12.089914885Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=910.224µs grafana | logger=migrator t=2024-07-13T18:14:12.093735198Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2024-07-13T18:14:12.094180775Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=444.758µs grafana | logger=migrator t=2024-07-13T18:14:12.099327687Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2024-07-13T18:14:12.103356398Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.026301ms grafana | logger=migrator t=2024-07-13T18:14:12.106794817Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2024-07-13T18:14:12.110949932Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.154315ms grafana | logger=migrator t=2024-07-13T18:14:12.11407887Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2024-07-13T18:14:12.115076587Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=997.257µs grafana | logger=migrator t=2024-07-13T18:14:12.118809656Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2024-07-13T18:14:12.119767073Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=957.187µs grafana | logger=migrator t=2024-07-13T18:14:12.123616916Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2024-07-13T18:14:12.123909977Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=292.481µs grafana | logger=migrator t=2024-07-13T18:14:12.127150208Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2024-07-13T18:14:12.13145632Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.305662ms grafana | logger=migrator t=2024-07-13T18:14:12.134751733Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2024-07-13T18:14:12.135730619Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=977.546µs grafana | logger=migrator t=2024-07-13T18:14:12.140051442Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2024-07-13T18:14:12.140244089Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=191.807µs grafana | logger=migrator t=2024-07-13T18:14:12.144435195Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2024-07-13T18:14:12.145062969Z level=info msg="Migration successfully executed" id="Move region to single row" duration=627.094µs grafana | logger=migrator t=2024-07-13T18:14:12.153614249Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2024-07-13T18:14:12.155116415Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.501616ms grafana | logger=migrator t=2024-07-13T18:14:12.159751349Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2024-07-13T18:14:12.161037847Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.286408ms grafana | logger=migrator t=2024-07-13T18:14:12.165857427Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-07-13T18:14:12.167318963Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.460885ms grafana | logger=migrator t=2024-07-13T18:14:12.175178776Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-07-13T18:14:12.17606082Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=881.784µs grafana | logger=migrator t=2024-07-13T18:14:12.182266362Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2024-07-13T18:14:12.18355954Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.294598ms grafana | logger=migrator t=2024-07-13T18:14:12.18968373Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2024-07-13T18:14:12.191476956Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.793146ms grafana | logger=migrator t=2024-07-13T18:14:12.21801854Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2024-07-13T18:14:12.218109924Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=91.983µs grafana | logger=migrator t=2024-07-13T18:14:12.224148559Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2024-07-13T18:14:12.225313713Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.165083ms grafana | logger=migrator t=2024-07-13T18:14:12.232862195Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2024-07-13T18:14:12.234143393Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.280598ms grafana | logger=migrator t=2024-07-13T18:14:12.239998033Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2024-07-13T18:14:12.241318452Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.320079ms grafana | logger=migrator t=2024-07-13T18:14:12.250842738Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2024-07-13T18:14:12.25276785Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.924202ms grafana | logger=migrator t=2024-07-13T18:14:12.259560865Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2024-07-13T18:14:12.259891847Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=330.922µs grafana | logger=migrator t=2024-07-13T18:14:12.263135009Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2024-07-13T18:14:12.263623977Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=488.548µs grafana | logger=migrator t=2024-07-13T18:14:12.268385925Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2024-07-13T18:14:12.268690827Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=304.192µs grafana | logger=migrator t=2024-07-13T18:14:12.276816941Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2024-07-13T18:14:12.278507794Z level=info msg="Migration successfully executed" id="create team table" duration=1.691312ms grafana | logger=migrator t=2024-07-13T18:14:12.287343584Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2024-07-13T18:14:12.288949125Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.605531ms grafana | logger=migrator t=2024-07-13T18:14:12.296760157Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2024-07-13T18:14:12.297722943Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=961.866µs grafana | logger=migrator t=2024-07-13T18:14:12.303845662Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2024-07-13T18:14:12.310951088Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=7.103726ms grafana | logger=migrator t=2024-07-13T18:14:12.316416703Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2024-07-13T18:14:12.316723634Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=305.921µs grafana | logger=migrator t=2024-07-13T18:14:12.321765093Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2024-07-13T18:14:12.323926424Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=2.164691ms grafana | logger=migrator t=2024-07-13T18:14:12.331467306Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2024-07-13T18:14:12.332941462Z level=info msg="Migration successfully executed" id="create team member table" duration=1.473505ms grafana | logger=migrator t=2024-07-13T18:14:12.339377912Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2024-07-13T18:14:12.340476503Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.098531ms grafana | logger=migrator t=2024-07-13T18:14:12.34650673Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2024-07-13T18:14:12.347522527Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.016308ms grafana | logger=migrator t=2024-07-13T18:14:12.358958215Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2024-07-13T18:14:12.360478663Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.520667ms grafana | logger=migrator t=2024-07-13T18:14:12.366873152Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2024-07-13T18:14:12.371585608Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.711847ms grafana | logger=migrator t=2024-07-13T18:14:12.379379109Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2024-07-13T18:14:12.383954511Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.574892ms grafana | logger=migrator t=2024-07-13T18:14:12.392594944Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2024-07-13T18:14:12.39996566Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=7.372236ms grafana | logger=migrator t=2024-07-13T18:14:12.406353049Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2024-07-13T18:14:12.407373527Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.020168ms grafana | logger=migrator t=2024-07-13T18:14:12.415305774Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2024-07-13T18:14:12.417153464Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.846589ms grafana | logger=migrator t=2024-07-13T18:14:12.423156578Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2024-07-13T18:14:12.4250552Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.897481ms grafana | logger=migrator t=2024-07-13T18:14:12.432218317Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2024-07-13T18:14:12.433150673Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=930.346µs grafana | logger=migrator t=2024-07-13T18:14:12.439994788Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2024-07-13T18:14:12.441546817Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.552228ms grafana | logger=migrator t=2024-07-13T18:14:12.449896928Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2024-07-13T18:14:12.451467388Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.57045ms grafana | logger=migrator t=2024-07-13T18:14:12.458262252Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2024-07-13T18:14:12.459248429Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=985.757µs grafana | logger=migrator t=2024-07-13T18:14:12.46275504Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2024-07-13T18:14:12.463694555Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=939.465µs grafana | logger=migrator t=2024-07-13T18:14:12.468569008Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2024-07-13T18:14:12.469137219Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=567.241µs grafana | logger=migrator t=2024-07-13T18:14:12.475676244Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2024-07-13T18:14:12.476162492Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=482.418µs grafana | logger=migrator t=2024-07-13T18:14:12.481280744Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2024-07-13T18:14:12.482561601Z level=info msg="Migration successfully executed" id="create tag table" duration=1.279947ms 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 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 | grafana | logger=migrator t=2024-07-13T18:14:12.494178596Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2024-07-13T18:14:12.495730805Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.552359ms grafana | logger=migrator t=2024-07-13T18:14:12.499671792Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2024-07-13T18:14:12.500526944Z level=info msg="Migration successfully executed" id="create login attempt table" duration=852.752µs grafana | logger=migrator t=2024-07-13T18:14:12.509275442Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2024-07-13T18:14:12.51031856Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.043218ms grafana | logger=migrator t=2024-07-13T18:14:12.517605954Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2024-07-13T18:14:12.518560499Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=954.795µs grafana | logger=migrator t=2024-07-13T18:14:12.550347468Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2024-07-13T18:14:12.564586621Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=14.239073ms grafana | logger=migrator t=2024-07-13T18:14:12.568614603Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2024-07-13T18:14:12.569238166Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=622.973µs grafana | logger=migrator t=2024-07-13T18:14:12.578156199Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2024-07-13T18:14:12.579168838Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.012029ms grafana | logger=migrator t=2024-07-13T18:14:12.585591288Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2024-07-13T18:14:12.585967242Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=375.794µs grafana | logger=migrator t=2024-07-13T18:14:12.590265073Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2024-07-13T18:14:12.590942928Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=677.305µs grafana | logger=migrator t=2024-07-13T18:14:12.598031123Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2024-07-13T18:14:12.599376814Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.344591ms grafana | logger=migrator t=2024-07-13T18:14:12.607619923Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2024-07-13T18:14:12.609290055Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.669431ms grafana | logger=migrator t=2024-07-13T18:14:12.616947091Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2024-07-13T18:14:12.617031515Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=84.304µs grafana | logger=migrator t=2024-07-13T18:14:12.62385056Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2024-07-13T18:14:12.632465833Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=8.616463ms grafana | logger=migrator t=2024-07-13T18:14:12.637197889Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2024-07-13T18:14:12.642444716Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.246367ms grafana | logger=migrator t=2024-07-13T18:14:12.649569223Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.2:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.4:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v3.1.4) policy-api | policy-api | [2024-07-13T18:14:22.577+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 20 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-07-13T18:14:22.579+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-07-13T18:14:24.255+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-07-13T18:14:24.338+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 73 ms. Found 6 JPA repository interfaces. policy-api | [2024-07-13T18:14:24.716+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2024-07-13T18:14:24.716+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2024-07-13T18:14:25.329+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-07-13T18:14:25.338+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-07-13T18:14:25.339+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-07-13T18:14:25.340+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] policy-api | [2024-07-13T18:14:25.422+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-07-13T18:14:25.422+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2779 ms policy-api | [2024-07-13T18:14:25.864+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-07-13T18:14:25.941+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-api | [2024-07-13T18:14:25.944+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-api | [2024-07-13T18:14:25.990+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2024-07-13T18:14:26.346+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-api | [2024-07-13T18:14:26.366+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-07-13T18:14:26.457+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@2620e717 policy-api | [2024-07-13T18:14:26.459+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-07-13T18:14:26.485+00:00|WARN|deprecation|main] HHH90000025: MariaDB103Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) policy-api | [2024-07-13T18:14:26.486+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead policy-api | [2024-07-13T18:14:28.265+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-api | [2024-07-13T18:14:28.269+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-07-13T18:14:29.468+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-07-13T18:14:30.205+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-07-13T18:14:31.301+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2024-07-13T18:14:31.487+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@d181ca3, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@78b9d614, org.springframework.security.web.context.SecurityContextHolderFilter@fb74661, org.springframework.security.web.header.HeaderWriterFilter@22ccd80f, org.springframework.security.web.authentication.logout.LogoutFilter@17d90f81, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@19e86461, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6e04275e, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@453ef145, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@63f95ac1, org.springframework.security.web.access.ExceptionTranslationFilter@680f7a5e, org.springframework.security.web.access.intercept.AuthorizationFilter@631f188a] policy-api | [2024-07-13T18:14:32.337+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-07-13T18:14:32.398+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-07-13T18:14:32.420+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-07-13T18:14:32.440+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.555 seconds (process running for 11.146) policy-api | [2024-07-13T18:14:39.706+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-07-13T18:14:39.706+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-07-13T18:14:39.708+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-api | [2024-07-13T18:14:42.232+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-07-13T18:14:42.388+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2024-07-13T18:14:42.668+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2024-07-13T18:14:43.856+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2024-07-13T18:14:45.789+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-07-13T18:14:46.095+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-07-13T18:14:46.350+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2024-07-13T18:14:46.588+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-07-13T18:14:46.824+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-07-13T18:14:47.049+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2024-07-13T18:14:12.655797686Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=6.228063ms grafana | logger=migrator t=2024-07-13T18:14:12.663725923Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2024-07-13T18:14:12.667848997Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=4.122673ms grafana | logger=migrator t=2024-07-13T18:14:12.675365418Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2024-07-13T18:14:12.677239909Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.87146ms grafana | logger=migrator t=2024-07-13T18:14:12.682523277Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2024-07-13T18:14:12.689498657Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=6.973791ms grafana | logger=migrator t=2024-07-13T18:14:12.695884136Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2024-07-13T18:14:12.697516927Z level=info msg="Migration successfully executed" id="create server_lock table" duration=1.640812ms grafana | logger=migrator t=2024-07-13T18:14:12.70852866Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2024-07-13T18:14:12.710048656Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.520006ms grafana | logger=migrator t=2024-07-13T18:14:12.718901188Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2024-07-13T18:14:12.721363429Z level=info msg="Migration successfully executed" id="create user auth token table" duration=2.461191ms grafana | logger=migrator t=2024-07-13T18:14:12.731299362Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2024-07-13T18:14:12.73233709Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.037238ms grafana | logger=migrator t=2024-07-13T18:14:12.742553243Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2024-07-13T18:14:12.744706634Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=2.148581ms grafana | logger=migrator t=2024-07-13T18:14:12.752706183Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2024-07-13T18:14:12.753713141Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.006528ms grafana | logger=migrator t=2024-07-13T18:14:12.759878011Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2024-07-13T18:14:12.768545476Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=8.673085ms grafana | logger=migrator t=2024-07-13T18:14:12.776187192Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2024-07-13T18:14:12.777607915Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.421323ms grafana | logger=migrator t=2024-07-13T18:14:12.783112341Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2024-07-13T18:14:12.78442644Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.313709ms grafana | logger=migrator t=2024-07-13T18:14:12.788788803Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2024-07-13T18:14:12.790254758Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.465385ms grafana | logger=migrator t=2024-07-13T18:14:12.79992793Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2024-07-13T18:14:12.801223439Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.295159ms grafana | logger=migrator t=2024-07-13T18:14:12.806770297Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2024-07-13T18:14:12.808227581Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.456694ms grafana | logger=migrator t=2024-07-13T18:14:12.815443551Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2024-07-13T18:14:12.815501803Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=58.422µs grafana | logger=migrator t=2024-07-13T18:14:12.822585669Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2024-07-13T18:14:12.822864859Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=277.76µs grafana | logger=migrator t=2024-07-13T18:14:12.827046275Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2024-07-13T18:14:12.828407937Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.355212ms grafana | logger=migrator t=2024-07-13T18:14:12.837811719Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-07-13T18:14:12.839548574Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.736336ms grafana | logger=migrator t=2024-07-13T18:14:12.873935031Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-07-13T18:14:12.875481388Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.546027ms grafana | logger=migrator t=2024-07-13T18:14:12.882338075Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2024-07-13T18:14:12.882431469Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=94.584µs grafana | logger=migrator t=2024-07-13T18:14:12.889377378Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-07-13T18:14:12.890876245Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.498797ms grafana | logger=migrator t=2024-07-13T18:14:12.89691005Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-07-13T18:14:12.897855596Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=945.375µs grafana | logger=migrator t=2024-07-13T18:14:12.902909405Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-07-13T18:14:12.904569307Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.659602ms grafana | logger=migrator t=2024-07-13T18:14:12.908991062Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-07-13T18:14:12.910015191Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.023999ms grafana | logger=migrator t=2024-07-13T18:14:12.915246417Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2024-07-13T18:14:12.923837919Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=8.590472ms grafana | logger=migrator t=2024-07-13T18:14:12.930598351Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2024-07-13T18:14:12.931432602Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=828.821µs grafana | logger=migrator t=2024-07-13T18:14:12.937093464Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2024-07-13T18:14:12.937317302Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=222.548µs grafana | logger=migrator t=2024-07-13T18:14:12.940590976Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2024-07-13T18:14:12.942181825Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.590229ms grafana | logger=migrator t=2024-07-13T18:14:12.946876421Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" grafana | logger=migrator t=2024-07-13T18:14:12.947840047Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=963.916µs grafana | logger=migrator t=2024-07-13T18:14:12.951069767Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" grafana | logger=migrator t=2024-07-13T18:14:12.952226561Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.154524ms grafana | logger=migrator t=2024-07-13T18:14:12.95861518Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-07-13T18:14:12.958795247Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=179.346µs grafana | logger=migrator t=2024-07-13T18:14:12.968038782Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2024-07-13T18:14:12.969067292Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.028669ms grafana | logger=migrator t=2024-07-13T18:14:12.974212284Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2024-07-13T18:14:12.976146176Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.936522ms grafana | logger=migrator t=2024-07-13T18:14:12.982766364Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" grafana | logger=migrator t=2024-07-13T18:14:12.983818253Z 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.022588ms grafana | logger=migrator t=2024-07-13T18:14:12.99173242Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2024-07-13T18:14:12.993166633Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.434033ms grafana | logger=migrator t=2024-07-13T18:14:12.99735871Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2024-07-13T18:14:13.004057541Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=6.699691ms grafana | logger=migrator t=2024-07-13T18:14:13.007279951Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2024-07-13T18:14:13.008170055Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=889.384µs grafana | logger=migrator t=2024-07-13T18:14:13.012813798Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-07-13T18:14:13.01367209Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=858.003µs grafana | logger=migrator t=2024-07-13T18:14:13.01635161Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2024-07-13T18:14:13.039962361Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=23.610691ms grafana | logger=migrator t=2024-07-13T18:14:13.045045511Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2024-07-13T18:14:13.068272627Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=23.226037ms grafana | logger=migrator t=2024-07-13T18:14:13.07104403Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2024-07-13T18:14:13.071732776Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=688.456µs grafana | logger=migrator t=2024-07-13T18:14:13.074388815Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-07-13T18:14:13.075092432Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=702.467µs grafana | logger=migrator t=2024-07-13T18:14:13.080475813Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2024-07-13T18:14:13.086138254Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.662181ms grafana | logger=migrator t=2024-07-13T18:14:13.088992571Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" grafana | logger=migrator t=2024-07-13T18:14:13.094627711Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=5.634301ms grafana | logger=migrator t=2024-07-13T18:14:13.097491398Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2024-07-13T18:14:13.098447983Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=958.796µs grafana | logger=migrator t=2024-07-13T18:14:13.103360017Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2024-07-13T18:14:13.104282211Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=922.215µs grafana | logger=migrator t=2024-07-13T18:14:13.108697576Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2024-07-13T18:14:13.110101428Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.404492ms policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0450-pdpgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | 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)) grafana | logger=migrator t=2024-07-13T18:14:13.113671931Z 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-07-13T18:14:13.115268361Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.59582ms policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.120313099Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.120371051Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=58.792µs policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2024-07-13T18:14:13.123066262Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.128897899Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=5.831837ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) grafana | logger=migrator t=2024-07-13T18:14:13.131769126Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.137655946Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=5.8864ms policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.140882236Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.146781236Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.89987ms policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2024-07-13T18:14:13.151591766Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.152494099Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=901.283µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) grafana | logger=migrator t=2024-07-13T18:14:13.155251432Z 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-07-13T18:14:13.156190548Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=938.686µs policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.163607034Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.172370571Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=8.763617ms policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2024-07-13T18:14:13.174857714Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.179132054Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=4.273409ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-07-13T18:14:13.181848225Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.182779979Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=931.104µs policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.185577274Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.191463273Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=5.883849ms policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2024-07-13T18:14:13.231390053Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.240435301Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=9.045968ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) grafana | logger=migrator t=2024-07-13T18:14:13.247806555Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.247866888Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=59.272µs policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.255496662Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.257126044Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.629212ms policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2024-07-13T18:14:13.266025006Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.266983401Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" duration=958.006µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) grafana | logger=migrator t=2024-07-13T18:14:13.276557309Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.278249421Z 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.691812ms policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.289965238Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.290180026Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=212.778µs policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2024-07-13T18:14:13.297842422Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.30663676Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=8.815989ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-07-13T18:14:13.340974952Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.350360092Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=9.38974ms policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.354083461Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.364903134Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=10.821044ms policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2024-07-13T18:14:13.370301106Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.375181248Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=4.879802ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) grafana | logger=migrator t=2024-07-13T18:14:13.378022214Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.385021685Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.999601ms policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.38782937Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.387882982Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=53.622µs policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2024-07-13T18:14:13.392807986Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.394761169Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.954854ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) grafana | logger=migrator t=2024-07-13T18:14:13.398695895Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.407255215Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=8.553109ms policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2024-07-13T18:14:13.411891538Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.411989261Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=97.063µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-07-13T18:14:13.415654178Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.42240743Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.752492ms policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.426178941Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.428168655Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.987914ms policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2024-07-13T18:14:13.431769739Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.438569103Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.799434ms grafana | logger=migrator t=2024-07-13T18:14:13.44385426Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2024-07-13T18:14:13.444812806Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=957.796µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-07-13T18:14:13.449782841Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.452591466Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=2.813185ms policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.460623846Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.467368688Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.734771ms policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2024-07-13T18:14:13.471215081Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.472378744Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=1.164803ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) grafana | logger=migrator t=2024-07-13T18:14:13.476792689Z 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-07-13T18:14:13.477957882Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.164483ms policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.482253523Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.483123125Z level=info msg="Migration successfully executed" id="create alert_image table" duration=869.252µs policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2024-07-13T18:14:13.487909664Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.488930302Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.020928ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-07-13T18:14:13.493319516Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.49342124Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=103.004µs policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.498659205Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.500182181Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.523236ms policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2024-07-13T18:14:13.505739659Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.507272066Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.531897ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) grafana | logger=migrator t=2024-07-13T18:14:13.51165838Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.512251182Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.516030753Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.516459709Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=428.966µs policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2024-07-13T18:14:13.521172745Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.522330058Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.156003ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) grafana | logger=migrator t=2024-07-13T18:14:13.526789315Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.535621484Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=8.83562ms policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.53926006Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.540194935Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=935.916µs policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2024-07-13T18:14:13.578054257Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.579649767Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.59264ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) grafana | logger=migrator t=2024-07-13T18:14:13.58349733Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.584794649Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.297249ms policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.588762227Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.590320765Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.557748ms policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2024-07-13T18:14:13.59528189Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.596231386Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=948.736µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-07-13T18:14:13.599970055Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.600013337Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=55.262µs policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.607671513Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.607979564Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=307.772µs policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2024-07-13T18:14:13.618771617Z level=info msg="Executing migration" id="add library_element folder uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.629087841Z level=info msg="Migration successfully executed" id="add library_element folder uid" duration=10.317404ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-07-13T18:14:13.6325364Z level=info msg="Executing migration" id="populate library_element folder_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.632895534Z level=info msg="Migration successfully executed" id="populate library_element folder_uid" duration=359.964µs policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.636254589Z level=info msg="Executing migration" id="add index library_element org_id-folder_uid-name-kind" policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.637240255Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_uid-name-kind" duration=985.076µs policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2024-07-13T18:14:13.641677911Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.642098367Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=420.286µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) grafana | logger=migrator t=2024-07-13T18:14:13.646375237Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.648008877Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.62866ms policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.651775808Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.653137879Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.361101ms policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-07-13T18:14:13.6566544Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.688375054Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=31.722024ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) grafana | logger=migrator t=2024-07-13T18:14:13.692352832Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.698110467Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.750864ms policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.701448091Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.701676819Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=228.528µs policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2024-07-13T18:14:13.705082557Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.735147958Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=30.064411ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-07-13T18:14:13.739565764Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.768322166Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=28.756033ms policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.772009663Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.772666239Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=656.096µs policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2024-07-13T18:14:13.776213631Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.777354013Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.139922ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) grafana | logger=migrator t=2024-07-13T18:14:13.781896353Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.782177643Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=279.74µs policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.785795558Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.786706663Z level=info msg="Migration successfully executed" id="create permission table" duration=911.924µs policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-07-13T18:14:13.790305247Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.791417598Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.111142ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) grafana | logger=migrator t=2024-07-13T18:14:13.795108416Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.7968292Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.720173ms policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.801445862Z level=info msg="Executing migration" id="create role table" policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.80246505Z level=info msg="Migration successfully executed" id="create role table" duration=1.019168ms policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-07-13T18:14:13.805788664Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.81317226Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.382875ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-07-13T18:14:13.816995812Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.82443361Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.421047ms policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.828745291Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.829839641Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.09423ms policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-07-13T18:14:13.833345562Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.834465204Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.119112ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) grafana | logger=migrator t=2024-07-13T18:14:13.837929593Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.838983142Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.052929ms policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.843497041Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.844433146Z level=info msg="Migration successfully executed" id="create team role table" duration=935.655µs policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-07-13T18:14:13.847957908Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.849060779Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.102761ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.852352111Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.853487594Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.135053ms policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.857633299Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2024-07-13T18:14:13.858784901Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.150533ms grafana | logger=migrator t=2024-07-13T18:14:13.862336904Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-07-13T18:14:13.863877451Z level=info msg="Migration successfully executed" id="create user role table" duration=1.539697ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.867892762Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-07-13T18:14:13.869629496Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.737444ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.874031701Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.87510883Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.07612ms policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.878724316Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-07-13T18:14:13.880334095Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.607999ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.884052634Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-07-13T18:14:13.885353193Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.299879ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.889676034Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.890736064Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.05975ms policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.894044867Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-07-13T18:14:13.895128567Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.0827ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.924808125Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-07-13T18:14:13.935838917Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=11.030961ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.940459509Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.941507248Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.047639ms policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.944911325Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-07-13T18:14:13.945972685Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.06205ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.949565949Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-07-13T18:14:13.950574296Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.007387ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.954717431Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.955729639Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.011807ms policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.959182827Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-07-13T18:14:13.959909984Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=727.297µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.963161526Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2024-07-13T18:14:13.964175064Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.010847ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.968303687Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.976110109Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=7.805482ms policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:13.979667692Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-07-13T18:14:13.987441741Z level=info msg="Migration successfully executed" id="permission kind migration" duration=7.773239ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:13.990733355Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-07-13T18:14:13.998466143Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=7.732018ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:14.001816518Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:14.009576817Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.759699ms policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:14.013836707Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-07-13T18:14:14.014569914Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=732.877µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:14.017551135Z level=info msg="Executing migration" id="add permission action scope role_id index" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-07-13T18:14:14.018302883Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=750.968µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:14.022478519Z level=info msg="Executing migration" id="remove permission role_id action scope index" policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:14.02413454Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.655651ms policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:14.027753476Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-07-13T18:14:14.029076505Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.322119ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:14.032842546Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-07-13T18:14:14.034491827Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.648201ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-13T18:14:14.038867701Z 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-07-13T18:14:14.038930733Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=63.292µs policy-db-migrator | policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:14.042307159Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2024-07-13T18:14:14.04234281Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=36.241µs grafana | logger=migrator t=2024-07-13T18:14:14.045780788Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2024-07-13T18:14:14.046551917Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=771.069µs grafana | logger=migrator t=2024-07-13T18:14:14.050190353Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2024-07-13T18:14:14.051158699Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=969.556µs grafana | logger=migrator t=2024-07-13T18:14:14.055675868Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2024-07-13T18:14:14.056350483Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=674.425µs grafana | logger=migrator t=2024-07-13T18:14:14.059729119Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2024-07-13T18:14:14.059965667Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=236.338µs grafana | logger=migrator t=2024-07-13T18:14:14.063319992Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2024-07-13T18:14:14.064102172Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=782.3µs grafana | logger=migrator t=2024-07-13T18:14:14.067977247Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2024-07-13T18:14:14.069354008Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.375862ms grafana | logger=migrator t=2024-07-13T18:14:14.073889037Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2024-07-13T18:14:14.075009979Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.119432ms grafana | logger=migrator t=2024-07-13T18:14:14.078380385Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2024-07-13T18:14:14.089143887Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=10.763582ms grafana | logger=migrator t=2024-07-13T18:14:14.092376857Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2024-07-13T18:14:14.092428999Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=52.102µs grafana | logger=migrator t=2024-07-13T18:14:14.09648214Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2024-07-13T18:14:14.097570841Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.086561ms grafana | logger=migrator t=2024-07-13T18:14:14.101323831Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2024-07-13T18:14:14.103235992Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.907891ms grafana | logger=migrator t=2024-07-13T18:14:14.106973962Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2024-07-13T18:14:14.108061682Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.08707ms grafana | logger=migrator t=2024-07-13T18:14:14.112375223Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2024-07-13T18:14:14.120419523Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.04399ms grafana | logger=migrator t=2024-07-13T18:14:14.123863072Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2024-07-13T18:14:14.12489007Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.026298ms grafana | logger=migrator t=2024-07-13T18:14:14.128252586Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2024-07-13T18:14:14.129289344Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.036288ms grafana | logger=migrator t=2024-07-13T18:14:14.133461169Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2024-07-13T18:14:14.153153134Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=19.691595ms grafana | logger=migrator t=2024-07-13T18:14:14.156473279Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2024-07-13T18:14:14.157286899Z level=info msg="Migration successfully executed" id="create correlation v2" duration=812.34µs grafana | logger=migrator t=2024-07-13T18:14:14.161536797Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2024-07-13T18:14:14.162916989Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.377942ms grafana | logger=migrator t=2024-07-13T18:14:14.166852065Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2024-07-13T18:14:14.168679314Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.827009ms grafana | logger=migrator t=2024-07-13T18:14:14.172530357Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2024-07-13T18:14:14.173572947Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.04301ms grafana | logger=migrator t=2024-07-13T18:14:14.177711631Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2024-07-13T18:14:14.177951689Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=239.988µs grafana | logger=migrator t=2024-07-13T18:14:14.181388928Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2024-07-13T18:14:14.182528331Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.138772ms grafana | logger=migrator t=2024-07-13T18:14:14.186198937Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2024-07-13T18:14:14.194992585Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.794328ms grafana | logger=migrator t=2024-07-13T18:14:14.199112579Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2024-07-13T18:14:14.199755823Z level=info msg="Migration successfully executed" id="create entity_events table" duration=642.494µs grafana | logger=migrator t=2024-07-13T18:14:14.202373501Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2024-07-13T18:14:14.203947Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.573099ms grafana | logger=migrator t=2024-07-13T18:14:14.207525563Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdp.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql policy-db-migrator | -------------- 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 policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE jpapdpstatistics_enginestats a policy-db-migrator | JOIN pdpstatistics b policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp policy-db-migrator | SET a.id = b.id policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-sequence.sql policy-db-migrator | -------------- policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:14.208196218Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-07-13T18:14:14.212434387Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-07-13T18:14:14.213091581Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-07-13T18:14:14.23666166Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2024-07-13T18:14:14.237870846Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.212836ms grafana | logger=migrator t=2024-07-13T18:14:14.242321691Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2024-07-13T18:14:14.243903501Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.581369ms grafana | logger=migrator t=2024-07-13T18:14:14.249071004Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-07-13T18:14:14.250748486Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.676392ms grafana | logger=migrator t=2024-07-13T18:14:14.254140773Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-07-13T18:14:14.255236313Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.09468ms grafana | logger=migrator t=2024-07-13T18:14:14.258583048Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-07-13T18:14:14.259575845Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=992.307µs grafana | logger=migrator t=2024-07-13T18:14:14.265698534Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-07-13T18:14:14.266698441Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=999.307µs grafana | logger=migrator t=2024-07-13T18:14:14.27069639Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-07-13T18:14:14.271855564Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.158413ms grafana | logger=migrator t=2024-07-13T18:14:14.276660653Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2024-07-13T18:14:14.278613255Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.952072ms grafana | logger=migrator t=2024-07-13T18:14:14.2822175Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-07-13T18:14:14.283312441Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.094721ms grafana | logger=migrator t=2024-07-13T18:14:14.286840772Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-07-13T18:14:14.288129251Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.287419ms grafana | logger=migrator t=2024-07-13T18:14:14.29268991Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2024-07-13T18:14:14.294446826Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.756466ms grafana | logger=migrator t=2024-07-13T18:14:14.298015849Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2024-07-13T18:14:14.328921522Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=30.894413ms grafana | logger=migrator t=2024-07-13T18:14:14.33420697Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2024-07-13T18:14:14.343245647Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=9.037567ms grafana | logger=migrator t=2024-07-13T18:14:14.346761339Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2024-07-13T18:14:14.352914888Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=6.15294ms grafana | logger=migrator t=2024-07-13T18:14:14.35647445Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2024-07-13T18:14:14.356708109Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=234.639µs grafana | logger=migrator t=2024-07-13T18:14:14.360047044Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2024-07-13T18:14:14.369154064Z level=info msg="Migration successfully executed" id="add share column" duration=9.105911ms grafana | logger=migrator t=2024-07-13T18:14:14.375928966Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2024-07-13T18:14:14.376260139Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=338.533µs grafana | logger=migrator t=2024-07-13T18:14:14.381003776Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2024-07-13T18:14:14.382053765Z level=info msg="Migration successfully executed" id="create file table" duration=1.036648ms grafana | logger=migrator t=2024-07-13T18:14:14.386006903Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-07-13T18:14:14.387752797Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.745264ms grafana | logger=migrator t=2024-07-13T18:14:14.392124121Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-07-13T18:14:14.393242562Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.117771ms grafana | logger=migrator t=2024-07-13T18:14:14.397034624Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-07-13T18:14:14.39800734Z level=info msg="Migration successfully executed" id="create file_meta table" duration=972.566µs grafana | logger=migrator t=2024-07-13T18:14:14.406115143Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-07-13T18:14:14.408817384Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=2.706411ms grafana | logger=migrator t=2024-07-13T18:14:14.412569783Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-07-13T18:14:14.412674957Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=106.424µs policy-db-migrator | policy-db-migrator | > upgrade 0120-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscatrigger policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaparameter policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-upgrade.sql policy-db-migrator | -------------- policy-db-migrator | select 'upgrade to 1100 completed' as msg policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | msg policy-db-migrator | upgrade to 1100 completed policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-07-13T18:14:14.416122346Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-07-13T18:14:14.416207009Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=81.553µs grafana | logger=migrator t=2024-07-13T18:14:14.421150063Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-07-13T18:14:14.421851979Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=701.386µs grafana | logger=migrator t=2024-07-13T18:14:14.425918002Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-07-13T18:14:14.426428271Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=513.879µs grafana | logger=migrator t=2024-07-13T18:14:14.43016811Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-07-13T18:14:14.431559012Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.387662ms grafana | logger=migrator t=2024-07-13T18:14:14.436043769Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-07-13T18:14:14.445296025Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=9.251266ms grafana | logger=migrator t=2024-07-13T18:14:14.448822926Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-07-13T18:14:14.449015213Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=191.307µs grafana | logger=migrator t=2024-07-13T18:14:14.452288075Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-07-13T18:14:14.453119887Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=831.812µs grafana | logger=migrator t=2024-07-13T18:14:14.456679929Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-07-13T18:14:14.457540171Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=858.752µs grafana | logger=migrator t=2024-07-13T18:14:14.46099539Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-07-13T18:14:14.461310752Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=315.221µs grafana | logger=migrator t=2024-07-13T18:14:14.464650437Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-07-13T18:14:14.465516749Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=866.522µs grafana | logger=migrator t=2024-07-13T18:14:14.470579058Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-07-13T18:14:14.480870151Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=10.284543ms grafana | logger=migrator t=2024-07-13T18:14:14.484204367Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-07-13T18:14:14.492931382Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.726436ms grafana | logger=migrator t=2024-07-13T18:14:14.496031078Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-07-13T18:14:14.496830217Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=798.349µs grafana | logger=migrator t=2024-07-13T18:14:14.501615746Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-07-13T18:14:14.579961119Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=78.348673ms grafana | logger=migrator t=2024-07-13T18:14:14.584062792Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-07-13T18:14:14.584888333Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=825.671µs grafana | logger=migrator t=2024-07-13T18:14:14.588330881Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-07-13T18:14:14.589435622Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.097341ms grafana | logger=migrator t=2024-07-13T18:14:14.595143045Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-07-13T18:14:14.621945346Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=26.80133ms grafana | logger=migrator t=2024-07-13T18:14:14.625051771Z level=info msg="Executing migration" id="add origin column to seed_assignment" grafana | logger=migrator t=2024-07-13T18:14:14.631470131Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=6.416559ms grafana | logger=migrator t=2024-07-13T18:14:14.637178974Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" grafana | logger=migrator t=2024-07-13T18:14:14.637483565Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=306.342µs grafana | logger=migrator t=2024-07-13T18:14:14.640416644Z level=info msg="Executing migration" id="prevent seeding OnCall access" grafana | logger=migrator t=2024-07-13T18:14:14.640675585Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=259.591µs grafana | logger=migrator t=2024-07-13T18:14:14.644111963Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-07-13T18:14:14.644453375Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=341.012µs grafana | logger=migrator t=2024-07-13T18:14:14.652180784Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-07-13T18:14:14.652502336Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=322.072µs grafana | logger=migrator t=2024-07-13T18:14:14.658492509Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-07-13T18:14:14.658823771Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=330.922µs grafana | logger=migrator t=2024-07-13T18:14:14.665333024Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-07-13T18:14:14.666945694Z level=info msg="Migration successfully executed" id="create folder table" duration=1.60382ms grafana | logger=migrator t=2024-07-13T18:14:14.670077111Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-07-13T18:14:14.671245434Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.167583ms grafana | logger=migrator t=2024-07-13T18:14:14.676470439Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" policy-db-migrator | -------------- policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | TRUNCATE TABLE sequence policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE statistics_sequence policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1300) policy-db-migrator | name version policy-db-migrator | policyadmin 1300 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:14 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:14 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:14 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:14 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:14 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:14 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:14 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:14 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:15 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:15 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:15 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:15 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:15 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:15 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:15 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:15 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:15 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:15 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:15 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:15 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:15 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:15 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:15 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:15 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:15 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:15 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:15 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:15 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:15 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:15 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:16 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:16 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:16 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:16 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:16 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:16 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:16 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:16 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:16 grafana | logger=migrator t=2024-07-13T18:14:14.677981446Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.499617ms grafana | logger=migrator t=2024-07-13T18:14:14.681548769Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-07-13T18:14:14.68158489Z level=info msg="Migration successfully executed" id="Update folder title length" duration=37.011µs grafana | logger=migrator t=2024-07-13T18:14:14.685611631Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-07-13T18:14:14.686831396Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.219375ms grafana | logger=migrator t=2024-07-13T18:14:14.692608912Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-07-13T18:14:14.694112088Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.502166ms grafana | logger=migrator t=2024-07-13T18:14:14.699850012Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-07-13T18:14:14.701662489Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.811867ms grafana | logger=migrator t=2024-07-13T18:14:14.70970303Z level=info msg="Executing migration" id="Sync dashboard and folder table" grafana | logger=migrator t=2024-07-13T18:14:14.710131795Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=428.826µs grafana | logger=migrator t=2024-07-13T18:14:14.715286068Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" grafana | logger=migrator t=2024-07-13T18:14:14.715716564Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=430.786µs grafana | logger=migrator t=2024-07-13T18:14:14.724692168Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" grafana | logger=migrator t=2024-07-13T18:14:14.726513367Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.820739ms grafana | logger=migrator t=2024-07-13T18:14:14.729801799Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" grafana | logger=migrator t=2024-07-13T18:14:14.731037726Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.215816ms grafana | logger=migrator t=2024-07-13T18:14:14.736636495Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" grafana | logger=migrator t=2024-07-13T18:14:14.738374859Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.736634ms grafana | logger=migrator t=2024-07-13T18:14:14.743098866Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" grafana | logger=migrator t=2024-07-13T18:14:14.744956285Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.856609ms grafana | logger=migrator t=2024-07-13T18:14:14.748537779Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" grafana | logger=migrator t=2024-07-13T18:14:14.749568347Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.030358ms grafana | logger=migrator t=2024-07-13T18:14:14.754708019Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-07-13T18:14:14.756138562Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.433534ms grafana | logger=migrator t=2024-07-13T18:14:14.76037822Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-07-13T18:14:14.762347054Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.969114ms grafana | logger=migrator t=2024-07-13T18:14:14.768389759Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-07-13T18:14:14.769519991Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.129832ms grafana | logger=migrator t=2024-07-13T18:14:14.77268302Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-07-13T18:14:14.774084752Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.401352ms grafana | logger=migrator t=2024-07-13T18:14:14.777380224Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-07-13T18:14:14.779648039Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=2.267395ms grafana | logger=migrator t=2024-07-13T18:14:14.785628292Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-07-13T18:14:14.786782536Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.155884ms grafana | logger=migrator t=2024-07-13T18:14:14.792942166Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-07-13T18:14:14.793483746Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=543.72µs grafana | logger=migrator t=2024-07-13T18:14:14.796969915Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-07-13T18:14:14.807424786Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=10.455201ms grafana | logger=migrator t=2024-07-13T18:14:14.810439908Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-07-13T18:14:14.810931936Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=492.368µs grafana | logger=migrator t=2024-07-13T18:14:14.816184762Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-07-13T18:14:14.816204263Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=19.921µs grafana | logger=migrator t=2024-07-13T18:14:14.818462648Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-07-13T18:14:14.820163931Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.700634ms grafana | logger=migrator t=2024-07-13T18:14:14.825675447Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-07-13T18:14:14.825706538Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=32.461µs grafana | logger=migrator t=2024-07-13T18:14:14.837179946Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" grafana | logger=migrator t=2024-07-13T18:14:14.83918559Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=2.004864ms grafana | logger=migrator t=2024-07-13T18:14:14.842390241Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-07-13T18:14:14.843741301Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.35154ms grafana | logger=migrator t=2024-07-13T18:14:14.846536975Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-07-13T18:14:14.847573773Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.036468ms grafana | logger=migrator t=2024-07-13T18:14:14.853506025Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-07-13T18:14:14.854242243Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=738.139µs grafana | logger=migrator t=2024-07-13T18:14:14.857078319Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-07-13T18:14:14.857325018Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=247.73µs grafana | logger=migrator t=2024-07-13T18:14:14.860368001Z level=info msg="Executing migration" id="managed dashboard permissions annotation actions migration" grafana | logger=migrator t=2024-07-13T18:14:14.861286945Z level=info msg="Migration successfully executed" id="managed dashboard permissions annotation actions migration" duration=918.564µs grafana | logger=migrator t=2024-07-13T18:14:14.864600559Z level=info msg="Executing migration" id="create cloud_migration table v1" grafana | logger=migrator t=2024-07-13T18:14:14.86597106Z level=info msg="Migration successfully executed" id="create cloud_migration table v1" duration=1.370192ms grafana | logger=migrator t=2024-07-13T18:14:14.873969629Z level=info msg="Executing migration" id="create cloud_migration_run table v1" grafana | logger=migrator t=2024-07-13T18:14:14.87481013Z level=info msg="Migration successfully executed" id="create cloud_migration_run table v1" duration=840.791µs grafana | logger=migrator t=2024-07-13T18:14:14.88339665Z level=info msg="Executing migration" id="add stack_id column" grafana | logger=migrator t=2024-07-13T18:14:14.894897459Z level=info msg="Migration successfully executed" id="add stack_id column" duration=11.500759ms grafana | logger=migrator t=2024-07-13T18:14:14.925360456Z level=info msg="Executing migration" id="add region_slug column" grafana | logger=migrator t=2024-07-13T18:14:14.937485338Z level=info msg="Migration successfully executed" id="add region_slug column" duration=12.125812ms grafana | logger=migrator t=2024-07-13T18:14:14.94477641Z level=info msg="Executing migration" id="add cluster_slug column" grafana | logger=migrator t=2024-07-13T18:14:14.954245823Z level=info msg="Migration successfully executed" id="add cluster_slug column" duration=9.469083ms grafana | logger=migrator t=2024-07-13T18:14:14.957004406Z level=info msg="Executing migration" id="add migration uid column" grafana | logger=migrator t=2024-07-13T18:14:14.966440989Z level=info msg="Migration successfully executed" id="add migration uid column" duration=9.434963ms grafana | logger=migrator t=2024-07-13T18:14:14.969537394Z level=info msg="Executing migration" id="Update uid column values for migration" grafana | logger=migrator t=2024-07-13T18:14:14.969655729Z level=info msg="Migration successfully executed" id="Update uid column values for migration" duration=117.965µs grafana | logger=migrator t=2024-07-13T18:14:14.974524631Z level=info msg="Executing migration" id="Add unique index migration_uid" grafana | logger=migrator t=2024-07-13T18:14:14.975419914Z level=info msg="Migration successfully executed" id="Add unique index migration_uid" duration=891.343µs grafana | logger=migrator t=2024-07-13T18:14:14.978683255Z level=info msg="Executing migration" id="add migration run uid column" grafana | logger=migrator t=2024-07-13T18:14:14.991703311Z level=info msg="Migration successfully executed" id="add migration run uid column" duration=13.019686ms grafana | logger=migrator t=2024-07-13T18:14:14.994582669Z level=info msg="Executing migration" id="Update uid column values for migration run" grafana | logger=migrator t=2024-07-13T18:14:14.994777456Z level=info msg="Migration successfully executed" id="Update uid column values for migration run" duration=194.867µs grafana | logger=migrator t=2024-07-13T18:14:14.997671984Z level=info msg="Executing migration" id="Add unique index migration_run_uid" grafana | logger=migrator t=2024-07-13T18:14:14.998867308Z level=info msg="Migration successfully executed" id="Add unique index migration_run_uid" duration=1.194864ms grafana | logger=migrator t=2024-07-13T18:14:15.003675008Z level=info msg="Executing migration" id="alter kv_store.value to longtext" grafana | logger=migrator t=2024-07-13T18:14:15.00373758Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=62.722µs grafana | logger=migrator t=2024-07-13T18:14:15.006264285Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" grafana | logger=migrator t=2024-07-13T18:14:15.018655376Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=12.389812ms grafana | logger=migrator t=2024-07-13T18:14:15.027366732Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" grafana | logger=migrator t=2024-07-13T18:14:15.03723847Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=9.870298ms grafana | logger=migrator t=2024-07-13T18:14:15.044900456Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" grafana | logger=migrator t=2024-07-13T18:14:15.045131265Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=231.039µs grafana | logger=migrator t=2024-07-13T18:14:15.050296168Z level=info msg="Executing migration" id="managed folder permissions alerting silences actions migration" grafana | logger=migrator t=2024-07-13T18:14:15.050885849Z level=info msg="Migration successfully executed" id="managed folder permissions alerting silences actions migration" duration=589.131µs grafana | logger=migrator t=2024-07-13T18:14:15.056036662Z level=info msg="Executing migration" id="add record column to alert_rule table" grafana | logger=migrator t=2024-07-13T18:14:15.067385205Z level=info msg="Migration successfully executed" id="add record column to alert_rule table" duration=11.352444ms grafana | logger=migrator t=2024-07-13T18:14:15.071995867Z level=info msg="Executing migration" id="add record column to alert_rule_version table" grafana | logger=migrator t=2024-07-13T18:14:15.080740484Z level=info msg="Migration successfully executed" id="add record column to alert_rule_version table" duration=8.743488ms grafana | logger=migrator t=2024-07-13T18:14:15.084365659Z level=info msg="migrations completed" performed=572 skipped=0 duration=4.6692257s grafana | logger=migrator t=2024-07-13T18:14:15.084969161Z level=info msg="Unlocking database" grafana | logger=sqlstore t=2024-07-13T18:14:15.100585764Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-07-13T18:14:15.100780251Z level=info msg="Created default organization" grafana | logger=secrets t=2024-07-13T18:14:15.106290657Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.angulardetectorsprovider.dynamic t=2024-07-13T18:14:15.158288426Z level=info msg="Restored cache from database" duration=634.803µs grafana | logger=plugin.store t=2024-07-13T18:14:15.160359784Z level=info msg="Loading plugins..." policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:16 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:16 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:16 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:16 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:16 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:16 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:16 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:16 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:16 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:16 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:16 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:16 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:16 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:16 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:16 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:16 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:17 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:17 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:17 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:17 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:17 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:17 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:17 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:17 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:17 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:17 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:17 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:17 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:17 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:17 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:17 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:17 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:17 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:17 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:17 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:17 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:17 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:17 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:17 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:17 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:18 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:18 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:18 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:18 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:18 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:18 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:18 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:18 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:18 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:18 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:18 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:18 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:18 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:18 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:18 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:18 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1307241814140800u 1 2024-07-13 18:14:18 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1307241814140900u 1 2024-07-13 18:14:19 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1307241814140900u 1 2024-07-13 18:14:19 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1307241814140900u 1 2024-07-13 18:14:19 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1307241814140900u 1 2024-07-13 18:14:19 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1307241814140900u 1 2024-07-13 18:14:19 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1307241814140900u 1 2024-07-13 18:14:19 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1307241814140900u 1 2024-07-13 18:14:19 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1307241814140900u 1 2024-07-13 18:14:19 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1307241814140900u 1 2024-07-13 18:14:19 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1307241814140900u 1 2024-07-13 18:14:19 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1307241814140900u 1 2024-07-13 18:14:19 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1307241814140900u 1 2024-07-13 18:14:19 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1307241814140900u 1 2024-07-13 18:14:19 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1307241814141000u 1 2024-07-13 18:14:19 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1307241814141000u 1 2024-07-13 18:14:19 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1307241814141000u 1 2024-07-13 18:14:19 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1307241814141000u 1 2024-07-13 18:14:19 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1307241814141000u 1 2024-07-13 18:14:19 grafana | logger=plugins.registration t=2024-07-13T18:14:15.190309652Z level=error msg="Could not register plugin" pluginId=xychart error="plugin xychart is already registered" grafana | logger=plugins.initialization t=2024-07-13T18:14:15.190329402Z level=error msg="Could not initialize plugin" pluginId=xychart error="plugin xychart is already registered" grafana | logger=local.finder t=2024-07-13T18:14:15.190407565Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-07-13T18:14:15.190419466Z level=info msg="Plugins loaded" count=54 duration=30.060522ms grafana | logger=query_data t=2024-07-13T18:14:15.194440835Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-07-13T18:14:15.198189256Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.notifier.alertmanager org=1 t=2024-07-13T18:14:15.205804569Z level=info msg="Applying new configuration to Alertmanager" configHash=d2c56faca6af2a5772ff4253222f7386 grafana | logger=ngalert.state.manager t=2024-07-13T18:14:15.216043662Z level=info msg="Running in alternative execution of Error/NoData mode" grafana | logger=infra.usagestats.collector t=2024-07-13T18:14:15.219396907Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-07-13T18:14:15.221790996Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-07-13T18:14:15.277596038Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-07-13T18:14:15.27763798Z level=info msg="finished to provision alerting" grafana | logger=ngalert.state.manager t=2024-07-13T18:14:15.278862425Z level=info msg="Warming state cache for startup" grafana | logger=grafanaStorageLogger t=2024-07-13T18:14:15.278971529Z level=info msg="Storage starting" grafana | logger=ngalert.multiorg.alertmanager t=2024-07-13T18:14:15.279573212Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=http.server t=2024-07-13T18:14:15.281601847Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=ngalert.state.manager t=2024-07-13T18:14:15.332796968Z level=info msg="State cache has been initialized" states=0 duration=53.927083ms grafana | logger=ngalert.scheduler t=2024-07-13T18:14:15.332863771Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 grafana | logger=ticker t=2024-07-13T18:14:15.333030277Z level=info msg=starting first_tick=2024-07-13T18:14:20Z grafana | logger=plugins.update.checker t=2024-07-13T18:14:15.349591055Z level=info msg="Update check succeeded" duration=71.374783ms grafana | logger=grafana.update.checker t=2024-07-13T18:14:15.351942502Z level=info msg="Update check succeeded" duration=72.12791ms grafana | logger=provisioning.dashboard t=2024-07-13T18:14:15.409010601Z level=info msg="starting to provision dashboards" grafana | logger=plugin.angulardetectorsprovider.dynamic t=2024-07-13T18:14:15.477802437Z level=info msg="Patterns update finished" duration=71.404393ms grafana | logger=provisioning.dashboard t=2024-07-13T18:14:15.728435619Z level=info msg="finished to provision dashboards" grafana | logger=grafana-apiserver t=2024-07-13T18:14:15.788082054Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=grafana-apiserver t=2024-07-13T18:14:15.788795501Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" grafana | logger=infra.usagestats t=2024-07-13T18:15:47.28519222Z level=info msg="Usage stats are ready to report" policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1307241814141000u 1 2024-07-13 18:14:19 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1307241814141000u 1 2024-07-13 18:14:20 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1307241814141000u 1 2024-07-13 18:14:20 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1307241814141000u 1 2024-07-13 18:14:20 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1307241814141100u 1 2024-07-13 18:14:20 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1307241814141200u 1 2024-07-13 18:14:20 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1307241814141200u 1 2024-07-13 18:14:20 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1307241814141200u 1 2024-07-13 18:14:20 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1307241814141200u 1 2024-07-13 18:14:20 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 1307241814141300u 1 2024-07-13 18:14:20 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 1307241814141300u 1 2024-07-13 18:14:20 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 1307241814141300u 1 2024-07-13 18:14:20 policy-db-migrator | policyadmin: OK @ 1300 ++ 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 policy-db-migrator ... done Removing policy-api ... done Removing mariadb ... done Removing prometheus ... done Removing network compose_default ++ cd /w/workspace/policy-api-montreal-project-csit-api + load_set + _setopts=hxB ++ 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.Tby61pNlE8 ]] + rsync -av /tmp/tmp.Tby61pNlE8/ /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,345,632 bytes received 95 bytes 2,691,454.00 bytes/sec total size is 1,344,982 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 2058 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/jenkins11732550431768060638.sh ---> sysstat.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins2296318871449542678.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/jenkins8365011912269042957.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-IIxi from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-IIxi/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins13223981259517293360.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config184233103655071390tmp 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/jenkins929778676702256817.sh ---> create-netrc.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins10133347657133621723.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-IIxi from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-IIxi/bin to PATH [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins14962264742193200467.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins7412167409146826567.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-IIxi 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-IIxi/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/jenkins7803197599640503982.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-IIxi from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-IIxi/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/245 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-23651 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 857 27065 0 4244 30853 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:b2:f7:be brd ff:ff:ff:ff:ff:ff inet 10.30.107.104/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86085sec preferred_lft 86085sec inet6 fe80::f816:3eff:feb2:f7be/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:fa:d9:6f:db 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-23651) 07/13/24 _x86_64_ (8 CPU) 18:11:27 LINUX RESTART (8 CPU) 18:12:01 tps rtps wtps bread/s bwrtn/s 18:13:01 161.85 48.53 113.31 2766.81 31413.26 18:14:01 194.85 9.93 184.92 1679.45 70455.19 18:15:01 320.31 14.28 306.03 807.87 60023.40 18:16:01 39.83 0.03 39.79 5.07 25730.68 Average: 179.21 18.20 161.01 1314.86 46904.99 18:12:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:13:01 29985820 31699556 2953392 8.97 77132 1940324 1406032 4.14 877108 1771160 243672 18:14:01 27772532 31649028 5166680 15.69 115648 3985256 1428044 4.20 1016236 3724340 886600 18:15:01 26612084 30532640 6327128 19.21 130308 4005696 4289080 12.62 2213852 3651096 60 18:16:01 26770092 30714164 6169120 18.73 130724 4032512 2771524 8.15 2057664 3663464 92 Average: 27785132 31148847 5154080 15.65 113453 3490947 2473670 7.28 1541215 3202515 282606 18:12:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:13:01 lo 1.60 1.60 0.19 0.19 0.00 0.00 0.00 0.00 18:13:01 ens3 65.39 45.52 1032.29 11.44 0.00 0.00 0.00 0.00 18:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:14:01 br-7806d0713055 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:14:01 lo 9.07 9.07 0.84 0.84 0.00 0.00 0.00 0.00 18:14:01 ens3 364.87 221.90 11320.96 18.71 0.00 0.00 0.00 0.00 18:15:01 veth85c644e 0.62 0.78 0.07 0.38 0.00 0.00 0.00 0.00 18:15:01 veth1030254 124.78 105.33 41.16 113.91 0.00 0.00 0.00 0.01 18:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:15:01 br-7806d0713055 3.68 4.13 6.19 2.60 0.00 0.00 0.00 0.00 18:16:01 veth1030254 1.37 1.42 0.84 0.10 0.00 0.00 0.00 0.00 18:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:16:01 br-7806d0713055 1.78 1.98 0.14 0.19 0.00 0.00 0.00 0.00 18:16:01 lo 32.63 32.63 10.54 10.54 0.00 0.00 0.00 0.00 Average: veth1030254 31.54 26.69 10.50 28.50 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: br-7806d0713055 1.37 1.53 1.58 0.70 0.00 0.00 0.00 0.00 Average: lo 7.17 7.17 2.55 2.55 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-23651) 07/13/24 _x86_64_ (8 CPU) 18:11:27 LINUX RESTART (8 CPU) 18:12:01 CPU %user %nice %system %iowait %steal %idle 18:13:01 all 9.89 0.00 0.90 2.02 0.03 87.17 18:13:01 0 7.22 0.00 0.65 0.63 0.00 91.50 18:13:01 1 18.36 0.00 1.20 3.70 0.03 76.70 18:13:01 2 10.68 0.00 0.74 0.72 0.07 87.80 18:13:01 3 17.55 0.00 1.30 1.28 0.03 79.83 18:13:01 4 15.93 0.00 1.25 0.30 0.02 82.51 18:13:01 5 7.18 0.00 1.34 0.83 0.03 90.62 18:13:01 6 1.23 0.00 0.58 0.30 0.02 97.87 18:13:01 7 0.93 0.00 0.17 8.38 0.02 90.50 18:14:01 all 11.57 0.00 3.18 3.58 0.05 81.63 18:14:01 0 6.90 0.00 2.81 0.20 0.03 90.06 18:14:01 1 12.78 0.00 2.94 1.43 0.03 82.82 18:14:01 2 11.89 0.00 2.91 8.22 0.07 76.91 18:14:01 3 13.38 0.00 3.14 0.32 0.05 83.11 18:14:01 4 7.44 0.00 1.96 0.02 0.05 90.53 18:14:01 5 22.43 0.00 4.30 13.09 0.07 60.11 18:14:01 6 12.18 0.00 3.83 0.20 0.05 83.74 18:14:01 7 5.59 0.00 3.50 5.22 0.03 85.66 18:15:01 all 14.92 0.00 2.10 3.64 0.05 79.28 18:15:01 0 11.56 0.00 1.90 1.20 0.07 85.26 18:15:01 1 21.93 0.00 2.53 1.51 0.05 73.98 18:15:01 2 17.30 0.00 2.20 2.72 0.07 77.71 18:15:01 3 11.80 0.00 1.94 8.11 0.07 78.08 18:15:01 4 16.52 0.00 2.19 0.94 0.05 80.31 18:15:01 5 13.72 0.00 1.89 9.82 0.05 74.52 18:15:01 6 14.27 0.00 2.12 3.03 0.03 80.54 18:15:01 7 12.30 0.00 2.01 1.82 0.03 83.84 18:16:01 all 0.73 0.00 0.23 1.02 0.02 97.99 18:16:01 0 0.72 0.00 0.27 0.28 0.02 98.72 18:16:01 1 0.53 0.00 0.22 0.02 0.02 99.22 18:16:01 2 0.65 0.00 0.23 0.22 0.03 98.86 18:16:01 3 1.14 0.00 0.25 6.96 0.03 91.62 18:16:01 4 0.70 0.00 0.27 0.07 0.00 98.97 18:16:01 5 0.89 0.00 0.20 0.40 0.02 98.50 18:16:01 6 0.27 0.00 0.15 0.22 0.02 99.35 18:16:01 7 0.98 0.00 0.28 0.00 0.05 98.68 Average: all 9.27 0.00 1.60 2.56 0.04 86.53 Average: 0 6.60 0.00 1.40 0.58 0.03 91.39 Average: 1 13.39 0.00 1.72 1.66 0.03 83.19 Average: 2 10.12 0.00 1.52 2.95 0.06 85.35 Average: 3 10.97 0.00 1.65 4.17 0.05 83.16 Average: 4 10.15 0.00 1.42 0.33 0.03 88.08 Average: 5 11.03 0.00 1.93 6.02 0.04 80.98 Average: 6 6.97 0.00 1.66 0.94 0.03 90.40 Average: 7 4.95 0.00 1.48 3.85 0.03 89.68