Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-26148 (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-X67t9DSLtBcH/agent.2112 SSH_AGENT_PID=2114 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_2900019027368955304.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_2900019027368955304.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/jenkins4129363779656709240.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-NneQ 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-NneQ/bin to PATH Generating Requirements File Python 3.10.6 pip 24.1.2 from /tmp/venv-NneQ/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.147 botocore==1.34.147 bs4==0.0.2 cachetools==5.4.0 certifi==2024.7.4 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.7.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.6.1 docker==4.2.2 dogpile.cache==1.3.3 email_validator==2.2.0 filelock==3.15.4 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.32.0 httplib2==0.22.0 identify==2.6.0 idna==3.7 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.4 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==3.0.0 jsonschema==4.23.0 jsonschema-specifications==2023.12.1 keystoneauth1==5.7.0 kubernetes==30.1.0 lftools==0.37.10 lxml==5.2.2 MarkupSafe==2.1.5 msgpack==1.0.8 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.3.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.9.1 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==3.3.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.1.0 oslo.config==9.5.0 oslo.context==5.5.0 oslo.i18n==6.3.0 oslo.log==6.1.1 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.1 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/jenkins17910579279027161500.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/jenkins11848330913606102462.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.kMwsSwTKFK ++ echo ROBOT_VENV=/tmp/tmp.kMwsSwTKFK +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.kMwsSwTKFK ++ source /tmp/tmp.kMwsSwTKFK/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.kMwsSwTKFK +++ 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.kMwsSwTKFK/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.kMwsSwTKFK) ' '!=' x ']' +++ PS1='(tmp.kMwsSwTKFK) ' +++ 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.kMwsSwTKFK/src/onap ++ rm -rf /tmp/tmp.kMwsSwTKFK/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.kMwsSwTKFK/bin/python3 /tmp/tmp.kMwsSwTKFK/lib/python3.6/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-0au5z6ot/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.kMwsSwTKFK/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.kMwsSwTKFK/bin/activate + '[' -z /tmp/tmp.kMwsSwTKFK/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.kMwsSwTKFK/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.kMwsSwTKFK ++ 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.kMwsSwTKFK/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.kMwsSwTKFK) ' ++ '[' 'x(tmp.kMwsSwTKFK) ' '!=' x ']' ++ PS1='(tmp.kMwsSwTKFK) (tmp.kMwsSwTKFK) ' ++ 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.mnFFxWlzeb + cd /tmp/tmp.mnFFxWlzeb + docker login -u docker -p docker nexus3.onap.org:10001 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded + SETUP=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-montreal-project-csit-api/.gitreview +++ GERRIT_BRANCH=montreal +++ echo GERRIT_BRANCH=montreal GERRIT_BRANCH=montreal +++ rm -rf /w/workspace/policy-api-montreal-project-csit-api/models +++ mkdir /w/workspace/policy-api-montreal-project-csit-api/models +++ git clone -b montreal --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-montreal-project-csit-api/models Cloning into '/w/workspace/policy-api-montreal-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json +++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-montreal-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose +++ grafana=false +++ gui=false +++ [[ 2 -gt 0 ]] +++ key=api +++ case $key in +++ echo api api +++ component=api +++ shift +++ [[ 1 -gt 0 ]] +++ key=--grafana +++ case $key in +++ grafana=true +++ shift +++ [[ 0 -gt 0 ]] +++ cd /w/workspace/policy-api-montreal-project-csit-api/compose +++ echo 'Configuring docker compose...' Configuring docker compose... +++ source export-ports.sh +++ source get-versions.sh +++ '[' -z api ']' +++ '[' -n api ']' +++ '[' api == logs ']' +++ '[' true = true ']' +++ echo 'Starting api application with Grafana' Starting api application with Grafana +++ docker-compose up -d api grafana Creating network "compose_default" with the default driver Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 10.10.2: Pulling from mariadb Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:3.0.2)... 3.0.2: Pulling from onap/policy-db-migrator Digest: sha256:777d99819ab037b10e0a21c75da376b572c54e87a9748c204d86178849fe011a Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.0.2 Pulling api (nexus3.onap.org:10001/onap/policy-api:3.0.2)... 3.0.2: Pulling from onap/policy-api Digest: sha256:fb501d6af2a3cd55552ba398d5bc20867cf32ebda2e7f9c473849f184245c945 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.0.2 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:f20d3127bf2876f4a1df76246fca576b41ddf1125ed1c546fbd8b16ea55117e6 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... latest: Pulling from grafana/grafana Digest: sha256:079600c9517b678c10cda6006b4487d3174512fd4c6cface37df7822756ed7a5 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating mariadb ... done Creating policy-db-migrator ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-montreal-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds grafana Up 12 seconds mariadb Up 14 seconds prometheus Up 13 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 17 seconds mariadb Up 19 seconds prometheus Up 18 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 22 seconds mariadb Up 24 seconds prometheus Up 23 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 27 seconds mariadb Up 29 seconds prometheus Up 28 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:49 up 3 min, 0 users, load average: 1.88, 0.77, 0.30 Tasks: 180 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.4 us, 2.1 sy, 0.0 ni, 83.5 id, 3.9 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.0G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 25 seconds grafana Up 27 seconds mariadb Up 29 seconds prometheus Up 28 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 612af997fb98 policy-api 0.10% 551.5MiB / 31.41GiB 1.71% 999kB / 710kB 0B / 0B 57 22df54cff612 grafana 0.11% 59.12MiB / 31.41GiB 0.18% 23.6kB / 4.08kB 0B / 25.6MB 17 16d108cf2399 mariadb 0.01% 100.5MiB / 31.41GiB 0.31% 985kB / 1.18MB 11MB / 65.1MB 29 e822933e7fea prometheus 0.08% 18.96MiB / 31.41GiB 0.06% 1.25kB / 158B 201kB / 0B 13 + echo + cd /tmp/tmp.mnFFxWlzeb + 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.mnFFxWlzeb/output.xml Log: /tmp/tmp.mnFFxWlzeb/log.html Report: /tmp/tmp.mnFFxWlzeb/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-montreal-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute 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:59 up 4 min, 0 users, load average: 0.78, 0.68, 0.30 Tasks: 178 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.7 us, 1.7 sy, 0.0 ni, 86.5 id, 3.1 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.0G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute 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 612af997fb98 policy-api 0.17% 862.4MiB / 31.41GiB 2.68% 7.01MB / 2.55MB 0B / 0B 57 22df54cff612 grafana 0.03% 59.61MiB / 31.41GiB 0.19% 24.7kB / 5.62kB 0B / 25.6MB 17 16d108cf2399 mariadb 0.01% 101.4MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 11MB / 65.5MB 18 e822933e7fea prometheus 0.27% 24.25MiB / 31.41GiB 0.08% 55.1kB / 6.49kB 201kB / 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 policy-api, grafana, policy-db-migrator, mariadb, prometheus grafana | logger=settings t=2024-07-24T18:14:21.31860297Z level=info msg="Starting Grafana" version=11.1.0 commit=5b85c4c2fcf5d32d4f68aaef345c53096359b2f1 branch=HEAD compiled=2024-07-24T18:14:21Z grafana | logger=settings t=2024-07-24T18:14:21.319020814Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-07-24T18:14:21.319036714Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-07-24T18:14:21.319040814Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-07-24T18:14:21.319044254Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-07-24T18:14:21.319047394Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-07-24T18:14:21.319050234Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-07-24T18:14:21.319053085Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-07-24T18:14:21.319059155Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-07-24T18:14:21.319140555Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-07-24T18:14:21.319155726Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-07-24T18:14:21.319159156Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-07-24T18:14:21.319162476Z level=info msg=Target target=[all] grafana | logger=settings t=2024-07-24T18:14:21.319169596Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-07-24T18:14:21.319172726Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-07-24T18:14:21.319176076Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-07-24T18:14:21.319179076Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-07-24T18:14:21.319182176Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-07-24T18:14:21.319185686Z level=info msg="App mode production" grafana | logger=featuremgmt t=2024-07-24T18:14:21.31950346Z level=info msg=FeatureToggles alertingSimplifiedRouting=true kubernetesPlaylists=true lokiQuerySplitting=true topnav=true exploreContentOutline=true recoveryThreshold=true transformationsRedesign=true publicDashboards=true logsContextDatasourceUi=true cloudWatchCrossAccountQuerying=true angularDeprecationUI=true logRowsPopoverMenu=true awsDatasourcesNewFormStyling=true lokiQueryHints=true nestedFolders=true cloudWatchNewLabelParsing=true dataplaneFrontendFallback=true alertingInsights=true recordedQueriesMulti=true betterPageScrolling=true lokiMetricDataplane=true logsInfiniteScrolling=true alertingNoDataErrorExecution=true managedPluginsInstall=true logsExploreTableVisualisation=true dashgpt=true exploreMetrics=true lokiStructuredMetadata=true influxdbBackendMigration=true prometheusMetricEncyclopedia=true correlations=true annotationPermissionUpdate=true ssoSettingsApi=true awsAsyncQueryCaching=true prometheusDataplane=true panelMonitoring=true prometheusConfigOverhaulAuth=true grafana | logger=sqlstore t=2024-07-24T18:14:21.319557001Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-07-24T18:14:21.319570841Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-07-24T18:14:21.320921334Z level=info msg="Locking database" grafana | logger=migrator t=2024-07-24T18:14:21.320933034Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-07-24T18:14:21.32148309Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-07-24T18:14:21.32239423Z level=info msg="Migration successfully executed" id="create migration_log table" duration=910.7µs grafana | logger=migrator t=2024-07-24T18:14:21.327857836Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-07-24T18:14:21.328490692Z level=info msg="Migration successfully executed" id="create user table" duration=632.696µs grafana | logger=migrator t=2024-07-24T18:14:21.332710485Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-07-24T18:14:21.334793296Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=2.086421ms grafana | logger=migrator t=2024-07-24T18:14:21.340398033Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-07-24T18:14:21.341203631Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=805.488µs grafana | logger=migrator t=2024-07-24T18:14:21.344273063Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-07-24T18:14:21.345001381Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=728.288µs grafana | logger=migrator t=2024-07-24T18:14:21.348343095Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-07-24T18:14:21.349093902Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=750.887µs grafana | logger=migrator t=2024-07-24T18:14:21.354833921Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-07-24T18:14:21.35864104Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=3.797349ms grafana | logger=migrator t=2024-07-24T18:14:21.362361469Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-07-24T18:14:21.363975625Z level=info msg="Migration successfully executed" id="create user table v2" duration=1.634056ms grafana | logger=migrator t=2024-07-24T18:14:21.367484121Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-07-24T18:14:21.368034757Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=550.635µs grafana | logger=migrator t=2024-07-24T18:14:21.372979987Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-07-24T18:14:21.373555963Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=575.846µs grafana | logger=migrator t=2024-07-24T18:14:21.376953547Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-07-24T18:14:21.377628774Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=675.257µs grafana | logger=migrator t=2024-07-24T18:14:21.380939988Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-07-24T18:14:21.381799817Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=860.589µs grafana | logger=migrator t=2024-07-24T18:14:21.387001951Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-07-24T18:14:21.388395435Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.393234ms grafana | logger=migrator t=2024-07-24T18:14:21.391684928Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-07-24T18:14:21.39188192Z level=info msg="Migration successfully executed" id="Update user table charset" duration=198.352µs grafana | logger=migrator t=2024-07-24T18:14:21.395483458Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-07-24T18:14:21.397545128Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=2.06124ms grafana | logger=migrator t=2024-07-24T18:14:21.400869283Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-07-24T18:14:21.401174686Z level=info msg="Migration successfully executed" id="Add missing user data" duration=304.683µs grafana | logger=migrator t=2024-07-24T18:14:21.406605261Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-07-24T18:14:21.40848637Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.880839ms grafana | logger=migrator t=2024-07-24T18:14:21.411803504Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-07-24T18:14:21.412778224Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=974.64µs grafana | logger=migrator t=2024-07-24T18:14:21.415772065Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-07-24T18:14:21.417048958Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.276943ms grafana | logger=migrator t=2024-07-24T18:14:21.420078689Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-07-24T18:14:21.427873289Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=7.79849ms grafana | logger=migrator t=2024-07-24T18:14:21.43281591Z level=info msg="Executing migration" id="Add uid column to user" grafana | logger=migrator t=2024-07-24T18:14:21.433964121Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=1.147861ms grafana | logger=migrator t=2024-07-24T18:14:21.437037692Z level=info msg="Executing migration" id="Update uid column values for users" grafana | logger=migrator t=2024-07-24T18:14:21.437394767Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=356.895µs grafana | logger=migrator t=2024-07-24T18:14:21.441102694Z level=info msg="Executing migration" id="Add unique index user_uid" grafana | logger=migrator t=2024-07-24T18:14:21.442490818Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=1.387974ms grafana | logger=migrator t=2024-07-24T18:14:21.446014835Z 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-24T18:14:21.446367038Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=351.883µs grafana | logger=migrator t=2024-07-24T18:14:21.451730973Z level=info msg="Executing migration" id="update login and email fields to lowercase" grafana | logger=migrator t=2024-07-24T18:14:21.452187448Z level=info msg="Migration successfully executed" id="update login and email fields to lowercase" duration=456.405µs grafana | logger=migrator t=2024-07-24T18:14:21.541828784Z level=info msg="Executing migration" id="update login and email fields to lowercase2" grafana | logger=migrator t=2024-07-24T18:14:21.542785003Z level=info msg="Migration successfully executed" id="update login and email fields to lowercase2" duration=1.00595ms grafana | logger=migrator t=2024-07-24T18:14:21.547435591Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-07-24T18:14:21.548866685Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.430784ms grafana | logger=migrator t=2024-07-24T18:14:21.554336881Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-07-24T18:14:21.555166981Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=821.85µs grafana | logger=migrator t=2024-07-24T18:14:21.558082851Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-07-24T18:14:21.558894169Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=802.867µs grafana | logger=migrator t=2024-07-24T18:14:21.561756738Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-07-24T18:14:21.562618416Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=862.038µs grafana | logger=migrator t=2024-07-24T18:14:21.567517787Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-07-24T18:14:21.568564827Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.04045ms grafana | logger=migrator t=2024-07-24T18:14:21.571560679Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-07-24T18:14:21.57167759Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=116.782µs grafana | logger=migrator t=2024-07-24T18:14:21.574740421Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-07-24T18:14:21.575486399Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=745.648µs grafana | logger=migrator t=2024-07-24T18:14:21.578356858Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-07-24T18:14:21.579117506Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=760.818µs grafana | logger=migrator t=2024-07-24T18:14:21.584027476Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-07-24T18:14:21.584753883Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=726.417µs grafana | logger=migrator t=2024-07-24T18:14:21.587136618Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-07-24T18:14:21.587861345Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=724.797µs grafana | logger=migrator t=2024-07-24T18:14:21.592682355Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-07-24T18:14:21.595940518Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.257763ms grafana | logger=migrator t=2024-07-24T18:14:21.59908461Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-07-24T18:14:21.600201322Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=1.117192ms grafana | logger=migrator t=2024-07-24T18:14:21.603298054Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-07-24T18:14:21.604118192Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=820.008µs grafana | logger=migrator t=2024-07-24T18:14:21.607022822Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-07-24T18:14:21.6078156Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=791.698µs grafana | logger=migrator t=2024-07-24T18:14:21.61268378Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-07-24T18:14:21.613521358Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=837.518µs grafana | logger=migrator t=2024-07-24T18:14:21.616697861Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-07-24T18:14:21.617926134Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.228553ms grafana | logger=migrator t=2024-07-24T18:14:21.621098806Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-07-24T18:14:21.621770523Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=664.417µs grafana | logger=migrator t=2024-07-24T18:14:21.626631793Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-07-24T18:14:21.627307929Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=675.956µs grafana | logger=migrator t=2024-07-24T18:14:21.630209879Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-07-24T18:14:21.630771196Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=560.977µs grafana | logger=migrator t=2024-07-24T18:14:21.633744046Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-07-24T18:14:21.634459193Z level=info msg="Migration successfully executed" id="create star table" duration=701.027µs grafana | logger=migrator t=2024-07-24T18:14:21.637446254Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-07-24T18:14:21.638253072Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=806.318µs grafana | logger=migrator t=2024-07-24T18:14:21.642669197Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-07-24T18:14:21.643478595Z level=info msg="Migration successfully executed" id="create org table v1" duration=808.628µs grafana | logger=migrator t=2024-07-24T18:14:21.646289404Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-07-24T18:14:21.647149283Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=859.719µs grafana | logger=migrator t=2024-07-24T18:14:21.650226345Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-07-24T18:14:21.650970153Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=743.528µs grafana | logger=migrator t=2024-07-24T18:14:21.653968533Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-07-24T18:14:21.655031194Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.061821ms grafana | logger=migrator t=2024-07-24T18:14:21.659724472Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-07-24T18:14:21.66054668Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=822.258µs grafana | logger=migrator t=2024-07-24T18:14:21.66339724Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-07-24T18:14:21.664249639Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=851.909µs grafana | logger=migrator t=2024-07-24T18:14:21.66729191Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-07-24T18:14:21.667393481Z level=info msg="Migration successfully executed" id="Update org table charset" duration=95.421µs grafana | logger=migrator t=2024-07-24T18:14:21.670480403Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-07-24T18:14:21.670594124Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=117.121µs grafana | logger=migrator t=2024-07-24T18:14:21.67519151Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-07-24T18:14:21.675443624Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=251.834µs grafana | logger=migrator t=2024-07-24T18:14:21.678406674Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-07-24T18:14:21.679727697Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.321083ms grafana | logger=migrator t=2024-07-24T18:14:21.683141552Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-07-24T18:14:21.684755799Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.613817ms grafana | logger=migrator t=2024-07-24T18:14:21.687890851Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-07-24T18:14:21.688749339Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=858.058µs grafana | logger=migrator t=2024-07-24T18:14:21.694421798Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-07-24T18:14:21.695448489Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.024902ms grafana | logger=migrator t=2024-07-24T18:14:21.698570651Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-07-24T18:14:21.699900714Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.329993ms grafana | logger=migrator t=2024-07-24T18:14:21.703060876Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-07-24T18:14:21.704079727Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.020331ms grafana | logger=migrator t=2024-07-24T18:14:21.708973497Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-07-24T18:14:21.714809057Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=5.86318ms grafana | logger=migrator t=2024-07-24T18:14:21.717655656Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-07-24T18:14:21.718488374Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=832.518µs grafana | logger=migrator t=2024-07-24T18:14:21.721434914Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb (172.17.0.3) 3306 port [tcp/mysql] succeeded! policy-db-migrator | 321 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Preparing upgrade release version: 1300 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 policy-db-migrator | upgrade: 0 -> 1300 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:21.722218942Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=783.898µs grafana | logger=migrator t=2024-07-24T18:14:21.72686619Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-07-24T18:14:21.727659898Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=793.678µs grafana | logger=migrator t=2024-07-24T18:14:21.731017912Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-07-24T18:14:21.731407447Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=389.245µs grafana | logger=migrator t=2024-07-24T18:14:21.734334927Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-07-24T18:14:21.735381797Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.05207ms grafana | logger=migrator t=2024-07-24T18:14:21.740755792Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-07-24T18:14:21.741021285Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=265.463µs grafana | logger=migrator t=2024-07-24T18:14:21.744408839Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-07-24T18:14:21.747672692Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=3.263543ms grafana | logger=migrator t=2024-07-24T18:14:21.750925917Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-07-24T18:14:21.752751895Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.825518ms grafana | logger=migrator t=2024-07-24T18:14:21.757829117Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-07-24T18:14:21.761189531Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=3.360194ms grafana | logger=migrator t=2024-07-24T18:14:21.764979571Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-07-24T18:14:21.766292644Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.315043ms grafana | logger=migrator t=2024-07-24T18:14:21.769138323Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-07-24T18:14:21.770521078Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.378434ms grafana | logger=migrator t=2024-07-24T18:14:21.775412116Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-07-24T18:14:21.776275266Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=863.18µs grafana | logger=migrator t=2024-07-24T18:14:21.779132635Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-07-24T18:14:21.780015364Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=891.209µs grafana | logger=migrator t=2024-07-24T18:14:21.783160666Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-07-24T18:14:21.783255327Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=94.661µs grafana | logger=migrator t=2024-07-24T18:14:21.788228798Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-07-24T18:14:21.788352129Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=123.871µs grafana | logger=migrator t=2024-07-24T18:14:21.790925996Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-07-24T18:14:21.793335921Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.409315ms grafana | logger=migrator t=2024-07-24T18:14:21.796316871Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-07-24T18:14:21.798376022Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.058791ms grafana | logger=migrator t=2024-07-24T18:14:21.803383743Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-07-24T18:14:21.805404484Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.020351ms grafana | logger=migrator t=2024-07-24T18:14:21.808234113Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-07-24T18:14:21.810213473Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.97872ms grafana | logger=migrator t=2024-07-24T18:14:21.813744879Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-07-24T18:14:21.814132203Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=387.124µs grafana | logger=migrator t=2024-07-24T18:14:21.817143804Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-07-24T18:14:21.818167465Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.023631ms grafana | logger=migrator t=2024-07-24T18:14:21.822954893Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-07-24T18:14:21.824241997Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.286844ms grafana | logger=migrator t=2024-07-24T18:14:21.827539881Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-07-24T18:14:21.827689742Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=149.651µs grafana | logger=migrator t=2024-07-24T18:14:21.831114817Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-07-24T18:14:21.832455681Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.340294ms grafana | logger=migrator t=2024-07-24T18:14:21.837724455Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-07-24T18:14:21.838450543Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=719.898µs grafana | logger=migrator t=2024-07-24T18:14:21.841547664Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-07-24T18:14:21.851655387Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=10.105803ms grafana | logger=migrator t=2024-07-24T18:14:21.855403516Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-07-24T18:14:21.855975162Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=571.446µs grafana | logger=migrator t=2024-07-24T18:14:21.860514078Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-07-24T18:14:21.861890312Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.372844ms grafana | logger=migrator t=2024-07-24T18:14:21.865449918Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-07-24T18:14:21.866822603Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.372215ms grafana | logger=migrator t=2024-07-24T18:14:21.87138657Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-07-24T18:14:21.871730883Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=344.013µs grafana | logger=migrator t=2024-07-24T18:14:21.875146048Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-07-24T18:14:21.875784545Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=643.837µs grafana | logger=migrator t=2024-07-24T18:14:21.879198159Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-07-24T18:14:21.882507303Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.317924ms grafana | logger=migrator t=2024-07-24T18:14:21.886155671Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-07-24T18:14:21.887275342Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=1.120571ms grafana | logger=migrator t=2024-07-24T18:14:21.891555096Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-07-24T18:14:21.891829989Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=274.443µs grafana | logger=migrator t=2024-07-24T18:14:21.895390095Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-07-24T18:14:21.895656028Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=265.433µs grafana | logger=migrator t=2024-07-24T18:14:21.899157893Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-07-24T18:14:21.900003213Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=845.27µs grafana | logger=migrator t=2024-07-24T18:14:21.904241276Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-07-24T18:14:21.907739342Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.497636ms grafana | logger=migrator t=2024-07-24T18:14:21.91144009Z level=info msg="Executing migration" id="Add deleted for dashboard" grafana | logger=migrator t=2024-07-24T18:14:21.913975566Z level=info msg="Migration successfully executed" id="Add deleted for dashboard" duration=2.536306ms grafana | logger=migrator t=2024-07-24T18:14:21.917522632Z level=info msg="Executing migration" id="Add index for deleted" grafana | logger=migrator t=2024-07-24T18:14:21.91836403Z level=info msg="Migration successfully executed" id="Add index for deleted" duration=841.168µs grafana | logger=migrator t=2024-07-24T18:14:21.922786056Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-07-24T18:14:21.923786016Z level=info msg="Migration successfully executed" id="create data_source table" duration=999.48µs grafana | logger=migrator t=2024-07-24T18:14:21.927288001Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-07-24T18:14:21.928168091Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=880.1µs grafana | logger=migrator t=2024-07-24T18:14:21.931657006Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-07-24T18:14:21.932546975Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=889.739µs grafana | logger=migrator t=2024-07-24T18:14:21.93687351Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-07-24T18:14:21.937683408Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=810.558µs grafana | logger=migrator t=2024-07-24T18:14:21.941292245Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-07-24T18:14:21.942085114Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=793.009µs grafana | logger=migrator t=2024-07-24T18:14:21.945515299Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-07-24T18:14:21.95154773Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=6.027301ms grafana | logger=migrator t=2024-07-24T18:14:21.955679603Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-07-24T18:14:21.956606062Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=926.189µs grafana | logger=migrator t=2024-07-24T18:14:21.959954146Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-07-24T18:14:21.960791584Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=837.478µs grafana | logger=migrator t=2024-07-24T18:14:21.964363122Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-07-24T18:14:21.96521645Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=852.818µs grafana | logger=migrator t=2024-07-24T18:14:21.969298971Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-07-24T18:14:21.969931269Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=632.308µs grafana | logger=migrator t=2024-07-24T18:14:21.973212382Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-07-24T18:14:21.975579887Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.366895ms grafana | logger=migrator t=2024-07-24T18:14:21.978939711Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-07-24T18:14:21.981290515Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.350104ms grafana | logger=migrator t=2024-07-24T18:14:21.985585998Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-07-24T18:14:21.985609218Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=27.85µs grafana | logger=migrator t=2024-07-24T18:14:21.989060764Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-07-24T18:14:21.989342647Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=281.063µs grafana | logger=migrator t=2024-07-24T18:14:21.992793092Z level=info msg="Executing migration" id="Add read_only data column" 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 | -------------- grafana | logger=migrator t=2024-07-24T18:14:21.996174697Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.379695ms grafana | logger=migrator t=2024-07-24T18:14:22.079195574Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-07-24T18:14:22.079721408Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=525.634µs grafana | logger=migrator t=2024-07-24T18:14:22.083051236Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-07-24T18:14:22.083520359Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=468.983µs grafana | logger=migrator t=2024-07-24T18:14:22.087915696Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-07-24T18:14:22.092534373Z level=info msg="Migration successfully executed" id="Add uid column" duration=4.621647ms grafana | logger=migrator t=2024-07-24T18:14:22.097211542Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-07-24T18:14:22.097393524Z level=info msg="Migration successfully executed" id="Update uid value" duration=182.712µs grafana | logger=migrator t=2024-07-24T18:14:22.100462859Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-07-24T18:14:22.101284666Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=821.837µs grafana | logger=migrator t=2024-07-24T18:14:22.104586253Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-07-24T18:14:22.105802903Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.2169ms grafana | logger=migrator t=2024-07-24T18:14:22.10917393Z level=info msg="Executing migration" id="Add is_prunable column" grafana | logger=migrator t=2024-07-24T18:14:22.113099973Z level=info msg="Migration successfully executed" id="Add is_prunable column" duration=3.925473ms grafana | logger=migrator t=2024-07-24T18:14:22.117071625Z level=info msg="Executing migration" id="Add api_version column" grafana | logger=migrator t=2024-07-24T18:14:22.119431825Z level=info msg="Migration successfully executed" id="Add api_version column" duration=2.36008ms grafana | logger=migrator t=2024-07-24T18:14:22.12246614Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-07-24T18:14:22.123215276Z level=info msg="Migration successfully executed" id="create api_key table" duration=749.446µs grafana | logger=migrator t=2024-07-24T18:14:22.126477263Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-07-24T18:14:22.127238709Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=770.496µs grafana | logger=migrator t=2024-07-24T18:14:22.131673025Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-07-24T18:14:22.133004137Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.331032ms grafana | logger=migrator t=2024-07-24T18:14:22.136350245Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-07-24T18:14:22.137565335Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.21466ms grafana | logger=migrator t=2024-07-24T18:14:22.141189475Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-07-24T18:14:22.14190531Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=722.015µs grafana | logger=migrator t=2024-07-24T18:14:22.146954772Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-07-24T18:14:22.147654677Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=694.945µs grafana | logger=migrator t=2024-07-24T18:14:22.151068835Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-07-24T18:14:22.152173755Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.10494ms grafana | logger=migrator t=2024-07-24T18:14:22.156409189Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-07-24T18:14:22.166887766Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=10.479967ms grafana | logger=migrator t=2024-07-24T18:14:22.170614196Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-07-24T18:14:22.171122811Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=508.425µs grafana | logger=migrator t=2024-07-24T18:14:22.174115246Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-07-24T18:14:22.175004793Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=889.537µs grafana | logger=migrator t=2024-07-24T18:14:22.179951354Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-07-24T18:14:22.181421145Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.468401ms grafana | logger=migrator t=2024-07-24T18:14:22.185980123Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-07-24T18:14:22.18676004Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=779.667µs grafana | logger=migrator t=2024-07-24T18:14:22.190709693Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-07-24T18:14:22.191020415Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=310.592µs grafana | logger=migrator t=2024-07-24T18:14:22.194979447Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-07-24T18:14:22.195793454Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=813.397µs grafana | logger=migrator t=2024-07-24T18:14:22.199352754Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-07-24T18:14:22.199393044Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=41.93µs grafana | logger=migrator t=2024-07-24T18:14:22.202930573Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-07-24T18:14:22.205395133Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.46436ms grafana | logger=migrator t=2024-07-24T18:14:22.209535637Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-07-24T18:14:22.212147528Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.611701ms grafana | logger=migrator t=2024-07-24T18:14:22.215547666Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-07-24T18:14:22.215811268Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=264.152µs grafana | logger=migrator t=2024-07-24T18:14:22.219497179Z level=info msg="Executing migration" id="Add last_used_at to api_key table" mariadb | 2024-07-24 18:14:19+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-07-24 18:14:19+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-07-24 18:14:19+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-07-24 18:14:19+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-07-24 18:14:19 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-24 18:14:19 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-07-24 18:14:19 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-24 18:14:21+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-07-24 18:14:21+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-07-24 18:14:21+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-07-24 18:14:21 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 100 ... mariadb | 2024-07-24 18:14:21 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-07-24 18:14:21 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-07-24 18:14:21 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-07-24 18:14:21 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-07-24 18:14:21 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-24 18:14:21 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-07-24 18:14:21 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-07-24 18:14:21 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-07-24 18:14:21 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-07-24 18:14:21 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-07-24 18:14:21 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-07-24 18:14:21 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-07-24 18:14:21 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-07-24 18:14:21 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-07-24 18:14:21 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-07-24 18:14:21 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-07-24 18:14:21 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-07-24 18:14:21 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-24 18:14:22+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-07-24 18:14:23+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-07-24 18:14:23+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2024-07-24 18:14:23+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2024-07-24 18:14:23+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-24T18:14:22.224107406Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=4.609657ms grafana | logger=migrator t=2024-07-24T18:14:22.227985779Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-07-24T18:14:22.232293574Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=4.307885ms grafana | logger=migrator t=2024-07-24T18:14:22.236830052Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-07-24T18:14:22.238079702Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=1.24948ms grafana | logger=migrator t=2024-07-24T18:14:22.241607172Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-07-24T18:14:22.242211636Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=603.874µs grafana | logger=migrator t=2024-07-24T18:14:22.245588114Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-07-24T18:14:22.246580522Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=992.158µs grafana | logger=migrator t=2024-07-24T18:14:22.251380222Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-07-24T18:14:22.252570672Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.190201ms grafana | logger=migrator t=2024-07-24T18:14:22.256764836Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-07-24T18:14:22.258317829Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.553933ms grafana | logger=migrator t=2024-07-24T18:14:22.261493645Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-07-24T18:14:22.262287961Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=794.346µs grafana | logger=migrator t=2024-07-24T18:14:22.270513799Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-07-24T18:14:22.27060341Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=87.621µs grafana | logger=migrator t=2024-07-24T18:14:22.273805266Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-07-24T18:14:22.273848326Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=44.47µs grafana | logger=migrator t=2024-07-24T18:14:22.277264714Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-07-24T18:14:22.281947123Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.681619ms grafana | logger=migrator t=2024-07-24T18:14:22.286035808Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-07-24T18:14:22.28878823Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.752562ms grafana | logger=migrator t=2024-07-24T18:14:22.292204998Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-07-24T18:14:22.292350599Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=146.361µs grafana | logger=migrator t=2024-07-24T18:14:22.295058842Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-07-24T18:14:22.295835628Z level=info msg="Migration successfully executed" id="create quota table v1" duration=776.866µs grafana | logger=migrator t=2024-07-24T18:14:22.300121193Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-07-24T18:14:22.301105991Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=935.448µs grafana | logger=migrator t=2024-07-24T18:14:22.305992732Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-07-24T18:14:22.306101793Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=109.87µs grafana | logger=migrator t=2024-07-24T18:14:22.309287729Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-07-24T18:14:22.310088555Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=801.336µs grafana | logger=migrator t=2024-07-24T18:14:22.314482811Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-07-24T18:14:22.316016874Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.534032ms grafana | logger=migrator t=2024-07-24T18:14:22.359666333Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-07-24T18:14:22.363701186Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.036793ms grafana | logger=migrator t=2024-07-24T18:14:22.36774545Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-07-24T18:14:22.367851791Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=110.111µs grafana | logger=migrator t=2024-07-24T18:14:22.372020275Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-07-24T18:14:22.372898543Z level=info msg="Migration successfully executed" id="create session table" duration=875.938µs grafana | logger=migrator t=2024-07-24T18:14:22.37623639Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-07-24T18:14:22.376347071Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=105.301µs grafana | logger=migrator t=2024-07-24T18:14:22.380338784Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-07-24T18:14:22.380398634Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=71.641µs grafana | logger=migrator t=2024-07-24T18:14:22.382759334Z level=info msg="Executing migration" id="create playlist table v2" 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-api | Waiting for mariadb port 3306... 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) mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" prometheus | ts=2024-07-24T18:14:20.368Z caller=main.go:589 level=info msg="No time or size retention was set so using the default time retention" duration=15d grafana | logger=migrator t=2024-07-24T18:14:22.383364548Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=605.154µs policy-api | mariadb (172.17.0.3:3306) open policy-db-migrator | -------------- mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' prometheus | ts=2024-07-24T18:14:20.368Z caller=main.go:633 level=info msg="Starting Prometheus Server" mode=server version="(version=2.53.1, branch=HEAD, revision=14cfec3f6048b735e08c1e9c64c8d4211d32bab4)" grafana | logger=migrator t=2024-07-24T18:14:22.386506574Z level=info msg="Executing migration" id="create playlist item table v2" policy-api | Waiting for policy-db-migrator port 6824... policy-db-migrator | mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql prometheus | ts=2024-07-24T18:14:20.368Z 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)" grafana | logger=migrator t=2024-07-24T18:14:22.387025789Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=519.015µs policy-api | policy-db-migrator (172.17.0.4:6824) open policy-db-migrator | mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp prometheus | ts=2024-07-24T18:14:20.368Z 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))" grafana | logger=migrator t=2024-07-24T18:14:22.391256313Z level=info msg="Executing migration" id="Update playlist table charset" policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql mariadb | prometheus | ts=2024-07-24T18:14:20.368Z caller=main.go:640 level=info fd_limits="(soft=1048576, hard=1048576)" grafana | logger=migrator t=2024-07-24T18:14:22.391271824Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=16.111µs policy-api | policy-db-migrator | -------------- mariadb | 2024-07-24 18:14:24+00:00 [Note] [Entrypoint]: Stopping temporary server prometheus | ts=2024-07-24T18:14:20.368Z caller=main.go:641 level=info vm_limits="(soft=unlimited, hard=unlimited)" grafana | logger=migrator t=2024-07-24T18:14:22.394166747Z level=info msg="Executing migration" id="Update playlist_item table charset" policy-api | . ____ _ __ _ _ 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) mariadb | 2024-07-24 18:14:24 0 [Note] mariadbd (initiated by: unknown): Normal shutdown prometheus | ts=2024-07-24T18:14:20.370Z caller=web.go:568 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-07-24T18:14:20.370Z caller=main.go:1148 level=info msg="Starting TSDB ..." policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.394180827Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=14.4µs mariadb | 2024-07-24 18:14:24 0 [Note] InnoDB: FTS optimize thread exiting. prometheus | ts=2024-07-24T18:14:20.374Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-07-24T18:14:20.374Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.397217722Z level=info msg="Executing migration" id="Add playlist column created_at" mariadb | 2024-07-24 18:14:24 0 [Note] InnoDB: Starting shutdown... prometheus | ts=2024-07-24T18:14:20.378Z caller=head.go:626 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-07-24T18:14:20.378Z caller=head.go:713 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=1.36µs policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.399419481Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=2.201669ms mariadb | 2024-07-24 18:14:24 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool prometheus | ts=2024-07-24T18:14:20.378Z caller=head.go:721 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-07-24T18:14:20.378Z caller=head.go:793 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql grafana | logger=migrator t=2024-07-24T18:14:22.402423565Z level=info msg="Executing migration" id="Add playlist column updated_at" mariadb | 2024-07-24 18:14:24 0 [Note] InnoDB: Buffer pool(s) dump completed at 240724 18:14:24 prometheus | ts=2024-07-24T18:14:20.378Z caller=head.go:830 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=30.59µs wal_replay_duration=339.364µs wbl_replay_duration=200ns chunk_snapshot_load_duration=0s mmap_chunk_replay_duration=1.36µs total_replay_duration=396.615µs prometheus | ts=2024-07-24T18:14:20.380Z caller=main.go:1169 level=info fs_type=EXT4_SUPER_MAGIC policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.406091745Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.66619ms mariadb | 2024-07-24 18:14:25 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" prometheus | ts=2024-07-24T18:14:20.380Z caller=main.go:1172 level=info msg="TSDB started" prometheus | ts=2024-07-24T18:14:20.381Z caller=main.go:1354 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml 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) grafana | logger=migrator t=2024-07-24T18:14:22.412018575Z level=info msg="Executing migration" id="drop preferences table v2" mariadb | 2024-07-24 18:14:25 0 [Note] InnoDB: Shutdown completed; log sequence number 330574; transaction id 298 prometheus | ts=2024-07-24T18:14:20.382Z caller=main.go:1391 level=info msg="updated GOGC" old=100 new=75 prometheus | ts=2024-07-24T18:14:20.382Z caller=main.go:1402 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.098011ms db_storage=1.29µs remote_storage=1.99µs web_handler=670ns query_engine=1µs scrape=241.273µs scrape_sd=115.451µs notify=28.95µs notify_sd=12.181µs rules=1.92µs tracing=5.74µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.412073715Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=55.54µs mariadb | 2024-07-24 18:14:25 0 [Note] mariadbd: Shutdown complete prometheus | ts=2024-07-24T18:14:20.382Z caller=main.go:1133 level=info msg="Server is ready to receive web requests." prometheus | ts=2024-07-24T18:14:20.382Z caller=manager.go:164 level=info component="rule manager" msg="Starting rule manager..." policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.415219891Z level=info msg="Executing migration" id="drop preferences table v3" mariadb | policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.415272511Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=52.83µs mariadb | 2024-07-24 18:14:25+00:00 [Note] [Entrypoint]: Temporary server stopped policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql grafana | logger=migrator t=2024-07-24T18:14:22.418183995Z level=info msg="Executing migration" id="create preferences table v3" mariadb | policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.418911801Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=727.296µs mariadb | 2024-07-24 18:14:25+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-07-24T18:14:22.422719292Z level=info msg="Executing migration" id="Update preferences table charset" mariadb | policy-api | =========|_|==============|___/=/_/_/_/ policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.422737143Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=18.291µs mariadb | 2024-07-24 18:14:25 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... policy-api | :: Spring Boot :: (v3.1.4) policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.426118791Z level=info msg="Executing migration" id="Add column team_id in preferences" mariadb | 2024-07-24 18:14:25 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 policy-api | policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.428336489Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=2.217528ms mariadb | 2024-07-24 18:14:25 0 [Note] InnoDB: Number of transaction pools: 1 policy-api | [2024-07-24T18:14:34.566+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-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-07-24T18:14:22.431078101Z level=info msg="Executing migration" id="Update team_id column values in preferences" mariadb | 2024-07-24 18:14:25 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions policy-api | [2024-07-24T18:14:34.568+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.431179562Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=101.191µs mariadb | 2024-07-24 18:14:25 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) policy-api | [2024-07-24T18:14:36.266+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-07-24T18:14:22.436096763Z level=info msg="Executing migration" id="Add column week_start in preferences" mariadb | 2024-07-24 18:14:25 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) policy-api | [2024-07-24T18:14:36.353+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 78 ms. Found 6 JPA repository interfaces. policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.438284681Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=2.187578ms mariadb | 2024-07-24 18:14:25 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF policy-api | [2024-07-24T18:14:36.749+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-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.442634996Z level=info msg="Executing migration" id="Add column preferences.json_data" mariadb | 2024-07-24 18:14:25 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB policy-api | [2024-07-24T18:14:36.750+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-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.446300177Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.664871ms mariadb | 2024-07-24 18:14:25 0 [Note] InnoDB: Completed initialization of buffer pool policy-api | [2024-07-24T18:14:37.348+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql grafana | logger=migrator t=2024-07-24T18:14:22.450875874Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" mariadb | 2024-07-24 18:14:25 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) policy-api | [2024-07-24T18:14:37.357+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.450943025Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=66.08µs mariadb | 2024-07-24 18:14:25 0 [Note] InnoDB: 128 rollback segments are active. policy-api | [2024-07-24T18:14:37.360+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-07-24T18:14:22.455538973Z level=info msg="Executing migration" id="Add preferences index org_id" mariadb | 2024-07-24 18:14:25 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... policy-api | [2024-07-24T18:14:37.360+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.456136177Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=591.884µs mariadb | 2024-07-24 18:14:25 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. policy-api | [2024-07-24T18:14:37.445+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.460263812Z level=info msg="Executing migration" id="Add preferences index user_id" mariadb | 2024-07-24 18:14:25 0 [Note] InnoDB: log sequence number 330574; transaction id 299 policy-api | [2024-07-24T18:14:37.446+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2814 ms policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.460841346Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=577.434µs mariadb | 2024-07-24 18:14:25 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool policy-api | [2024-07-24T18:14:37.842+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql grafana | logger=migrator t=2024-07-24T18:14:22.46368726Z level=info msg="Executing migration" id="create alert table v1" mariadb | 2024-07-24 18:14:25 0 [Note] Plugin 'FEEDBACK' is disabled. policy-api | [2024-07-24T18:14:37.923+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.464411035Z level=info msg="Migration successfully executed" id="create alert table v1" duration=723.775µs mariadb | 2024-07-24 18:14:25 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. policy-api | [2024-07-24T18:14:37.926+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-07-24T18:14:22.467511831Z level=info msg="Executing migration" id="add index alert org_id & id " mariadb | 2024-07-24 18:14:25 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. policy-api | [2024-07-24T18:14:37.969+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.468090357Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=578.526µs mariadb | 2024-07-24 18:14:25 0 [Note] Server socket created on IP: '0.0.0.0'. policy-api | [2024-07-24T18:14:38.317+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.471922008Z level=info msg="Executing migration" id="add index alert state" mariadb | 2024-07-24 18:14:25 0 [Note] Server socket created on IP: '::'. policy-api | [2024-07-24T18:14:38.337+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.472489763Z level=info msg="Migration successfully executed" id="add index alert state" duration=562.594µs mariadb | 2024-07-24 18:14:25 0 [Note] mariadbd: ready for connections. policy-api | [2024-07-24T18:14:38.432+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@2620e717 policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-07-24T18:14:22.476353844Z level=info msg="Executing migration" id="add index alert dashboard_id" mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution policy-api | [2024-07-24T18:14:38.435+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.477066821Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=712.967µs mariadb | 2024-07-24 18:14:25 0 [Note] InnoDB: Buffer pool(s) load completed at 240724 18:14:25 policy-api | [2024-07-24T18:14:38.463+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-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-07-24T18:14:22.480963282Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" mariadb | 2024-07-24 18:14:26 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) policy-api | [2024-07-24T18:14:38.465+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.481423276Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=460.084µs mariadb | 2024-07-24 18:14:26 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) policy-api | [2024-07-24T18:14:40.316+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.486033084Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" policy-api | [2024-07-24T18:14:40.341+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.486674239Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=645.135µs policy-api | [2024-07-24T18:14:41.670+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-07-24T18:14:22.489457652Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" policy-api | [2024-07-24T18:14:42.476+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.490037377Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=579.695µs policy-api | [2024-07-24T18:14:43.501+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-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) grafana | logger=migrator t=2024-07-24T18:14:22.49290188Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" policy-api | [2024-07-24T18:14:43.682+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@c0d114b, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@2079ce51, org.springframework.security.web.context.SecurityContextHolderFilter@5f6b6f2, org.springframework.security.web.header.HeaderWriterFilter@712ce4f1, org.springframework.security.web.authentication.logout.LogoutFilter@13e6b26c, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@136cd71b, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@45fa7f1a, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@44264fb6, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@1692d173, org.springframework.security.web.access.ExceptionTranslationFilter@6e04275e, org.springframework.security.web.access.intercept.AuthorizationFilter@46ae1e6b] policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.499770247Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=6.868087ms policy-api | [2024-07-24T18:14:44.532+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.504197833Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" policy-api | [2024-07-24T18:14:44.586+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.506314191Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=2.115188ms policy-api | [2024-07-24T18:14:44.605+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-api | [2024-07-24T18:14:44.623+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.742 seconds (process running for 11.313) grafana | logger=migrator t=2024-07-24T18:14:22.509208704Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" policy-api | [2024-07-24T18:14:51.953+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.50990886Z 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=700.126µs policy-api | [2024-07-24T18:14:51.953+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' grafana | logger=migrator t=2024-07-24T18:14:22.513056887Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" 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-api | [2024-07-24T18:14:51.954+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms grafana | logger=migrator t=2024-07-24T18:14:22.513285098Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=228.091µs policy-db-migrator | -------------- policy-api | [2024-07-24T18:14:54.323+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.516846108Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" policy-api | [] policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.51718672Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=340.333µs policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-api | [2024-07-24T18:14:54.444+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes grafana | logger=migrator t=2024-07-24T18:14:22.519919843Z level=info msg="Executing migration" id="create alert_notification table v1" policy-api | [2024-07-24T18:14:54.703+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.520417947Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=497.874µs policy-api | [2024-07-24T18:14:55.826+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-07-24T18:14:22.523467482Z level=info msg="Executing migration" id="Add column is_default" policy-api | [2024-07-24T18:14:57.771+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.525989923Z level=info msg="Migration successfully executed" id="Add column is_default" duration=2.521911ms policy-api | [2024-07-24T18:14:58.074+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.530512031Z level=info msg="Executing migration" id="Add column frequency" policy-api | [2024-07-24T18:14:58.303+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.533579326Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.066776ms policy-api | [2024-07-24T18:14:58.525+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql grafana | logger=migrator t=2024-07-24T18:14:22.537268256Z level=info msg="Executing migration" id="Add column send_reminder" policy-api | [2024-07-24T18:14:58.757+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.539772596Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=2.5045ms policy-api | [2024-07-24T18:14:58.966+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-07-24T18:14:22.542530649Z level=info msg="Executing migration" id="Add column disable_resolve_message" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.54508103Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=2.550161ms policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.5815445Z level=info msg="Executing migration" id="add index alert_notification org_id & name" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.582272536Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=727.776µs policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql grafana | logger=migrator t=2024-07-24T18:14:22.585301971Z level=info msg="Executing migration" id="Update alert table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.585321431Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=20.12µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-07-24T18:14:22.588171775Z level=info msg="Executing migration" id="Update alert_notification table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.588193175Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=17.3µs policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.590397353Z level=info msg="Executing migration" id="create notification_journal table v1" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.590908417Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=515.114µs policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql grafana | logger=migrator t=2024-07-24T18:14:22.594720059Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.595324294Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=604.285µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-07-24T18:14:22.598211518Z level=info msg="Executing migration" id="drop alert_notification_journal" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.598692221Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=480.533µs policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.602321601Z level=info msg="Executing migration" id="create alert_notification_state table v1" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.602868096Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=546.255µs policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2024-07-24T18:14:22.605953502Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.606609727Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=656.165µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2024-07-24T18:14:22.609770623Z level=info msg="Executing migration" id="Add for to alert table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.612366604Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=2.595961ms policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.616137355Z level=info msg="Executing migration" id="Add column uid in alert_notification" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.619676155Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.53836ms policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2024-07-24T18:14:22.62267025Z level=info msg="Executing migration" id="Update uid column values in alert_notification" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.622812501Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=147.232µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-07-24T18:14:22.625846226Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.626530721Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=684.135µs policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.630684296Z level=info msg="Executing migration" id="Remove unique index org_id_name" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.63125241Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=568.234µs policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2024-07-24T18:14:22.634128704Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.63734668Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.217336ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-07-24T18:14:22.640188333Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.640243354Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=55.621µs policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.643753772Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.644433038Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=678.996µs policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2024-07-24T18:14:22.646900438Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.647853837Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=952.799µs grafana | logger=migrator t=2024-07-24T18:14:22.651805669Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2024-07-24T18:14:22.65193989Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=134.531µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-07-24T18:14:22.655231147Z level=info msg="Executing migration" id="create annotation table v5" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.656609959Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.378812ms policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.660299459Z level=info msg="Executing migration" id="add index annotation 0 v3" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.661231196Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=931.437µs policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2024-07-24T18:14:22.664197841Z level=info msg="Executing migration" id="add index annotation 1 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.665139599Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=940.718µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-07-24T18:14:22.668248195Z level=info msg="Executing migration" id="add index annotation 2 v3" policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.669339273Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.090818ms policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.673341097Z level=info msg="Executing migration" id="add index annotation 3 v3" policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2024-07-24T18:14:22.674373815Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.032318ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.677699752Z level=info msg="Executing migration" id="add index annotation 4 v3" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) grafana | logger=migrator t=2024-07-24T18:14:22.678762741Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.062909ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.684322427Z level=info msg="Executing migration" id="Update annotation table charset" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.684378448Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=57.271µs policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.686965459Z level=info msg="Executing migration" id="Add column region_id to annotation table" policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2024-07-24T18:14:22.691942809Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.9699ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.695127696Z level=info msg="Executing migration" id="Drop category_id index" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-07-24T18:14:22.695752221Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=624.385µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.700402559Z level=info msg="Executing migration" id="Add column tags to annotation table" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.703326194Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=2.923395ms policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.706139517Z level=info msg="Executing migration" id="Create annotation_tag table v2" policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2024-07-24T18:14:22.706858782Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=719.115µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.709724236Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-07-24T18:14:22.710923545Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.198179ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.715541654Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.71634166Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=799.736µs policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.719391815Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2024-07-24T18:14:22.731678407Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=12.286432ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.738783405Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) grafana | logger=migrator t=2024-07-24T18:14:22.73941298Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=632.845µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.743204832Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.744799014Z level=info msg="Migration successfully executed" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" duration=1.593222ms policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.74787365Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2024-07-24T18:14:22.748371114Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=497.604µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.750977856Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-07-24T18:14:22.75150151Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=522.864µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.755060469Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.755270811Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=210.462µs policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.758072554Z level=info msg="Executing migration" id="Add created time to annotation table" policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2024-07-24T18:14:22.762286969Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.208175ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.765752198Z level=info msg="Executing migration" id="Add updated time to annotation table" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-07-24T18:14:22.771075372Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=5.329034ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.774180837Z level=info msg="Executing migration" id="Add index for created in annotation table" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.775160685Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=978.868µs policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.779684082Z level=info msg="Executing migration" id="Add index for updated in annotation table" policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2024-07-24T18:14:22.78063886Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=954.718µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.783529254Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) grafana | logger=migrator t=2024-07-24T18:14:22.783756525Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=230.131µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.825072246Z level=info msg="Executing migration" id="Add epoch_end column" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.833074052Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=8.001166ms policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.926781593Z level=info msg="Executing migration" id="Add index for epoch_end" policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql grafana | logger=migrator t=2024-07-24T18:14:22.92876129Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.979637ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.974268854Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) grafana | logger=migrator t=2024-07-24T18:14:22.974492016Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=223.342µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:22.997295143Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:22.998114751Z level=info msg="Migration successfully executed" id="Move region to single row" duration=819.878µs policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:23.015304331Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2024-07-24T18:14:23.016275708Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=970.747µs 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 | -------------- grafana | logger=migrator t=2024-07-24T18:14:23.196265237Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:23.198383384Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=2.163968ms policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:23.454319475Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2024-07-24T18:14:23.455492314Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.175739ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:23.492632363Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) grafana | logger=migrator t=2024-07-24T18:14:23.49338488Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=752.507µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:23.496710686Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:23.497331901Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=621.195µs policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:23.501093081Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql grafana | logger=migrator t=2024-07-24T18:14:23.501674985Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=581.804µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:23.505181184Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) grafana | logger=migrator t=2024-07-24T18:14:23.505225585Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=44.801µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:23.507988317Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:23.508547922Z level=info msg="Migration successfully executed" id="create test_data table" duration=559.275µs policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:23.511833678Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql grafana | logger=migrator t=2024-07-24T18:14:23.512444122Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=610.244µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:23.516306944Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" 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-24T18:14:23.516920219Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=612.975µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:23.519845752Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:23.520604138Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=753.796µs policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:23.523596672Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2024-07-24T18:14:23.523745793Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=149.211µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:23.527592815Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" 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-24T18:14:23.527841447Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=248.722µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:23.53075785Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:23.530803221Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=45.421µs policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:23.533649024Z level=info msg="Executing migration" id="create team table" policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2024-07-24T18:14:23.534139907Z level=info msg="Migration successfully executed" id="create team table" duration=490.793µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:23.537081091Z level=info msg="Executing migration" id="add index team.org_id" 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-24T18:14:23.537706126Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=620.035µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:23.541701689Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:23.542302983Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=601.024µs policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:23.547336174Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2024-07-24T18:14:23.550481849Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=3.145375ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:23.555955933Z level=info msg="Executing migration" id="Update uid column values in team" 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-24T18:14:23.556106054Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=150.581µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:23.559910725Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:23.560681652Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=766.667µs policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:23.563746456Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2024-07-24T18:14:23.564351531Z level=info msg="Migration successfully executed" id="create team member table" duration=604.915µs grafana | logger=migrator t=2024-07-24T18:14:23.567497306Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2024-07-24T18:14:23.568091481Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=593.995µs grafana | logger=migrator t=2024-07-24T18:14:23.571884132Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2024-07-24T18:14:23.572515867Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=631.585µs grafana | logger=migrator t=2024-07-24T18:14:23.575558441Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2024-07-24T18:14:23.576148186Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=589.685µs grafana | logger=migrator t=2024-07-24T18:14:23.579278551Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2024-07-24T18:14:23.582465016Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=3.186265ms grafana | logger=migrator t=2024-07-24T18:14:23.586217327Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2024-07-24T18:14:23.589491393Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=3.273966ms grafana | logger=migrator t=2024-07-24T18:14:23.592510577Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0690-toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2024-07-24T18:14:23.596434179Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=3.923492ms grafana | logger=migrator t=2024-07-24T18:14:23.637875452Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2024-07-24T18:14:23.638617628Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=742.256µs grafana | logger=migrator t=2024-07-24T18:14:23.684896101Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2024-07-24T18:14:23.685667497Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=771.326µs grafana | logger=migrator t=2024-07-24T18:14:23.688832422Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2024-07-24T18:14:23.690497386Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.664694ms grafana | logger=migrator t=2024-07-24T18:14:23.693915114Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2024-07-24T18:14:23.695387366Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.471852ms grafana | logger=migrator t=2024-07-24T18:14:23.699461258Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2024-07-24T18:14:23.700442976Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=981.748µs grafana | logger=migrator t=2024-07-24T18:14:23.703446651Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2024-07-24T18:14:23.704439029Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=991.928µs grafana | logger=migrator t=2024-07-24T18:14:23.707843836Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2024-07-24T18:14:23.709278658Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.434782ms grafana | logger=migrator t=2024-07-24T18:14:23.713462281Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2024-07-24T18:14:23.714659691Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.1973ms grafana | logger=migrator t=2024-07-24T18:14:23.717804316Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2024-07-24T18:14:23.71831956Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=514.854µs grafana | logger=migrator t=2024-07-24T18:14:23.723322301Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2024-07-24T18:14:23.723577283Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=255.152µs grafana | logger=migrator t=2024-07-24T18:14:23.727865477Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2024-07-24T18:14:23.728654404Z level=info msg="Migration successfully executed" id="create tag table" duration=788.587µs grafana | logger=migrator t=2024-07-24T18:14:23.760798482Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2024-07-24T18:14:23.762783848Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.985066ms grafana | logger=migrator t=2024-07-24T18:14:23.854153203Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2024-07-24T18:14:23.856003939Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.872616ms grafana | logger=migrator t=2024-07-24T18:14:23.862238388Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2024-07-24T18:14:23.863380608Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.14313ms grafana | logger=migrator t=2024-07-24T18:14:23.869258795Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2024-07-24T18:14:23.870336384Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.071439ms grafana | logger=migrator t=2024-07-24T18:14:23.875472505Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2024-07-24T18:14:23.890314645Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=14.84188ms grafana | logger=migrator t=2024-07-24T18:14:23.893865194Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2024-07-24T18:14:23.895437966Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=1.571753ms grafana | logger=migrator t=2024-07-24T18:14:23.916907369Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2024-07-24T18:14:23.918751243Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.853634ms grafana | logger=migrator t=2024-07-24T18:14:23.923835954Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2024-07-24T18:14:23.924343028Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=514.284µs grafana | logger=migrator t=2024-07-24T18:14:23.95802501Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2024-07-24T18:14:23.959410561Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.385501ms grafana | logger=migrator t=2024-07-24T18:14:23.963854526Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2024-07-24T18:14:23.96546764Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.613844ms grafana | logger=migrator t=2024-07-24T18:14:23.97166788Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2024-07-24T18:14:23.973098552Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.431791ms grafana | logger=migrator t=2024-07-24T18:14:23.977244664Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2024-07-24T18:14:23.977310985Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=66.881µs grafana | logger=migrator t=2024-07-24T18:14:23.981194547Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2024-07-24T18:14:23.986457689Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.263142ms grafana | logger=migrator t=2024-07-24T18:14:23.989849326Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2024-07-24T18:14:23.995359211Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.509795ms grafana | logger=migrator t=2024-07-24T18:14:23.999834546Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:24.003778928Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=3.944322ms grafana | logger=migrator t=2024-07-24T18:14:24.006697072Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2024-07-24T18:14:24.011974413Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.277091ms grafana | logger=migrator t=2024-07-24T18:14:24.016396281Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2024-07-24T18:14:24.017615745Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.219544ms grafana | logger=migrator t=2024-07-24T18:14:24.021506308Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2024-07-24T18:14:24.026927187Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.421249ms grafana | logger=migrator t=2024-07-24T18:14:24.02996083Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2024-07-24T18:14:24.03083209Z level=info msg="Migration successfully executed" id="create server_lock table" duration=874.79µs grafana | logger=migrator t=2024-07-24T18:14:24.034093266Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2024-07-24T18:14:24.035129897Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.036311ms grafana | logger=migrator t=2024-07-24T18:14:24.040170443Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2024-07-24T18:14:24.041186943Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.01618ms grafana | logger=migrator t=2024-07-24T18:14:24.044329288Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2024-07-24T18:14:24.045649653Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.313395ms grafana | logger=migrator t=2024-07-24T18:14:24.048844498Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2024-07-24T18:14:24.049878129Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.039461ms grafana | logger=migrator t=2024-07-24T18:14:24.055129606Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2024-07-24T18:14:24.056766995Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.637599ms grafana | logger=migrator t=2024-07-24T18:14:24.061073511Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2024-07-24T18:14:24.067988208Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=6.915987ms grafana | logger=migrator t=2024-07-24T18:14:24.071583167Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2024-07-24T18:14:24.072695239Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.112062ms grafana | logger=migrator t=2024-07-24T18:14:24.076548272Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2024-07-24T18:14:24.077199539Z level=info msg="Migration successfully executed" id="create cache_data table" duration=651.077µs grafana | logger=migrator t=2024-07-24T18:14:24.09746001Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2024-07-24T18:14:24.099544064Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=2.084224ms grafana | logger=migrator t=2024-07-24T18:14:24.103156723Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2024-07-24T18:14:24.104065514Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=908.501µs grafana | logger=migrator t=2024-07-24T18:14:24.109383801Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2024-07-24T18:14:24.110377463Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=993.342µs grafana | logger=migrator t=2024-07-24T18:14:24.114436657Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2024-07-24T18:14:24.114511088Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=68.501µs grafana | logger=migrator t=2024-07-24T18:14:24.117659762Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2024-07-24T18:14:24.117736783Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=77.661µs grafana | logger=migrator t=2024-07-24T18:14:24.121602776Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2024-07-24T18:14:24.122632377Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.029401ms grafana | logger=migrator t=2024-07-24T18:14:24.125885463Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-07-24T18:14:24.128065577Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=2.179994ms grafana | logger=migrator t=2024-07-24T18:14:24.13194856Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-07-24T18:14:24.133602948Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.654108ms grafana | logger=migrator t=2024-07-24T18:14:24.137836816Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2024-07-24T18:14:24.137916737Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=80.511µs grafana | logger=migrator t=2024-07-24T18:14:24.143889802Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-07-24T18:14:24.144904713Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.013611ms grafana | logger=migrator t=2024-07-24T18:14:24.151913411Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-07-24T18:14:24.154870633Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=2.957832ms grafana | logger=migrator t=2024-07-24T18:14:24.162357385Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-07-24T18:14:24.163436418Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.078903ms grafana | logger=migrator t=2024-07-24T18:14:24.167118058Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-07-24T18:14:24.168815887Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.697519ms grafana | logger=migrator t=2024-07-24T18:14:24.174311648Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2024-07-24T18:14:24.185045185Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=10.735327ms grafana | logger=migrator t=2024-07-24T18:14:24.190279573Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2024-07-24T18:14:24.191005622Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=725.709µs grafana | logger=migrator t=2024-07-24T18:14:24.195345639Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2024-07-24T18:14:24.195669383Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=323.284µs grafana | logger=migrator t=2024-07-24T18:14:24.202220156Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2024-07-24T18:14:24.203384418Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.164972ms grafana | logger=migrator t=2024-07-24T18:14:24.209344834Z 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-24T18:14:24.210376155Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.031301ms grafana | logger=migrator t=2024-07-24T18:14:24.214736673Z 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-24T18:14:24.215758884Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.021691ms grafana | logger=migrator t=2024-07-24T18:14:24.221134933Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-07-24T18:14:24.221422616Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=295.933µs grafana | logger=migrator t=2024-07-24T18:14:24.229168302Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2024-07-24T18:14:24.230077013Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=908.311µs grafana | logger=migrator t=2024-07-24T18:14:24.233252058Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2024-07-24T18:14:24.234244108Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=991.52µs grafana | logger=migrator t=2024-07-24T18:14:24.240042202Z 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-24T18:14:24.241100103Z 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.057961ms grafana | logger=migrator t=2024-07-24T18:14:24.248180792Z 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-24T18:14:24.250312696Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=2.112563ms grafana | logger=migrator t=2024-07-24T18:14:24.253875925Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2024-07-24T18:14:24.260862742Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=6.987517ms grafana | logger=migrator t=2024-07-24T18:14:24.26525037Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2024-07-24T18:14:24.266288601Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.038231ms grafana | logger=migrator t=2024-07-24T18:14:24.272970435Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-07-24T18:14:24.274008356Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.041681ms grafana | logger=migrator t=2024-07-24T18:14:24.281191046Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2024-07-24T18:14:24.307378124Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=26.186528ms grafana | logger=migrator t=2024-07-24T18:14:24.311993965Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2024-07-24T18:14:24.332510311Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=20.516116ms grafana | logger=migrator t=2024-07-24T18:14:24.336182972Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2024-07-24T18:14:24.338335895Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=2.140003ms grafana | logger=migrator t=2024-07-24T18:14:24.345314573Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-07-24T18:14:24.346502956Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.199783ms grafana | logger=migrator t=2024-07-24T18:14:24.353224659Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2024-07-24T18:14:24.363046488Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=9.811249ms grafana | logger=migrator t=2024-07-24T18:14:24.367241314Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" grafana | logger=migrator t=2024-07-24T18:14:24.371261259Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=4.020025ms grafana | logger=migrator t=2024-07-24T18:14:24.377917992Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2024-07-24T18:14:24.378892943Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=975.001µs grafana | logger=migrator t=2024-07-24T18:14:24.388838672Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2024-07-24T18:14:24.39034679Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.515447ms grafana | logger=migrator t=2024-07-24T18:14:24.395667078Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2024-07-24T18:14:24.397464687Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.796889ms grafana | logger=migrator t=2024-07-24T18:14:24.405060041Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2024-07-24T18:14:24.406051452Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=991.191µs grafana | logger=migrator t=2024-07-24T18:14:24.414592176Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2024-07-24T18:14:24.414711927Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=121.401µs grafana | logger=migrator t=2024-07-24T18:14:24.422034019Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2024-07-24T18:14:24.431656884Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=9.622335ms grafana | logger=migrator t=2024-07-24T18:14:24.439882375Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2024-07-24T18:14:24.444206143Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=4.323198ms grafana | logger=migrator t=2024-07-24T18:14:24.450055087Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2024-07-24T18:14:24.456065624Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.017487ms grafana | logger=migrator t=2024-07-24T18:14:24.459024636Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2024-07-24T18:14:24.460038658Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.008382ms grafana | logger=migrator t=2024-07-24T18:14:24.464246334Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2024-07-24T18:14:24.465354947Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.108513ms grafana | logger=migrator t=2024-07-24T18:14:24.471599925Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2024-07-24T18:14:24.481133Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=9.533665ms grafana | logger=migrator t=2024-07-24T18:14:24.485922613Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2024-07-24T18:14:24.491842348Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.925425ms grafana | logger=migrator t=2024-07-24T18:14:24.498252449Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" grafana | logger=migrator t=2024-07-24T18:14:24.499304251Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.051742ms grafana | logger=migrator t=2024-07-24T18:14:24.504466857Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2024-07-24T18:14:24.512148792Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=7.656395ms grafana | logger=migrator t=2024-07-24T18:14:24.516069566Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2024-07-24T18:14:24.522057902Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=5.982555ms grafana | logger=migrator t=2024-07-24T18:14:24.530875139Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2024-07-24T18:14:24.53098039Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=115.041µs grafana | logger=migrator t=2024-07-24T18:14:24.53737321Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2024-07-24T18:14:24.53918573Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.81162ms grafana | logger=migrator t=2024-07-24T18:14:24.543171864Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" grafana | logger=migrator t=2024-07-24T18:14:24.544801802Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" duration=1.629538ms grafana | logger=migrator t=2024-07-24T18:14:24.548693665Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" grafana | logger=migrator t=2024-07-24T18:14:24.549750657Z 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.051052ms grafana | logger=migrator t=2024-07-24T18:14:24.557118438Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-07-24T18:14:24.557192309Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=74.531µs grafana | logger=migrator t=2024-07-24T18:14:24.595500921Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2024-07-24T18:14:24.603914874Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=8.414863ms grafana | logger=migrator t=2024-07-24T18:14:24.609327074Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2024-07-24T18:14:24.615628583Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.301039ms grafana | logger=migrator t=2024-07-24T18:14:24.622241107Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2024-07-24T18:14:24.628446755Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.205328ms grafana | logger=migrator t=2024-07-24T18:14:24.632181986Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2024-07-24T18:14:24.638482005Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.299579ms grafana | logger=migrator t=2024-07-24T18:14:24.643774063Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2024-07-24T18:14:24.650094053Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.31968ms grafana | logger=migrator t=2024-07-24T18:14:24.655472372Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2024-07-24T18:14:24.655537433Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=65.721µs grafana | logger=migrator t=2024-07-24T18:14:24.660816241Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2024-07-24T18:14:24.661712862Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=896.251µs grafana | logger=migrator t=2024-07-24T18:14:24.666814637Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2024-07-24T18:14:24.676962869Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=10.149272ms grafana | logger=migrator t=2024-07-24T18:14:24.685543974Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2024-07-24T18:14:24.685756356Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=212.042µs grafana | logger=migrator t=2024-07-24T18:14:24.691656171Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2024-07-24T18:14:24.699835351Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=8.16653ms grafana | logger=migrator t=2024-07-24T18:14:24.709531469Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2024-07-24T18:14:24.71060645Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.074511ms grafana | logger=migrator t=2024-07-24T18:14:24.718770651Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2024-07-24T18:14:24.72780667Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=9.03672ms grafana | logger=migrator t=2024-07-24T18:14:24.731899155Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2024-07-24T18:14:24.732854446Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=958.511µs grafana | logger=migrator t=2024-07-24T18:14:24.7396828Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2024-07-24T18:14:24.740817674Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.134304ms grafana | logger=migrator t=2024-07-24T18:14:24.747160723Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2024-07-24T18:14:24.759325847Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=12.161484ms grafana | logger=migrator t=2024-07-24T18:14:24.769433419Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2024-07-24T18:14:24.770630682Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=1.196003ms grafana | logger=migrator t=2024-07-24T18:14:24.775614947Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2024-07-24T18:14:24.777234715Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.619108ms grafana | logger=migrator t=2024-07-24T18:14:24.782387662Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2024-07-24T18:14:24.783206451Z level=info msg="Migration successfully executed" id="create alert_image table" duration=818.859µs grafana | logger=migrator t=2024-07-24T18:14:24.78761385Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2024-07-24T18:14:24.789267817Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.653697ms grafana | logger=migrator t=2024-07-24T18:14:24.795936232Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2024-07-24T18:14:24.796000522Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=64.841µs grafana | logger=migrator t=2024-07-24T18:14:24.803335632Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2024-07-24T18:14:24.804812599Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.476897ms grafana | logger=migrator t=2024-07-24T18:14:24.809767703Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2024-07-24T18:14:24.811312621Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.544498ms grafana | logger=migrator t=2024-07-24T18:14:24.815679709Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-07-24T18:14:24.816083233Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-07-24T18:14:24.820063227Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2024-07-24T18:14:24.820616913Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=552.766µs grafana | logger=migrator t=2024-07-24T18:14:24.828963075Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2024-07-24T18:14:24.830920417Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.946371ms grafana | logger=migrator t=2024-07-24T18:14:24.836229805Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2024-07-24T18:14:24.845187734Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=8.962969ms grafana | logger=migrator t=2024-07-24T18:14:24.851879727Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2024-07-24T18:14:24.853053951Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.174024ms grafana | logger=migrator t=2024-07-24T18:14:24.86023796Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2024-07-24T18:14:24.86204104Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.807221ms grafana | logger=migrator t=2024-07-24T18:14:24.866936554Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2024-07-24T18:14:24.867798823Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=861.829µs grafana | logger=migrator t=2024-07-24T18:14:24.870826556Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2024-07-24T18:14:24.871911729Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.085213ms grafana | logger=migrator t=2024-07-24T18:14:24.874891322Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2024-07-24T18:14:24.875988854Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.097682ms grafana | logger=migrator t=2024-07-24T18:14:24.880610075Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0780-toscarequirements.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-07-24T18:14:24.880636115Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=26.36µs grafana | logger=migrator t=2024-07-24T18:14:24.88287143Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2024-07-24T18:14:24.882937101Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=66.201µs grafana | logger=migrator t=2024-07-24T18:14:24.886041055Z level=info msg="Executing migration" id="add library_element folder uid" grafana | logger=migrator t=2024-07-24T18:14:24.892849319Z level=info msg="Migration successfully executed" id="add library_element folder uid" duration=6.807744ms grafana | logger=migrator t=2024-07-24T18:14:24.895830372Z level=info msg="Executing migration" id="populate library_element folder_uid" grafana | logger=migrator t=2024-07-24T18:14:24.896314357Z level=info msg="Migration successfully executed" id="populate library_element folder_uid" duration=481.895µs grafana | logger=migrator t=2024-07-24T18:14:24.900861148Z level=info msg="Executing migration" id="add index library_element org_id-folder_uid-name-kind" grafana | logger=migrator t=2024-07-24T18:14:24.901947969Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_uid-name-kind" duration=1.086381ms grafana | logger=migrator t=2024-07-24T18:14:24.905081484Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2024-07-24T18:14:24.90557043Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=488.696µs grafana | logger=migrator t=2024-07-24T18:14:24.908865896Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2024-07-24T18:14:24.910489064Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.621917ms grafana | logger=migrator t=2024-07-24T18:14:24.915191126Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2024-07-24T18:14:24.916838394Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.646748ms grafana | logger=migrator t=2024-07-24T18:14:24.921880739Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2024-07-24T18:14:24.95184654Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=29.962991ms grafana | logger=migrator t=2024-07-24T18:14:24.957163479Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2024-07-24T18:14:24.962310926Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.142977ms grafana | logger=migrator t=2024-07-24T18:14:24.965917655Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2024-07-24T18:14:24.966170138Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=251.863µs grafana | logger=migrator t=2024-07-24T18:14:24.969469854Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2024-07-24T18:14:25.001177224Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=31.70756ms grafana | logger=migrator t=2024-07-24T18:14:25.00534015Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2024-07-24T18:14:25.034822572Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=29.482172ms grafana | logger=migrator t=2024-07-24T18:14:25.038443001Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2024-07-24T18:14:25.039487522Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=1.044871ms grafana | logger=migrator t=2024-07-24T18:14:25.081891905Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2024-07-24T18:14:25.084007127Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=2.115162ms grafana | logger=migrator t=2024-07-24T18:14:25.094770305Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2024-07-24T18:14:25.09523556Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=464.725µs grafana | logger=migrator t=2024-07-24T18:14:25.103448909Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2024-07-24T18:14:25.104920576Z level=info msg="Migration successfully executed" id="create permission table" duration=1.471057ms grafana | logger=migrator t=2024-07-24T18:14:25.113894074Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2024-07-24T18:14:25.115649313Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.764639ms grafana | logger=migrator t=2024-07-24T18:14:25.121534187Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2024-07-24T18:14:25.12271923Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.184833ms grafana | logger=migrator t=2024-07-24T18:14:25.131997701Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2024-07-24T18:14:25.133481227Z level=info msg="Migration successfully executed" id="create role table" duration=1.492756ms grafana | logger=migrator t=2024-07-24T18:14:25.142248693Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2024-07-24T18:14:25.154229413Z level=info msg="Migration successfully executed" id="add column display_name" duration=11.98013ms grafana | logger=migrator t=2024-07-24T18:14:25.162118919Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2024-07-24T18:14:25.171203898Z level=info msg="Migration successfully executed" id="add column group_name" duration=9.082329ms grafana | logger=migrator t=2024-07-24T18:14:25.177364746Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2024-07-24T18:14:25.178169314Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=804.468µs grafana | logger=migrator t=2024-07-24T18:14:25.181911375Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2024-07-24T18:14:25.183749015Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.83739ms grafana | logger=migrator t=2024-07-24T18:14:25.188169304Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2024-07-24T18:14:25.190221086Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=2.051642ms grafana | logger=migrator t=2024-07-24T18:14:25.19425259Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2024-07-24T18:14:25.19523326Z level=info msg="Migration successfully executed" id="create team role table" duration=980.28µs grafana | logger=migrator t=2024-07-24T18:14:25.199392026Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2024-07-24T18:14:25.200572669Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.180483ms grafana | logger=migrator t=2024-07-24T18:14:25.20518869Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2024-07-24T18:14:25.207227541Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=2.037891ms grafana | logger=migrator t=2024-07-24T18:14:25.211635219Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2024-07-24T18:14:25.212780892Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.144943ms grafana | logger=migrator t=2024-07-24T18:14:25.216688735Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2024-07-24T18:14:25.218078139Z level=info msg="Migration successfully executed" id="create user role table" duration=1.387794ms grafana | logger=migrator t=2024-07-24T18:14:25.223100444Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2024-07-24T18:14:25.224892844Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.79227ms grafana | logger=migrator t=2024-07-24T18:14:25.229032729Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2024-07-24T18:14:25.230153662Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.114912ms grafana | logger=migrator t=2024-07-24T18:14:25.233264966Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2024-07-24T18:14:25.234372227Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.107311ms grafana | logger=migrator t=2024-07-24T18:14:25.237650393Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2024-07-24T18:14:25.238524483Z level=info msg="Migration successfully executed" id="create builtin role table" duration=868.95µs grafana | logger=migrator t=2024-07-24T18:14:25.242466136Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2024-07-24T18:14:25.243603378Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.137282ms grafana | logger=migrator t=2024-07-24T18:14:25.247574281Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2024-07-24T18:14:25.248705273Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.130842ms grafana | logger=migrator t=2024-07-24T18:14:25.251866758Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2024-07-24T18:14:25.259648443Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.781215ms grafana | logger=migrator t=2024-07-24T18:14:25.311838982Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2024-07-24T18:14:25.312951274Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.116142ms grafana | logger=migrator t=2024-07-24T18:14:25.316918407Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2024-07-24T18:14:25.318706917Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.78826ms grafana | logger=migrator t=2024-07-24T18:14:25.321921461Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2024-07-24T18:14:25.323752062Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.829911ms grafana | logger=migrator t=2024-07-24T18:14:25.330327393Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2024-07-24T18:14:25.332268075Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.940821ms grafana | logger=migrator t=2024-07-24T18:14:25.335359178Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2024-07-24T18:14:25.336279438Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=913.32µs grafana | logger=migrator t=2024-07-24T18:14:25.339682926Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2024-07-24T18:14:25.340801208Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.118201ms grafana | logger=migrator t=2024-07-24T18:14:25.34469481Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2024-07-24T18:14:25.354185444Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=9.490434ms grafana | logger=migrator t=2024-07-24T18:14:25.357699022Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2024-07-24T18:14:25.365667199Z level=info msg="Migration successfully executed" id="permission kind migration" duration=7.942646ms grafana | logger=migrator t=2024-07-24T18:14:25.44564623Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2024-07-24T18:14:25.456405358Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=10.760408ms grafana | logger=migrator t=2024-07-24T18:14:25.459959397Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2024-07-24T18:14:25.468554411Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=8.594904ms grafana | logger=migrator t=2024-07-24T18:14:25.473058279Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2024-07-24T18:14:25.474871199Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.8137ms grafana | logger=migrator t=2024-07-24T18:14:25.478730451Z level=info msg="Executing migration" id="add permission action scope role_id index" grafana | logger=migrator t=2024-07-24T18:14:25.480505681Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=1.77473ms grafana | logger=migrator t=2024-07-24T18:14:25.486660728Z level=info msg="Executing migration" id="remove permission role_id action scope index" grafana | logger=migrator t=2024-07-24T18:14:25.488569369Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.910611ms grafana | logger=migrator t=2024-07-24T18:14:25.494775126Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2024-07-24T18:14:25.4960393Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.260644ms grafana | logger=migrator t=2024-07-24T18:14:25.502954236Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2024-07-24T18:14:25.504192239Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.237913ms grafana | logger=migrator t=2024-07-24T18:14:25.508706318Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2024-07-24T18:14:25.50885655Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=150.412µs policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | 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 | grafana | logger=migrator t=2024-07-24T18:14:25.511006694Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.511169735Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=163.682µs policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-07-24T18:14:25.514014916Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.514422191Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=406.945µs policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2024-07-24T18:14:25.563773149Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.56480762Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.036101ms policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.568164026Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.569433891Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.269724ms policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-07-24T18:14:25.572735886Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.573246312Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=510.936µs policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-07-24T18:14:25.576612658Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.577254445Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=643.327µs policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.582681004Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.583637845Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=957.121µs policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-07-24T18:14:25.586725669Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.588689341Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.963842ms policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-07-24T18:14:25.593580923Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.601843713Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.26498ms policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.60698057Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.607062131Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=81.551µs policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-07-24T18:14:25.60973158Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.610496988Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=765.378µs grafana | logger=migrator t=2024-07-24T18:14:25.613844174Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-07-24T18:14:25.615796056Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.952262ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.620895732Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.622155625Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.260224ms policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.62535126Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-07-24T18:14:25.633705051Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.353721ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.636881746Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-07-24T18:14:25.638027808Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.146142ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.642959372Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.644152975Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.194243ms policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.647318009Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-07-24T18:14:25.670199059Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=22.88172ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.673225752Z level=info msg="Executing migration" id="create correlation v2" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-07-24T18:14:25.674094882Z level=info msg="Migration successfully executed" id="create correlation v2" duration=868.8µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.678884904Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.680118117Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.232983ms policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.683115149Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-07-24T18:14:25.684301263Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.186214ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.689100685Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-07-24T18:14:25.690298658Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.197783ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.693335621Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.693688365Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=352.614µs policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.696986811Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-07-24T18:14:25.698323936Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.336825ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.703491001Z level=info msg="Executing migration" id="add provisioning column" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-07-24T18:14:25.711849403Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.357852ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.714552002Z level=info msg="Executing migration" id="create entity_events table" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.71522111Z level=info msg="Migration successfully executed" id="create entity_events table" duration=668.978µs policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.718049711Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-07-24T18:14:25.718974021Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=923.64µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.723793584Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-07-24T18:14:25.724278869Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.727058549Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.727574895Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.730740359Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-07-24T18:14:25.732097544Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.356615ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.737341511Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-07-24T18:14:25.739182451Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.83997ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.742240304Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.743384487Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.144163ms policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.746215378Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-07-24T18:14:25.747408621Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.192893ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.752327634Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-07-24T18:14:25.753633108Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.304974ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.756893145Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.758027166Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.134432ms policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.761196941Z level=info msg="Executing migration" id="Drop public config table" policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-07-24T18:14:25.762630757Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.434466ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.768356759Z level=info msg="Executing migration" id="Recreate dashboard public config v2" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-07-24T18:14:25.770354281Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.997592ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.773486555Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.775596488Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=2.110243ms policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.78133955Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-07-24T18:14:25.782532084Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.191414ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.785505176Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-07-24T18:14:25.787378816Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.87239ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.790850355Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.815321421Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=24.473036ms policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.81883575Z level=info msg="Executing migration" id="add annotations_enabled column" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-07-24T18:14:25.827363133Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=8.527263ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.830648039Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-07-24T18:14:25.839161811Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.513863ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.844455929Z level=info msg="Executing migration" id="delete orphaned public dashboards" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.844776802Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=321.203µs policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.84724044Z level=info msg="Executing migration" id="add share column" policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-07-24T18:14:25.855713052Z level=info msg="Migration successfully executed" id="add share column" duration=8.466381ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.85921934Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-07-24T18:14:25.859536563Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=317.383µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.862331733Z level=info msg="Executing migration" id="create file table" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.863316205Z level=info msg="Migration successfully executed" id="create file table" duration=983.882µs policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.868038126Z level=info msg="Executing migration" id="file table idx: path natural pk" policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-07-24T18:14:25.869162218Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.124242ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.873541636Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL grafana | logger=migrator t=2024-07-24T18:14:25.874714339Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.172403ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.877836083Z level=info msg="Executing migration" id="create file_meta table" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.878773003Z level=info msg="Migration successfully executed" id="create file_meta table" duration=939.38µs policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.883342023Z level=info msg="Executing migration" id="file table idx: path key" policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-07-24T18:14:25.884551356Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.209293ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.887520128Z level=info msg="Executing migration" id="set path collation in file table" policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num grafana | logger=migrator t=2024-07-24T18:14:25.887619389Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=99.121µs policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.890958196Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-07-24T18:14:25.891151788Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=193.553µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.896553946Z level=info msg="Executing migration" id="managed permissions migration" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.897586608Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=1.032222ms policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.900851254Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-07-24T18:14:25.901299098Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=447.394µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.904663975Z level=info msg="Executing migration" id="RBAC action name migrator" policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-07-24T18:14:25.906092011Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.429186ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.909093084Z level=info msg="Executing migration" id="Add UID column to playlist" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.917861149Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.767645ms policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.922884824Z level=info msg="Executing migration" id="Update uid column values in playlist" policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-07-24T18:14:25.923103696Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=218.562µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.926121849Z level=info msg="Executing migration" id="Add index for uid in playlist" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-07-24T18:14:25.927251231Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.133832ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.930165913Z level=info msg="Executing migration" id="update group index for alert rules" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.930614078Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=448.835µs policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.933425629Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-07-24T18:14:25.933706562Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=283.263µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.938000128Z level=info msg="Executing migration" id="admin only folder/dashboard permission" policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-07-24T18:14:25.938570774Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=569.996µs policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-07-24T18:14:25.941278294Z level=info msg="Executing migration" id="add action column to seed_assignment" policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-07-24T18:14:25.950196612Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=8.917138ms policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-07-24T18:14:25.954211905Z level=info msg="Executing migration" id="add scope column to seed_assignment" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:25.963260764Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=9.048199ms policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.967128606Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:25.968028766Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=894.96µs policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-07-24T18:14:25.970778626Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.041417276Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=70.63823ms policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-07-24T18:14:26.068516622Z level=info msg="Executing migration" id="add unique index builtin_role_name back" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.069652944Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.136582ms policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.072547955Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.073449686Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=901.441µs policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-07-24T18:14:26.076555629Z level=info msg="Executing migration" id="add primary key to seed_assigment" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.102676824Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=26.121695ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) grafana | logger=migrator t=2024-07-24T18:14:26.106832238Z level=info msg="Executing migration" id="add origin column to seed_assignment" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.113093717Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=6.261449ms policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.116296322Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.116708426Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=411.724µs policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-07-24T18:14:26.119918491Z level=info msg="Executing migration" id="prevent seeding OnCall access" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.120218144Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=299.503µs policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-07-24T18:14:26.124266179Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.124713524Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=446.805µs policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.128168391Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.128635066Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=466.385µs policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-07-24T18:14:26.131941662Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.132221676Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=279.894µs policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-07-24T18:14:26.134772313Z level=info msg="Executing migration" id="create folder table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.135847485Z level=info msg="Migration successfully executed" id="create folder table" duration=1.074942ms policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.139632566Z level=info msg="Executing migration" id="Add index for parent_uid" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.14083356Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.200944ms policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-07-24T18:14:26.143696201Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" policy-db-migrator | -------------- policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-07-24T18:14:26.144892033Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.195912ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.148695594Z level=info msg="Executing migration" id="Update folder title length" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.148720025Z level=info msg="Migration successfully executed" id="Update folder title length" duration=25.651µs policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.151155041Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-07-24T18:14:26.152414485Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.258954ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.15557748Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) grafana | logger=migrator t=2024-07-24T18:14:26.156706112Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.128762ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.160280651Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.161426814Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.145803ms policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.164402946Z level=info msg="Executing migration" id="Sync dashboard and folder table" policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-07-24T18:14:26.16482962Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=426.384µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.167202406Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" grafana | logger=migrator t=2024-07-24T18:14:26.16755889Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=355.994µs grafana | logger=migrator t=2024-07-24T18:14:26.170635863Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) grafana | logger=migrator t=2024-07-24T18:14:26.171762316Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.122043ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.175455106Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.176660609Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.205143ms policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.179676022Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-07-24T18:14:26.180779825Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.103743ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.184755117Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-07-24T18:14:26.185954251Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.198964ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.188901153Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.189993284Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.091981ms policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.193104938Z level=info msg="Executing migration" id="create anon_device table" policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-07-24T18:14:26.194060109Z level=info msg="Migration successfully executed" id="create anon_device table" duration=954.731µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.19784551Z level=info msg="Executing migration" id="add unique index anon_device.device_id" policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-07-24T18:14:26.199049713Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.203863ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.202224379Z level=info msg="Executing migration" id="add index anon_device.updated_at" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.203465422Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.240893ms policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.206516945Z level=info msg="Executing migration" id="create signing_key table" policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-07-24T18:14:26.207522535Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.00091ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.211113725Z level=info msg="Executing migration" id="add unique index signing_key.key_id" policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-07-24T18:14:26.212292257Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.178452ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.215151529Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.216328852Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.177323ms policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.22076994Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-07-24T18:14:26.221139224Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=370.124µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.224828045Z level=info msg="Executing migration" id="Add folder_uid for dashboard" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-07-24T18:14:26.233926164Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=9.097789ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.236744654Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.237294Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=550.146µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.240095791Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-07-24T18:14:26.240108971Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=13.99µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.242884361Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.24376864Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=884.139µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.246935855Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2024-07-24T18:14:26.246952295Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=17.44µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.249794887Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.25106805Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.272963ms policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.254920752Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.256169306Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.248334ms policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2024-07-24T18:14:26.258919036Z level=info msg="Executing migration" id="create sso_setting table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.260118909Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.199703ms policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.263134711Z level=info msg="Executing migration" id="copy kvstore migration status to each org" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.263965441Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=824.39µs policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2024-07-24T18:14:26.267645541Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.268011225Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=366.564µs policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.270938716Z level=info msg="Executing migration" id="managed dashboard permissions annotation actions migration" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.271641774Z level=info msg="Migration successfully executed" id="managed dashboard permissions annotation actions migration" duration=702.978µs policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2024-07-24T18:14:26.274811868Z level=info msg="Executing migration" id="create cloud_migration table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.275751829Z level=info msg="Migration successfully executed" id="create cloud_migration table v1" duration=939.981µs policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-07-24T18:14:26.27949535Z level=info msg="Executing migration" id="create cloud_migration_run table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.280390849Z level=info msg="Migration successfully executed" id="create cloud_migration_run table v1" duration=895.319µs policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.285736738Z level=info msg="Executing migration" id="add stack_id column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.298687819Z level=info msg="Migration successfully executed" id="add stack_id column" duration=12.953022ms policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2024-07-24T18:14:26.30247445Z level=info msg="Executing migration" id="add region_slug column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.30978493Z level=info msg="Migration successfully executed" id="add region_slug column" duration=7.31025ms policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.312882724Z level=info msg="Executing migration" id="add cluster_slug column" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.322192995Z level=info msg="Migration successfully executed" id="add cluster_slug column" duration=9.309761ms policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-07-24T18:14:26.32633572Z level=info msg="Executing migration" id="add migration uid column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.339328501Z level=info msg="Migration successfully executed" id="add migration uid column" duration=12.994451ms policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2024-07-24T18:14:26.342456376Z level=info msg="Executing migration" id="Update uid column values for migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.342659949Z level=info msg="Migration successfully executed" id="Update uid column values for migration" duration=203.393µs policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.345900434Z level=info msg="Executing migration" id="Add unique index migration_uid" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.347137287Z level=info msg="Migration successfully executed" id="Add unique index migration_uid" duration=1.236792ms policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2024-07-24T18:14:26.351325643Z level=info msg="Executing migration" id="add migration run uid column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.360893897Z level=info msg="Migration successfully executed" id="add migration run uid column" duration=9.562153ms policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2024-07-24T18:14:26.367658891Z level=info msg="Executing migration" id="Update uid column values for migration run" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.367873753Z level=info msg="Migration successfully executed" id="Update uid column values for migration run" duration=217.262µs policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.370649873Z level=info msg="Executing migration" id="Add unique index migration_run_uid" policy-db-migrator | msg grafana | logger=migrator t=2024-07-24T18:14:26.372479313Z level=info msg="Migration successfully executed" id="Add unique index migration_run_uid" duration=1.82756ms policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2024-07-24T18:14:26.376985032Z level=info msg="Executing migration" id="alter kv_store.value to longtext" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.377083113Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=99.231µs policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2024-07-24T18:14:26.380167797Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.389380527Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=9.21253ms policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2024-07-24T18:14:26.392585212Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.402073816Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=9.491234ms policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.40522646Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.405477482Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=250.692µs policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-07-24T18:14:26.410085343Z level=info msg="Executing migration" id="managed folder permissions alerting silences actions migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.410327916Z level=info msg="Migration successfully executed" id="managed folder permissions alerting silences actions migration" duration=242.333µs policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-07-24T18:14:26.413435829Z level=info msg="Executing migration" id="add record column to alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.42632025Z level=info msg="Migration successfully executed" id="add record column to alert_rule table" duration=12.885901ms policy-db-migrator | grafana | logger=migrator t=2024-07-24T18:14:26.429111751Z level=info msg="Executing migration" id="add record column to alert_rule_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.438056178Z level=info msg="Migration successfully executed" id="add record column to alert_rule_version table" duration=8.943487ms policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-07-24T18:14:26.441758298Z level=info msg="migrations completed" performed=572 skipped=0 duration=5.120295769s policy-db-migrator | -------------- grafana | logger=migrator t=2024-07-24T18:14:26.442403915Z level=info msg="Unlocking database" policy-db-migrator | grafana | logger=sqlstore t=2024-07-24T18:14:26.462079739Z level=info msg="Created default admin" user=admin policy-db-migrator | grafana | logger=sqlstore t=2024-07-24T18:14:26.462316681Z level=info msg="Created default organization" policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=secrets t=2024-07-24T18:14:26.46765203Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 policy-db-migrator | -------------- grafana | logger=plugin.angulardetectorsprovider.dynamic t=2024-07-24T18:14:26.525538611Z level=info msg="Restored cache from database" duration=392.985µs policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=plugin.store t=2024-07-24T18:14:26.527467082Z level=info msg="Loading plugins..." policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- grafana | logger=plugins.registration t=2024-07-24T18:14:26.556831801Z level=error msg="Could not register plugin" pluginId=xychart error="plugin xychart is already registered" policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) grafana | logger=plugins.initialization t=2024-07-24T18:14:26.556966493Z level=error msg="Could not initialize plugin" pluginId=xychart error="plugin xychart is already registered" policy-db-migrator | -------------- grafana | logger=local.finder t=2024-07-24T18:14:26.557122844Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled policy-db-migrator | grafana | logger=plugin.store t=2024-07-24T18:14:26.557191515Z level=info msg="Plugins loaded" count=54 duration=29.725363ms policy-db-migrator | grafana | logger=query_data t=2024-07-24T18:14:26.561376111Z level=info msg="Query Service initialization" policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=live.push_http t=2024-07-24T18:14:26.564704127Z level=info msg="Live Push Gateway initialization" policy-db-migrator | -------------- grafana | logger=ngalert.notifier.alertmanager org=1 t=2024-07-24T18:14:26.570884715Z level=info msg="Applying new configuration to Alertmanager" configHash=d2c56faca6af2a5772ff4253222f7386 policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=ngalert.state.manager t=2024-07-24T18:14:26.59986342Z level=info msg="Running in alternative execution of Error/NoData mode" policy-db-migrator | -------------- grafana | logger=infra.usagestats.collector t=2024-07-24T18:14:26.602165975Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-07-24T18:14:26.604311749Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz policy-db-migrator | grafana | logger=provisioning.alerting t=2024-07-24T18:14:26.622015431Z level=info msg="starting to provision alerting" policy-db-migrator | -------------- grafana | logger=provisioning.alerting t=2024-07-24T18:14:26.622032442Z level=info msg="finished to provision alerting" policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=ngalert.state.manager t=2024-07-24T18:14:26.622127323Z level=info msg="Warming state cache for startup" policy-db-migrator | -------------- grafana | logger=ngalert.state.manager t=2024-07-24T18:14:26.622456497Z level=info msg="State cache has been initialized" states=0 duration=327.724µs policy-db-migrator | grafana | logger=grafanaStorageLogger t=2024-07-24T18:14:26.62272594Z level=info msg="Storage starting" policy-db-migrator | -------------- grafana | logger=provisioning.dashboard t=2024-07-24T18:14:26.623272466Z level=info msg="starting to provision dashboards" policy-db-migrator | TRUNCATE TABLE sequence grafana | logger=ngalert.scheduler t=2024-07-24T18:14:26.626695883Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 policy-db-migrator | -------------- grafana | logger=ticker t=2024-07-24T18:14:26.626736443Z level=info msg=starting first_tick=2024-07-24T18:14:30Z policy-db-migrator | grafana | logger=ngalert.multiorg.alertmanager t=2024-07-24T18:14:26.627090327Z level=info msg="Starting MultiOrg Alertmanager" policy-db-migrator | grafana | logger=http.server t=2024-07-24T18:14:26.628881977Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= policy-db-migrator | > upgrade 0100-pdpstatistics.sql grafana | logger=grafana.update.checker t=2024-07-24T18:14:26.695425262Z level=info msg="Update check succeeded" duration=73.160038ms policy-db-migrator | -------------- grafana | logger=plugins.update.checker t=2024-07-24T18:14:26.696755556Z level=info msg="Update check succeeded" duration=73.43429ms policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics grafana | logger=sqlstore.transactions t=2024-07-24T18:14:26.703012654Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" policy-db-migrator | -------------- grafana | logger=sqlstore.transactions t=2024-07-24T18:14:26.781789032Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" policy-db-migrator | grafana | logger=sqlstore.transactions t=2024-07-24T18:14:26.792745182Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" policy-db-migrator | -------------- grafana | logger=plugin.angulardetectorsprovider.dynamic t=2024-07-24T18:14:26.801428876Z level=info msg="Patterns update finished" duration=174.947916ms policy-db-migrator | DROP TABLE pdpstatistics grafana | logger=provisioning.dashboard t=2024-07-24T18:14:26.958346596Z level=info msg="finished to provision dashboards" policy-db-migrator | -------------- grafana | logger=grafana-apiserver t=2024-07-24T18:14:27.000952511Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" policy-db-migrator | grafana | logger=grafana-apiserver t=2024-07-24T18:14:27.001511357Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" policy-db-migrator | grafana | logger=infra.usagestats t=2024-07-24T18:15:33.635358102Z level=info msg="Usage stats are ready to report" 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 2407241814260800u 1 2024-07-24 18:14:26 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:26 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:26 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:26 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:26 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:26 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:26 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:26 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:26 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:26 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:27 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:27 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:27 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:27 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:27 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:27 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:27 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:27 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:27 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:27 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:27 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:27 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:27 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:27 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:27 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:27 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:27 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:27 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:27 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:27 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:27 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:27 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:27 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:27 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:27 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:28 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:28 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:28 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:28 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:28 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:28 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:28 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:28 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:28 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:28 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:28 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:28 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:28 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:28 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:28 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:28 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:28 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:29 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:29 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:29 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:29 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:29 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:29 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:29 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:29 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:29 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:29 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:29 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:29 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:29 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:29 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:30 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:30 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:30 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:30 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:30 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:30 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:30 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:30 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:30 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:30 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:30 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:30 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:30 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:30 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:30 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:30 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:30 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:30 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:30 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:30 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:30 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:30 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:30 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:31 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:31 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:31 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:31 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:31 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:31 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2407241814260800u 1 2024-07-24 18:14:31 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2407241814260900u 1 2024-07-24 18:14:31 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2407241814260900u 1 2024-07-24 18:14:31 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2407241814260900u 1 2024-07-24 18:14:31 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2407241814260900u 1 2024-07-24 18:14:31 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2407241814260900u 1 2024-07-24 18:14:31 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2407241814260900u 1 2024-07-24 18:14:31 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2407241814260900u 1 2024-07-24 18:14:31 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2407241814260900u 1 2024-07-24 18:14:31 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2407241814260900u 1 2024-07-24 18:14:31 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2407241814260900u 1 2024-07-24 18:14:31 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2407241814260900u 1 2024-07-24 18:14:31 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2407241814260900u 1 2024-07-24 18:14:31 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2407241814260900u 1 2024-07-24 18:14:32 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2407241814261000u 1 2024-07-24 18:14:32 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2407241814261000u 1 2024-07-24 18:14:32 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2407241814261000u 1 2024-07-24 18:14:32 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2407241814261000u 1 2024-07-24 18:14:32 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2407241814261000u 1 2024-07-24 18:14:32 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2407241814261000u 1 2024-07-24 18:14:32 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2407241814261000u 1 2024-07-24 18:14:32 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2407241814261000u 1 2024-07-24 18:14:32 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2407241814261000u 1 2024-07-24 18:14:32 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2407241814261100u 1 2024-07-24 18:14:32 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2407241814261200u 1 2024-07-24 18:14:32 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2407241814261200u 1 2024-07-24 18:14:32 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2407241814261200u 1 2024-07-24 18:14:32 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2407241814261200u 1 2024-07-24 18:14:32 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 2407241814261300u 1 2024-07-24 18:14:32 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 2407241814261300u 1 2024-07-24 18:14:32 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 2407241814261300u 1 2024-07-24 18:14:32 policy-db-migrator | policyadmin: OK @ 1300 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing grafana ... Removing policy-db-migrator ... Removing mariadb ... Removing prometheus ... Removing policy-api ... done Removing grafana ... done Removing policy-db-migrator ... done Removing mariadb ... done Removing prometheus ... done Removing network compose_default ++ cd /w/workspace/policy-api-montreal-project-csit-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.mnFFxWlzeb ]] + rsync -av /tmp/tmp.mnFFxWlzeb/ /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,344,757 bytes received 95 bytes 2,689,704.00 bytes/sec total size is 1,344,108 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 2114 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/jenkins4113236352537433893.sh ---> sysstat.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins5664960600938141545.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/jenkins7558615184707042076.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-NneQ from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-NneQ/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins18382735685506827529.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config10144554168687405224tmp 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/jenkins1483655970516841095.sh ---> create-netrc.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins11020342070858149030.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-NneQ from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-NneQ/bin to PATH [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins2664890746150688206.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins2706858738315687957.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-NneQ 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-NneQ/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/jenkins16606616499644382062.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-NneQ from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-NneQ/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/256 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-26148 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 874 27259 0 4033 30836 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:41:2b:a5 brd ff:ff:ff:ff:ff:ff inet 10.30.107.253/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86072sec preferred_lft 86072sec inet6 fe80::f816:3eff:fe41:2ba5/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:49:8b:ec:64 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-26148) 07/24/24 _x86_64_ (8 CPU) 18:11:27 LINUX RESTART (8 CPU) 18:12:02 tps rtps wtps bread/s bwrtn/s 18:13:01 324.29 39.31 284.98 1782.78 25529.08 18:14:01 145.74 23.11 122.63 2758.74 31187.74 18:15:01 364.22 12.60 351.62 806.90 78371.65 18:16:01 12.60 0.03 12.56 8.53 16713.90 Average: 211.23 18.67 192.55 1337.31 38002.19 18:12:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:13:01 30056028 31660016 2883192 8.75 72156 1841140 1403116 4.13 921008 1671372 172540 18:14:01 28480772 31637488 4458448 13.54 105708 3312456 1395928 4.11 1023268 3049080 1224408 18:15:01 26836016 30540848 6103204 18.53 128640 3798708 4228452 12.44 2205944 3442384 236 18:16:01 26851132 30557132 6088088 18.48 128704 3799660 4331464 12.74 2191300 3442276 108 Average: 28055987 31098871 4883233 14.82 108802 3187991 2839740 8.36 1585380 2901278 349323 18:12:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:13:01 lo 1.42 1.42 0.16 0.16 0.00 0.00 0.00 0.00 18:13:01 ens3 124.51 92.83 1221.64 32.54 0.00 0.00 0.00 0.00 18:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:14:01 lo 8.87 8.87 0.83 0.83 0.00 0.00 0.00 0.00 18:14:01 ens3 269.26 178.75 8152.73 17.06 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-f7e93eb3efb5 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:15:01 lo 7.55 7.55 8.39 8.39 0.00 0.00 0.00 0.00 18:15:01 veth5291c89 0.05 0.32 0.00 0.02 0.00 0.00 0.00 0.00 18:15:01 ens3 66.89 44.09 2012.14 4.21 0.00 0.00 0.00 0.00 18:15:01 veth6d59b85 124.73 105.53 40.62 113.92 0.00 0.00 0.00 0.01 18:16:01 lo 8.21 8.21 0.56 0.56 0.00 0.00 0.00 0.00 18:16:01 veth5291c89 0.73 1.00 0.10 0.88 0.00 0.00 0.00 0.00 18:16:01 ens3 6.35 3.48 5.77 1.23 0.00 0.00 0.00 0.00 18:16:01 veth6d59b85 1.10 1.17 0.82 0.08 0.00 0.00 0.00 0.00 Average: lo 6.53 6.53 2.50 2.50 0.00 0.00 0.00 0.00 Average: veth5291c89 0.20 0.33 0.03 0.23 0.00 0.00 0.00 0.00 Average: ens3 116.71 79.73 2854.82 13.68 0.00 0.00 0.00 0.00 Average: veth6d59b85 31.59 26.79 10.40 28.62 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-26148) 07/24/24 _x86_64_ (8 CPU) 18:11:27 LINUX RESTART (8 CPU) 18:12:02 CPU %user %nice %system %iowait %steal %idle 18:13:01 all 9.63 0.00 0.92 3.11 0.04 86.31 18:13:01 0 10.21 0.00 0.78 0.51 0.02 88.48 18:13:01 1 27.68 0.00 1.72 4.05 0.03 66.52 18:13:01 2 14.83 0.00 1.34 1.02 0.02 82.79 18:13:01 3 2.58 0.00 0.59 0.36 0.02 96.46 18:13:01 4 1.25 0.00 0.51 3.24 0.02 94.98 18:13:01 5 1.58 0.00 0.63 2.50 0.10 95.18 18:13:01 6 6.97 0.00 0.66 12.33 0.03 80.01 18:13:01 7 11.95 0.00 1.22 0.80 0.03 86.00 18:14:01 all 10.86 0.00 2.31 2.67 0.04 84.12 18:14:01 0 6.61 0.00 2.29 0.52 0.02 90.57 18:14:01 1 28.87 0.00 2.82 3.16 0.07 65.09 18:14:01 2 5.58 0.00 1.22 0.52 0.05 92.63 18:14:01 3 5.12 0.00 1.54 0.49 0.03 92.82 18:14:01 4 6.95 0.00 1.93 2.42 0.02 88.68 18:14:01 5 17.43 0.00 3.16 3.79 0.05 75.57 18:14:01 6 5.27 0.00 2.11 9.96 0.02 82.64 18:14:01 7 11.26 0.00 3.36 0.54 0.03 84.81 18:15:01 all 16.18 0.00 2.69 4.78 0.06 76.29 18:15:01 0 19.04 0.00 2.52 3.49 0.07 74.88 18:15:01 1 13.54 0.00 2.59 1.92 0.05 81.91 18:15:01 2 19.08 0.00 2.78 1.03 0.05 77.07 18:15:01 3 17.38 0.00 3.07 0.99 0.07 78.49 18:15:01 4 18.67 0.00 2.74 3.26 0.07 75.27 18:15:01 5 13.92 0.00 3.13 20.37 0.07 62.50 18:15:01 6 9.98 0.00 2.01 6.18 0.05 81.78 18:15:01 7 17.81 0.00 2.77 1.07 0.05 78.30 18:16:01 all 0.16 0.00 0.06 0.88 0.03 98.88 18:16:01 0 0.43 0.00 0.03 0.00 0.00 99.53 18:16:01 1 0.07 0.00 0.07 0.00 0.02 99.85 18:16:01 2 0.05 0.00 0.05 0.02 0.02 99.87 18:16:01 3 0.28 0.00 0.12 0.00 0.08 99.52 18:16:01 4 0.10 0.00 0.08 6.99 0.02 92.81 18:16:01 5 0.03 0.00 0.03 0.00 0.03 99.90 18:16:01 6 0.20 0.00 0.05 0.00 0.02 99.73 18:16:01 7 0.10 0.00 0.05 0.00 0.02 99.83 Average: all 9.19 0.00 1.50 2.85 0.04 86.42 Average: 0 9.05 0.00 1.41 1.13 0.03 88.39 Average: 1 17.47 0.00 1.79 2.27 0.04 78.43 Average: 2 9.85 0.00 1.34 0.64 0.03 88.13 Average: 3 6.34 0.00 1.33 0.46 0.05 91.82 Average: 4 6.75 0.00 1.32 3.98 0.03 87.93 Average: 5 8.23 0.00 1.74 6.67 0.06 83.29 Average: 6 5.60 0.00 1.21 7.09 0.03 86.07 Average: 7 10.26 0.00 1.85 0.60 0.03 87.26