Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-11047 (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-nUC6BfA7Ef5H/agent.2149 SSH_AGENT_PID=2151 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_17259682969217851505.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_17259682969217851505.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/jenkins14614967337509722345.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-KKBr 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-KKBr/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.2 from /tmp/venv-KKBr/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.1 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.2 boto3==1.34.15 botocore==1.34.15 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.4.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.3.0 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.41 google-auth==2.26.1 httplib2==0.22.0 identify==2.5.33 idna==3.6 importlib-metadata==7.0.1 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.2 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.20.0 jsonschema-specifications==2023.12.1 keystoneauth1==5.4.0 kubernetes==29.0.0 lftools==0.37.8 lxml==5.1.0 MarkupSafe==2.1.3 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==0.10.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==2.9.0 oslo.config==9.3.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.3.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==4.1.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 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.4.0 python-dateutil==2.8.2 python-heatclient==3.4.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.32.1 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.16.2 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.10.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.9.0 tzdata==2023.4 urllib3==1.26.18 virtualenv==20.25.0 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 zipp==3.17.0 [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/jenkins1513423841884779690.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/jenkins1288926344566211460.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.ha2VB63jrE ++ echo ROBOT_VENV=/tmp/tmp.ha2VB63jrE +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.ha2VB63jrE ++ source /tmp/tmp.ha2VB63jrE/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.ha2VB63jrE +++ 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.ha2VB63jrE/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.ha2VB63jrE) ' '!=' x ']' +++ PS1='(tmp.ha2VB63jrE) ' +++ 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.2 bitarray==2.9.2 certifi==2023.11.17 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.1.0 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.1 python-dateutil==2.8.2 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.ha2VB63jrE/src/onap ++ rm -rf /tmp/tmp.ha2VB63jrE/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.2 bitarray==2.9.2 certifi==2023.11.17 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==0.18.3 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.1.0 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.1 python-dateutil==2.8.2 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 ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.ha2VB63jrE/bin/activate + '[' -z /tmp/tmp.ha2VB63jrE/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.ha2VB63jrE/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.ha2VB63jrE ++ 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.ha2VB63jrE/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.ha2VB63jrE) ' ++ '[' 'x(tmp.ha2VB63jrE) ' '!=' x ']' ++ PS1='(tmp.ha2VB63jrE) (tmp.ha2VB63jrE) ' ++ 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.uES7bwVCBy + cd /tmp/tmp.uES7bwVCBy + 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:a67e5e402ff5410b86ec48b39eab1a3c4df2a7e78a71bf025ec5e32e09090ad4 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:6b5b37eb35bbf30e7f64bd7f0fd41c0a5b7637f65d3bf93223b04a192b8bf3e2 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 12 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:14:40 up 3 min, 0 users, load average: 1.97, 0.82, 0.32 Tasks: 180 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.4 us, 2.3 sy, 0.0 ni, 83.5 id, 2.6 wa, 0.0 hi, 0.0 si, 0.1 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.3G 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 29 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 208e5bfcc5fc policy-api 1.06% 434.9MiB / 31.41GiB 1.35% 999kB / 737kB 0B / 0B 54 4670b997fc39 grafana 0.03% 53.66MiB / 31.41GiB 0.17% 18.3kB / 3.03kB 0B / 23.7MB 17 fa5375b2e0af mariadb 0.02% 100.6MiB / 31.41GiB 0.31% 986kB / 1.18MB 11.2MB / 67.9MB 28 cdd9ea3364db prometheus 0.31% 18.21MiB / 31.41GiB 0.06% 28.3kB / 929B 4.1kB / 0B 12 + echo + cd /tmp/tmp.uES7bwVCBy + 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.uES7bwVCBy/output.xml Log: /tmp/tmp.uES7bwVCBy/log.html Report: /tmp/tmp.uES7bwVCBy/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 ++ sed 's/./& /g' ++ echo hxB + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-montreal-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 18:15:51 up 4 min, 0 users, load average: 0.77, 0.71, 0.32 Tasks: 178 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.5 us, 1.8 sy, 0.0 ni, 86.2 id, 2.3 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 208e5bfcc5fc policy-api 0.10% 848.9MiB / 31.41GiB 2.64% 7.01MB / 2.57MB 0B / 0B 53 4670b997fc39 grafana 0.02% 55.7MiB / 31.41GiB 0.17% 19.4kB / 4.31kB 0B / 23.7MB 17 fa5375b2e0af mariadb 0.02% 101.6MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 11.2MB / 68.2MB 18 cdd9ea3364db prometheus 0.00% 23.73MiB / 31.41GiB 0.07% 82.4kB / 7.39kB 4.1kB / 0B 13 + echo + source_safely /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose ++ cd /w/workspace/policy-api-montreal-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, policy-db-migrator, grafana, mariadb, prometheus grafana | logger=settings t=2024-01-10T18:14:11.223840995Z level=info msg="Starting Grafana" version=10.2.3 commit=1e84fede543acc892d2a2515187e545eb047f237 branch=HEAD compiled=2023-12-18T15:46:07Z grafana | logger=settings t=2024-01-10T18:14:11.224053987Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-01-10T18:14:11.224061817Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-01-10T18:14:11.224065467Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-01-10T18:14:11.224068757Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-01-10T18:14:11.224073407Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-01-10T18:14:11.224077997Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-01-10T18:14:11.224083817Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-01-10T18:14:11.224086927Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-01-10T18:14:11.224089847Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-01-10T18:14:11.224093447Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-01-10T18:14:11.224096157Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-01-10T18:14:11.224098917Z level=info msg=Target target=[all] grafana | logger=settings t=2024-01-10T18:14:11.224104028Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-01-10T18:14:11.224106718Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-01-10T18:14:11.224109268Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-01-10T18:14:11.224111758Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-01-10T18:14:11.224114478Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-01-10T18:14:11.224118118Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-01-10T18:14:11.22439812Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-01-10T18:14:11.22441534Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-01-10T18:14:11.225001735Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-01-10T18:14:11.225871762Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-01-10T18:14:11.226573978Z level=info msg="Migration successfully executed" id="create migration_log table" duration=701.936µs grafana | logger=migrator t=2024-01-10T18:14:11.231492279Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-01-10T18:14:11.232024194Z level=info msg="Migration successfully executed" id="create user table" duration=531.895µs grafana | logger=migrator t=2024-01-10T18:14:11.237857222Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-01-10T18:14:11.238965882Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.108089ms grafana | logger=migrator t=2024-01-10T18:14:11.244082314Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-01-10T18:14:11.245137133Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.054199ms grafana | logger=migrator t=2024-01-10T18:14:11.249131626Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-01-10T18:14:11.249783732Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=652.036µs grafana | logger=migrator t=2024-01-10T18:14:11.256896621Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-01-10T18:14:11.258094781Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.19683ms grafana | logger=migrator t=2024-01-10T18:14:11.290607382Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-01-10T18:14:11.295025079Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.415917ms grafana | logger=migrator t=2024-01-10T18:14:11.299414076Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-01-10T18:14:11.300121052Z level=info msg="Migration successfully executed" id="create user table v2" duration=706.836µs grafana | logger=migrator t=2024-01-10T18:14:11.305680058Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-01-10T18:14:11.306450645Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=769.967µs grafana | logger=migrator t=2024-01-10T18:14:11.309421379Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-01-10T18:14:11.310112315Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=690.386µs grafana | logger=migrator t=2024-01-10T18:14:11.313799596Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-01-10T18:14:11.314179129Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=374.013µs grafana | logger=migrator t=2024-01-10T18:14:11.321682252Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-01-10T18:14:11.322182436Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=500.014µs grafana | logger=migrator t=2024-01-10T18:14:11.327125877Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-01-10T18:14:11.328900902Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.767205ms grafana | logger=migrator t=2024-01-10T18:14:11.332775584Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-01-10T18:14:11.332815475Z level=info msg="Migration successfully executed" id="Update user table charset" duration=41.321µs grafana | logger=migrator t=2024-01-10T18:14:11.336570266Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-01-10T18:14:11.337664475Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.093819ms grafana | logger=migrator t=2024-01-10T18:14:11.344118319Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-01-10T18:14:11.344495332Z level=info msg="Migration successfully executed" id="Add missing user data" duration=372.353µs grafana | logger=migrator t=2024-01-10T18:14:11.348710727Z level=info msg="Executing migration" id="Add is_disabled column to user" mariadb | 2024-01-10 18:14:12+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-01-10 18:14:12+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-01-10 18:14:12+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-01-10 18:14:12+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-01-10 18:14:12 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-01-10 18:14:12 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-10 18:14:12 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2024-01-10 18:14:14+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-01-10 18:14:14+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-01-10 18:14:14+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-01-10 18:14:14 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 99 ... mariadb | 2024-01-10 18:14:14 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-01-10 18:14:14 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-01-10 18:14:14 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-01-10 18:14:14 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-01-10 18:14:14 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-01-10 18:14:14 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-10 18:14:14 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-01-10 18:14:14 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-01-10 18:14:14 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-01-10 18:14:14 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-01-10 18:14:14 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-01-10 18:14:14 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-01-10 18:14:14 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-01-10 18:14:14 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-01-10 18:14:14 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-01-10 18:14:14 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-01-10 18:14:14 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-01-10 18:14:14 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2024-01-10 18:14:15+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-01-10 18:14:17+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-01-10 18:14:17+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | mariadb | 2024-01-10 18:14:17+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | 2024-01-10 18:14:17+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' grafana | logger=migrator t=2024-01-10T18:14:11.350634193Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.927726ms mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | Waiting for mariadb port 3306... grafana | logger=migrator t=2024-01-10T18:14:11.355486154Z level=info msg="Executing migration" id="Add index user.login/user.email" prometheus | ts=2024-01-10T18:14:10.314Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused grafana | logger=migrator t=2024-01-10T18:14:11.356284651Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=797.776µs prometheus | ts=2024-01-10T18:14:10.314Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.1, branch=HEAD, revision=63894216648f0d6be310c9d16fb48293c45c9310)" policy-api | Waiting for mariadb port 3306... mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused grafana | logger=migrator t=2024-01-10T18:14:11.360046172Z level=info msg="Executing migration" id="Add is_service_account column to user" prometheus | ts=2024-01-10T18:14:10.314Z caller=main.go:588 level=info build_context="(go=go1.21.5, platform=linux/amd64, user=root@71f108ff5632, date=20231208-23:33:22, tags=netgo,builtinassets,stringlabels)" policy-api | mariadb (172.17.0.3:3306) open mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused grafana | logger=migrator t=2024-01-10T18:14:11.361223262Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.17654ms prometheus | ts=2024-01-10T18:14:10.314Z caller=main.go:589 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" policy-api | Waiting for policy-db-migrator port 6824... mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused grafana | logger=migrator t=2024-01-10T18:14:11.368088689Z level=info msg="Executing migration" id="Update is_service_account column to nullable" prometheus | ts=2024-01-10T18:14:10.314Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" policy-api | policy-db-migrator (172.17.0.5:6824) open mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused grafana | logger=migrator t=2024-01-10T18:14:11.37776614Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=9.676241ms prometheus | ts=2024-01-10T18:14:10.314Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused grafana | logger=migrator t=2024-01-10T18:14:11.380861696Z level=info msg="Executing migration" id="create temp user table v1-7" prometheus | ts=2024-01-10T18:14:10.318Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 policy-api | mariadb | policy-db-migrator | Connection to mariadb (172.17.0.3) 3306 port [tcp/mysql] succeeded! grafana | logger=migrator t=2024-01-10T18:14:11.381547221Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=685.465µs prometheus | ts=2024-01-10T18:14:10.319Z caller=main.go:1024 level=info msg="Starting TSDB ..." policy-api | . ____ _ __ _ _ mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" policy-db-migrator | 321 blocks grafana | logger=migrator t=2024-01-10T18:14:11.384583257Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" prometheus | ts=2024-01-10T18:14:10.324Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' policy-db-migrator | Preparing upgrade release version: 0800 grafana | logger=migrator t=2024-01-10T18:14:11.385295403Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=711.696µs prometheus | ts=2024-01-10T18:14:10.324Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql policy-db-migrator | Preparing upgrade release version: 0900 grafana | logger=migrator t=2024-01-10T18:14:11.392798425Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" prometheus | ts=2024-01-10T18:14:10.326Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp policy-db-migrator | Preparing upgrade release version: 1000 grafana | logger=migrator t=2024-01-10T18:14:11.393549601Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=750.846µs prometheus | ts=2024-01-10T18:14:10.326Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=16.49µs policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / mariadb | policy-db-migrator | Preparing upgrade release version: 1100 grafana | logger=migrator t=2024-01-10T18:14:11.397885318Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" prometheus | ts=2024-01-10T18:14:10.326Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" policy-api | =========|_|==============|___/=/_/_/_/ mariadb | 2024-01-10 18:14:18+00:00 [Note] [Entrypoint]: Stopping temporary server policy-db-migrator | Preparing upgrade release version: 1200 grafana | logger=migrator t=2024-01-10T18:14:11.399036167Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.149729ms prometheus | ts=2024-01-10T18:14:10.326Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 policy-api | :: Spring Boot :: (v3.1.4) mariadb | 2024-01-10 18:14:18 0 [Note] mariadbd (initiated by: unknown): Normal shutdown policy-db-migrator | Preparing upgrade release version: 1300 grafana | logger=migrator t=2024-01-10T18:14:11.404602224Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" prometheus | ts=2024-01-10T18:14:10.326Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=24.04µs wal_replay_duration=360.755µs wbl_replay_duration=190ns total_replay_duration=419.755µs policy-api | mariadb | 2024-01-10 18:14:18 0 [Note] InnoDB: FTS optimize thread exiting. policy-db-migrator | Done grafana | logger=migrator t=2024-01-10T18:14:11.406058216Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.459552ms prometheus | ts=2024-01-10T18:14:10.328Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC policy-api | [2024-01-10T18:14:27.927+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 21 (/app/api.jar started by policy in /opt/app/policy/api/bin) mariadb | 2024-01-10 18:14:18 0 [Note] InnoDB: Starting shutdown... policy-db-migrator | name version grafana | logger=migrator t=2024-01-10T18:14:11.41257483Z level=info msg="Executing migration" id="Update temp_user table charset" prometheus | ts=2024-01-10T18:14:10.329Z caller=main.go:1048 level=info msg="TSDB started" policy-api | [2024-01-10T18:14:27.930+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" mariadb | 2024-01-10 18:14:18 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool policy-db-migrator | policyadmin 0 grafana | logger=migrator t=2024-01-10T18:14:11.41260312Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=34.44µs prometheus | ts=2024-01-10T18:14:10.329Z caller=main.go:1230 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml policy-api | [2024-01-10T18:14:29.910+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. mariadb | 2024-01-10 18:14:18 0 [Note] InnoDB: Buffer pool(s) dump completed at 240110 18:14:18 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 grafana | logger=migrator t=2024-01-10T18:14:11.41609604Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" prometheus | ts=2024-01-10T18:14:10.329Z caller=main.go:1267 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=957.503µs db_storage=1.82µs remote_storage=1.93µs web_handler=590ns query_engine=1.15µs scrape=251.513µs scrape_sd=149.942µs notify=32.61µs notify_sd=15.471µs rules=1.73µs tracing=4.48µs policy-api | [2024-01-10T18:14:30.011+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 89 ms. Found 6 JPA repository interfaces. mariadb | 2024-01-10 18:14:18 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" policy-db-migrator | upgrade: 0 -> 1300 grafana | logger=migrator t=2024-01-10T18:14:11.416762315Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=666.385µs prometheus | ts=2024-01-10T18:14:10.330Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." policy-api | [2024-01-10T18:14:30.507+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 mariadb | 2024-01-10 18:14:18 0 [Note] InnoDB: Shutdown completed; log sequence number 347225; transaction id 298 policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.420116183Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" prometheus | ts=2024-01-10T18:14:10.330Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." policy-api | [2024-01-10T18:14:30.508+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 mariadb | 2024-01-10 18:14:18 0 [Note] mariadbd: Shutdown complete policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql grafana | logger=migrator t=2024-01-10T18:14:11.420752778Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=636.585µs policy-api | [2024-01-10T18:14:31.280+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) mariadb | policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.425857651Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" policy-api | [2024-01-10T18:14:31.292+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] mariadb | 2024-01-10 18:14:18+00:00 [Note] [Entrypoint]: Temporary server stopped 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-01-10T18:14:11.426481556Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=623.825µs policy-api | [2024-01-10T18:14:31.294+00:00|INFO|StandardService|main] Starting service [Tomcat] mariadb | grafana | logger=migrator t=2024-01-10T18:14:11.430959034Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" policy-api | [2024-01-10T18:14:31.294+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] policy-db-migrator | -------------- mariadb | 2024-01-10 18:14:18+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. grafana | logger=migrator t=2024-01-10T18:14:11.432041063Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.081169ms policy-api | [2024-01-10T18:14:31.406+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-db-migrator | mariadb | grafana | logger=migrator t=2024-01-10T18:14:11.43535553Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" policy-api | [2024-01-10T18:14:31.407+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 3402 ms policy-db-migrator | mariadb | 2024-01-10 18:14:18 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... grafana | logger=migrator t=2024-01-10T18:14:11.439391394Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=4.036374ms policy-api | [2024-01-10T18:14:31.885+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql mariadb | 2024-01-10 18:14:18 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 grafana | logger=migrator t=2024-01-10T18:14:11.446170111Z level=info msg="Executing migration" id="create temp_user v2" policy-api | [2024-01-10T18:14:31.966+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-db-migrator | -------------- mariadb | 2024-01-10 18:14:18 0 [Note] InnoDB: Number of transaction pools: 1 grafana | logger=migrator t=2024-01-10T18:14:11.447521632Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=1.353861ms policy-api | [2024-01-10T18:14:31.969+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer 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) mariadb | 2024-01-10 18:14:18 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions grafana | logger=migrator t=2024-01-10T18:14:11.45094881Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" policy-api | [2024-01-10T18:14:32.011+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-db-migrator | -------------- mariadb | 2024-01-10 18:14:18 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) grafana | logger=migrator t=2024-01-10T18:14:11.45212446Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.17528ms policy-api | [2024-01-10T18:14:32.361+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-db-migrator | mariadb | 2024-01-10 18:14:18 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) grafana | logger=migrator t=2024-01-10T18:14:11.456710819Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" policy-api | [2024-01-10T18:14:32.381+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-db-migrator | mariadb | 2024-01-10 18:14:18 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF grafana | logger=migrator t=2024-01-10T18:14:11.457472485Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=761.367µs policy-api | [2024-01-10T18:14:32.486+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@3d37203b policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql mariadb | 2024-01-10 18:14:18 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB grafana | logger=migrator t=2024-01-10T18:14:11.46295125Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" policy-api | [2024-01-10T18:14:32.488+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-db-migrator | -------------- mariadb | 2024-01-10 18:14:18 0 [Note] InnoDB: Completed initialization of buffer pool grafana | logger=migrator t=2024-01-10T18:14:11.464227481Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.275481ms policy-api | [2024-01-10T18:14:32.524+00:00|WARN|deprecation|main] HHH90000025: MariaDB103Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) policy-db-migrator | CREATE TABLE IF NOT EXISTS 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) mariadb | 2024-01-10 18:14:18 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) grafana | logger=migrator t=2024-01-10T18:14:11.469106031Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" policy-api | [2024-01-10T18:14:32.527+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead policy-db-migrator | -------------- mariadb | 2024-01-10 18:14:18 0 [Note] InnoDB: 128 rollback segments are active. grafana | logger=migrator t=2024-01-10T18:14:11.470351502Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.248921ms policy-api | [2024-01-10T18:14:34.501+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-db-migrator | mariadb | 2024-01-10 18:14:18 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... grafana | logger=migrator t=2024-01-10T18:14:11.473574528Z level=info msg="Executing migration" id="copy temp_user v1 to v2" policy-api | [2024-01-10T18:14:34.505+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-db-migrator | mariadb | 2024-01-10 18:14:18 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. grafana | logger=migrator t=2024-01-10T18:14:11.473959881Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=385.283µs policy-api | [2024-01-10T18:14:35.984+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql mariadb | 2024-01-10 18:14:18 0 [Note] InnoDB: log sequence number 347225; transaction id 299 grafana | logger=migrator t=2024-01-10T18:14:11.476959747Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" policy-api | [2024-01-10T18:14:36.823+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-db-migrator | -------------- mariadb | 2024-01-10 18:14:18 0 [Note] Plugin 'FEEDBACK' is disabled. grafana | logger=migrator t=2024-01-10T18:14:11.477474231Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=514.384µs policy-api | [2024-01-10T18:14:37.892+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-db-migrator | CREATE TABLE IF NOT EXISTS 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) mariadb | 2024-01-10 18:14:18 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool grafana | logger=migrator t=2024-01-10T18:14:11.482642974Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" policy-db-migrator | -------------- policy-api | [2024-01-10T18:14:38.092+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@4b7feb38, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@6e04275e, org.springframework.security.web.context.SecurityContextHolderFilter@54e1e8a7, org.springframework.security.web.header.HeaderWriterFilter@547a79cd, org.springframework.security.web.authentication.logout.LogoutFilter@4bbb00a4, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@1e33203f, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@276961df, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@dcaa0e8, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@700f356b, org.springframework.security.web.access.ExceptionTranslationFilter@2542d320, org.springframework.security.web.access.intercept.AuthorizationFilter@2986e26f] mariadb | 2024-01-10 18:14:18 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. grafana | logger=migrator t=2024-01-10T18:14:11.483252779Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=609.885µs policy-db-migrator | policy-api | [2024-01-10T18:14:38.976+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' mariadb | 2024-01-10 18:14:18 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. grafana | logger=migrator t=2024-01-10T18:14:11.486592806Z level=info msg="Executing migration" id="create star table" policy-db-migrator | policy-api | [2024-01-10T18:14:39.054+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] mariadb | 2024-01-10 18:14:18 0 [Note] Server socket created on IP: '0.0.0.0'. grafana | logger=migrator t=2024-01-10T18:14:11.487528214Z level=info msg="Migration successfully executed" id="create star table" duration=933.138µs policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-api | [2024-01-10T18:14:39.082+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' mariadb | 2024-01-10 18:14:18 0 [Note] Server socket created on IP: '::'. grafana | logger=migrator t=2024-01-10T18:14:11.491366596Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" policy-db-migrator | -------------- policy-api | [2024-01-10T18:14:39.100+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.977 seconds (process running for 12.638) mariadb | 2024-01-10 18:14:18 0 [Note] mariadbd: ready for connections. grafana | logger=migrator t=2024-01-10T18:14:11.492171783Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=807.727µs 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-01-10T18:14:39.903+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' 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-01-10T18:14:11.498236333Z level=info msg="Executing migration" id="create org table v1" policy-db-migrator | -------------- policy-api | [2024-01-10T18:14:39.903+00:00|INFO|DispatcherServlet|http-nio-6969-exec-1] Initializing Servlet 'dispatcherServlet' mariadb | 2024-01-10 18:14:18 0 [Note] InnoDB: Buffer pool(s) load completed at 240110 18:14:18 grafana | logger=migrator t=2024-01-10T18:14:11.499371353Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.13682ms policy-db-migrator | policy-api | [2024-01-10T18:14:39.905+00:00|INFO|DispatcherServlet|http-nio-6969-exec-1] Completed initialization in 2 ms mariadb | 2024-01-10 18:14:19 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) grafana | logger=migrator t=2024-01-10T18:14:11.505206541Z level=info msg="Executing migration" id="create index UQE_org_name - v1" policy-db-migrator | policy-api | [2024-01-10T18:14:45.819+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-6] ***** OrderedServiceImpl implementers: mariadb | 2024-01-10 18:14:19 5 [Warning] Aborted connection 5 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql grafana | logger=migrator t=2024-01-10T18:14:11.505993827Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=787.366µs policy-api | [] policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.509535687Z level=info msg="Executing migration" id="create org_user table v1" policy-api | [2024-01-10T18:14:45.932+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes 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) grafana | logger=migrator t=2024-01-10T18:14:11.510192182Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=656.195µs policy-db-migrator | -------------- policy-api | [2024-01-10T18:14:46.181+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes grafana | logger=migrator t=2024-01-10T18:14:11.514436317Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" policy-db-migrator | policy-api | [2024-01-10T18:14:47.368+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies grafana | logger=migrator t=2024-01-10T18:14:11.515214234Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=777.737µs policy-db-migrator | policy-api | [2024-01-10T18:14:49.428+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 grafana | logger=migrator t=2024-01-10T18:14:11.520121915Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-api | [2024-01-10T18:14:49.746+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policies/onap.restart.tca/versions/1.0.0 grafana | logger=migrator t=2024-01-10T18:14:11.521336115Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.21376ms policy-db-migrator | -------------- policy-api | [2024-01-10T18:14:49.972+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 grafana | logger=migrator t=2024-01-10T18:14:11.524720353Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-api | [2024-01-10T18:14:50.222+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 grafana | logger=migrator t=2024-01-10T18:14:11.526009183Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.2839ms policy-db-migrator | -------------- policy-api | [2024-01-10T18:14:50.445+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 grafana | logger=migrator t=2024-01-10T18:14:11.529636124Z level=info msg="Executing migration" id="Update org table charset" policy-db-migrator | policy-api | [2024-01-10T18:14:50.667+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2024-01-10T18:14:11.529661634Z level=info msg="Migration successfully executed" id="Update org table charset" duration=26.33µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.533429675Z level=info msg="Executing migration" id="Update org_user table charset" policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql grafana | logger=migrator t=2024-01-10T18:14:11.533474135Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=45.2µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.538121564Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2024-01-10T18:14:11.538389576Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=268.592µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.542095077Z level=info msg="Executing migration" id="create dashboard table" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.543151626Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.056129ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.547492312Z level=info msg="Executing migration" id="add index dashboard.account_id" policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql grafana | logger=migrator t=2024-01-10T18:14:11.548260408Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=767.946µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.551968919Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" 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) grafana | logger=migrator t=2024-01-10T18:14:11.552749735Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=777.896µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.5569021Z level=info msg="Executing migration" id="create dashboard_tag table" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.557611016Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=710.326µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.560769242Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql grafana | logger=migrator t=2024-01-10T18:14:11.561576888Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=807.476µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.565251209Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" 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) grafana | logger=migrator t=2024-01-10T18:14:11.565997555Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=747.046µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.571753423Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.580961289Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=9.208426ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.584094925Z level=info msg="Executing migration" id="create dashboard v2" policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql grafana | logger=migrator t=2024-01-10T18:14:11.584557859Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=463.354µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.587510834Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" 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) grafana | logger=migrator t=2024-01-10T18:14:11.588051898Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=535.624µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.59425003Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.595017576Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=767.106µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.598903988Z level=info msg="Executing migration" id="copy dashboard v1 to v2" policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql grafana | logger=migrator t=2024-01-10T18:14:11.599402782Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=496.754µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.6039168Z level=info msg="Executing migration" id="drop table dashboard_v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-10T18:14:11.60512455Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.20786ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.609600327Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.609673158Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=74.031µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.613075886Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql grafana | logger=migrator t=2024-01-10T18:14:11.614948941Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.872665ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.618786143Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" 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-01-10T18:14:11.620593408Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.806915ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.625154636Z level=info msg="Executing migration" id="Add column gnetId in dashboard" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.627965849Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=2.802263ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.631358878Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql grafana | logger=migrator t=2024-01-10T18:14:11.632488527Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.131369ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.635620593Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" 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-01-10T18:14:11.637500569Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.879756ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.641420631Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-01-10T18:14:11.642361079Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=940.028µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.666802202Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" 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-01-10T18:14:11.668216443Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.416521ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.671865964Z level=info msg="Executing migration" id="Update dashboard table charset" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.671900314Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=35.53µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.676893925Z level=info msg="Executing migration" id="Update dashboard_tag table charset" policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql grafana | logger=migrator t=2024-01-10T18:14:11.676921916Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=39.891µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.680228163Z level=info msg="Executing migration" id="Add column folder_id in dashboard" 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-01-10T18:14:11.68227256Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.043917ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.686866518Z level=info msg="Executing migration" id="Add column isFolder in dashboard" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.688578282Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.711614ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.693710225Z level=info msg="Executing migration" id="Add column has_acl in dashboard" policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql grafana | logger=migrator t=2024-01-10T18:14:11.69558395Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.878775ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.698871728Z level=info msg="Executing migration" id="Add column uid in dashboard" 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-01-10T18:14:11.700682283Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.810545ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.704520944Z level=info msg="Executing migration" id="Update uid column values in dashboard" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.704694206Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=174.302µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.708271096Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql grafana | logger=migrator t=2024-01-10T18:14:11.708998982Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=728.116µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.714218595Z level=info msg="Executing migration" id="Remove unique index org_id_slug" 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-01-10T18:14:11.715073052Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=856.197µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.718657212Z level=info msg="Executing migration" id="Update dashboard title length" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.718710102Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=53.56µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.72206579Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql grafana | logger=migrator t=2024-01-10T18:14:11.722823176Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=759.936µs grafana | logger=migrator t=2024-01-10T18:14:11.727094362Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-01-10T18:14:11.727745877Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=651.045µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.731263386Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-10T18:14:11.73770352Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=6.442034ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.744747278Z level=info msg="Executing migration" id="create dashboard_provisioning v2" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.745817337Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=1.070079ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.751346493Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql grafana | logger=migrator t=2024-01-10T18:14:11.752144279Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=797.516µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.7570392Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" 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-01-10T18:14:11.757910618Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=870.958µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.762652257Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.76303138Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=371.713µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.767591468Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-01-10T18:14:11.768414504Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=823.026µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.772171006Z level=info msg="Executing migration" id="Add check_sum column" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-01-10T18:14:11.775375142Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.203596ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.779565917Z level=info msg="Executing migration" id="Add index for dashboard_title" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.780393594Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=827.377µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.785546707Z level=info msg="Executing migration" id="delete tags for deleted dashboards" policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql grafana | logger=migrator t=2024-01-10T18:14:11.785803509Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=257.182µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.789835812Z level=info msg="Executing migration" id="delete stars for deleted dashboards" 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-01-10T18:14:11.790098784Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=263.112µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.793716504Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.794552471Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=836.237µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.79792464Z level=info msg="Executing migration" id="Add isPublic for dashboard" policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql grafana | logger=migrator t=2024-01-10T18:14:11.800120978Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.195858ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.804136971Z level=info msg="Executing migration" id="create data_source table" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.805052879Z level=info msg="Migration successfully executed" id="create data_source table" duration=915.558µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.809606446Z level=info msg="Executing migration" id="add index data_source.account_id" policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-01-10T18:14:11.810759836Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.15233ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.814416096Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-01-10T18:14:11.815670717Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.252691ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.820579087Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.821937139Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.358031ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.832156163Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-01-10T18:14:11.833137472Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=984.519µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.836754632Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" 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-01-10T18:14:11.844870689Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=8.112867ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.850027602Z level=info msg="Executing migration" id="create data_source table v2" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.85101878Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=990.799µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.855153544Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql grafana | logger=migrator t=2024-01-10T18:14:11.856133042Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=979.128µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.861716579Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-10T18:14:11.862974799Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.25415ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.866855661Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.867395136Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=539.305µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.871004356Z level=info msg="Executing migration" id="Add column with_credentials" policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql grafana | logger=migrator t=2024-01-10T18:14:11.873464136Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.4394ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.877335958Z level=info msg="Executing migration" id="Add secure json data column" 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-01-10T18:14:11.879635447Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.298649ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.883366158Z level=info msg="Executing migration" id="Update data_source table charset" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.883400479Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=31.201µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.887124939Z level=info msg="Executing migration" id="Update initial version to 1" policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql grafana | logger=migrator t=2024-01-10T18:14:11.887344041Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=214.342µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.891772358Z level=info msg="Executing migration" id="Add read_only data column" 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-01-10T18:14:11.894812183Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.039205ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.899810545Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.900034467Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=217.251µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.903768088Z level=info msg="Executing migration" id="Update json_data with nulls" policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql grafana | logger=migrator t=2024-01-10T18:14:11.903963639Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=195.421µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.908061853Z level=info msg="Executing migration" id="Add uid column" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-10T18:14:11.913936212Z level=info msg="Migration successfully executed" id="Add uid column" duration=5.874879ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.918921333Z level=info msg="Executing migration" id="Update uid value" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.919101205Z level=info msg="Migration successfully executed" id="Update uid value" duration=180.622µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.921583165Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql grafana | logger=migrator t=2024-01-10T18:14:11.922610584Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.026819ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.925646019Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" 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-01-10T18:14:11.926492906Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=853.607µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.929640422Z level=info msg="Executing migration" id="create api_key table" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.930362488Z level=info msg="Migration successfully executed" id="create api_key table" duration=721.926µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.935279919Z level=info msg="Executing migration" id="add index api_key.account_id" policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2024-01-10T18:14:11.936082766Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=795.107µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.940637353Z level=info msg="Executing migration" id="add index api_key.key" 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-01-10T18:14:11.941866134Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.228561ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.945691555Z level=info msg="Executing migration" id="add index api_key.account_id_name" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.947041447Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.348122ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.955552157Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2024-01-10T18:14:11.956435375Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=884.478µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.961660218Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" 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-01-10T18:14:11.962787757Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.127389ms policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.967350395Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2024-01-10T18:14:11.968485284Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.134309ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.972266706Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" 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-01-10T18:14:11.982513661Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=10.247975ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.985578026Z level=info msg="Executing migration" id="create api_key table v2" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.98604403Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=467.044µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:11.990238775Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2024-01-10T18:14:11.990764009Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=525.184µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.994658262Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" 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-01-10T18:14:11.995456378Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=794.706µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:11.99927314Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.000105407Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=831.787µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.003889968Z level=info msg="Executing migration" id="copy api_key v1 to v2" policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2024-01-10T18:14:12.004203081Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=312.973µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.007152435Z level=info msg="Executing migration" id="Drop old table api_key_v1" 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-01-10T18:14:12.00769949Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=544.175µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.011537512Z level=info msg="Executing migration" id="Update api_key table charset" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.011565282Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=28.36µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.015740406Z level=info msg="Executing migration" id="Add expires to api_key table" policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2024-01-10T18:14:12.018199947Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.464861ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.021512144Z level=info msg="Executing migration" id="Add service account foreign key" 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-01-10T18:14:12.023899374Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.38703ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.038724077Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.039017119Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=292.872µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.043467846Z level=info msg="Executing migration" id="Add last_used_at to api_key table" policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2024-01-10T18:14:12.047270568Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=3.802362ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.050946488Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" 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-01-10T18:14:12.053361468Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.41445ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.056929798Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.057654554Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=724.656µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.063984496Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2024-01-10T18:14:12.064669292Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=680.286µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.070667472Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" 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-01-10T18:14:12.071814841Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.144239ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.076348649Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.077104825Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=755.156µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.084042542Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2024-01-10T18:14:12.085232422Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.18928ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.089708339Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" 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-01-10T18:14:12.09099456Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.285621ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.095559428Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.095674859Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=104.171µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.100074815Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2024-01-10T18:14:12.100099535Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=25.3µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.104798684Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-01-10T18:14:12.107467686Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=2.666212ms grafana | logger=migrator t=2024-01-10T18:14:12.11152986Z level=info msg="Executing migration" id="Add encrypted dashboard json column" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-01-10T18:14:12.114199952Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.669762ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.118156465Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.118215786Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=59.91µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.122599912Z level=info msg="Executing migration" id="create quota table v1" policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2024-01-10T18:14:12.123215677Z level=info msg="Migration successfully executed" id="create quota table v1" duration=615.495µs 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 | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.127585083Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.128913284Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.327961ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.134130697Z level=info msg="Executing migration" id="Update quota table charset" policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2024-01-10T18:14:12.134162657Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=32.85µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.138599364Z level=info msg="Executing migration" id="create plugin_setting table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) grafana | logger=migrator t=2024-01-10T18:14:12.13933321Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=710.716µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.144865786Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.146193457Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.361931ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.151137848Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql grafana | logger=migrator t=2024-01-10T18:14:12.153916301Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.778193ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.157629462Z level=info msg="Executing migration" id="Update plugin_setting table charset" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) grafana | logger=migrator t=2024-01-10T18:14:12.157650372Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=21.96µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.161868157Z level=info msg="Executing migration" id="create session table" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.162614493Z level=info msg="Migration successfully executed" id="create session table" duration=745.966µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.165978681Z level=info msg="Executing migration" id="Drop old table playlist table" policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2024-01-10T18:14:12.166055781Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=73.96µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.171068723Z level=info msg="Executing migration" id="Drop old table playlist_item table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-01-10T18:14:12.171149244Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=80.761µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.17548116Z level=info msg="Executing migration" id="create playlist table v2" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.176460798Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=979.388µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.18040148Z level=info msg="Executing migration" id="create playlist item table v2" policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2024-01-10T18:14:12.181387188Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=985.618µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.185832485Z level=info msg="Executing migration" id="Update playlist table charset" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) grafana | logger=migrator t=2024-01-10T18:14:12.185858276Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=26.671µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.189373435Z level=info msg="Executing migration" id="Update playlist_item table charset" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.189393285Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=20.74µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.195925129Z level=info msg="Executing migration" id="Add playlist column created_at" policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql grafana | logger=migrator t=2024-01-10T18:14:12.200818139Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.89254ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.204101257Z level=info msg="Executing migration" id="Add playlist column updated_at" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) grafana | logger=migrator t=2024-01-10T18:14:12.207167392Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.060225ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.212478486Z level=info msg="Executing migration" id="drop preferences table v2" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.212555897Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=77.381µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.217535968Z level=info msg="Executing migration" id="drop preferences table v3" policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql grafana | logger=migrator t=2024-01-10T18:14:12.217623098Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=83.1µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.222402648Z level=info msg="Executing migration" id="create preferences table v3" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-01-10T18:14:12.223509417Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.106199ms grafana | logger=migrator t=2024-01-10T18:14:12.229280525Z level=info msg="Executing migration" id="Update preferences table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.229313476Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=33.52µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.233043826Z level=info msg="Executing migration" id="Add column team_id in preferences" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.237348582Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=4.305546ms policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2024-01-10T18:14:12.242939468Z level=info msg="Executing migration" id="Update team_id column values in preferences" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.243082009Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=142.801µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) grafana | logger=migrator t=2024-01-10T18:14:12.246365937Z level=info msg="Executing migration" id="Add column week_start in preferences" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.249469012Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.078135ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.252942371Z level=info msg="Executing migration" id="Add column preferences.json_data" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.256012397Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.069466ms policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2024-01-10T18:14:12.260727556Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.260791836Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=64.8µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) grafana | logger=migrator t=2024-01-10T18:14:12.265052681Z level=info msg="Executing migration" id="Add preferences index org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.265938869Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=886.108µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.270405416Z level=info msg="Executing migration" id="Add preferences index user_id" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.271723627Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.317791ms policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2024-01-10T18:14:12.276577167Z level=info msg="Executing migration" id="create alert table v1" 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 | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.27811387Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.536093ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.282363275Z level=info msg="Executing migration" id="add index alert org_id & id " policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.283277622Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=914.147µs policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2024-01-10T18:14:12.287925591Z level=info msg="Executing migration" id="add index alert state" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.289190341Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.26405ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) grafana | logger=migrator t=2024-01-10T18:14:12.294712887Z level=info msg="Executing migration" id="add index alert dashboard_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.296108849Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.395922ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.300558935Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.30114167Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=582.645µs policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2024-01-10T18:14:12.305789589Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.306665756Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=875.857µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) grafana | logger=migrator t=2024-01-10T18:14:12.311325915Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.312210052Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=883.707µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.316041334Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.330184581Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=14.142907ms policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2024-01-10T18:14:12.337162309Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.337606932Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=444.433µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-01-10T18:14:12.351351046Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.352589307Z 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=1.241691ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.361771673Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.362080995Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=309.102µs policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2024-01-10T18:14:12.367156497Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.367910543Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=753.306µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) grafana | logger=migrator t=2024-01-10T18:14:12.374932102Z level=info msg="Executing migration" id="create alert_notification table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.376200962Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.26809ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.382615685Z level=info msg="Executing migration" id="Add column is_default" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.386145235Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.52909ms policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2024-01-10T18:14:12.389622613Z level=info msg="Executing migration" id="Add column frequency" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.393071782Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.448529ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) grafana | logger=migrator t=2024-01-10T18:14:12.396534781Z level=info msg="Executing migration" id="Add column send_reminder" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.400436513Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.904063ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.40976089Z level=info msg="Executing migration" id="Add column disable_resolve_message" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.429423923Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=19.660363ms policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2024-01-10T18:14:12.435042589Z level=info msg="Executing migration" id="add index alert_notification org_id & name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.435802956Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=759.927µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-01-10T18:14:12.439132043Z level=info msg="Executing migration" id="Update alert table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.439154433Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=22.71µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.442783853Z level=info msg="Executing migration" id="Update alert_notification table charset" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.442835534Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=53.561µs policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2024-01-10T18:14:12.451457655Z level=info msg="Executing migration" id="create notification_journal table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.453064589Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.605404ms grafana | logger=migrator t=2024-01-10T18:14:12.458671325Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-01-10T18:14:12.460144847Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.473202ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.463951759Z level=info msg="Executing migration" id="drop alert_notification_journal" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.46524657Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.29496ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.472120587Z level=info msg="Executing migration" id="create alert_notification_state table v1" policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2024-01-10T18:14:12.472850573Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=731.277µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.477599982Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) grafana | logger=migrator t=2024-01-10T18:14:12.478477019Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=874.777µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.485348906Z level=info msg="Executing migration" id="Add for to alert table" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.489673972Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=4.324076ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.496558599Z level=info msg="Executing migration" id="Add column uid in alert_notification" policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.50035895Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.800271ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-01-10T18:14:12.506169609Z level=info msg="Executing migration" id="Update uid column values in alert_notification" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.506507411Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=341.893µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.512065447Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.513779452Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.713285ms policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2024-01-10T18:14:12.52203371Z level=info msg="Executing migration" id="Remove unique index org_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.522903757Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=869.477µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) grafana | logger=migrator t=2024-01-10T18:14:12.526820089Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.53287071Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=6.049391ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.536764622Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.536817472Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=53.05µs policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2024-01-10T18:14:12.542733941Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.543479858Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=744.327µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) grafana | logger=migrator t=2024-01-10T18:14:12.548250887Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.54977758Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.525883ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.553585381Z level=info msg="Executing migration" id="Drop old annotation table v4" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.553670372Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=84.651µs policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2024-01-10T18:14:12.558918275Z level=info msg="Executing migration" id="create annotation table v5" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.559800193Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=880.338µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) grafana | logger=migrator t=2024-01-10T18:14:12.567717018Z level=info msg="Executing migration" id="add index annotation 0 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.569010569Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.302261ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.572843451Z level=info msg="Executing migration" id="add index annotation 1 v3" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.573481496Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=638.035µs policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2024-01-10T18:14:12.576275239Z level=info msg="Executing migration" id="add index annotation 2 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.577124466Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=848.337µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-01-10T18:14:12.584959541Z level=info msg="Executing migration" id="add index annotation 3 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.586671675Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.709334ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.590281765Z level=info msg="Executing migration" id="add index annotation 4 v3" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.591790488Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.508633ms policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2024-01-10T18:14:12.598024429Z level=info msg="Executing migration" id="Update annotation table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.5980546Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=32.071µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-01-10T18:14:12.604488903Z level=info msg="Executing migration" id="Add column region_id to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.608577577Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.088224ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.615127381Z level=info msg="Executing migration" id="Drop category_id index" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.616664184Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=1.539043ms policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2024-01-10T18:14:12.620070452Z level=info msg="Executing migration" id="Add column tags to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.625516167Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=5.446425ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) grafana | logger=migrator t=2024-01-10T18:14:12.628584572Z level=info msg="Executing migration" id="Create annotation_tag table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.629171217Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=588.865µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.633582214Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.634540792Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=958.848µs policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-01-10T18:14:12.637344325Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.638130752Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=786.427µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) grafana | logger=migrator t=2024-01-10T18:14:12.641226627Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.655937809Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=14.709742ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.660476877Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.661131492Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=654.475µs policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2024-01-10T18:14:12.667467095Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.668574494Z 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.11149ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-01-10T18:14:12.672389595Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.672590377Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=199.172µs policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.676106146Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2024-01-10T18:14:12.67650924Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=402.874µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.680640314Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) grafana | logger=migrator t=2024-01-10T18:14:12.680825485Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=185.231µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.684425655Z level=info msg="Executing migration" id="Add created time to annotation table" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.688542019Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.115994ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.691245801Z level=info msg="Executing migration" id="Add updated time to annotation table" policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-01-10T18:14:12.695242124Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=3.995953ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.699652471Z level=info msg="Executing migration" id="Add index for created in annotation table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) grafana | logger=migrator t=2024-01-10T18:14:12.700513188Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=860.867µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.703247951Z level=info msg="Executing migration" id="Add index for updated in annotation table" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.704121078Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=872.677µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.70671925Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-01-10T18:14:12.706933471Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=213.951µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.713370595Z level=info msg="Executing migration" id="Add epoch_end column" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-01-10T18:14:12.717402838Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.032143ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.720400133Z level=info msg="Executing migration" id="Add index for epoch_end" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.72126445Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=863.597µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.725885248Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-01-10T18:14:12.7260495Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=163.592µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.728931004Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) grafana | logger=migrator t=2024-01-10T18:14:12.729284817Z level=info msg="Migration successfully executed" id="Move region to single row" duration=355.583µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.733949585Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.735213906Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.266141ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.739427711Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-01-10T18:14:12.740719601Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.291941ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.744292291Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-01-10T18:14:12.745161938Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=869.237µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.749848717Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.750707694Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=858.207µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.755643655Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2024-01-10T18:14:12.756579393Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=934.937µs grafana | logger=migrator t=2024-01-10T18:14:12.766837028Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-01-10T18:14:12.767708695Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=871.048µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.772404924Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-01-10T18:14:12.772511915Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=107.05µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.776655449Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.777635567Z level=info msg="Migration successfully executed" id="create test_data table" duration=980.958µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.78402479Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-01-10T18:14:12.784930018Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=904.588µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.7900313Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-01-10T18:14:12.790879537Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=847.427µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.807523214Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.808937446Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.413492ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.814537633Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-01-10T18:14:12.814796425Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=263.502µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.818822338Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-01-10T18:14:12.81911179Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=287.362µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.821343729Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.821391399Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=48.34µs policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.824756567Z level=info msg="Executing migration" id="create team table" policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-01-10T18:14:12.825280331Z level=info msg="Migration successfully executed" id="create team table" duration=520.664µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.83232018Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.833844892Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.525342ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.837993727Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-01-10T18:14:12.839501929Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.508242ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.845978983Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2024-01-10T18:14:12.852244135Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=6.260172ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.85764641Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.857820401Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=173.761µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.861544392Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-01-10T18:14:12.862841843Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.297491ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.868645691Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-01-10T18:14:12.86977926Z level=info msg="Migration successfully executed" id="create team member table" duration=1.132889ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.875039504Z level=info msg="Executing migration" id="add index team_member.org_id" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.876553166Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.513362ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.880724221Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-01-10T18:14:12.882393935Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.669984ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.885785823Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-01-10T18:14:12.886756701Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=970.788µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.894635556Z level=info msg="Executing migration" id="Add column email to team table" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.903208637Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=8.568571ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.906755926Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-01-10T18:14:12.911592806Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.83539ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.915515989Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-01-10T18:14:12.920359059Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.84351ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.927545049Z level=info msg="Executing migration" id="create dashboard acl table" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.928536747Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=992.158µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.93371918Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-01-10T18:14:12.935397244Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.677304ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.938641741Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-01-10T18:14:12.93975913Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.116089ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.946409505Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.947448253Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.038388ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.95309042Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-01-10T18:14:12.955343269Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=2.253139ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.959699265Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-01-10T18:14:12.960679423Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=979.498µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.969320325Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.970329563Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.009098ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.974498708Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-01-10T18:14:12.976071321Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.571564ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.980358636Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-01-10T18:14:12.981288914Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=931.248µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:12.989863665Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.990369599Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=505.324µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:12.994442253Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2024-01-10T18:14:12.995211319Z level=info msg="Migration successfully executed" id="create tag table" duration=769.257µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.001684352Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2024-01-10T18:14:13.002670401Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=985.329µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.008204826Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.009401945Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.200259ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.013820052Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2024-01-10T18:14:13.015389514Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.568142ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.019925082Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.021293313Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.367931ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.02462276Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-01-10T18:14:13.048323613Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=23.702243ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.05412493Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-10T18:14:13.054642685Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=518.685µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.060549932Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.061553761Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=991.978µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.065407652Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-01-10T18:14:13.065952197Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=543.605µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.06877237Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-10T18:14:13.069557706Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=785.596µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.075162692Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.075979388Z level=info msg="Migration successfully executed" id="create user auth table" duration=844.757µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.080749347Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-01-10T18:14:13.081675675Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=925.698µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.086413693Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-10T18:14:13.086479324Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=66.481µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.093460281Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.098365801Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=4.90505ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.101697528Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-01-10T18:14:13.107670396Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.972198ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.111005894Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-10T18:14:13.116075445Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.068461ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.123965899Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.132601449Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=8.63351ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.138104184Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-01-10T18:14:13.13874387Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=639.586µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.142908863Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-10T18:14:13.147879274Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=4.969931ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.152180559Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.152997746Z level=info msg="Migration successfully executed" id="create server_lock table" duration=816.257µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.158377009Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-01-10T18:14:13.159514009Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.13676ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.162280351Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-10T18:14:13.163210689Z level=info msg="Migration successfully executed" id="create user auth token table" duration=971.828µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.166485185Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.167443223Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=957.888µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.174713173Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-01-10T18:14:13.17565018Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=936.347µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.212992854Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-10T18:14:13.215179382Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=2.186138ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.220949728Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.226197181Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.243903ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.229525258Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-01-10T18:14:13.230476816Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=950.668µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.234983693Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-10T18:14:13.235966701Z level=info msg="Migration successfully executed" id="create cache_data table" duration=981.658µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.239874062Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.242388943Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=2.515091ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.248966476Z level=info msg="Executing migration" id="create short_url table v1" 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 grafana | logger=migrator t=2024-01-10T18:14:13.249777563Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=811.117µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.255042606Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.256160625Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.120709ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.260259058Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-01-10T18:14:13.260326499Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=67.501µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.266382098Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-10T18:14:13.2665757Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=182.932µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.271289428Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.272074075Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=784.567µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.276701592Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-01-10T18:14:13.27766373Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=961.658µs grafana | logger=migrator t=2024-01-10T18:14:13.281609272Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-01-10T18:14:13.282656791Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.047029ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.287844883Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-10T18:14:13.287910344Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=65.581µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.293989163Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.295960149Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.970576ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.300499806Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-01-10T18:14:13.301435244Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=934.778µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.30457985Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-01-10T18:14:13.305536127Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=955.888µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.310330036Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.311361905Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.034429ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.316163074Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-01-10T18:14:13.324493192Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=8.330137ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.327709068Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-01-10T18:14:13.328857917Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.148609ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.339473634Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.339708706Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=240.622µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.353315437Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-01-10T18:14:13.355863567Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=2.554201ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.360313773Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-01-10T18:14:13.362043837Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.732194ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.370068123Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.371294863Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.2262ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.374810511Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-01-10T18:14:13.374881052Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=68.491µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.380888471Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL grafana | logger=migrator t=2024-01-10T18:14:13.382162661Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.27377ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.387284063Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.388175771Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=890.728µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.392492256Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-01-10T18:14:13.393721816Z 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.22711ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.400221249Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num grafana | logger=migrator t=2024-01-10T18:14:13.401223947Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.001618ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.413426906Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.424636418Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=11.212782ms policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.430205473Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.431605744Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.400071ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.531658579Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-01-10T18:14:13.535274499Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=3.615839ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.538939468Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-01-10T18:14:13.576108731Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=37.170333ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.601391637Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.643184578Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=41.792421ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.647642984Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2024-01-10T18:14:13.648430101Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=789.577µs policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-01-10T18:14:13.655321987Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.657279783Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.960806ms policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-01-10T18:14:13.664076418Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.669762124Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.685586ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.676165937Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.677900721Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.738564ms policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-01-10T18:14:13.686644012Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.687742621Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.101739ms policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-01-10T18:14:13.693133975Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-01-10T18:14:13.694207454Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.073509ms policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-01-10T18:14:13.699474117Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-01-10T18:14:13.700783317Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.30806ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.705707227Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.705783568Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=77.101µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.709182936Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-01-10T18:14:13.715488327Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=6.305021ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.718747314Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-01-10T18:14:13.724836313Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.088519ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.731082924Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.737079023Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.995999ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.741001045Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-01-10T18:14:13.741942222Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=940.487µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.746031426Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) grafana | logger=migrator t=2024-01-10T18:14:13.747483868Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.450912ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.756547532Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.763949342Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=7.413761ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.769982691Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-01-10T18:14:13.779799051Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=9.81806ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.785294156Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-01-10T18:14:13.786103712Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=809.046µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.791452546Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.797534725Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=6.082269ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.802627767Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-01-10T18:14:13.808825467Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.19924ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.813867838Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-01-10T18:14:13.813938649Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=71.161µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.821007797Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.822177596Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.169809ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.825941177Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-01-10T18:14:13.827978133Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" duration=2.035656ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.833113995Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-01-10T18:14:13.834323365Z 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.20914ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.840488055Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.840611706Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=129.191µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.847001288Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-01-10T18:14:13.85579595Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=8.794542ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.863070939Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) grafana | logger=migrator t=2024-01-10T18:14:13.871382827Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=8.320018ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.88163581Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.888717328Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=7.087078ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.893406346Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-01-10T18:14:13.897810052Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=4.403666ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.905214823Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) grafana | logger=migrator t=2024-01-10T18:14:13.914394387Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=9.184305ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.920230395Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.920305695Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=75.38µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.923621663Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-01-10T18:14:13.924368519Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=746.007µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.929326789Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-01-10T18:14:13.939646963Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=10.321004ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.945767363Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.945824094Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=57.291µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:13.979472638Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-01-10T18:14:13.989239817Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=9.761759ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.994124737Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-01-10T18:14:13.994924644Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=795.767µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:13.999561501Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.008311237Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=8.751326ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.012379763Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-01-10T18:14:14.012892219Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=512.616µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.018100439Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-01-10T18:14:14.01909454Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=993.641µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.028809161Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.037611232Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=8.802661ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.043752192Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-01-10T18:14:14.044474871Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=722.859µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.049440468Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-01-10T18:14:14.051704533Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=2.264906ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.059813316Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.060565195Z level=info msg="Migration successfully executed" id="create alert_image table" duration=751.519µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.067812598Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-01-10T18:14:14.069390186Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.576988ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.074584265Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2024-01-10T18:14:14.074685136Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=102.311µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.079711024Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.080595064Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=884.93µs policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.087461063Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.089120032Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.661449ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.092977586Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2024-01-10T18:14:14.093715084Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.099591541Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2024-01-10T18:14:14.100484472Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=895.661µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.105799773Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.107425951Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.625769ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.112267257Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2024-01-10T18:14:14.121049588Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=8.782521ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.125657581Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.126245068Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=587.417µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.133261089Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2024-01-10T18:14:14.135010529Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.74901ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.138805373Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-01-10T18:14:14.139723133Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=918.71µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.145647702Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.147619284Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.976012ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.155632817Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2024-01-10T18:14:14.157373737Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.74023ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.162201893Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.162224343Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=22.62µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.165851395Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-01-10T18:14:14.165915606Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=75.311µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.170857313Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2024-01-10T18:14:14.171288938Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=431.255µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.174774838Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.176150054Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.378806ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.179688115Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2024-01-10T18:14:14.180421444Z level=info msg="Migration successfully executed" id="create secrets table" duration=733.488µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.184463Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2024-01-10T18:14:14.230508712Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=46.045342ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.23385659Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.238813988Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=4.957308ms policy-db-migrator | msg grafana | logger=migrator t=2024-01-10T18:14:14.241712541Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2024-01-10T18:14:14.241812132Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=98.471µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.244897058Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2024-01-10T18:14:14.28838399Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=43.487012ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.293362678Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2024-01-10T18:14:14.340158458Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=46.79766ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.381620437Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.382892062Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=1.278425ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.39137862Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-01-10T18:14:14.394966961Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=3.587661ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.40527091Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-01-10T18:14:14.405723215Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=451.935µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.414533357Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.416196096Z level=info msg="Migration successfully executed" id="create permission table" duration=1.668899ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.426546746Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-01-10T18:14:14.428156134Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.609378ms policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.439725048Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.440810701Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.085703ms policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=migrator t=2024-01-10T18:14:14.447770971Z level=info msg="Executing migration" id="create role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.449038266Z level=info msg="Migration successfully executed" id="create role table" duration=1.267075ms policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-01-10T18:14:14.460416647Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.470782327Z level=info msg="Migration successfully executed" id="add column display_name" duration=10.36178ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.480449238Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.486276406Z level=info msg="Migration successfully executed" id="add column group_name" duration=5.827488ms policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) grafana | logger=migrator t=2024-01-10T18:14:14.504667908Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.505625879Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=960.301µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.509502054Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.510298053Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=796.049µs policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2024-01-10T18:14:14.512668891Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.513573001Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=903.34µs policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-01-10T18:14:14.516825539Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.517687989Z level=info msg="Migration successfully executed" id="create team role table" duration=861.91µs policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.522212411Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.52390489Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.691489ms policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-01-10T18:14:14.528355042Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.530345924Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.985852ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.533859825Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.535053699Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.193904ms policy-db-migrator | TRUNCATE TABLE sequence grafana | logger=migrator t=2024-01-10T18:14:14.542837699Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.544073493Z level=info msg="Migration successfully executed" id="create user role table" duration=1.235404ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.547689835Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.549274293Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.584188ms policy-db-migrator | > upgrade 0100-pdpstatistics.sql grafana | logger=migrator t=2024-01-10T18:14:14.552812824Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.556352145Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=3.538961ms policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-01-10T18:14:14.563022112Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.565050015Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=2.025423ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.572614803Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.573497563Z level=info msg="Migration successfully executed" id="create builtin role table" duration=882.06µs policy-db-migrator | DROP TABLE pdpstatistics grafana | logger=migrator t=2024-01-10T18:14:14.578844565Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.580615515Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.77758ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.584781563Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.585950857Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.166574ms policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-01-10T18:14:14.590433919Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.598516062Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=8.081633ms policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats grafana | logger=migrator t=2024-01-10T18:14:14.603765503Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.604902296Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.134163ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.608996763Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.610265648Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.268605ms policy-db-migrator | > upgrade 0120-statistics_sequence.sql grafana | logger=migrator t=2024-01-10T18:14:14.614656268Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.615758231Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.102213ms policy-db-migrator | DROP TABLE statistics_sequence grafana | logger=migrator t=2024-01-10T18:14:14.620661508Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-10T18:14:14.622818073Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=2.154825ms policy-db-migrator | grafana | logger=migrator t=2024-01-10T18:14:14.629188126Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | policyadmin: OK: upgrade (1300) grafana | logger=migrator t=2024-01-10T18:14:14.630183738Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=994.252µs policy-db-migrator | name version grafana | logger=migrator t=2024-01-10T18:14:14.636655612Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | policyadmin 1300 grafana | logger=migrator t=2024-01-10T18:14:14.637910847Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.255855ms policy-db-migrator | ID script operation from_version to_version tag success atTime grafana | logger=migrator t=2024-01-10T18:14:14.643808675Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:19 grafana | logger=migrator t=2024-01-10T18:14:14.651802248Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=7.992962ms policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:19 grafana | logger=migrator t=2024-01-10T18:14:14.656125107Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:19 grafana | logger=migrator t=2024-01-10T18:14:14.66416233Z level=info msg="Migration successfully executed" id="permission kind migration" duration=8.036663ms policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:19 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:20 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:20 grafana | logger=migrator t=2024-01-10T18:14:14.667841902Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:20 grafana | logger=migrator t=2024-01-10T18:14:14.673465728Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=5.622685ms policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:20 grafana | logger=migrator t=2024-01-10T18:14:14.678626947Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:20 grafana | logger=migrator t=2024-01-10T18:14:14.686519788Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.892291ms policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:20 grafana | logger=migrator t=2024-01-10T18:14:14.690239391Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:20 grafana | logger=migrator t=2024-01-10T18:14:14.691380775Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.141294ms policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:20 grafana | logger=migrator t=2024-01-10T18:14:14.695772135Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:20 grafana | logger=migrator t=2024-01-10T18:14:14.696762617Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=990.072µs policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:20 grafana | logger=migrator t=2024-01-10T18:14:14.702378631Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:20 grafana | logger=migrator t=2024-01-10T18:14:14.704258733Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.879872ms policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:20 grafana | logger=migrator t=2024-01-10T18:14:14.70833051Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:20 grafana | logger=migrator t=2024-01-10T18:14:14.708620014Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=288.793µs policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:20 grafana | logger=migrator t=2024-01-10T18:14:14.712191565Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:20 grafana | logger=migrator t=2024-01-10T18:14:14.712240085Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=49.15µs policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:20 grafana | logger=migrator t=2024-01-10T18:14:14.751332377Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:20 grafana | logger=migrator t=2024-01-10T18:14:14.752238717Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=905.99µs policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:20 grafana | logger=migrator t=2024-01-10T18:14:14.75674845Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:20 grafana | logger=migrator t=2024-01-10T18:14:14.757808882Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.061502ms policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:20 grafana | logger=migrator t=2024-01-10T18:14:14.762289104Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:20 grafana | logger=migrator t=2024-01-10T18:14:14.763074573Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=786.929µs policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:20 grafana | logger=migrator t=2024-01-10T18:14:14.767389402Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:20 grafana | logger=migrator t=2024-01-10T18:14:14.767703166Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=311.154µs policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:20 grafana | logger=migrator t=2024-01-10T18:14:14.773416002Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:21 grafana | logger=migrator t=2024-01-10T18:14:14.774166061Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=753.818µs policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:21 grafana | logger=migrator t=2024-01-10T18:14:14.778299328Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:21 grafana | logger=migrator t=2024-01-10T18:14:14.779685494Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.385286ms policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:21 grafana | logger=migrator t=2024-01-10T18:14:14.784130116Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:21 grafana | logger=migrator t=2024-01-10T18:14:14.78624285Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=2.112504ms policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:21 grafana | logger=migrator t=2024-01-10T18:14:14.790284687Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:21 grafana | logger=migrator t=2024-01-10T18:14:14.798456821Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.173824ms policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:21 grafana | logger=migrator t=2024-01-10T18:14:14.803364048Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:21 grafana | logger=migrator t=2024-01-10T18:14:14.80353759Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=173.432µs policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:21 grafana | logger=migrator t=2024-01-10T18:14:14.807693318Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:21 grafana | logger=migrator t=2024-01-10T18:14:14.808668999Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=974.971µs policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:21 grafana | logger=migrator t=2024-01-10T18:14:14.812545464Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2024-01-10T18:14:14.814575827Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=2.027743ms grafana | logger=migrator t=2024-01-10T18:14:14.821115893Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:21 grafana | logger=migrator t=2024-01-10T18:14:14.823017525Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.901142ms policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:21 grafana | logger=migrator t=2024-01-10T18:14:14.82692538Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:21 grafana | logger=migrator t=2024-01-10T18:14:14.837402631Z level=info msg="Migration successfully executed" id="add correlation config column" duration=10.478771ms policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:21 grafana | logger=migrator t=2024-01-10T18:14:14.841161564Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:21 grafana | logger=migrator t=2024-01-10T18:14:14.842010144Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=846.47µs policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:21 grafana | logger=migrator t=2024-01-10T18:14:14.846242973Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:21 grafana | logger=migrator t=2024-01-10T18:14:14.847346826Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.103593ms policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:21 grafana | logger=migrator t=2024-01-10T18:14:14.850859686Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:21 grafana | logger=migrator t=2024-01-10T18:14:14.882153188Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=31.293352ms policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:21 grafana | logger=migrator t=2024-01-10T18:14:14.886880532Z level=info msg="Executing migration" id="create correlation v2" policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:21 grafana | logger=migrator t=2024-01-10T18:14:14.887924814Z level=info msg="Migration successfully executed" id="create correlation v2" duration=1.042062ms policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:21 grafana | logger=migrator t=2024-01-10T18:14:14.891935531Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:22 grafana | logger=migrator t=2024-01-10T18:14:14.893259856Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.324525ms policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:22 grafana | logger=migrator t=2024-01-10T18:14:14.897212322Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:22 grafana | logger=migrator t=2024-01-10T18:14:14.898599148Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.386796ms policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:22 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:22 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:22 grafana | logger=migrator t=2024-01-10T18:14:14.904077351Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:22 grafana | logger=migrator t=2024-01-10T18:14:14.906133605Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=2.054144ms policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:22 grafana | logger=migrator t=2024-01-10T18:14:14.910264502Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:22 grafana | logger=migrator t=2024-01-10T18:14:14.910876879Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=595.937µs policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:22 grafana | logger=migrator t=2024-01-10T18:14:14.915101168Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:22 grafana | logger=migrator t=2024-01-10T18:14:14.91607534Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=974.251µs policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:22 grafana | logger=migrator t=2024-01-10T18:14:14.920694843Z level=info msg="Executing migration" id="add provisioning column" policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:22 grafana | logger=migrator t=2024-01-10T18:14:14.932707112Z level=info msg="Migration successfully executed" id="add provisioning column" duration=12.016009ms policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:22 grafana | logger=migrator t=2024-01-10T18:14:14.936301783Z level=info msg="Executing migration" id="create entity_events table" policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:22 grafana | logger=migrator t=2024-01-10T18:14:14.936932711Z level=info msg="Migration successfully executed" id="create entity_events table" duration=630.648µs policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:22 grafana | logger=migrator t=2024-01-10T18:14:14.94203417Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:22 grafana | logger=migrator t=2024-01-10T18:14:14.943051481Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.016981ms policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:22 grafana | logger=migrator t=2024-01-10T18:14:14.9472839Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:22 grafana | logger=migrator t=2024-01-10T18:14:14.947749085Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:22 grafana | logger=migrator t=2024-01-10T18:14:14.952030665Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:22 grafana | logger=migrator t=2024-01-10T18:14:14.952826234Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:22 grafana | logger=migrator t=2024-01-10T18:14:14.957220405Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:22 grafana | logger=migrator t=2024-01-10T18:14:14.958577441Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.355905ms policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:22 grafana | logger=migrator t=2024-01-10T18:14:14.963241334Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:23 grafana | logger=migrator t=2024-01-10T18:14:14.964246576Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.002622ms policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:23 grafana | logger=migrator t=2024-01-10T18:14:14.967840158Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:23 grafana | logger=migrator t=2024-01-10T18:14:14.969371485Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.530597ms policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:23 grafana | logger=migrator t=2024-01-10T18:14:14.974606156Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:23 grafana | logger=migrator t=2024-01-10T18:14:14.976568358Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.961582ms policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:23 grafana | logger=migrator t=2024-01-10T18:14:14.980486593Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:23 grafana | logger=migrator t=2024-01-10T18:14:14.981535455Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.051222ms policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:23 grafana | logger=migrator t=2024-01-10T18:14:14.985701774Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:23 grafana | logger=migrator t=2024-01-10T18:14:14.987230351Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.527767ms policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:23 grafana | logger=migrator t=2024-01-10T18:14:14.993093119Z level=info msg="Executing migration" id="Drop public config table" policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:23 grafana | logger=migrator t=2024-01-10T18:14:14.994357404Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.264905ms policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:23 grafana | logger=migrator t=2024-01-10T18:14:14.998289289Z level=info msg="Executing migration" id="Recreate dashboard public config v2" policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:23 grafana | logger=migrator t=2024-01-10T18:14:14.999404892Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.115503ms policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:23 grafana | logger=migrator t=2024-01-10T18:14:15.003743934Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:23 grafana | logger=migrator t=2024-01-10T18:14:15.004932343Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.187849ms policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:23 grafana | logger=migrator t=2024-01-10T18:14:15.008351722Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:23 grafana | logger=migrator t=2024-01-10T18:14:15.009593813Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.242491ms policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:23 grafana | logger=migrator t=2024-01-10T18:14:15.012925491Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:24 grafana | logger=migrator t=2024-01-10T18:14:15.014337543Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.412602ms policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1001241814190800u 1 2024-01-10 18:14:24 grafana | logger=migrator t=2024-01-10T18:14:15.018868441Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1001241814190900u 1 2024-01-10 18:14:24 grafana | logger=migrator t=2024-01-10T18:14:15.050525509Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=31.657228ms policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1001241814190900u 1 2024-01-10 18:14:24 grafana | logger=migrator t=2024-01-10T18:14:15.05411556Z level=info msg="Executing migration" id="add annotations_enabled column" policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1001241814190900u 1 2024-01-10 18:14:24 grafana | logger=migrator t=2024-01-10T18:14:15.062346989Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=8.229929ms policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1001241814190900u 1 2024-01-10 18:14:24 grafana | logger=migrator t=2024-01-10T18:14:15.065765328Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1001241814190900u 1 2024-01-10 18:14:24 grafana | logger=migrator t=2024-01-10T18:14:15.072705487Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=6.939689ms policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1001241814190900u 1 2024-01-10 18:14:24 grafana | logger=migrator t=2024-01-10T18:14:15.077162315Z level=info msg="Executing migration" id="delete orphaned public dashboards" policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1001241814190900u 1 2024-01-10 18:14:24 grafana | logger=migrator t=2024-01-10T18:14:15.077553938Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=394.513µs policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1001241814190900u 1 2024-01-10 18:14:24 grafana | logger=migrator t=2024-01-10T18:14:15.081150558Z level=info msg="Executing migration" id="add share column" policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1001241814190900u 1 2024-01-10 18:14:24 grafana | logger=migrator t=2024-01-10T18:14:15.092188132Z level=info msg="Migration successfully executed" id="add share column" duration=11.041134ms policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1001241814190900u 1 2024-01-10 18:14:24 grafana | logger=migrator t=2024-01-10T18:14:15.095691992Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1001241814190900u 1 2024-01-10 18:14:24 grafana | logger=migrator t=2024-01-10T18:14:15.095966304Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=274.042µs policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1001241814190900u 1 2024-01-10 18:14:24 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1001241814190900u 1 2024-01-10 18:14:24 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1001241814191000u 1 2024-01-10 18:14:24 grafana | logger=migrator t=2024-01-10T18:14:15.124466265Z level=info msg="Executing migration" id="create file table" policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1001241814191000u 1 2024-01-10 18:14:24 grafana | logger=migrator t=2024-01-10T18:14:15.12621643Z level=info msg="Migration successfully executed" id="create file table" duration=1.749235ms policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1001241814191000u 1 2024-01-10 18:14:24 grafana | logger=migrator t=2024-01-10T18:14:15.131845268Z level=info msg="Executing migration" id="file table idx: path natural pk" policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1001241814191000u 1 2024-01-10 18:14:24 grafana | logger=migrator t=2024-01-10T18:14:15.133745604Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.899847ms policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1001241814191000u 1 2024-01-10 18:14:25 grafana | logger=migrator t=2024-01-10T18:14:15.138633585Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1001241814191000u 1 2024-01-10 18:14:25 grafana | logger=migrator t=2024-01-10T18:14:15.139792125Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.16192ms grafana | logger=migrator t=2024-01-10T18:14:15.143415065Z level=info msg="Executing migration" id="create file_meta table" policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1001241814191000u 1 2024-01-10 18:14:25 grafana | logger=migrator t=2024-01-10T18:14:15.144238762Z level=info msg="Migration successfully executed" id="create file_meta table" duration=823.567µs policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1001241814191000u 1 2024-01-10 18:14:25 grafana | logger=migrator t=2024-01-10T18:14:15.14873507Z level=info msg="Executing migration" id="file table idx: path key" policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1001241814191000u 1 2024-01-10 18:14:25 grafana | logger=migrator t=2024-01-10T18:14:15.150109302Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.375512ms policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1001241814191100u 1 2024-01-10 18:14:25 grafana | logger=migrator t=2024-01-10T18:14:15.155661989Z level=info msg="Executing migration" id="set path collation in file table" policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1001241814191200u 1 2024-01-10 18:14:25 grafana | logger=migrator t=2024-01-10T18:14:15.15574594Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=84.481µs policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1001241814191200u 1 2024-01-10 18:14:25 grafana | logger=migrator t=2024-01-10T18:14:15.15935117Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1001241814191200u 1 2024-01-10 18:14:25 grafana | logger=migrator t=2024-01-10T18:14:15.159470931Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=119.591µs policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1001241814191200u 1 2024-01-10 18:14:25 grafana | logger=migrator t=2024-01-10T18:14:15.164449933Z level=info msg="Executing migration" id="managed permissions migration" policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 1001241814191300u 1 2024-01-10 18:14:25 grafana | logger=migrator t=2024-01-10T18:14:15.165535783Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=1.08572ms policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 1001241814191300u 1 2024-01-10 18:14:25 grafana | logger=migrator t=2024-01-10T18:14:15.169356975Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 1001241814191300u 1 2024-01-10 18:14:25 grafana | logger=migrator t=2024-01-10T18:14:15.169706938Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=349.933µs policy-db-migrator | policyadmin: OK @ 1300 grafana | logger=migrator t=2024-01-10T18:14:15.173234238Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-01-10T18:14:15.174175106Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=940.348µs grafana | logger=migrator t=2024-01-10T18:14:15.178464752Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-01-10T18:14:15.190236432Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=11.77215ms grafana | logger=migrator t=2024-01-10T18:14:15.194839291Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-01-10T18:14:15.195097503Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=258.032µs grafana | logger=migrator t=2024-01-10T18:14:15.199241948Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-01-10T18:14:15.200405458Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.16594ms grafana | logger=migrator t=2024-01-10T18:14:15.204274821Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-01-10T18:14:15.204807285Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=532.494µs grafana | logger=migrator t=2024-01-10T18:14:15.208424066Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-01-10T18:14:15.208740618Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=316.762µs grafana | logger=migrator t=2024-01-10T18:14:15.213587919Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-01-10T18:14:15.214276805Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=687.426µs grafana | logger=migrator t=2024-01-10T18:14:15.218013497Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-01-10T18:14:15.228919019Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=10.905832ms grafana | logger=migrator t=2024-01-10T18:14:15.232234087Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-01-10T18:14:15.238742832Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.526565ms grafana | logger=migrator t=2024-01-10T18:14:15.243517583Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-01-10T18:14:15.24439758Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=881.207µs grafana | logger=migrator t=2024-01-10T18:14:15.248014301Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-01-10T18:14:15.361016647Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=113.001066ms grafana | logger=migrator t=2024-01-10T18:14:15.364926689Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-01-10T18:14:15.365892528Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=966.028µs grafana | logger=migrator t=2024-01-10T18:14:15.36977126Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-01-10T18:14:15.370667698Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=896.118µs grafana | logger=migrator t=2024-01-10T18:14:15.375074875Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-01-10T18:14:15.414730519Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=39.650924ms grafana | logger=migrator t=2024-01-10T18:14:15.418927915Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-01-10T18:14:15.419155607Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=227.502µs grafana | logger=migrator t=2024-01-10T18:14:15.42429895Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-01-10T18:14:15.424443331Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=145.391µs grafana | logger=migrator t=2024-01-10T18:14:15.42788626Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-01-10T18:14:15.428367364Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=474.144µs grafana | logger=migrator t=2024-01-10T18:14:15.432977983Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-01-10T18:14:15.435189432Z level=info msg="Migration successfully executed" id="create folder table" duration=2.211259ms grafana | logger=migrator t=2024-01-10T18:14:15.438687602Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-01-10T18:14:15.440582707Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.894065ms grafana | logger=migrator t=2024-01-10T18:14:15.446508697Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-01-10T18:14:15.447647257Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.13848ms grafana | logger=migrator t=2024-01-10T18:14:15.450897024Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-01-10T18:14:15.450917315Z level=info msg="Migration successfully executed" id="Update folder title length" duration=22.981µs grafana | logger=migrator t=2024-01-10T18:14:15.454409584Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-01-10T18:14:15.456213479Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.802955ms grafana | logger=migrator t=2024-01-10T18:14:15.460035441Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-01-10T18:14:15.461708616Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.675745ms grafana | logger=migrator t=2024-01-10T18:14:15.466854789Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-01-10T18:14:15.468015979Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.16058ms grafana | logger=migrator t=2024-01-10T18:14:15.471231516Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-01-10T18:14:15.472172194Z level=info msg="Migration successfully executed" id="create anon_device table" duration=864.437µs grafana | logger=migrator t=2024-01-10T18:14:15.477269497Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-01-10T18:14:15.478647338Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.376441ms grafana | logger=migrator t=2024-01-10T18:14:15.525225131Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-01-10T18:14:15.527133927Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.909036ms grafana | logger=migrator t=2024-01-10T18:14:15.531704496Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-01-10T18:14:15.533486921Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.788315ms grafana | logger=migrator t=2024-01-10T18:14:15.539734804Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-01-10T18:14:15.540901633Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.166479ms grafana | logger=migrator t=2024-01-10T18:14:15.544946817Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-01-10T18:14:15.546809343Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.858836ms grafana | logger=migrator t=2024-01-10T18:14:15.552421251Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-01-10T18:14:15.552938505Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=517.995µs grafana | logger=migrator t=2024-01-10T18:14:15.559611441Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-01-10T18:14:15.572334688Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=12.723077ms grafana | logger=migrator t=2024-01-10T18:14:15.575377784Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-01-10T18:14:15.575932859Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=555.655µs grafana | logger=migrator t=2024-01-10T18:14:15.578857563Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-01-10T18:14:15.580000913Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.14583ms grafana | logger=migrator t=2024-01-10T18:14:15.582843727Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-01-10T18:14:15.583730525Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=886.438µs grafana | logger=migrator t=2024-01-10T18:14:15.589787535Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-01-10T18:14:15.590565562Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=777.817µs grafana | logger=migrator t=2024-01-10T18:14:15.59388357Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-01-10T18:14:15.594164692Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=281.612µs grafana | logger=migrator t=2024-01-10T18:14:15.597333629Z level=info msg="migrations completed" performed=523 skipped=0 duration=4.371495017s grafana | logger=sqlstore t=2024-01-10T18:14:15.608971677Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-01-10T18:14:15.609166459Z level=info msg="Created default organization" grafana | logger=secrets t=2024-01-10T18:14:15.616793573Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-01-10T18:14:15.639453744Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-01-10T18:14:15.684285662Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-01-10T18:14:15.684370943Z level=info msg="Plugins loaded" count=55 duration=44.918099ms grafana | logger=query_data t=2024-01-10T18:14:15.692612832Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-01-10T18:14:15.697830676Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-01-10T18:14:15.703832327Z level=info msg=Starting grafana | logger=ngalert.migration orgID=1 t=2024-01-10T18:14:15.705741363Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-01-10T18:14:15.706631201Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2024-01-10T18:14:15.707530818Z level=warn msg="No available receivers" grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-01-10T18:14:15.710814806Z level=info msg="Completed legacy migration" grafana | logger=infra.usagestats.collector t=2024-01-10T18:14:15.747143162Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-01-10T18:14:15.749902446Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-01-10T18:14:15.763937264Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-01-10T18:14:15.763960994Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2024-01-10T18:14:15.764210876Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2024-01-10T18:14:15.764450818Z level=info msg="Warming state cache for startup" grafana | logger=ngalert.multiorg.alertmanager t=2024-01-10T18:14:15.767974868Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=http.server t=2024-01-10T18:14:15.769750203Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=sqlstore.transactions t=2024-01-10T18:14:15.780353153Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=grafana.update.checker t=2024-01-10T18:14:15.794060448Z level=info msg="Update check succeeded" duration=29.473458ms grafana | logger=ngalert.state.manager t=2024-01-10T18:14:15.798849898Z level=info msg="State cache has been initialized" states=0 duration=34.39698ms grafana | logger=ngalert.scheduler t=2024-01-10T18:14:15.798899489Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2024-01-10T18:14:15.79901373Z level=info msg=starting first_tick=2024-01-10T18:14:20Z grafana | logger=plugins.update.checker t=2024-01-10T18:14:15.836633057Z level=info msg="Update check succeeded" duration=71.864426ms grafana | logger=sqlstore.transactions t=2024-01-10T18:14:15.848431256Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2024-01-10T18:14:15.860266776Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" grafana | logger=infra.usagestats t=2024-01-10T18:15:43.776197569Z level=info msg="Usage stats are ready to report" ++ 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 policy-api ... done Removing grafana ... done Removing prometheus ... done Removing policy-db-migrator ... 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.uES7bwVCBy ]] + rsync -av /tmp/tmp.uES7bwVCBy/ /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,647 bytes received 95 bytes 2,691,484.00 bytes/sec total size is 1,344,996 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 2151 killed; [ssh-agent] Stopped. Robot results publisher started... -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/jenkins5201285768529478114.sh ---> sysstat.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins17626843826080935825.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/jenkins1819862869752478643.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-KKBr from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-KKBr/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins15396762636038950678.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config7864713145307749734tmp 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/jenkins7681568981958430742.sh ---> create-netrc.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins17171522493712872669.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-KKBr from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-KKBr/bin to PATH [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins11768510917637319310.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins3213020289357950728.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-KKBr from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-KKBr/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/jenkins2421080706316009053.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-KKBr from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-KKBr/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/60 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-11047 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 811 27367 0 3987 30899 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:60:3e:9d brd ff:ff:ff:ff:ff:ff inet 10.30.107.110/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86063sec preferred_lft 86063sec inet6 fe80::f816:3eff:fe60:3e9d/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:c8:c7:44:f4 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-11047) 01/10/24 _x86_64_ (8 CPU) 18:11:22 LINUX RESTART (8 CPU) 18:12:02 tps rtps wtps bread/s bwrtn/s 18:13:01 100.97 18.13 82.83 1041.32 28952.38 18:14:01 156.61 23.05 133.56 2747.81 37906.88 18:15:01 353.40 13.18 340.22 818.46 79853.85 18:16:01 38.73 0.10 38.63 19.33 21843.03 Average: 162.69 13.60 149.09 1157.20 42195.77 18:12:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:13:01 30095620 31727832 2843600 8.63 71728 1868748 1431056 4.21 848160 1701640 183980 18:14:01 28241064 31675640 4698156 14.26 108740 3574112 1605352 4.72 982608 3312720 1454956 18:15:01 26986892 30633664 5952328 18.07 127976 3742360 4249780 12.50 2113212 3387104 160 18:16:01 27137032 30807676 5802188 17.61 128308 3769592 2744668 8.08 1963152 3399872 68 Average: 28115152 31211203 4824068 14.65 109188 3238703 2507714 7.38 1476783 2950334 409791 18:12:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:13:01 lo 1.49 1.49 0.16 0.16 0.00 0.00 0.00 0.00 18:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:13:01 ens3 68.23 48.64 1088.00 8.31 0.00 0.00 0.00 0.00 18:14:01 br-52fb7edf4a65 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:14:01 lo 9.47 9.47 0.87 0.87 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 319.10 210.80 9867.95 19.34 0.00 0.00 0.00 0.00 18:15:01 br-52fb7edf4a65 3.53 3.98 6.17 2.51 0.00 0.00 0.00 0.00 18:15:01 lo 7.55 7.55 8.39 8.39 0.00 0.00 0.00 0.00 18:15:01 veth16620d6 0.17 0.47 0.02 0.46 0.00 0.00 0.00 0.00 18:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:16:01 br-52fb7edf4a65 1.77 1.95 0.14 0.18 0.00 0.00 0.00 0.00 18:16:01 lo 10.83 10.83 0.82 0.82 0.00 0.00 0.00 0.00 18:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:16:01 ens3 772.27 497.17 11718.43 92.30 0.00 0.00 0.00 0.00 Average: br-52fb7edf4a65 1.33 1.49 1.58 0.68 0.00 0.00 0.00 0.00 Average: lo 7.36 7.36 2.57 2.57 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 102.10 69.99 2748.42 9.24 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-11047) 01/10/24 _x86_64_ (8 CPU) 18:11:22 LINUX RESTART (8 CPU) 18:12:02 CPU %user %nice %system %iowait %steal %idle 18:13:01 all 10.25 0.00 0.76 1.70 0.03 87.26 18:13:01 0 6.01 0.00 0.56 0.08 0.02 93.32 18:13:01 1 1.12 0.00 0.46 10.00 0.05 88.36 18:13:01 2 4.38 0.00 0.51 0.05 0.00 95.06 18:13:01 3 0.49 0.00 0.29 0.02 0.00 99.20 18:13:01 4 7.32 0.00 0.70 0.24 0.03 91.71 18:13:01 5 12.93 0.00 0.64 1.71 0.03 84.67 18:13:01 6 34.42 0.00 1.95 1.48 0.07 62.09 18:13:01 7 15.30 0.00 0.95 0.08 0.03 83.63 18:14:01 all 12.39 0.00 2.82 1.18 0.05 83.55 18:14:01 0 12.17 0.00 2.21 0.47 0.03 85.12 18:14:01 1 14.83 0.00 2.30 3.93 0.05 78.89 18:14:01 2 11.80 0.00 2.97 0.08 0.05 85.10 18:14:01 3 14.11 0.00 3.77 0.07 0.07 81.98 18:14:01 4 15.75 0.00 2.86 0.59 0.07 80.73 18:14:01 5 17.81 0.00 4.25 0.44 0.05 77.45 18:14:01 6 5.47 0.00 1.93 2.67 0.03 89.89 18:14:01 7 7.20 0.00 2.29 1.19 0.07 89.26 18:15:01 all 16.80 0.00 2.77 3.42 0.08 76.94 18:15:01 0 15.42 0.00 2.68 1.01 0.08 80.81 18:15:01 1 16.22 0.00 3.49 16.37 0.10 63.81 18:15:01 2 21.65 0.00 2.71 2.24 0.08 73.33 18:15:01 3 19.31 0.00 3.04 1.01 0.07 76.57 18:15:01 4 13.91 0.00 2.08 0.45 0.03 83.53 18:15:01 5 21.63 0.00 3.17 0.60 0.07 74.53 18:15:01 6 9.13 0.00 1.96 0.75 0.08 88.07 18:15:01 7 17.14 0.00 3.02 4.97 0.08 74.79 18:16:01 all 0.80 0.00 0.27 1.44 0.03 97.46 18:16:01 0 1.20 0.00 0.22 0.00 0.00 98.58 18:16:01 1 0.47 0.00 0.30 0.03 0.05 99.15 18:16:01 2 0.47 0.00 0.23 0.22 0.00 99.08 18:16:01 3 0.78 0.00 0.33 0.35 0.02 98.51 18:16:01 4 1.05 0.00 0.18 0.03 0.02 98.71 18:16:01 5 1.02 0.00 0.30 0.40 0.02 98.27 18:16:01 6 0.87 0.00 0.32 0.33 0.02 98.47 18:16:01 7 0.53 0.00 0.28 10.21 0.07 88.91 Average: all 10.05 0.00 1.65 1.94 0.05 86.32 Average: 0 8.70 0.00 1.42 0.39 0.03 89.46 Average: 1 8.17 0.00 1.64 7.56 0.06 82.58 Average: 2 9.57 0.00 1.60 0.65 0.03 88.15 Average: 3 8.69 0.00 1.86 0.36 0.04 89.06 Average: 4 9.51 0.00 1.46 0.33 0.04 88.67 Average: 5 13.33 0.00 2.09 0.79 0.04 83.75 Average: 6 12.39 0.00 1.54 1.31 0.05 84.72 Average: 7 10.02 0.00 1.64 4.13 0.06 84.15