Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-21351 (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-lX5ThOvppnyy/agent.2067 SSH_AGENT_PID=2069 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_5731173151841833394.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_5731173151841833394.key) [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) The recommended git tool is: NONE using credential onap-jenkins-ssh Wiping out workspace first. Cloning the remote Git repository Cloning repository git://cloud.onap.org/mirror/policy/docker.git > git init /w/workspace/policy-api-montreal-project-csit-api # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_SSH to set credentials Gerrit user Verifying host key using manually-configured host key entries > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/montreal^{commit} # timeout=10 Checking out Revision 828a01cf695f53919dbff4ebbb1499c9674812b5 (refs/remotes/origin/montreal) > git config core.sparsecheckout # timeout=10 > git checkout -f 828a01cf695f53919dbff4ebbb1499c9674812b5 # timeout=30 Commit message: "Set Montreal default branch" > git rev-list --no-walk 828a01cf695f53919dbff4ebbb1499c9674812b5 # timeout=10 provisioning config files... copy managed file [npmrc] to file:/home/jenkins/.npmrc copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins11039575471748179542.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-JAOe 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-JAOe/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-JAOe/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.3 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.79 botocore==1.34.79 bs4==0.0.2 cachetools==5.3.3 certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.6.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.2 email_validator==2.1.1 filelock==3.13.3 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.29.0 httplib2==0.22.0 identify==2.5.35 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.6.0 kubernetes==29.0.0 lftools==0.37.10 lxml==5.2.1 MarkupSafe==2.1.5 msgpack==1.0.8 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.2.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==3.0.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.1 oslo.config==9.4.0 oslo.context==5.5.0 oslo.i18n==6.3.0 oslo.log==5.5.1 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==24.0 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.10.0 pyasn1==0.6.0 pyasn1_modules==0.4.0 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.3.0 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.5.0 python-dateutil==2.9.0.post0 python-heatclient==3.5.0 python-jenkins==1.8.2 python-keystoneclient==5.4.0 python-magnumclient==4.4.0 python-novaclient==18.6.0 python-openstackclient==6.6.0 python-swiftclient==4.5.0 PyYAML==6.0.1 referencing==0.34.0 requests==2.31.0 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.1 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.2.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.4 tqdm==4.66.2 typing_extensions==4.11.0 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.25.1 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.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/jenkins17662197039150138780.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/jenkins13581780026823735093.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.m1m8MnE49W ++ echo ROBOT_VENV=/tmp/tmp.m1m8MnE49W +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.m1m8MnE49W ++ source /tmp/tmp.m1m8MnE49W/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.m1m8MnE49W +++ 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.m1m8MnE49W/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.m1m8MnE49W) ' '!=' x ']' +++ PS1='(tmp.m1m8MnE49W) ' +++ 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.2.2 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 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.1 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.0 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.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.m1m8MnE49W/src/onap ++ rm -rf /tmp/tmp.m1m8MnE49W/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==1.0.0 idna==3.6 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.1 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.0 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.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 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 ++ tr : ' ' ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o 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.m1m8MnE49W/bin/activate + '[' -z /tmp/tmp.m1m8MnE49W/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.m1m8MnE49W/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.m1m8MnE49W ++ 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.m1m8MnE49W/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.m1m8MnE49W) ' ++ '[' 'x(tmp.m1m8MnE49W) ' '!=' x ']' ++ PS1='(tmp.m1m8MnE49W) (tmp.m1m8MnE49W) ' ++ 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.tOI50cPzoX + cd /tmp/tmp.tOI50cPzoX + 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:dec2018ae55885fed717f25c289b8c9cff0bf5fbb9e619fb49b6161ac493c016 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:753bbb971071480d6630d3aa0d55345188c02f39456664f67c1ea443593638d0 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating prometheus ... Creating mariadb ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... 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 policy-db-migrator Up 11 seconds grafana Up 13 seconds mariadb Up 11 seconds prometheus Up 14 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds mariadb Up 17 seconds prometheus Up 19 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds mariadb Up 22 seconds prometheus Up 24 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 18:15:15 up 4 min, 0 users, load average: 1.77, 0.87, 0.36 Tasks: 180 total, 2 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.8 us, 1.9 sy, 0.0 ni, 84.6 id, 3.7 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.4G 26G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 6da19b71cee9 policy-api 0.39% 486.1MiB / 31.41GiB 1.51% 998kB / 710kB 0B / 0B 57 ff18baad1c88 grafana 0.07% 57.99MiB / 31.41GiB 0.18% 18.6kB / 3.25kB 0B / 24.6MB 16 a8da7bf8b026 mariadb 0.02% 100.3MiB / 31.41GiB 0.31% 985kB / 1.18MB 11.2MB / 67.9MB 26 5bbbe10bccd7 prometheus 0.39% 18.38MiB / 31.41GiB 0.06% 1.38kB / 0B 4.1kB / 0B 14 + echo + cd /tmp/tmp.tOI50cPzoX + 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.tOI50cPzoX/output.xml Log: /tmp/tmp.tOI50cPzoX/log.html Report: /tmp/tmp.tOI50cPzoX/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:16:26 up 5 min, 0 users, load average: 0.80, 0.81, 0.37 Tasks: 178 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.5 us, 1.6 sy, 0.0 ni, 86.8 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.7G 25G 1.0M 3.9G 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 6da19b71cee9 policy-api 0.10% 750.4MiB / 31.41GiB 2.33% 7MB / 2.55MB 0B / 0B 56 ff18baad1c88 grafana 0.02% 62.77MiB / 31.41GiB 0.20% 19.6kB / 4.48kB 0B / 24.6MB 16 a8da7bf8b026 mariadb 0.02% 101.4MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 11.2MB / 68.3MB 18 5bbbe10bccd7 prometheus 0.00% 23.09MiB / 31.41GiB 0.07% 55.5kB / 6.55kB 4.1kB / 0B 14 + 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, policy-db-migrator, grafana, mariadb, prometheus grafana | logger=settings t=2024-04-07T18:14:47.345934979Z level=info msg="Starting Grafana" version=10.4.1 commit=d94d597d847c05085542c29dfad6b3f469cc77e1 branch=v10.4.x compiled=2024-04-07T18:14:47Z grafana | logger=settings t=2024-04-07T18:14:47.34630102Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-04-07T18:14:47.346316501Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-04-07T18:14:47.346325171Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-04-07T18:14:47.346328921Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-04-07T18:14:47.346332361Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-04-07T18:14:47.346340311Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-04-07T18:14:47.346344941Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-04-07T18:14:47.346349291Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-04-07T18:14:47.346352761Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-04-07T18:14:47.346357521Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-04-07T18:14:47.346361631Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-04-07T18:14:47.346365691Z level=info msg=Target target=[all] grafana | logger=settings t=2024-04-07T18:14:47.346374231Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-04-07T18:14:47.346377951Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-04-07T18:14:47.346381501Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-04-07T18:14:47.346385891Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-04-07T18:14:47.346414801Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-04-07T18:14:47.346419751Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-04-07T18:14:47.346931934Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-04-07T18:14:47.346955624Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-04-07T18:14:47.348772314Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-04-07T18:14:47.350399882Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-04-07T18:14:47.351720279Z level=info msg="Migration successfully executed" id="create migration_log table" duration=1.323377ms grafana | logger=migrator t=2024-04-07T18:14:47.406778513Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-04-07T18:14:47.408583272Z level=info msg="Migration successfully executed" id="create user table" duration=1.798999ms grafana | logger=migrator t=2024-04-07T18:14:47.412662704Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-04-07T18:14:47.4137824Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.119436ms grafana | logger=migrator t=2024-04-07T18:14:47.417123258Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-04-07T18:14:47.417798322Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=674.254µs grafana | logger=migrator t=2024-04-07T18:14:47.423678773Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-04-07T18:14:47.424358247Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=678.744µs grafana | logger=migrator t=2024-04-07T18:14:47.427993976Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-04-07T18:14:47.429074392Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.076766ms grafana | logger=migrator t=2024-04-07T18:14:47.432794592Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-04-07T18:14:47.437103345Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.306553ms grafana | logger=migrator t=2024-04-07T18:14:47.443583449Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-04-07T18:14:47.445028807Z level=info msg="Migration successfully executed" id="create user table v2" duration=1.445408ms grafana | logger=migrator t=2024-04-07T18:14:47.448369565Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-04-07T18:14:47.449504731Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.134906ms grafana | logger=migrator t=2024-04-07T18:14:47.452673898Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-04-07T18:14:47.453374712Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=700.614µs grafana | logger=migrator t=2024-04-07T18:14:47.456689959Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-04-07T18:14:47.457078311Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=388.482µs grafana | logger=migrator t=2024-04-07T18:14:47.462826392Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-04-07T18:14:47.463865487Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=1.037665ms grafana | logger=migrator t=2024-04-07T18:14:47.467612317Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-04-07T18:14:47.469526688Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.91279ms grafana | logger=migrator t=2024-04-07T18:14:47.472836155Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-04-07T18:14:47.472859345Z level=info msg="Migration successfully executed" id="Update user table charset" duration=23.53µs grafana | logger=migrator t=2024-04-07T18:14:47.477997063Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-04-07T18:14:47.478762877Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=765.754µs grafana | logger=migrator t=2024-04-07T18:14:47.481853353Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-04-07T18:14:47.482180845Z level=info msg="Migration successfully executed" id="Add missing user data" duration=327.262µs grafana | logger=migrator t=2024-04-07T18:14:47.485652844Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-04-07T18:14:47.487410913Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.758059ms grafana | logger=migrator t=2024-04-07T18:14:47.490746821Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-04-07T18:14:47.491762086Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.016085ms grafana | logger=migrator t=2024-04-07T18:14:47.497115295Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-04-07T18:14:47.498255311Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.140076ms grafana | logger=migrator t=2024-04-07T18:14:47.501592609Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-04-07T18:14:47.509416611Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=7.823532ms grafana | logger=migrator t=2024-04-07T18:14:47.51311546Z level=info msg="Executing migration" id="Add uid column to user" grafana | logger=migrator t=2024-04-07T18:14:47.514200436Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=1.084856ms grafana | logger=migrator t=2024-04-07T18:14:47.517520664Z level=info msg="Executing migration" id="Update uid column values for users" grafana | logger=migrator t=2024-04-07T18:14:47.517785465Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=246.611µs grafana | logger=migrator t=2024-04-07T18:14:47.523160004Z level=info msg="Executing migration" id="Add unique index user_uid" grafana | logger=migrator t=2024-04-07T18:14:47.523846827Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=686.333µs grafana | logger=migrator t=2024-04-07T18:14:47.527114925Z 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-04-07T18:14:47.527455537Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=339.302µs grafana | logger=migrator t=2024-04-07T18:14:47.530505843Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-04-07T18:14:47.531315237Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=809.174µs grafana | logger=migrator t=2024-04-07T18:14:47.536650876Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-04-07T18:14:47.537708271Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.056835ms grafana | logger=migrator t=2024-04-07T18:14:47.541377441Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-04-07T18:14:47.542589118Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.209187ms grafana | logger=migrator t=2024-04-07T18:14:47.546549068Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-04-07T18:14:47.548179257Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.629629ms grafana | logger=migrator t=2024-04-07T18:14:47.553616866Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-04-07T18:14:47.554136189Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=521.583µs grafana | logger=migrator t=2024-04-07T18:14:47.557172925Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-04-07T18:14:47.557202715Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=30.56µs grafana | logger=migrator t=2024-04-07T18:14:47.560387432Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-04-07T18:14:47.561493798Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.089336ms grafana | logger=migrator t=2024-04-07T18:14:47.564900346Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-04-07T18:14:47.565977052Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.074296ms grafana | logger=migrator t=2024-04-07T18:14:47.571874524Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-04-07T18:14:47.572509727Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=635.053µs grafana | logger=migrator t=2024-04-07T18:14:47.575982646Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-04-07T18:14:47.57678393Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=799.894µs grafana | logger=migrator t=2024-04-07T18:14:47.582639301Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-04-07T18:14:47.587490087Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=4.849656ms grafana | logger=migrator t=2024-04-07T18:14:47.591092916Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-04-07T18:14:47.592480084Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=1.382597ms grafana | logger=migrator t=2024-04-07T18:14:47.596108853Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-04-07T18:14:47.596785926Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=676.613µs grafana | logger=migrator t=2024-04-07T18:14:47.600060394Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-04-07T18:14:47.600775398Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=714.434µs grafana | logger=migrator t=2024-04-07T18:14:47.606160207Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-04-07T18:14:47.607318953Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.157686ms grafana | logger=migrator t=2024-04-07T18:14:47.610794891Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-04-07T18:14:47.611952557Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.156636ms grafana | logger=migrator t=2024-04-07T18:14:47.615560797Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-04-07T18:14:47.61613475Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=573.823µs grafana | logger=migrator t=2024-04-07T18:14:47.621448728Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-04-07T18:14:47.621928091Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=479.033µs grafana | logger=migrator t=2024-04-07T18:14:47.625119738Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-04-07T18:14:47.62549225Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=372.212µs grafana | logger=migrator t=2024-04-07T18:14:47.628918718Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-04-07T18:14:47.630207305Z level=info msg="Migration successfully executed" id="create star table" duration=1.288237ms grafana | logger=migrator t=2024-04-07T18:14:47.633647053Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-04-07T18:14:47.63487275Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.190637ms grafana | logger=migrator t=2024-04-07T18:14:47.639802736Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-04-07T18:14:47.64053076Z level=info msg="Migration successfully executed" id="create org table v1" duration=726.314µs grafana | logger=migrator t=2024-04-07T18:14:47.643569576Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-04-07T18:14:47.644471931Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=901.645µs grafana | logger=migrator t=2024-04-07T18:14:47.647713728Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-04-07T18:14:47.648652103Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=937.335µs grafana | logger=migrator t=2024-04-07T18:14:47.651557659Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-04-07T18:14:47.652345703Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=788.304µs grafana | logger=migrator t=2024-04-07T18:14:47.65748574Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" mariadb | 2024-04-07 18:14:48+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. grafana | logger=migrator t=2024-04-07T18:14:47.658230934Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=743.094µs policy-api | Waiting for mariadb port 3306... mariadb | 2024-04-07 18:14:48+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' grafana | logger=migrator t=2024-04-07T18:14:47.661432241Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" policy-api | mariadb (172.17.0.2:3306) open mariadb | 2024-04-07 18:14:48+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. prometheus | ts=2024-04-07T18:14:46.386Z caller=main.go:573 level=info msg="No time or size retention was set so using the default time retention" duration=15d grafana | logger=migrator t=2024-04-07T18:14:47.662214725Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=782.744µs policy-api | Waiting for policy-db-migrator port 6824... mariadb | 2024-04-07 18:14:48+00:00 [Note] [Entrypoint]: Initializing database files prometheus | ts=2024-04-07T18:14:46.386Z caller=main.go:617 level=info msg="Starting Prometheus Server" mode=server version="(version=2.51.1, branch=HEAD, revision=855b5ac4b80956874eb1790a04c92327f2f99e38)" grafana | logger=migrator t=2024-04-07T18:14:47.665504803Z level=info msg="Executing migration" id="Update org table charset" policy-db-migrator | Waiting for mariadb port 3306... policy-api | policy-db-migrator (172.17.0.5:6824) open mariadb | 2024-04-07 18:14:48 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) prometheus | ts=2024-04-07T18:14:46.386Z caller=main.go:622 level=info build_context="(go=go1.22.1, platform=linux/amd64, user=root@d3785d7783f2, date=20240328-09:27:30, tags=netgo,builtinassets,stringlabels)" grafana | logger=migrator t=2024-04-07T18:14:47.665539493Z level=info msg="Migration successfully executed" id="Update org table charset" duration=35.51µs policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml mariadb | 2024-04-07 18:14:48 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF prometheus | ts=2024-04-07T18:14:46.386Z caller=main.go:623 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" grafana | logger=migrator t=2024-04-07T18:14:47.669003082Z level=info msg="Executing migration" id="Update org_user table charset" policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-api | mariadb | 2024-04-07 18:14:48 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. prometheus | ts=2024-04-07T18:14:46.386Z caller=main.go:624 level=info fd_limits="(soft=1048576, hard=1048576)" grafana | logger=migrator t=2024-04-07T18:14:47.669042652Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=60.26µs policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-api | . ____ _ __ _ _ mariadb | prometheus | ts=2024-04-07T18:14:46.386Z caller=main.go:625 level=info vm_limits="(soft=unlimited, hard=unlimited)" grafana | logger=migrator t=2024-04-07T18:14:47.67439637Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ mariadb | prometheus | ts=2024-04-07T18:14:46.389Z caller=web.go:568 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 grafana | logger=migrator t=2024-04-07T18:14:47.674556101Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=160.511µs policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! prometheus | ts=2024-04-07T18:14:46.390Z caller=main.go:1129 level=info msg="Starting TSDB ..." grafana | logger=migrator t=2024-04-07T18:14:47.677565447Z level=info msg="Executing migration" id="create dashboard table" policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) mariadb | To do so, start the server, then issue the following command: policy-db-migrator | Connection to mariadb (172.17.0.2) 3306 port [tcp/mysql] succeeded! policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / mariadb | prometheus | ts=2024-04-07T18:14:46.394Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 grafana | logger=migrator t=2024-04-07T18:14:47.678342881Z level=info msg="Migration successfully executed" id="create dashboard table" duration=776.494µs policy-db-migrator | 321 blocks policy-api | =========|_|==============|___/=/_/_/_/ mariadb | '/usr/bin/mysql_secure_installation' prometheus | ts=2024-04-07T18:14:46.394Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 grafana | logger=migrator t=2024-04-07T18:14:47.681468128Z level=info msg="Executing migration" id="add index dashboard.account_id" policy-db-migrator | Preparing upgrade release version: 0800 policy-api | :: Spring Boot :: (v3.1.4) mariadb | prometheus | ts=2024-04-07T18:14:46.396Z caller=head.go:616 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" grafana | logger=migrator t=2024-04-07T18:14:47.682246662Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=775.994µs policy-db-migrator | Preparing upgrade release version: 0900 policy-api | mariadb | which will also give you the option of removing the test prometheus | ts=2024-04-07T18:14:46.396Z caller=head.go:698 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.98µs grafana | logger=migrator t=2024-04-07T18:14:47.68550719Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" policy-db-migrator | Preparing upgrade release version: 1000 policy-api | [2024-04-07T18:15:03.670+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 22 (/app/api.jar started by policy in /opt/app/policy/api/bin) mariadb | databases and anonymous user created by default. This is prometheus | ts=2024-04-07T18:14:46.396Z caller=head.go:706 level=info component=tsdb msg="Replaying WAL, this may take a while" grafana | logger=migrator t=2024-04-07T18:14:47.686337844Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=829.774µs policy-db-migrator | Preparing upgrade release version: 1100 policy-api | [2024-04-07T18:15:03.671+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" mariadb | strongly recommended for production servers. prometheus | ts=2024-04-07T18:14:46.397Z caller=head.go:778 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 grafana | logger=migrator t=2024-04-07T18:14:47.691426481Z level=info msg="Executing migration" id="create dashboard_tag table" policy-db-migrator | Preparing upgrade release version: 1200 mariadb | prometheus | ts=2024-04-07T18:14:46.397Z caller=head.go:815 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=29.99µs wal_replay_duration=321.952µs wbl_replay_duration=270ns total_replay_duration=378.562µs grafana | logger=migrator t=2024-04-07T18:14:47.692121865Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=694.954µs policy-api | [2024-04-07T18:15:05.395+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-db-migrator | Preparing upgrade release version: 1300 mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb prometheus | ts=2024-04-07T18:14:46.399Z caller=main.go:1150 level=info fs_type=EXT4_SUPER_MAGIC grafana | logger=migrator t=2024-04-07T18:14:47.695119451Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" policy-api | [2024-04-07T18:15:05.486+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 81 ms. Found 6 JPA repository interfaces. policy-db-migrator | Done mariadb | prometheus | ts=2024-04-07T18:14:46.399Z caller=main.go:1153 level=info msg="TSDB started" grafana | logger=migrator t=2024-04-07T18:14:47.696254307Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.133436ms policy-api | [2024-04-07T18:15:05.873+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 | name version mariadb | Please report any problems at https://mariadb.org/jira prometheus | ts=2024-04-07T18:14:46.399Z caller=main.go:1335 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml grafana | logger=migrator t=2024-04-07T18:14:47.699921377Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" policy-api | [2024-04-07T18:15:05.874+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 | policyadmin 0 mariadb | prometheus | ts=2024-04-07T18:14:46.401Z caller=main.go:1372 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.016496ms db_storage=1.91µs remote_storage=1.89µs web_handler=560ns query_engine=1.13µs scrape=254.382µs scrape_sd=143.17µs notify=29.291µs notify_sd=14.84µs rules=2.65µs tracing=5.84µs grafana | logger=migrator t=2024-04-07T18:14:47.701095643Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.174296ms policy-api | [2024-04-07T18:15:06.529+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 prometheus | ts=2024-04-07T18:14:46.401Z caller=main.go:1114 level=info msg="Server is ready to receive web requests." grafana | logger=migrator t=2024-04-07T18:14:47.706328521Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" policy-api | [2024-04-07T18:15:06.538+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] mariadb | The latest information about MariaDB is available at https://mariadb.org/. policy-db-migrator | upgrade: 0 -> 1300 prometheus | ts=2024-04-07T18:14:46.401Z caller=manager.go:163 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2024-04-07T18:14:47.711360478Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=5.030267ms policy-api | [2024-04-07T18:15:06.540+00:00|INFO|StandardService|main] Starting service [Tomcat] mariadb | policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:47.714484904Z level=info msg="Executing migration" id="create dashboard v2" policy-api | [2024-04-07T18:15:06.540+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] mariadb | Consider joining MariaDB's strong and vibrant community: policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql grafana | logger=migrator t=2024-04-07T18:14:47.715267549Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=778.605µs policy-api | [2024-04-07T18:15:06.630+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext mariadb | https://mariadb.org/get-involved/ policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:47.718349195Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" mariadb | 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) grafana | logger=migrator t=2024-04-07T18:14:47.719072979Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=723.334µs policy-api | [2024-04-07T18:15:06.630+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2892 ms mariadb | 2024-04-07 18:14:50+00:00 [Note] [Entrypoint]: Database files initialized policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:47.724701299Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" policy-api | [2024-04-07T18:15:07.047+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] mariadb | 2024-04-07 18:14:50+00:00 [Note] [Entrypoint]: Starting temporary server policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:47.726476498Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.773789ms policy-api | [2024-04-07T18:15:07.114+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 mariadb | 2024-04-07 18:14:50+00:00 [Note] [Entrypoint]: Waiting for server startup policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:47.73043916Z level=info msg="Executing migration" id="copy dashboard v1 to v2" policy-api | [2024-04-07T18:15:07.122+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer mariadb | 2024-04-07 18:14:50 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 96 ... policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-04-07T18:14:47.730969682Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=531.453µs policy-api | [2024-04-07T18:15:07.161+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled mariadb | 2024-04-07 18:14:50 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:47.734624162Z level=info msg="Executing migration" id="drop table dashboard_v1" policy-api | [2024-04-07T18:15:07.536+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer mariadb | 2024-04-07 18:14:50 0 [Note] InnoDB: Number of transaction pools: 1 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) grafana | logger=migrator t=2024-04-07T18:14:47.735442556Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=819.234µs policy-api | [2024-04-07T18:15:07.556+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... mariadb | 2024-04-07 18:14:50 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:47.741206287Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" policy-api | [2024-04-07T18:15:07.664+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@3d37203b mariadb | 2024-04-07 18:14:50 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:47.741312427Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=111.96µs policy-api | [2024-04-07T18:15:07.666+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. mariadb | 2024-04-07 18:14:50 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:47.744537255Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" policy-api | [2024-04-07T18:15:07.694+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) mariadb | 2024-04-07 18:14:50 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql grafana | logger=migrator t=2024-04-07T18:14:47.74745528Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.916555ms policy-api | [2024-04-07T18:15:07.696+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead mariadb | 2024-04-07 18:14:50 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:47.750802348Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" policy-api | [2024-04-07T18:15:09.546+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) mariadb | 2024-04-07 18:14:50 0 [Note] InnoDB: Completed initialization of buffer pool 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-api | [2024-04-07T18:15:09.549+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' grafana | logger=migrator t=2024-04-07T18:14:47.75312488Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.320962ms mariadb | 2024-04-07 18:14:50 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:47.759072122Z level=info msg="Executing migration" id="Add column gnetId in dashboard" mariadb | 2024-04-07 18:14:50 0 [Note] InnoDB: 128 rollback segments are active. policy-db-migrator | policy-api | [2024-04-07T18:15:10.789+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml grafana | logger=migrator t=2024-04-07T18:14:47.760960232Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.88546ms mariadb | 2024-04-07 18:14:50 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... policy-db-migrator | policy-api | [2024-04-07T18:15:11.579+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] grafana | logger=migrator t=2024-04-07T18:14:47.764375821Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" mariadb | 2024-04-07 18:14:50 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-api | [2024-04-07T18:15:12.656+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 grafana | logger=migrator t=2024-04-07T18:14:47.765195185Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=817.384µs mariadb | 2024-04-07 18:14:50 0 [Note] InnoDB: log sequence number 46590; transaction id 14 policy-db-migrator | -------------- policy-api | [2024-04-07T18:15:12.854+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@59171a5d, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@6f286e1d, org.springframework.security.web.context.SecurityContextHolderFilter@453ef145, org.springframework.security.web.header.HeaderWriterFilter@4b7feb38, org.springframework.security.web.authentication.logout.LogoutFilter@3532f633, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@69765d94, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@3edd135d, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@5f6b6f2, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@46ae1e6b, org.springframework.security.web.access.ExceptionTranslationFilter@31829b82, org.springframework.security.web.access.intercept.AuthorizationFilter@63f95ac1] grafana | logger=migrator t=2024-04-07T18:14:47.768713084Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" mariadb | 2024-04-07 18:14:50 0 [Note] Plugin 'FEEDBACK' is disabled. 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-api | [2024-04-07T18:15:13.764+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' grafana | logger=migrator t=2024-04-07T18:14:47.770594164Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.88066ms mariadb | 2024-04-07 18:14:50 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. policy-db-migrator | -------------- policy-api | [2024-04-07T18:15:13.833+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] grafana | logger=migrator t=2024-04-07T18:14:47.776607756Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" mariadb | 2024-04-07 18:14:50 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. policy-db-migrator | policy-api | [2024-04-07T18:15:13.857+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' grafana | logger=migrator t=2024-04-07T18:14:47.778501786Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.89395ms mariadb | 2024-04-07 18:14:50 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. policy-db-migrator | policy-api | [2024-04-07T18:15:13.878+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.959 seconds (process running for 11.562) grafana | logger=migrator t=2024-04-07T18:14:47.782239316Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" mariadb | 2024-04-07 18:14:50 0 [Note] mariadbd: ready for connections. policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-api | [2024-04-07T18:15:18.852+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' grafana | logger=migrator t=2024-04-07T18:14:47.783608103Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.366837ms mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution policy-db-migrator | -------------- policy-api | [2024-04-07T18:15:18.852+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' grafana | logger=migrator t=2024-04-07T18:14:47.786969151Z level=info msg="Executing migration" id="Update dashboard table charset" mariadb | 2024-04-07 18:14:51+00:00 [Note] [Entrypoint]: Temporary server started. 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-api | [2024-04-07T18:15:18.854+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms grafana | logger=migrator t=2024-04-07T18:14:47.786991661Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=22.21µs mariadb | 2024-04-07 18:14:53+00:00 [Note] [Entrypoint]: Creating user policy_user policy-db-migrator | -------------- policy-api | [2024-04-07T18:15:21.428+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: grafana | logger=migrator t=2024-04-07T18:14:47.823492776Z level=info msg="Executing migration" id="Update dashboard_tag table charset" mariadb | 2024-04-07 18:14:53+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) policy-db-migrator | policy-api | [] grafana | logger=migrator t=2024-04-07T18:14:47.823605466Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=266.061µs mariadb | policy-db-migrator | policy-api | [2024-04-07T18:15:21.573+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes grafana | logger=migrator t=2024-04-07T18:14:47.827715628Z level=info msg="Executing migration" id="Add column folder_id in dashboard" mariadb | 2024-04-07 18:14:53+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-api | [2024-04-07T18:15:21.847+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes grafana | logger=migrator t=2024-04-07T18:14:47.830028591Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.311412ms mariadb | policy-db-migrator | -------------- policy-api | [2024-04-07T18:15:23.057+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies grafana | logger=migrator t=2024-04-07T18:14:47.833168007Z level=info msg="Executing migration" id="Add column isFolder in dashboard" mariadb | 2024-04-07 18:14:53+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-api | [2024-04-07T18:15:24.997+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 grafana | logger=migrator t=2024-04-07T18:14:47.835187508Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.018961ms mariadb | #!/bin/bash -xv policy-db-migrator | -------------- policy-api | [2024-04-07T18:15:25.308+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 grafana | logger=migrator t=2024-04-07T18:14:47.84119976Z level=info msg="Executing migration" id="Add column has_acl in dashboard" mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved policy-db-migrator | policy-api | [2024-04-07T18:15:25.539+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 grafana | logger=migrator t=2024-04-07T18:14:47.843219051Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.018351ms mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. policy-db-migrator | policy-api | [2024-04-07T18:15:25.766+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 grafana | logger=migrator t=2024-04-07T18:14:47.846353488Z level=info msg="Executing migration" id="Add column uid in dashboard" mariadb | # policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-api | [2024-04-07T18:15:25.998+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 grafana | logger=migrator t=2024-04-07T18:14:47.848497869Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.144881ms mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); policy-db-migrator | -------------- policy-api | [2024-04-07T18:15:26.242+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2024-04-07T18:14:47.851918347Z level=info msg="Executing migration" id="Update uid column values in dashboard" mariadb | # you may not use this file except in compliance with the License. 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) grafana | logger=migrator t=2024-04-07T18:14:47.852263929Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=345.632µs mariadb | # You may obtain a copy of the License at policy-db-migrator | -------------- policy-db-migrator | mariadb | # grafana | logger=migrator t=2024-04-07T18:14:47.855843358Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" policy-db-migrator | mariadb | # http://www.apache.org/licenses/LICENSE-2.0 grafana | logger=migrator t=2024-04-07T18:14:47.856658973Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=816.535µs policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql mariadb | # grafana | logger=migrator t=2024-04-07T18:14:47.861099886Z level=info msg="Executing migration" id="Remove unique index org_id_slug" policy-db-migrator | -------------- mariadb | # Unless required by applicable law or agreed to in writing, software grafana | logger=migrator t=2024-04-07T18:14:47.86182983Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=729.614µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) mariadb | # distributed under the License is distributed on an "AS IS" BASIS, grafana | logger=migrator t=2024-04-07T18:14:47.865429959Z level=info msg="Executing migration" id="Update dashboard title length" policy-db-migrator | -------------- mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. grafana | logger=migrator t=2024-04-07T18:14:47.865453189Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=24.34µs policy-db-migrator | mariadb | # See the License for the specific language governing permissions and grafana | logger=migrator t=2024-04-07T18:14:47.869149849Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" policy-db-migrator | mariadb | # limitations under the License. grafana | logger=migrator t=2024-04-07T18:14:47.870468106Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.316587ms policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql mariadb | grafana | logger=migrator t=2024-04-07T18:14:47.875010441Z level=info msg="Executing migration" id="create dashboard_provisioning" policy-db-migrator | -------------- mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-04-07T18:14:47.876483078Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.471947ms 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) mariadb | do grafana | logger=migrator t=2024-04-07T18:14:47.880199508Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" policy-db-migrator | -------------- mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" grafana | logger=migrator t=2024-04-07T18:14:47.885424006Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=5.223928ms policy-db-migrator | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" grafana | logger=migrator t=2024-04-07T18:14:47.888662804Z level=info msg="Executing migration" id="create dashboard_provisioning v2" policy-db-migrator | mariadb | done grafana | logger=migrator t=2024-04-07T18:14:47.889169796Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=506.712µs policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-04-07T18:14:47.893236398Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" policy-db-migrator | -------------- mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' grafana | logger=migrator t=2024-04-07T18:14:47.893796161Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=559.513µs 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) mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-04-07T18:14:47.897160079Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" policy-db-migrator | -------------- mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-04-07T18:14:47.898388515Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.227016ms policy-db-migrator | mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' grafana | logger=migrator t=2024-04-07T18:14:47.902127265Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" policy-db-migrator | mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-04-07T18:14:47.902785789Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=658.314µs mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-04-07T18:14:47.907309523Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' grafana | logger=migrator t=2024-04-07T18:14:47.907844836Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=533.453µs policy-db-migrator | -------------- mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-04-07T18:14:47.911079573Z level=info msg="Executing migration" id="Add check_sum column" 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) mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-04-07T18:14:47.913197124Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.116971ms policy-db-migrator | -------------- mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' grafana | logger=migrator t=2024-04-07T18:14:47.916620553Z level=info msg="Executing migration" id="Add index for dashboard_title" policy-db-migrator | mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-04-07T18:14:47.917426117Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=804.904µs policy-db-migrator | mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' grafana | logger=migrator t=2024-04-07T18:14:47.92182344Z level=info msg="Executing migration" id="delete tags for deleted dashboards" policy-db-migrator | -------------- mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-04-07T18:14:47.921988821Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=166.631µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-04-07T18:14:47.92544987Z level=info msg="Executing migration" id="delete stars for deleted dashboards" policy-db-migrator | -------------- mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' grafana | logger=migrator t=2024-04-07T18:14:47.925717921Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=268.481µs policy-db-migrator | mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-04-07T18:14:47.92933536Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" policy-db-migrator | mariadb | grafana | logger=migrator t=2024-04-07T18:14:47.93107867Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.74387ms policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql grafana | logger=migrator t=2024-04-07T18:14:47.93490076Z level=info msg="Executing migration" id="Add isPublic for dashboard" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:47.937094962Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.193942ms mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' 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) grafana | logger=migrator t=2024-04-07T18:14:47.941183474Z level=info msg="Executing migration" id="create data_source table" mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:47.942089848Z level=info msg="Migration successfully executed" id="create data_source table" duration=905.954µs mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:47.945456966Z level=info msg="Executing migration" id="add index data_source.account_id" mariadb | policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:47.946259361Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=801.395µs mariadb | 2024-04-07 18:14:54+00:00 [Note] [Entrypoint]: Stopping temporary server policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql grafana | logger=migrator t=2024-04-07T18:14:47.949345997Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" mariadb | 2024-04-07 18:14:54 0 [Note] mariadbd (initiated by: unknown): Normal shutdown policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:47.950156531Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=809.824µs mariadb | 2024-04-07 18:14:54 0 [Note] InnoDB: FTS optimize thread exiting. 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) grafana | logger=migrator t=2024-04-07T18:14:47.954390914Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" mariadb | 2024-04-07 18:14:54 0 [Note] InnoDB: Starting shutdown... policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:47.955336419Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=945.285µs mariadb | 2024-04-07 18:14:54 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:47.958477576Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" mariadb | 2024-04-07 18:14:54 0 [Note] InnoDB: Buffer pool(s) dump completed at 240407 18:14:54 policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:47.95935386Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=876.554µs mariadb | 2024-04-07 18:14:54 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-04-07T18:14:47.963696774Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" mariadb | 2024-04-07 18:14:54 0 [Note] InnoDB: Shutdown completed; log sequence number 339905; transaction id 298 policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:47.969681556Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=5.984602ms mariadb | 2024-04-07 18:14:54 0 [Note] mariadbd: Shutdown complete 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) grafana | logger=migrator t=2024-04-07T18:14:47.972929713Z level=info msg="Executing migration" id="create data_source table v2" mariadb | policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:47.974478111Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=1.545508ms mariadb | 2024-04-07 18:14:54+00:00 [Note] [Entrypoint]: Temporary server stopped policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:47.97801104Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" mariadb | policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:47.979395247Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.383297ms mariadb | 2024-04-07 18:14:54+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql grafana | logger=migrator t=2024-04-07T18:14:47.984108063Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" mariadb | policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:47.9855505Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.441437ms mariadb | 2024-04-07 18:14:54 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... 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) grafana | logger=migrator t=2024-04-07T18:14:47.989127469Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" mariadb | 2024-04-07 18:14:54 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:47.990058154Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=931.135µs mariadb | 2024-04-07 18:14:54 0 [Note] InnoDB: Number of transaction pools: 1 policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:47.993699544Z level=info msg="Executing migration" id="Add column with_credentials" mariadb | 2024-04-07 18:14:54 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:47.997180672Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.482028ms mariadb | 2024-04-07 18:14:54 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql grafana | logger=migrator t=2024-04-07T18:14:48.001378425Z level=info msg="Executing migration" id="Add secure json data column" mariadb | 2024-04-07 18:14:54 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.004977344Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=3.598779ms mariadb | 2024-04-07 18:14:54 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 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) grafana | logger=migrator t=2024-04-07T18:14:48.008216642Z level=info msg="Executing migration" id="Update data_source table charset" mariadb | 2024-04-07 18:14:54 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.008259522Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=43.3µs mariadb | 2024-04-07 18:14:54 0 [Note] InnoDB: Completed initialization of buffer pool policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.011044227Z level=info msg="Executing migration" id="Update initial version to 1" mariadb | 2024-04-07 18:14:54 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.011341699Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=297.432µs mariadb | 2024-04-07 18:14:54 0 [Note] InnoDB: 128 rollback segments are active. policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql grafana | logger=migrator t=2024-04-07T18:14:48.014548346Z level=info msg="Executing migration" id="Add read_only data column" mariadb | 2024-04-07 18:14:54 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.016817898Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.269202ms mariadb | 2024-04-07 18:14:54 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 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) grafana | logger=migrator t=2024-04-07T18:14:48.02088597Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" mariadb | 2024-04-07 18:14:54 0 [Note] InnoDB: log sequence number 339905; transaction id 299 policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.021086282Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=200.501µs mariadb | 2024-04-07 18:14:54 0 [Note] Plugin 'FEEDBACK' is disabled. policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.024364589Z level=info msg="Executing migration" id="Update json_data with nulls" mariadb | 2024-04-07 18:14:54 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.02452198Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=157.741µs mariadb | 2024-04-07 18:14:54 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql grafana | logger=migrator t=2024-04-07T18:14:48.026894143Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-04-07T18:14:48.029152755Z level=info msg="Migration successfully executed" id="Add uid column" duration=2.259352ms mariadb | 2024-04-07 18:14:54 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. grafana | logger=migrator t=2024-04-07T18:14:48.033263137Z level=info msg="Executing migration" id="Update uid value" policy-db-migrator | -------------- mariadb | 2024-04-07 18:14:54 0 [Note] Server socket created on IP: '0.0.0.0'. grafana | logger=migrator t=2024-04-07T18:14:48.033534199Z level=info msg="Migration successfully executed" id="Update uid value" duration=270.902µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) mariadb | 2024-04-07 18:14:54 0 [Note] Server socket created on IP: '::'. grafana | logger=migrator t=2024-04-07T18:14:48.036521365Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" policy-db-migrator | -------------- mariadb | 2024-04-07 18:14:54 0 [Note] mariadbd: ready for connections. grafana | logger=migrator t=2024-04-07T18:14:48.03746395Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=942.055µs policy-db-migrator | mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution grafana | logger=migrator t=2024-04-07T18:14:48.040437226Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" policy-db-migrator | mariadb | 2024-04-07 18:14:54 0 [Note] InnoDB: Buffer pool(s) load completed at 240407 18:14:54 grafana | logger=migrator t=2024-04-07T18:14:48.04117369Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=734.224µs policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql mariadb | 2024-04-07 18:14:55 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) grafana | logger=migrator t=2024-04-07T18:14:48.04493553Z level=info msg="Executing migration" id="create api_key table" policy-db-migrator | -------------- mariadb | 2024-04-07 18:14:55 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) grafana | logger=migrator t=2024-04-07T18:14:48.045746335Z level=info msg="Migration successfully executed" id="create api_key table" duration=811.585µs 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-04-07T18:14:48.048995112Z level=info msg="Executing migration" id="add index api_key.account_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.05033307Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.336218ms policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.053857869Z level=info msg="Executing migration" id="add index api_key.key" policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.055230146Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.371207ms policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-04-07T18:14:48.059335339Z level=info msg="Executing migration" id="add index api_key.account_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.060365334Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.029075ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-04-07T18:14:48.063643502Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.064437286Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=793.724µs policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.067397742Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.068110886Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=712.154µs policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql grafana | logger=migrator t=2024-04-07T18:14:48.072147598Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.072849662Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=702.384µs 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-04-07T18:14:48.076152239Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.082738015Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=6.584306ms policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.085911632Z level=info msg="Executing migration" id="create api_key table v2" policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.086877377Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=991.925µs policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql grafana | logger=migrator t=2024-04-07T18:14:48.090818329Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.091624323Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=804.744µs 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-04-07T18:14:48.09479063Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.095650015Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=858.325µs policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.099665537Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.100537122Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=870.765µs policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-04-07T18:14:48.103683008Z level=info msg="Executing migration" id="copy api_key v1 to v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.10401257Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=323.262µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-04-07T18:14:48.106880886Z level=info msg="Executing migration" id="Drop old table api_key_v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.107400079Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=518.953µs policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.11138057Z level=info msg="Executing migration" id="Update api_key table charset" policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.1114103Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=30.78µs policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-04-07T18:14:48.1151614Z level=info msg="Executing migration" id="Add expires to api_key table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.119488264Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.327214ms 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-04-07T18:14:48.122876152Z level=info msg="Executing migration" id="Add service account foreign key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.124627012Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=1.75072ms policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.127298877Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.127420007Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=120.9µs policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql grafana | logger=migrator t=2024-04-07T18:14:48.131101327Z level=info msg="Executing migration" id="Add last_used_at to api_key table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.133867032Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.765135ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-07T18:14:48.136976189Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.139682193Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.704704ms policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.142937151Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.143937836Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=1.000285ms policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql grafana | logger=migrator t=2024-04-07T18:14:48.147870678Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.148421341Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=552.733µs 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-04-07T18:14:48.151656288Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.152498513Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=840.765µs policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.155549379Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.156306683Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=757.294µs policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql grafana | logger=migrator t=2024-04-07T18:14:48.160104264Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.160914838Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=810.804µs 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-04-07T18:14:48.164147506Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.16493626Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=788.594µs policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.168087337Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.168180138Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=93.251µs policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql grafana | logger=migrator t=2024-04-07T18:14:48.172164319Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.172191209Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=27.69µ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) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.174690043Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.177374397Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=2.683764ms policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql grafana | logger=migrator t=2024-04-07T18:14:48.180671585Z level=info msg="Executing migration" id="Add encrypted dashboard json column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.18337546Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.703295ms 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-04-07T18:14:48.18709936Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.187192181Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=93.261µs policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.191096772Z level=info msg="Executing migration" id="create quota table v1" policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.191860536Z level=info msg="Migration successfully executed" id="create quota table v1" duration=763.294µs policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2024-04-07T18:14:48.195243454Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.196516281Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.270437ms 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-04-07T18:14:48.200235501Z level=info msg="Executing migration" id="Update quota table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.200278571Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=44.51µs policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.229388879Z level=info msg="Executing migration" id="create plugin_setting table" policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.230609515Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.217506ms policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2024-04-07T18:14:48.234266935Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.235652483Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.384568ms 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-04-07T18:14:48.238970781Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.241832736Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.862505ms policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.245943259Z level=info msg="Executing migration" id="Update plugin_setting table charset" policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.245970599Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=29.04µs policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2024-04-07T18:14:48.249120586Z level=info msg="Executing migration" id="create session table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.24992994Z level=info msg="Migration successfully executed" id="create session table" duration=809.314µs 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-04-07T18:14:48.253158328Z level=info msg="Executing migration" id="Drop old table playlist table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.253235578Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=77.76µs policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.256642417Z level=info msg="Executing migration" id="Drop old table playlist_item table" policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.256723967Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=80.94µs policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2024-04-07T18:14:48.260651468Z level=info msg="Executing migration" id="create playlist table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.261322852Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=671.054µ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-04-07T18:14:48.264603159Z level=info msg="Executing migration" id="create playlist item table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.265296823Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=693.574µs policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.268609071Z level=info msg="Executing migration" id="Update playlist table charset" policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.268636601Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=27.37µs policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2024-04-07T18:14:48.272606913Z level=info msg="Executing migration" id="Update playlist_item table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.272649203Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=43.14µ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-04-07T18:14:48.275618319Z level=info msg="Executing migration" id="Add playlist column created_at" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.280472755Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.856746ms policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.283761933Z level=info msg="Executing migration" id="Add playlist column updated_at" policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.28675586Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=2.994347ms policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2024-04-07T18:14:48.289938017Z level=info msg="Executing migration" id="drop preferences table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.290019177Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=78.19µs 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-04-07T18:14:48.293897758Z level=info msg="Executing migration" id="drop preferences table v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.294001359Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=103.341µs policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.296885674Z level=info msg="Executing migration" id="create preferences table v3" policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.297831069Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=945.045µs policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2024-04-07T18:14:48.301810171Z level=info msg="Executing migration" id="Update preferences table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.301837281Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=27.6µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-04-07T18:14:48.305936893Z level=info msg="Executing migration" id="Add column team_id in preferences" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.30906302Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.125707ms policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.312142737Z level=info msg="Executing migration" id="Update team_id column values in preferences" policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.312313868Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=170.841µs policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2024-04-07T18:14:48.314650101Z level=info msg="Executing migration" id="Add column week_start in preferences" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.318014449Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.363588ms 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-04-07T18:14:48.321147035Z level=info msg="Executing migration" id="Add column preferences.json_data" policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.324459333Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.311528ms policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.328441515Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2024-04-07T18:14:48.328534096Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=93.351µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.331669702Z level=info msg="Executing migration" id="Add preferences index org_id" 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-04-07T18:14:48.332647088Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=977.436µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.335770865Z level=info msg="Executing migration" id="Add preferences index user_id" policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.33670481Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=933.265µs policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.340837482Z level=info msg="Executing migration" id="create alert table v1" policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2024-04-07T18:14:48.342002398Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.164776ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.346520243Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-04-07T18:14:48.347512438Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=993.455µs grafana | logger=migrator t=2024-04-07T18:14:48.351820072Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-04-07T18:14:48.352683946Z level=info msg="Migration successfully executed" id="add index alert state" duration=863.874µs grafana | logger=migrator t=2024-04-07T18:14:48.355914194Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-04-07T18:14:48.356749638Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=835.134µs grafana | logger=migrator t=2024-04-07T18:14:48.360017026Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-04-07T18:14:48.360674179Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=656.273µs grafana | logger=migrator t=2024-04-07T18:14:48.364953673Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-04-07T18:14:48.365827337Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=873.454µs grafana | logger=migrator t=2024-04-07T18:14:48.369171465Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-04-07T18:14:48.369945Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=773.575µs grafana | logger=migrator t=2024-04-07T18:14:48.373068257Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-04-07T18:14:48.382360927Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=9.29212ms grafana | logger=migrator t=2024-04-07T18:14:48.386148937Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-04-07T18:14:48.38663772Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=488.603µs grafana | logger=migrator t=2024-04-07T18:14:48.389384415Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2024-04-07T18:14:48.389955648Z 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=572.663µs grafana | logger=migrator t=2024-04-07T18:14:48.392832774Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-04-07T18:14:48.393095595Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=261.701µs grafana | logger=migrator t=2024-04-07T18:14:48.396176582Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-04-07T18:14:48.396651304Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=474.392µs grafana | logger=migrator t=2024-04-07T18:14:48.400294554Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2024-04-07T18:14:48.401020118Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=724.894µs grafana | logger=migrator t=2024-04-07T18:14:48.403525892Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-04-07T18:14:48.40695534Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.428578ms grafana | logger=migrator t=2024-04-07T18:14:48.410969382Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-04-07T18:14:48.4143992Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.428208ms grafana | logger=migrator t=2024-04-07T18:14:48.417446657Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-04-07T18:14:48.420983436Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.536299ms grafana | logger=migrator t=2024-04-07T18:14:48.424049003Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-04-07T18:14:48.427657652Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.609319ms grafana | logger=migrator t=2024-04-07T18:14:48.430890789Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-04-07T18:14:48.432250287Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.359328ms grafana | logger=migrator t=2024-04-07T18:14:48.43655614Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-04-07T18:14:48.43658054Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=25.06µs grafana | logger=migrator t=2024-04-07T18:14:48.439061004Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-04-07T18:14:48.439082274Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=22.28µs grafana | logger=migrator t=2024-04-07T18:14:48.442326242Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-04-07T18:14:48.443188926Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=862.414µs grafana | logger=migrator t=2024-04-07T18:14:48.447400509Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-04-07T18:14:48.448296214Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=895.625µs grafana | logger=migrator t=2024-04-07T18:14:48.451888423Z level=info msg="Executing migration" id="drop alert_notification_journal" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.452547067Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=658.524µs grafana | logger=migrator t=2024-04-07T18:14:48.455923185Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2024-04-07T18:14:48.456697969Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=774.414µs grafana | logger=migrator t=2024-04-07T18:14:48.460716121Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-04-07T18:14:48.461532196Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=815.775µs grafana | logger=migrator t=2024-04-07T18:14:48.466347702Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2024-04-07T18:14:48.471067217Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=4.718885ms grafana | logger=migrator t=2024-04-07T18:14:48.475540541Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2024-04-07T18:14:48.479456582Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.914121ms grafana | logger=migrator t=2024-04-07T18:14:48.484199428Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-04-07T18:14:48.484371299Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=171.931µs grafana | logger=migrator t=2024-04-07T18:14:48.486830192Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2024-04-07T18:14:48.487822088Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=993.206µs grafana | logger=migrator t=2024-04-07T18:14:48.490951584Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2024-04-07T18:14:48.491746349Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=794.825µs grafana | logger=migrator t=2024-04-07T18:14:48.495892101Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2024-04-07T18:14:48.499507161Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.61463ms grafana | logger=migrator t=2024-04-07T18:14:48.503440212Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2024-04-07T18:14:48.503503583Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=63.991µs grafana | logger=migrator t=2024-04-07T18:14:48.506426748Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-04-07T18:14:48.507266233Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=840.155µs grafana | logger=migrator t=2024-04-07T18:14:48.511187744Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2024-04-07T18:14:48.512077589Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=889.785µs grafana | logger=migrator t=2024-04-07T18:14:48.515685359Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2024-04-07T18:14:48.515767139Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=82.44µs grafana | logger=migrator t=2024-04-07T18:14:48.518920436Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2024-04-07T18:14:48.519943572Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.022976ms grafana | logger=migrator t=2024-04-07T18:14:48.530466679Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2024-04-07T18:14:48.532374039Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.90669ms grafana | logger=migrator t=2024-04-07T18:14:48.536800033Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2024-04-07T18:14:48.53808573Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.285217ms grafana | logger=migrator t=2024-04-07T18:14:48.541355808Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2024-04-07T18:14:48.542183182Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=826.834µs grafana | logger=migrator t=2024-04-07T18:14:48.546058053Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2024-04-07T18:14:48.547003668Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=944.925µs grafana | logger=migrator t=2024-04-07T18:14:48.55105016Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2024-04-07T18:14:48.552007255Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=956.945µs grafana | logger=migrator t=2024-04-07T18:14:48.555289403Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2024-04-07T18:14:48.555314713Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=26.1µs grafana | logger=migrator t=2024-04-07T18:14:48.55841358Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2024-04-07T18:14:48.562760673Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.345953ms grafana | logger=migrator t=2024-04-07T18:14:48.571097199Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2024-04-07T18:14:48.571967533Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=868.674µs grafana | logger=migrator t=2024-04-07T18:14:48.575330101Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2024-04-07T18:14:48.581863137Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=6.531246ms grafana | logger=migrator t=2024-04-07T18:14:48.588196681Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-04-07T18:14:48.588870785Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=672.064µs grafana | logger=migrator t=2024-04-07T18:14:48.593270269Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2024-04-07T18:14:48.595207149Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.9346ms grafana | logger=migrator t=2024-04-07T18:14:48.598614997Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2024-04-07T18:14:48.600014175Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.399128ms 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 policy-db-migrator | -------------- 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 | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.604445279Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2024-04-07T18:14:48.615974151Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=11.528342ms grafana | logger=migrator t=2024-04-07T18:14:48.650517879Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2024-04-07T18:14:48.651858916Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=1.339988ms grafana | logger=migrator t=2024-04-07T18:14:48.657926009Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" grafana | logger=migrator t=2024-04-07T18:14:48.658995695Z 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.070915ms grafana | logger=migrator t=2024-04-07T18:14:48.663225227Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2024-04-07T18:14:48.663491239Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=266.062µs grafana | logger=migrator t=2024-04-07T18:14:48.667885952Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2024-04-07T18:14:48.668415475Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=529.663µs grafana | logger=migrator t=2024-04-07T18:14:48.672882579Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2024-04-07T18:14:48.673296892Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=425.713µs grafana | logger=migrator t=2024-04-07T18:14:48.676930381Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2024-04-07T18:14:48.681165854Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.236013ms grafana | logger=migrator t=2024-04-07T18:14:48.685721399Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2024-04-07T18:14:48.689802451Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.081002ms grafana | logger=migrator t=2024-04-07T18:14:48.694223185Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2024-04-07T18:14:48.695354411Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.129776ms grafana | logger=migrator t=2024-04-07T18:14:48.698188867Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2024-04-07T18:14:48.699157862Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=968.335µs grafana | logger=migrator t=2024-04-07T18:14:48.701943737Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2024-04-07T18:14:48.702163958Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=216.911µs grafana | logger=migrator t=2024-04-07T18:14:48.707589657Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2024-04-07T18:14:48.711898701Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.306274ms grafana | logger=migrator t=2024-04-07T18:14:48.715187698Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2024-04-07T18:14:48.716165214Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=977.746µs grafana | logger=migrator t=2024-04-07T18:14:48.719450502Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2024-04-07T18:14:48.719578502Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=127.92µs grafana | logger=migrator t=2024-04-07T18:14:48.722628049Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2024-04-07T18:14:48.72291914Z level=info msg="Migration successfully executed" id="Move region to single row" duration=293.941µs grafana | logger=migrator t=2024-04-07T18:14:48.727722766Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2024-04-07T18:14:48.728524951Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=797.135µs grafana | logger=migrator t=2024-04-07T18:14:48.731517597Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2024-04-07T18:14:48.732520592Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.001275ms grafana | logger=migrator t=2024-04-07T18:14:48.73583509Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-04-07T18:14:48.737211778Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.375658ms grafana | logger=migrator t=2024-04-07T18:14:48.742122284Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-04-07T18:14:48.743703053Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.609229ms grafana | logger=migrator t=2024-04-07T18:14:48.748041406Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2024-04-07T18:14:48.748866311Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=824.885µs grafana | logger=migrator t=2024-04-07T18:14:48.755063024Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2024-04-07T18:14:48.756753473Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.695299ms grafana | logger=migrator t=2024-04-07T18:14:48.760097162Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2024-04-07T18:14:48.760206112Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=110.28µs grafana | logger=migrator t=2024-04-07T18:14:48.763761931Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2024-04-07T18:14:48.764482185Z level=info msg="Migration successfully executed" id="create test_data table" duration=718.944µs grafana | logger=migrator t=2024-04-07T18:14:48.76713098Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2024-04-07T18:14:48.767820804Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=689.684µs grafana | logger=migrator t=2024-04-07T18:14:48.770571138Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2024-04-07T18:14:48.771547344Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=974.935µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) 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) 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 | policy-db-migrator | policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.774923122Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2024-04-07T18:14:48.776321569Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.398807ms grafana | logger=migrator t=2024-04-07T18:14:48.782701784Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2024-04-07T18:14:48.782920415Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=218.791µs grafana | logger=migrator t=2024-04-07T18:14:48.786481185Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2024-04-07T18:14:48.786832716Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=355.461µs grafana | logger=migrator t=2024-04-07T18:14:48.789688832Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2024-04-07T18:14:48.789752702Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=64.93µs grafana | logger=migrator t=2024-04-07T18:14:48.792808499Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2024-04-07T18:14:48.793566963Z level=info msg="Migration successfully executed" id="create team table" duration=758.454µs grafana | logger=migrator t=2024-04-07T18:14:48.798890252Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2024-04-07T18:14:48.799892067Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.001435ms grafana | logger=migrator t=2024-04-07T18:14:48.804652543Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2024-04-07T18:14:48.805753389Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.103446ms grafana | logger=migrator t=2024-04-07T18:14:48.809069417Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2024-04-07T18:14:48.813584531Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.514824ms grafana | logger=migrator t=2024-04-07T18:14:48.817934025Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2024-04-07T18:14:48.818103986Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=172.131µs grafana | logger=migrator t=2024-04-07T18:14:48.821561854Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2024-04-07T18:14:48.822424159Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=861.915µs grafana | logger=migrator t=2024-04-07T18:14:48.826001848Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2024-04-07T18:14:48.826732942Z level=info msg="Migration successfully executed" id="create team member table" duration=730.864µs grafana | logger=migrator t=2024-04-07T18:14:48.830681344Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2024-04-07T18:14:48.832621834Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.94418ms grafana | logger=migrator t=2024-04-07T18:14:48.838529426Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2024-04-07T18:14:48.840038724Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.510038ms grafana | logger=migrator t=2024-04-07T18:14:48.845238942Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2024-04-07T18:14:48.846091197Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=849.125µs grafana | logger=migrator t=2024-04-07T18:14:48.85037169Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2024-04-07T18:14:48.855056175Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.687225ms grafana | logger=migrator t=2024-04-07T18:14:48.859709521Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2024-04-07T18:14:48.864407326Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.694315ms grafana | logger=migrator t=2024-04-07T18:14:48.869737925Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2024-04-07T18:14:48.874460061Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.721316ms grafana | logger=migrator t=2024-04-07T18:14:48.883010117Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2024-04-07T18:14:48.884105993Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.095366ms grafana | logger=migrator t=2024-04-07T18:14:48.889473472Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2024-04-07T18:14:48.890498877Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.022895ms grafana | logger=migrator t=2024-04-07T18:14:48.901071825Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2024-04-07T18:14:48.902629393Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.556798ms grafana | logger=migrator t=2024-04-07T18:14:48.907846821Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2024-04-07T18:14:48.909007838Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.164307ms grafana | logger=migrator t=2024-04-07T18:14:48.912195945Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdp.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE jpapdpstatistics_enginestats a policy-db-migrator | JOIN pdpstatistics b policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp policy-db-migrator | SET a.id = b.id policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-04-07T18:14:48.91308802Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=891.705µs grafana | logger=migrator t=2024-04-07T18:14:48.916332017Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2024-04-07T18:14:48.917194042Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=861.815µs grafana | logger=migrator t=2024-04-07T18:14:48.920655391Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2024-04-07T18:14:48.921678386Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.022415ms grafana | logger=migrator t=2024-04-07T18:14:48.92789249Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2024-04-07T18:14:48.928960406Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.067636ms grafana | logger=migrator t=2024-04-07T18:14:48.933664981Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2024-04-07T18:14:48.934240044Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=574.353µs policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-sequence.sql policy-db-migrator | -------------- policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscatrigger policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaparameter policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-upgrade.sql policy-db-migrator | -------------- policy-db-migrator | select 'upgrade to 1100 completed' as msg policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | msg policy-db-migrator | upgrade to 1100 completed policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-07T18:14:48.938381717Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2024-04-07T18:14:48.938678208Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=273.751µs grafana | logger=migrator t=2024-04-07T18:14:48.943495394Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2024-04-07T18:14:48.944686481Z level=info msg="Migration successfully executed" id="create tag table" duration=1.191597ms grafana | logger=migrator t=2024-04-07T18:14:48.949105835Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2024-04-07T18:14:48.950792794Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.686059ms grafana | logger=migrator t=2024-04-07T18:14:48.956708366Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2024-04-07T18:14:48.95746337Z level=info msg="Migration successfully executed" id="create login attempt table" duration=752.904µs grafana | logger=migrator t=2024-04-07T18:14:48.961691153Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2024-04-07T18:14:48.963338111Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.644998ms grafana | logger=migrator t=2024-04-07T18:14:48.969424055Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2024-04-07T18:14:48.971289095Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.872791ms grafana | logger=migrator t=2024-04-07T18:14:48.977117466Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2024-04-07T18:14:48.990973631Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=13.855825ms grafana | logger=migrator t=2024-04-07T18:14:48.99633545Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2024-04-07T18:14:48.998414981Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=2.082201ms grafana | logger=migrator t=2024-04-07T18:14:49.003371268Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2024-04-07T18:14:49.00556084Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=2.188702ms grafana | logger=migrator t=2024-04-07T18:14:49.011160661Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2024-04-07T18:14:49.011788495Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=627.824µs grafana | logger=migrator t=2024-04-07T18:14:49.019262446Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2024-04-07T18:14:49.02002295Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=759.994µs grafana | logger=migrator t=2024-04-07T18:14:49.023859691Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2024-04-07T18:14:49.025397649Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.536978ms grafana | logger=migrator t=2024-04-07T18:14:49.031544943Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2024-04-07T18:14:49.0327549Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.209477ms grafana | logger=migrator t=2024-04-07T18:14:49.066623395Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2024-04-07T18:14:49.066949477Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=329.142µs grafana | logger=migrator t=2024-04-07T18:14:49.072082285Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2024-04-07T18:14:49.081225116Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=9.13235ms grafana | logger=migrator t=2024-04-07T18:14:49.087236629Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2024-04-07T18:14:49.090891259Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=3.654401ms grafana | logger=migrator t=2024-04-07T18:14:49.094963251Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2024-04-07T18:14:49.10018961Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.225619ms grafana | logger=migrator t=2024-04-07T18:14:49.105078646Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2024-04-07T18:14:49.110427096Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.34693ms grafana | logger=migrator t=2024-04-07T18:14:49.115592334Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2024-04-07T18:14:49.11655127Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=958.576µs grafana | logger=migrator t=2024-04-07T18:14:49.120902374Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2024-04-07T18:14:49.125980481Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.079957ms grafana | logger=migrator t=2024-04-07T18:14:49.131433661Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2024-04-07T18:14:49.132613938Z level=info msg="Migration successfully executed" id="create server_lock table" duration=1.179777ms grafana | logger=migrator t=2024-04-07T18:14:49.138053298Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2024-04-07T18:14:49.139917778Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.86395ms grafana | logger=migrator t=2024-04-07T18:14:49.144470803Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2024-04-07T18:14:49.145602319Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.130786ms grafana | logger=migrator t=2024-04-07T18:14:49.151538482Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2024-04-07T18:14:49.15303511Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.496448ms grafana | logger=migrator t=2024-04-07T18:14:49.159728136Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2024-04-07T18:14:49.160699362Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=971.016µs grafana | logger=migrator t=2024-04-07T18:14:49.16576083Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2024-04-07T18:14:49.166812615Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.051485ms policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | TRUNCATE TABLE sequence policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE statistics_sequence policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1300) policy-db-migrator | name version policy-db-migrator | policyadmin 1300 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:55 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:55 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:55 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:55 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:55 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:55 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:56 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:56 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:56 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:56 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:56 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:56 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:56 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:56 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:56 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:56 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:56 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:56 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:56 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:56 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:56 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:56 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:56 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:56 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:56 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:56 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:56 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:56 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:56 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:56 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:56 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:57 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:57 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:57 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:57 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:57 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:57 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:57 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:57 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:57 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:57 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:57 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:57 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:57 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:57 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:57 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:57 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:57 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:57 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:57 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:57 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:57 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:57 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:57 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:57 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:57 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:58 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:58 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:58 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:58 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:58 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:58 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:58 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:58 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:58 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:58 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:58 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:58 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:58 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:58 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:58 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:58 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:58 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:58 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:58 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:58 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:58 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:58 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:58 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:59 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:59 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:59 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:59 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:59 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:59 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:59 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:59 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:59 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:59 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:59 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:59 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:59 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:59 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:59 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:59 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0704241814550800u 1 2024-04-07 18:14:59 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 0704241814550900u 1 2024-04-07 18:14:59 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 0704241814550900u 1 2024-04-07 18:14:59 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 0704241814550900u 1 2024-04-07 18:15:00 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 0704241814550900u 1 2024-04-07 18:15:00 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 0704241814550900u 1 2024-04-07 18:15:00 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 0704241814550900u 1 2024-04-07 18:15:00 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0704241814550900u 1 2024-04-07 18:15:00 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0704241814550900u 1 2024-04-07 18:15:00 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0704241814550900u 1 2024-04-07 18:15:00 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 0704241814550900u 1 2024-04-07 18:15:00 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 0704241814550900u 1 2024-04-07 18:15:00 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 0704241814550900u 1 2024-04-07 18:15:00 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 0704241814550900u 1 2024-04-07 18:15:00 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 0704241814551000u 1 2024-04-07 18:15:00 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 0704241814551000u 1 2024-04-07 18:15:00 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 0704241814551000u 1 2024-04-07 18:15:00 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 0704241814551000u 1 2024-04-07 18:15:00 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 0704241814551000u 1 2024-04-07 18:15:00 grafana | logger=migrator t=2024-04-07T18:14:49.171689452Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2024-04-07T18:14:49.177251953Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.561871ms grafana | logger=migrator t=2024-04-07T18:14:49.180961683Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2024-04-07T18:14:49.181961149Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=999.366µs grafana | logger=migrator t=2024-04-07T18:14:49.187014337Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2024-04-07T18:14:49.188355314Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.338947ms grafana | logger=migrator t=2024-04-07T18:14:49.193837584Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2024-04-07T18:14:49.195508153Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.670359ms grafana | logger=migrator t=2024-04-07T18:14:49.20229624Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2024-04-07T18:14:49.203360666Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.062646ms grafana | logger=migrator t=2024-04-07T18:14:49.208709166Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2024-04-07T18:14:49.209773341Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.063905ms grafana | logger=migrator t=2024-04-07T18:14:49.215194801Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2024-04-07T18:14:49.215440472Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=244.831µs grafana | logger=migrator t=2024-04-07T18:14:49.219020982Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2024-04-07T18:14:49.219446664Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=419.852µs grafana | logger=migrator t=2024-04-07T18:14:49.22415984Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2024-04-07T18:14:49.225154936Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=994.496µs grafana | logger=migrator t=2024-04-07T18:14:49.230667676Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-04-07T18:14:49.232544426Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.8818ms grafana | logger=migrator t=2024-04-07T18:14:49.235832244Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-04-07T18:14:49.23686126Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.028776ms grafana | logger=migrator t=2024-04-07T18:14:49.243053174Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2024-04-07T18:14:49.243157375Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=107.671µs grafana | logger=migrator t=2024-04-07T18:14:49.248500764Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-04-07T18:14:49.250001332Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.503868ms grafana | logger=migrator t=2024-04-07T18:14:49.255158831Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-04-07T18:14:49.256313827Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.158896ms grafana | logger=migrator t=2024-04-07T18:14:49.259635415Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-04-07T18:14:49.260745191Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.109946ms grafana | logger=migrator t=2024-04-07T18:14:49.264700763Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-04-07T18:14:49.265804219Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.103376ms grafana | logger=migrator t=2024-04-07T18:14:49.272477636Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2024-04-07T18:14:49.279097042Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=6.618836ms grafana | logger=migrator t=2024-04-07T18:14:49.283542866Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2024-04-07T18:14:49.285000164Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.453068ms grafana | logger=migrator t=2024-04-07T18:14:49.288422153Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2024-04-07T18:14:49.288598094Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=175.581µs grafana | logger=migrator t=2024-04-07T18:14:49.290963717Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2024-04-07T18:14:49.292293274Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.328997ms grafana | logger=migrator t=2024-04-07T18:14:49.296631488Z 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-04-07T18:14:49.297633654Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.001576ms grafana | logger=migrator t=2024-04-07T18:14:49.300775661Z 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-04-07T18:14:49.301736156Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=959.995µs grafana | logger=migrator t=2024-04-07T18:14:49.304936194Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-04-07T18:14:49.305007234Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=70.18µs grafana | logger=migrator t=2024-04-07T18:14:49.307483968Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2024-04-07T18:14:49.308417383Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=933.275µs grafana | logger=migrator t=2024-04-07T18:14:49.31154747Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 0704241814551000u 1 2024-04-07 18:15:00 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 0704241814551000u 1 2024-04-07 18:15:00 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 0704241814551000u 1 2024-04-07 18:15:00 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 0704241814551000u 1 2024-04-07 18:15:00 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 0704241814551100u 1 2024-04-07 18:15:01 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 0704241814551200u 1 2024-04-07 18:15:01 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 0704241814551200u 1 2024-04-07 18:15:01 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 0704241814551200u 1 2024-04-07 18:15:01 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 0704241814551200u 1 2024-04-07 18:15:01 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 0704241814551300u 1 2024-04-07 18:15:01 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 0704241814551300u 1 2024-04-07 18:15:01 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 0704241814551300u 1 2024-04-07 18:15:01 policy-db-migrator | policyadmin: OK @ 1300 grafana | logger=migrator t=2024-04-07T18:14:49.312538056Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=987.406µs grafana | logger=migrator t=2024-04-07T18:14:49.316583008Z 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-04-07T18:14:49.317627184Z 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.042976ms grafana | logger=migrator t=2024-04-07T18:14:49.321506585Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2024-04-07T18:14:49.322520681Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.013226ms grafana | logger=migrator t=2024-04-07T18:14:49.325826689Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2024-04-07T18:14:49.331770621Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.942842ms grafana | logger=migrator t=2024-04-07T18:14:49.334673397Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2024-04-07T18:14:49.335561982Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=888.335µs grafana | logger=migrator t=2024-04-07T18:14:49.338643979Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-04-07T18:14:49.339545484Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=901.585µs grafana | logger=migrator t=2024-04-07T18:14:49.34248883Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2024-04-07T18:14:49.374414755Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=31.916915ms grafana | logger=migrator t=2024-04-07T18:14:49.378287077Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2024-04-07T18:14:49.409378587Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=31.0876ms grafana | logger=migrator t=2024-04-07T18:14:49.417714923Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2024-04-07T18:14:49.418811879Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.096496ms grafana | logger=migrator t=2024-04-07T18:14:49.423420674Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-04-07T18:14:49.425051693Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.627189ms grafana | logger=migrator t=2024-04-07T18:14:49.431225787Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2024-04-07T18:14:49.437349471Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=6.123134ms grafana | logger=migrator t=2024-04-07T18:14:49.489491387Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" grafana | logger=migrator t=2024-04-07T18:14:49.496825347Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=7.3369ms grafana | logger=migrator t=2024-04-07T18:14:49.501057401Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2024-04-07T18:14:49.501856295Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=798.934µs grafana | logger=migrator t=2024-04-07T18:14:49.505908127Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2024-04-07T18:14:49.506725892Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=817.305µs grafana | logger=migrator t=2024-04-07T18:14:49.512792675Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2024-04-07T18:14:49.515023438Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=2.230223ms grafana | logger=migrator t=2024-04-07T18:14:49.521433873Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2024-04-07T18:14:49.523599325Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=2.166382ms grafana | logger=migrator t=2024-04-07T18:14:49.527755897Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2024-04-07T18:14:49.527825518Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=70.071µs grafana | logger=migrator t=2024-04-07T18:14:49.532660234Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2024-04-07T18:14:49.54467284Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=12.012776ms grafana | logger=migrator t=2024-04-07T18:14:49.549950449Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2024-04-07T18:14:49.558632327Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=8.680668ms grafana | logger=migrator t=2024-04-07T18:14:49.562478878Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2024-04-07T18:14:49.567508725Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.004207ms grafana | logger=migrator t=2024-04-07T18:14:49.574716785Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2024-04-07T18:14:49.575407559Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=690.854µs grafana | logger=migrator t=2024-04-07T18:14:49.582571469Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2024-04-07T18:14:49.584258968Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.689389ms grafana | logger=migrator t=2024-04-07T18:14:49.59009454Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2024-04-07T18:14:49.596910297Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.815697ms grafana | logger=migrator t=2024-04-07T18:14:49.600953679Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2024-04-07T18:14:49.607990158Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=7.036199ms grafana | logger=migrator t=2024-04-07T18:14:49.612477673Z 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-04-07T18:14:49.613497988Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.019845ms grafana | logger=migrator t=2024-04-07T18:14:49.619019638Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2024-04-07T18:14:49.628700311Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=9.681253ms grafana | logger=migrator t=2024-04-07T18:14:49.632557043Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2024-04-07T18:14:49.636800206Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=4.242943ms grafana | logger=migrator t=2024-04-07T18:14:49.64108969Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2024-04-07T18:14:49.64115977Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=72.83µs grafana | logger=migrator t=2024-04-07T18:14:49.645643945Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2024-04-07T18:14:49.646809611Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.165216ms grafana | logger=migrator t=2024-04-07T18:14:49.652523333Z 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-04-07T18:14:49.65389201Z 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.372077ms grafana | logger=migrator t=2024-04-07T18:14:49.658538246Z 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-04-07T18:14:49.659711132Z 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.171316ms grafana | logger=migrator t=2024-04-07T18:14:49.664583209Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-04-07T18:14:49.66475184Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=173.281µs grafana | logger=migrator t=2024-04-07T18:14:49.671298376Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2024-04-07T18:14:49.679264659Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=7.968983ms grafana | logger=migrator t=2024-04-07T18:14:49.68306064Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2024-04-07T18:14:49.689316614Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.254754ms grafana | logger=migrator t=2024-04-07T18:14:49.694626583Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2024-04-07T18:14:49.703780774Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=9.156151ms grafana | logger=migrator t=2024-04-07T18:14:49.710701622Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2024-04-07T18:14:49.720217364Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=9.519052ms grafana | logger=migrator t=2024-04-07T18:14:49.724543168Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2024-04-07T18:14:49.728908142Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=4.365124ms grafana | logger=migrator t=2024-04-07T18:14:49.73396831Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2024-04-07T18:14:49.73403821Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=73.16µs grafana | logger=migrator t=2024-04-07T18:14:49.739021857Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2024-04-07T18:14:49.740399375Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.379578ms grafana | logger=migrator t=2024-04-07T18:14:49.745803285Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2024-04-07T18:14:49.752148589Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=6.346104ms grafana | logger=migrator t=2024-04-07T18:14:49.756646424Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2024-04-07T18:14:49.756774765Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=128.911µs grafana | logger=migrator t=2024-04-07T18:14:49.760967968Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2024-04-07T18:14:49.771060143Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=10.085285ms grafana | logger=migrator t=2024-04-07T18:14:49.77410664Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2024-04-07T18:14:49.774938275Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=832.075µs grafana | logger=migrator t=2024-04-07T18:14:49.78314385Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2024-04-07T18:14:49.791043753Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=7.897683ms grafana | logger=migrator t=2024-04-07T18:14:49.79774144Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2024-04-07T18:14:49.798404914Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=663.854µs grafana | logger=migrator t=2024-04-07T18:14:49.802903068Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2024-04-07T18:14:49.804739638Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.83635ms grafana | logger=migrator t=2024-04-07T18:14:49.811785497Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2024-04-07T18:14:49.818786035Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.999968ms grafana | logger=migrator t=2024-04-07T18:14:49.824224785Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2024-04-07T18:14:49.825007149Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=785.304µs grafana | logger=migrator t=2024-04-07T18:14:49.831530055Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2024-04-07T18:14:49.833354805Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.82184ms grafana | logger=migrator t=2024-04-07T18:14:49.838644335Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2024-04-07T18:14:49.83955285Z level=info msg="Migration successfully executed" id="create alert_image table" duration=908.215µs grafana | logger=migrator t=2024-04-07T18:14:49.847164631Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2024-04-07T18:14:49.84882884Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.667579ms grafana | logger=migrator t=2024-04-07T18:14:49.85425547Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2024-04-07T18:14:49.854322201Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=67.031µs grafana | logger=migrator t=2024-04-07T18:14:49.859506419Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2024-04-07T18:14:49.860513705Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.006956ms grafana | logger=migrator t=2024-04-07T18:14:49.866443767Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2024-04-07T18:14:49.867968275Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.524328ms grafana | logger=migrator t=2024-04-07T18:14:49.899666109Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-04-07T18:14:49.900413503Z 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-04-07T18:14:49.904984479Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2024-04-07T18:14:49.905602302Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=617.813µs grafana | logger=migrator t=2024-04-07T18:14:49.912185068Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2024-04-07T18:14:49.913763797Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.578309ms grafana | logger=migrator t=2024-04-07T18:14:49.91983081Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2024-04-07T18:14:49.927783894Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=7.953494ms grafana | logger=migrator t=2024-04-07T18:14:49.933067143Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2024-04-07T18:14:49.934178209Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.110306ms grafana | logger=migrator t=2024-04-07T18:14:49.940789325Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2024-04-07T18:14:49.942243353Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.452028ms grafana | logger=migrator t=2024-04-07T18:14:49.948474957Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2024-04-07T18:14:49.949860275Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.384388ms grafana | logger=migrator t=2024-04-07T18:14:49.954755952Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2024-04-07T18:14:49.955894128Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.137576ms grafana | logger=migrator t=2024-04-07T18:14:49.962493514Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2024-04-07T18:14:49.964199964Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.70059ms grafana | logger=migrator t=2024-04-07T18:14:49.969207801Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2024-04-07T18:14:49.969233581Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=25.68µs grafana | logger=migrator t=2024-04-07T18:14:49.975258805Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2024-04-07T18:14:49.975491926Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=230.961µs grafana | logger=migrator t=2024-04-07T18:14:49.981928281Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2024-04-07T18:14:49.982546235Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=617.304µs grafana | logger=migrator t=2024-04-07T18:14:49.986407626Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2024-04-07T18:14:49.987840174Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.431938ms grafana | logger=migrator t=2024-04-07T18:14:49.993438534Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2024-04-07T18:14:49.994896922Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.457568ms grafana | logger=migrator t=2024-04-07T18:14:49.999825369Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2024-04-07T18:14:50.029393973Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=29.568664ms grafana | logger=migrator t=2024-04-07T18:14:50.033479036Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2024-04-07T18:14:50.040673056Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=7.19391ms grafana | logger=migrator t=2024-04-07T18:14:50.046363247Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2024-04-07T18:14:50.046621309Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=257.332µs grafana | logger=migrator t=2024-04-07T18:14:50.050942633Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2024-04-07T18:14:50.08819483Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=37.251107ms grafana | logger=migrator t=2024-04-07T18:14:50.092413184Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2024-04-07T18:14:50.124228211Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=31.814927ms grafana | logger=migrator t=2024-04-07T18:14:50.131770993Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2024-04-07T18:14:50.133266351Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=1.491758ms grafana | logger=migrator t=2024-04-07T18:14:50.138937983Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2024-04-07T18:14:50.140819994Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.880991ms grafana | logger=migrator t=2024-04-07T18:14:50.148253515Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2024-04-07T18:14:50.148558687Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=307.512µs grafana | logger=migrator t=2024-04-07T18:14:50.152077976Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2024-04-07T18:14:50.153544144Z level=info msg="Migration successfully executed" id="create permission table" duration=1.465308ms grafana | logger=migrator t=2024-04-07T18:14:50.157403976Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2024-04-07T18:14:50.159049685Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.648839ms grafana | logger=migrator t=2024-04-07T18:14:50.163396929Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2024-04-07T18:14:50.164479885Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.082406ms grafana | logger=migrator t=2024-04-07T18:14:50.167848164Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2024-04-07T18:14:50.169349912Z level=info msg="Migration successfully executed" id="create role table" duration=1.500658ms grafana | logger=migrator t=2024-04-07T18:14:50.173442415Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2024-04-07T18:14:50.182501215Z level=info msg="Migration successfully executed" id="add column display_name" duration=9.06249ms grafana | logger=migrator t=2024-04-07T18:14:50.185747804Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2024-04-07T18:14:50.192459681Z level=info msg="Migration successfully executed" id="add column group_name" duration=6.710187ms grafana | logger=migrator t=2024-04-07T18:14:50.195741199Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2024-04-07T18:14:50.196742445Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=998.456µs grafana | logger=migrator t=2024-04-07T18:14:50.201548622Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2024-04-07T18:14:50.202597918Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.048386ms grafana | logger=migrator t=2024-04-07T18:14:50.205657305Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2024-04-07T18:14:50.206716111Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.058176ms grafana | logger=migrator t=2024-04-07T18:14:50.209662087Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2024-04-07T18:14:50.210489191Z level=info msg="Migration successfully executed" id="create team role table" duration=826.054µs grafana | logger=migrator t=2024-04-07T18:14:50.214990667Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2024-04-07T18:14:50.216143263Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.152147ms grafana | logger=migrator t=2024-04-07T18:14:50.21914251Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2024-04-07T18:14:50.220267466Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.122096ms grafana | logger=migrator t=2024-04-07T18:14:50.225267234Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2024-04-07T18:14:50.226306039Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.038215ms grafana | logger=migrator t=2024-04-07T18:14:50.229624028Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2024-04-07T18:14:50.230461733Z level=info msg="Migration successfully executed" id="create user role table" duration=837.395µs grafana | logger=migrator t=2024-04-07T18:14:50.23358917Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2024-04-07T18:14:50.234582296Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=993.196µs grafana | logger=migrator t=2024-04-07T18:14:50.237544682Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2024-04-07T18:14:50.238571768Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.026876ms grafana | logger=migrator t=2024-04-07T18:14:50.24431302Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2024-04-07T18:14:50.245314855Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.001685ms grafana | logger=migrator t=2024-04-07T18:14:50.248697654Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2024-04-07T18:14:50.249993621Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.294887ms grafana | logger=migrator t=2024-04-07T18:14:50.25334859Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2024-04-07T18:14:50.25504729Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.698069ms grafana | logger=migrator t=2024-04-07T18:14:50.259834066Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2024-04-07T18:14:50.260874832Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.040146ms grafana | logger=migrator t=2024-04-07T18:14:50.263926829Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2024-04-07T18:14:50.272468127Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=8.539978ms grafana | logger=migrator t=2024-04-07T18:14:50.275657304Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2024-04-07T18:14:50.276425869Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=768.655µs grafana | logger=migrator t=2024-04-07T18:14:50.281090404Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2024-04-07T18:14:50.281931839Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=839.375µs grafana | logger=migrator t=2024-04-07T18:14:50.340027893Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2024-04-07T18:14:50.341930343Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.90604ms grafana | logger=migrator t=2024-04-07T18:14:50.345859345Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2024-04-07T18:14:50.346972931Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.113646ms grafana | logger=migrator t=2024-04-07T18:14:50.35918588Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2024-04-07T18:14:50.360194485Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.019475ms grafana | logger=migrator t=2024-04-07T18:14:50.370991595Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2024-04-07T18:14:50.372855676Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.86347ms grafana | logger=migrator t=2024-04-07T18:14:50.382531969Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2024-04-07T18:14:50.391837581Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=9.304442ms grafana | logger=migrator t=2024-04-07T18:14:50.403135284Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2024-04-07T18:14:50.414364606Z level=info msg="Migration successfully executed" id="permission kind migration" duration=11.230412ms grafana | logger=migrator t=2024-04-07T18:14:50.423660498Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2024-04-07T18:14:50.431806774Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=8.145596ms grafana | logger=migrator t=2024-04-07T18:14:50.453728236Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2024-04-07T18:14:50.464785147Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=11.056851ms grafana | logger=migrator t=2024-04-07T18:14:50.469390963Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2024-04-07T18:14:50.470508229Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.117496ms grafana | logger=migrator t=2024-04-07T18:14:50.473968138Z level=info msg="Executing migration" id="add permission action scope role_id index" grafana | logger=migrator t=2024-04-07T18:14:50.475231486Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=1.262748ms grafana | logger=migrator t=2024-04-07T18:14:50.479254378Z level=info msg="Executing migration" id="remove permission role_id action scope index" grafana | logger=migrator t=2024-04-07T18:14:50.480395454Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.140996ms grafana | logger=migrator t=2024-04-07T18:14:50.48506384Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2024-04-07T18:14:50.486499638Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.433918ms grafana | logger=migrator t=2024-04-07T18:14:50.49044961Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2024-04-07T18:14:50.492287431Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.837071ms grafana | logger=migrator t=2024-04-07T18:14:50.49583795Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2024-04-07T18:14:50.495900961Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=63.761µs grafana | logger=migrator t=2024-04-07T18:14:50.500570347Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2024-04-07T18:14:50.500603437Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=33.35µs grafana | logger=migrator t=2024-04-07T18:14:50.50484517Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2024-04-07T18:14:50.505731835Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=886.815µs grafana | logger=migrator t=2024-04-07T18:14:50.509976239Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2024-04-07T18:14:50.510944355Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=970.406µs grafana | logger=migrator t=2024-04-07T18:14:50.514206273Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2024-04-07T18:14:50.515003997Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=797.614µs grafana | logger=migrator t=2024-04-07T18:14:50.518353626Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2024-04-07T18:14:50.518652577Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=278.561µs grafana | logger=migrator t=2024-04-07T18:14:50.525394525Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2024-04-07T18:14:50.52635218Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=957.395µs grafana | logger=migrator t=2024-04-07T18:14:50.529816769Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2024-04-07T18:14:50.531450779Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.63236ms grafana | logger=migrator t=2024-04-07T18:14:50.534538226Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2024-04-07T18:14:50.535783163Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.244707ms grafana | logger=migrator t=2024-04-07T18:14:50.539765465Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2024-04-07T18:14:50.54790324Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.137195ms grafana | logger=migrator t=2024-04-07T18:14:50.553536622Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2024-04-07T18:14:50.553686292Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=149.46µs grafana | logger=migrator t=2024-04-07T18:14:50.558921422Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2024-04-07T18:14:50.560060548Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.136146ms grafana | logger=migrator t=2024-04-07T18:14:50.56592115Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2024-04-07T18:14:50.567981642Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=2.059172ms grafana | logger=migrator t=2024-04-07T18:14:50.573650274Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2024-04-07T18:14:50.575716795Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=2.066531ms grafana | logger=migrator t=2024-04-07T18:14:50.581122845Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2024-04-07T18:14:50.59095237Z level=info msg="Migration successfully executed" id="add correlation config column" duration=9.833845ms grafana | logger=migrator t=2024-04-07T18:14:50.595191933Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2024-04-07T18:14:50.595989348Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=797.665µs grafana | logger=migrator t=2024-04-07T18:14:50.604186224Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2024-04-07T18:14:50.605881073Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.695069ms grafana | logger=migrator t=2024-04-07T18:14:50.611277063Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2024-04-07T18:14:50.631487986Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=20.216193ms grafana | logger=migrator t=2024-04-07T18:14:50.634279041Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2024-04-07T18:14:50.635291287Z level=info msg="Migration successfully executed" id="create correlation v2" duration=1.011896ms grafana | logger=migrator t=2024-04-07T18:14:50.639609541Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2024-04-07T18:14:50.640722397Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.112746ms grafana | logger=migrator t=2024-04-07T18:14:50.643832144Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2024-04-07T18:14:50.645019541Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.187227ms grafana | logger=migrator t=2024-04-07T18:14:50.649625107Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2024-04-07T18:14:50.650740243Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.112746ms grafana | logger=migrator t=2024-04-07T18:14:50.654003941Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2024-04-07T18:14:50.654332493Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=327.172µs grafana | logger=migrator t=2024-04-07T18:14:50.657212039Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2024-04-07T18:14:50.658048664Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=838.385µs grafana | logger=migrator t=2024-04-07T18:14:50.662577649Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2024-04-07T18:14:50.671087196Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.497017ms grafana | logger=migrator t=2024-04-07T18:14:50.674283564Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2024-04-07T18:14:50.67527667Z level=info msg="Migration successfully executed" id="create entity_events table" duration=992.476µs grafana | logger=migrator t=2024-04-07T18:14:50.678464007Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2024-04-07T18:14:50.679644284Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.180357ms grafana | logger=migrator t=2024-04-07T18:14:50.683904368Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-04-07T18:14:50.68441065Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-04-07T18:14:50.687624808Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-04-07T18:14:50.688142681Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-04-07T18:14:50.691135498Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2024-04-07T18:14:50.691953222Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=817.304µs grafana | logger=migrator t=2024-04-07T18:14:50.696309047Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2024-04-07T18:14:50.697392233Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.082696ms grafana | logger=migrator t=2024-04-07T18:14:50.700260809Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-04-07T18:14:50.701412605Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.153606ms grafana | logger=migrator t=2024-04-07T18:14:50.704428132Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-04-07T18:14:50.705614128Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.185536ms grafana | logger=migrator t=2024-04-07T18:14:50.709931882Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-04-07T18:14:50.711071329Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.138397ms grafana | logger=migrator t=2024-04-07T18:14:50.714144676Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-04-07T18:14:50.715335213Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.188487ms grafana | logger=migrator t=2024-04-07T18:14:50.719898928Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-04-07T18:14:50.720753823Z level=info msg="Migration successfully executed" id="Drop public config table" duration=854.405µs grafana | logger=migrator t=2024-04-07T18:14:50.72390206Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2024-04-07T18:14:50.725088257Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.185797ms grafana | logger=migrator t=2024-04-07T18:14:50.727975033Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-04-07T18:14:50.729101369Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.126106ms grafana | logger=migrator t=2024-04-07T18:14:50.761682371Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-04-07T18:14:50.764012964Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=2.332122ms grafana | logger=migrator t=2024-04-07T18:14:50.767474993Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2024-04-07T18:14:50.76867751Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.202507ms grafana | logger=migrator t=2024-04-07T18:14:50.771819267Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2024-04-07T18:14:50.795806511Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=23.987294ms grafana | logger=migrator t=2024-04-07T18:14:50.800048674Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2024-04-07T18:14:50.80646321Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.412326ms grafana | logger=migrator t=2024-04-07T18:14:50.809908439Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2024-04-07T18:14:50.818462747Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.553308ms grafana | logger=migrator t=2024-04-07T18:14:50.821409833Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2024-04-07T18:14:50.821715175Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=304.652µs grafana | logger=migrator t=2024-04-07T18:14:50.826388671Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2024-04-07T18:14:50.834933918Z level=info msg="Migration successfully executed" id="add share column" duration=8.544897ms grafana | logger=migrator t=2024-04-07T18:14:50.837810405Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2024-04-07T18:14:50.838100106Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=289.461µs grafana | logger=migrator t=2024-04-07T18:14:50.841058903Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2024-04-07T18:14:50.842119128Z level=info msg="Migration successfully executed" id="create file table" duration=1.059605ms grafana | logger=migrator t=2024-04-07T18:14:50.846149911Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-04-07T18:14:50.847347898Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.199837ms grafana | logger=migrator t=2024-04-07T18:14:50.850534445Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-04-07T18:14:50.851729242Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.194597ms grafana | logger=migrator t=2024-04-07T18:14:50.85496881Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-04-07T18:14:50.855908315Z level=info msg="Migration successfully executed" id="create file_meta table" duration=938.835µs grafana | logger=migrator t=2024-04-07T18:14:50.859880847Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-04-07T18:14:50.861047044Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.165767ms grafana | logger=migrator t=2024-04-07T18:14:50.8658057Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-04-07T18:14:50.865953871Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=147.541µs grafana | logger=migrator t=2024-04-07T18:14:50.869062368Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-04-07T18:14:50.869207209Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=144.371µs grafana | logger=migrator t=2024-04-07T18:14:50.873379572Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-04-07T18:14:50.873990096Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=610.444µs grafana | logger=migrator t=2024-04-07T18:14:50.877415395Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-04-07T18:14:50.877714527Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=298.452µs grafana | logger=migrator t=2024-04-07T18:14:50.880871274Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-04-07T18:14:50.882280582Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.409188ms grafana | logger=migrator t=2024-04-07T18:14:50.88545038Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-04-07T18:14:50.894313909Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.862729ms grafana | logger=migrator t=2024-04-07T18:14:50.898644023Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-04-07T18:14:50.898822964Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=178.501µs grafana | logger=migrator t=2024-04-07T18:14:50.902064792Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-04-07T18:14:50.903003617Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=938.165µs grafana | logger=migrator t=2024-04-07T18:14:50.906484896Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-04-07T18:14:50.90729109Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=810.394µs grafana | logger=migrator t=2024-04-07T18:14:50.911402443Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-04-07T18:14:50.911859436Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=456.373µs grafana | logger=migrator t=2024-04-07T18:14:50.915539746Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-04-07T18:14:50.916092609Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=552.723µs grafana | logger=migrator t=2024-04-07T18:14:50.919523759Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-04-07T18:14:50.928597319Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=9.07298ms grafana | logger=migrator t=2024-04-07T18:14:50.931802587Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-04-07T18:14:50.940877217Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=9.07644ms grafana | logger=migrator t=2024-04-07T18:14:50.945046401Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-04-07T18:14:50.945833425Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=787.064µs grafana | logger=migrator t=2024-04-07T18:14:50.948882832Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-04-07T18:14:51.021001565Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=72.117763ms grafana | logger=migrator t=2024-04-07T18:14:51.024293794Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-04-07T18:14:51.025149318Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=855.114µs grafana | logger=migrator t=2024-04-07T18:14:51.040867707Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-04-07T18:14:51.042774958Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.904851ms grafana | logger=migrator t=2024-04-07T18:14:51.047303484Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-04-07T18:14:51.075723074Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=28.42117ms grafana | logger=migrator t=2024-04-07T18:14:51.080156409Z level=info msg="Executing migration" id="add origin column to seed_assignment" grafana | logger=migrator t=2024-04-07T18:14:51.08918157Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=9.024491ms grafana | logger=migrator t=2024-04-07T18:14:51.092427608Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" grafana | logger=migrator t=2024-04-07T18:14:51.09270945Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=281.462µs grafana | logger=migrator t=2024-04-07T18:14:51.095242254Z level=info msg="Executing migration" id="prevent seeding OnCall access" grafana | logger=migrator t=2024-04-07T18:14:51.095412935Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=170.301µs grafana | logger=migrator t=2024-04-07T18:14:51.098458042Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-04-07T18:14:51.098659124Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=200.852µs grafana | logger=migrator t=2024-04-07T18:14:51.102614416Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-04-07T18:14:51.103155449Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=540.213µs grafana | logger=migrator t=2024-04-07T18:14:51.1069188Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-04-07T18:14:51.107411733Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=492.363µs grafana | logger=migrator t=2024-04-07T18:14:51.110541851Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-04-07T18:14:51.111563496Z level=info msg="Migration successfully executed" id="create folder table" duration=1.020875ms grafana | logger=migrator t=2024-04-07T18:14:51.115441578Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-04-07T18:14:51.116717565Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.275867ms grafana | logger=migrator t=2024-04-07T18:14:51.119916143Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-04-07T18:14:51.12114622Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.229497ms grafana | logger=migrator t=2024-04-07T18:14:51.124490259Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-04-07T18:14:51.12455716Z level=info msg="Migration successfully executed" id="Update folder title length" duration=66.851µs grafana | logger=migrator t=2024-04-07T18:14:51.128930694Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-04-07T18:14:51.130123711Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.191507ms grafana | logger=migrator t=2024-04-07T18:14:51.133276119Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-04-07T18:14:51.134400125Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.124126ms grafana | logger=migrator t=2024-04-07T18:14:51.137773434Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-04-07T18:14:51.139039121Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.264997ms grafana | logger=migrator t=2024-04-07T18:14:51.143424716Z level=info msg="Executing migration" id="Sync dashboard and folder table" grafana | logger=migrator t=2024-04-07T18:14:51.143935189Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=510.223µs grafana | logger=migrator t=2024-04-07T18:14:51.147413699Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" grafana | logger=migrator t=2024-04-07T18:14:51.147738771Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=322.922µs grafana | logger=migrator t=2024-04-07T18:14:51.177271737Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" grafana | logger=migrator t=2024-04-07T18:14:51.179312839Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=2.040842ms grafana | logger=migrator t=2024-04-07T18:14:51.18300318Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" grafana | logger=migrator t=2024-04-07T18:14:51.184434208Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.431878ms grafana | logger=migrator t=2024-04-07T18:14:51.188497771Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" grafana | logger=migrator t=2024-04-07T18:14:51.189596687Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.098826ms grafana | logger=migrator t=2024-04-07T18:14:51.192753135Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" grafana | logger=migrator t=2024-04-07T18:14:51.193968831Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.214976ms grafana | logger=migrator t=2024-04-07T18:14:51.198098965Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" grafana | logger=migrator t=2024-04-07T18:14:51.199233361Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.134486ms grafana | logger=migrator t=2024-04-07T18:14:51.202365309Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-04-07T18:14:51.203507945Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.144436ms grafana | logger=migrator t=2024-04-07T18:14:51.206821064Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-04-07T18:14:51.208198352Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.376598ms grafana | logger=migrator t=2024-04-07T18:14:51.212421276Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-04-07T18:14:51.213686073Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.264557ms grafana | logger=migrator t=2024-04-07T18:14:51.217514984Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-04-07T18:14:51.21857884Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.063256ms grafana | logger=migrator t=2024-04-07T18:14:51.222765744Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-04-07T18:14:51.224379433Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.611979ms grafana | logger=migrator t=2024-04-07T18:14:51.228303085Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-04-07T18:14:51.230153196Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.850331ms grafana | logger=migrator t=2024-04-07T18:14:51.233787546Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-04-07T18:14:51.234141798Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=355.262µs grafana | logger=migrator t=2024-04-07T18:14:51.237479497Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-04-07T18:14:51.246921461Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=9.441254ms grafana | logger=migrator t=2024-04-07T18:14:51.250881963Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-04-07T18:14:51.251675937Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=795.034µs grafana | logger=migrator t=2024-04-07T18:14:51.254700154Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-04-07T18:14:51.255923881Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.223467ms grafana | logger=migrator t=2024-04-07T18:14:51.25931453Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-04-07T18:14:51.260476737Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.162007ms grafana | logger=migrator t=2024-04-07T18:14:51.264947962Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-04-07T18:14:51.266098638Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=1.149346ms grafana | logger=migrator t=2024-04-07T18:14:51.269524938Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" grafana | logger=migrator t=2024-04-07T18:14:51.271770561Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=2.236973ms grafana | logger=migrator t=2024-04-07T18:14:51.276520108Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-04-07T18:14:51.278466239Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.945301ms grafana | logger=migrator t=2024-04-07T18:14:51.282028479Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-04-07T18:14:51.283138865Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.110156ms grafana | logger=migrator t=2024-04-07T18:14:51.287873542Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-04-07T18:14:51.288714626Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=842.064µs grafana | logger=migrator t=2024-04-07T18:14:51.293223922Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-04-07T18:14:51.293720415Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=497.123µs grafana | logger=migrator t=2024-04-07T18:14:51.297259804Z level=info msg="Executing migration" id="alter kv_store.value to longtext" grafana | logger=migrator t=2024-04-07T18:14:51.297429045Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=168.971µs grafana | logger=migrator t=2024-04-07T18:14:51.300798075Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" grafana | logger=migrator t=2024-04-07T18:14:51.310403719Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=9.605014ms grafana | logger=migrator t=2024-04-07T18:14:51.313794498Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" grafana | logger=migrator t=2024-04-07T18:14:51.323170981Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=9.375843ms grafana | logger=migrator t=2024-04-07T18:14:51.327812207Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" grafana | logger=migrator t=2024-04-07T18:14:51.328142479Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=329.742µs grafana | logger=migrator t=2024-04-07T18:14:51.331093685Z level=info msg="migrations completed" performed=548 skipped=0 duration=3.980759223s grafana | logger=sqlstore t=2024-04-07T18:14:51.338688748Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-04-07T18:14:51.339083991Z level=info msg="Created default organization" grafana | logger=secrets t=2024-04-07T18:14:51.344952004Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-04-07T18:14:51.365025917Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-04-07T18:14:51.411937402Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-04-07T18:14:51.411970342Z level=info msg="Plugins loaded" count=55 duration=46.944465ms grafana | logger=query_data t=2024-04-07T18:14:51.414393096Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-04-07T18:14:51.417871425Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-04-07T18:14:51.423203185Z level=info msg=Starting grafana | logger=ngalert.migration t=2024-04-07T18:14:51.423850789Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false grafana | logger=ngalert.migration orgID=1 t=2024-04-07T18:14:51.424506543Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-04-07T18:14:51.425457458Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration t=2024-04-07T18:14:51.427987023Z level=info msg="Completed alerting migration" grafana | logger=ngalert.state.manager t=2024-04-07T18:14:51.453469786Z level=info msg="Running in alternative execution of Error/NoData mode" grafana | logger=infra.usagestats.collector t=2024-04-07T18:14:51.455198126Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-04-07T18:14:51.45756269Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-04-07T18:14:51.4717402Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-04-07T18:14:51.47175694Z level=info msg="finished to provision alerting" grafana | logger=ngalert.state.manager t=2024-04-07T18:14:51.472215882Z level=info msg="Warming state cache for startup" grafana | logger=grafanaStorageLogger t=2024-04-07T18:14:51.472452404Z level=info msg="Storage starting" grafana | logger=ngalert.multiorg.alertmanager t=2024-04-07T18:14:51.472974107Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=http.server t=2024-04-07T18:14:51.476487176Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=ngalert.state.manager t=2024-04-07T18:14:51.476748418Z level=info msg="State cache has been initialized" states=0 duration=4.530836ms grafana | logger=ngalert.scheduler t=2024-04-07T18:14:51.476913429Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 grafana | logger=ticker t=2024-04-07T18:14:51.477043109Z level=info msg=starting first_tick=2024-04-07T18:15:00Z grafana | logger=plugins.update.checker t=2024-04-07T18:14:51.566518074Z level=info msg="Update check succeeded" duration=94.555643ms grafana | logger=provisioning.dashboard t=2024-04-07T18:14:51.571306771Z level=info msg="starting to provision dashboards" grafana | logger=grafana.update.checker t=2024-04-07T18:14:51.600463296Z level=info msg="Update check succeeded" duration=128.594696ms grafana | logger=provisioning.dashboard t=2024-04-07T18:14:51.810725473Z level=info msg="finished to provision dashboards" grafana | logger=grafana-apiserver t=2024-04-07T18:14:52.308302904Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=grafana-apiserver t=2024-04-07T18:14:52.308825937Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" ++ 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 policy-db-migrator ... Removing grafana ... Removing mariadb ... Removing prometheus ... Removing grafana ... done Removing policy-db-migrator ... done Removing policy-api ... done Removing prometheus ... done Removing mariadb ... done Removing network compose_default ++ cd /w/workspace/policy-api-montreal-project-csit-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.tOI50cPzoX ]] + rsync -av /tmp/tmp.tOI50cPzoX/ /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,345,401 bytes received 95 bytes 2,690,992.00 bytes/sec total size is 1,344,751 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 2069 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! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -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/jenkins7441888240195079697.sh ---> sysstat.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins6173874302398049613.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/jenkins3099404953080326008.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-JAOe from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-JAOe/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins17106356498711598139.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config6011969754547547997tmp 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/jenkins1343835063500008613.sh ---> create-netrc.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins3658439053095388350.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-JAOe from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-JAOe/bin to PATH [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins16188578872868718952.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins16994952227343287258.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-JAOe 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-JAOe/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/jenkins12896414274596206803.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-JAOe from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-JAOe/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/148 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-21351 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2800.000 BogoMIPS: 5600.00 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 839 27326 0 4001 30871 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:13:ef:58 brd ff:ff:ff:ff:ff:ff inet 10.30.107.139/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86034sec preferred_lft 86034sec inet6 fe80::f816:3eff:fe13:ef58/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:05:76:02:1a 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-21351) 04/07/24 _x86_64_ (8 CPU) 18:11:24 LINUX RESTART (8 CPU) 18:12:01 tps rtps wtps bread/s bwrtn/s 18:13:01 110.03 40.15 69.88 1828.59 24492.50 18:14:01 106.40 13.80 92.60 1117.55 28120.38 18:15:01 403.30 22.43 380.87 2443.76 83887.24 18:16:01 22.66 0.75 21.91 39.99 18652.76 18:17:01 47.03 1.35 45.68 109.05 20617.95 Average: 137.88 15.70 122.19 1107.81 35153.81 18:12:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:13:01 30139492 31718040 2799720 8.50 68288 1821520 1434408 4.22 856192 1654036 152188 18:14:01 29863256 31708996 3075956 9.34 84900 2058520 1402296 4.13 875216 1883304 126812 18:15:01 27822096 31490576 5117116 15.54 128636 3763424 3252252 9.57 1221208 3442628 1956 18:16:01 27021296 30692200 5917916 17.97 129004 3765324 4269780 12.56 2054516 3410696 76 18:17:01 27989752 31617852 4949460 15.03 130152 3731824 1490004 4.38 1159056 3363192 28104 Average: 28567178 31445533 4372034 13.27 108196 3028122 2369748 6.97 1233238 2750771 61827 18:12:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:13:01 ens3 115.73 84.54 951.15 26.65 0.00 0.00 0.00 0.00 18:13:01 lo 1.47 1.47 0.17 0.17 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 ens3 46.51 36.01 640.89 7.07 0.00 0.00 0.00 0.00 18:14:01 lo 1.13 1.13 0.12 0.12 0.00 0.00 0.00 0.00 18:15:01 veth9bac997 0.00 0.30 0.00 0.02 0.00 0.00 0.00 0.00 18:15:01 veth0998274 0.47 0.65 0.05 0.30 0.00 0.00 0.00 0.00 18:15:01 veth46b7e26 0.35 0.47 0.02 0.03 0.00 0.00 0.00 0.00 18:15:01 br-bb79126ace76 0.55 0.55 0.05 0.30 0.00 0.00 0.00 0.00 18:16:01 veth9bac997 0.20 0.22 0.02 0.77 0.00 0.00 0.00 0.00 18:16:01 veth0998274 0.15 0.22 0.01 0.01 0.00 0.00 0.00 0.00 18:16:01 veth46b7e26 124.46 104.97 41.36 113.89 0.00 0.00 0.00 0.01 18:16:01 br-bb79126ace76 3.13 3.60 6.12 2.22 0.00 0.00 0.00 0.00 18:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:01 ens3 783.02 540.74 11866.88 111.21 0.00 0.00 0.00 0.00 18:17:01 lo 33.23 33.23 10.60 10.60 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: ens3 108.73 74.64 2245.93 15.05 0.00 0.00 0.00 0.00 Average: lo 5.87 5.87 2.05 2.05 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-21351) 04/07/24 _x86_64_ (8 CPU) 18:11:24 LINUX RESTART (8 CPU) 18:12:01 CPU %user %nice %system %iowait %steal %idle 18:13:01 all 9.66 0.00 0.73 2.66 0.03 86.93 18:13:01 0 6.45 0.00 0.63 0.23 0.02 92.66 18:13:01 1 5.05 0.00 0.58 14.75 0.02 79.60 18:13:01 2 9.19 0.00 0.67 1.47 0.02 88.66 18:13:01 3 6.96 0.00 0.67 0.80 0.02 91.55 18:13:01 4 30.88 0.00 1.63 3.32 0.07 64.10 18:13:01 5 11.26 0.00 0.68 0.23 0.03 87.79 18:13:01 6 5.17 0.00 0.55 0.30 0.02 93.97 18:13:01 7 2.32 0.00 0.33 0.15 0.02 97.18 18:14:01 all 8.33 0.00 0.56 3.02 0.03 88.07 18:14:01 0 0.13 0.00 0.08 0.33 0.02 99.43 18:14:01 1 14.04 0.00 0.82 12.82 0.05 72.27 18:14:01 2 32.36 0.00 1.50 7.26 0.07 58.81 18:14:01 3 13.19 0.00 1.17 3.29 0.03 82.31 18:14:01 4 3.03 0.00 0.30 0.02 0.02 96.63 18:14:01 5 2.46 0.00 0.33 0.02 0.03 97.15 18:14:01 6 0.40 0.00 0.13 0.02 0.00 99.45 18:14:01 7 0.97 0.00 0.13 0.38 0.00 98.52 18:15:01 all 8.69 0.00 3.61 5.91 0.07 81.72 18:15:01 0 8.72 0.00 2.83 1.01 0.07 87.37 18:15:01 1 7.95 0.00 3.84 10.36 0.05 77.80 18:15:01 2 7.05 0.00 3.65 2.46 0.07 86.77 18:15:01 3 10.47 0.00 4.28 22.78 0.09 62.38 18:15:01 4 8.43 0.00 4.00 3.09 0.05 84.43 18:15:01 5 8.85 0.00 3.54 2.60 0.07 84.94 18:15:01 6 7.18 0.00 3.28 2.94 0.07 86.53 18:15:01 7 10.88 0.00 3.46 2.20 0.07 83.39 18:16:01 all 13.69 0.00 1.31 0.95 0.04 84.00 18:16:01 0 8.44 0.00 0.67 0.00 0.02 90.88 18:16:01 1 7.95 0.00 1.05 0.03 0.05 90.91 18:16:01 2 14.60 0.00 1.32 0.03 0.02 84.03 18:16:01 3 13.42 0.00 1.15 0.02 0.03 85.37 18:16:01 4 19.33 0.00 1.97 5.14 0.07 73.49 18:16:01 5 15.30 0.00 1.49 0.00 0.03 83.17 18:16:01 6 10.62 0.00 0.94 2.36 0.05 86.03 18:16:01 7 19.86 0.00 1.97 0.03 0.05 78.09 18:17:01 all 4.00 0.00 0.49 1.39 0.02 94.10 18:17:01 0 1.29 0.00 0.27 3.65 0.02 94.78 18:17:01 1 3.02 0.00 0.38 0.93 0.02 95.65 18:17:01 2 3.00 0.00 0.55 0.32 0.02 96.12 18:17:01 3 4.31 0.00 0.48 0.73 0.02 94.46 18:17:01 4 0.98 0.00 0.40 4.61 0.02 93.99 18:17:01 5 16.76 0.00 0.98 0.65 0.03 81.57 18:17:01 6 0.80 0.00 0.37 0.03 0.02 98.78 18:17:01 7 1.87 0.00 0.52 0.20 0.03 97.38 Average: all 8.87 0.00 1.34 2.78 0.04 86.97 Average: 0 4.99 0.00 0.89 1.05 0.03 93.04 Average: 1 7.60 0.00 1.33 7.78 0.04 83.25 Average: 2 13.25 0.00 1.53 2.31 0.04 82.87 Average: 3 9.67 0.00 1.54 5.47 0.04 83.29 Average: 4 12.53 0.00 1.66 3.23 0.04 82.53 Average: 5 10.93 0.00 1.40 0.70 0.04 86.93 Average: 6 4.83 0.00 1.05 1.13 0.03 92.97 Average: 7 7.17 0.00 1.28 0.59 0.03 90.93