Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-4284 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-master-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-2bFqtHjnSIEX/agent.2058 SSH_AGENT_PID=2060 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-master-project-csit-api@tmp/private_key_6132391603387032596.key (/w/workspace/policy-api-master-project-csit-api@tmp/private_key_6132391603387032596.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-master-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/master^{commit} # timeout=10 Checking out Revision 0a32da8957faea5b96de55b540f594dc6bf9bfba (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0a32da8957faea5b96de55b540f594dc6bf9bfba # timeout=30 Commit message: "Set all cross references of policy/docker" > git rev-list --no-walk 0a32da8957faea5b96de55b540f594dc6bf9bfba # 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-master-project-csit-api] $ /bin/bash /tmp/jenkins4969265985691750230.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-id9f 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-id9f/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-id9f/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.1.6 aspy.yaml==1.3.0 attrs==23.1.0 autopage==0.5.2 Babel==2.13.1 beautifulsoup4==4.12.2 boto3==1.29.6 botocore==1.32.6 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.7 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.2.2 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.40 google-auth==2.23.4 httplib2==0.22.0 identify==2.5.32 idna==3.5 importlib-metadata==6.8.0 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.11.1 keystoneauth1==5.4.0 kubernetes==28.1.0 lftools==0.37.8 lxml==4.9.3 MarkupSafe==2.1.3 msgpack==1.0.7 multi-key-dict==2.0.3 munch==4.0.0 netaddr==0.9.0 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.2.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.2.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==4.0.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.3.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.31.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.13.1 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.7.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.8.0 tzdata==2023.3 urllib3==1.26.18 virtualenv==20.24.7 wcwidth==0.2.12 websocket-client==1.6.4 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-master-project-csit-api] $ /bin/sh /tmp/jenkins2425062161261060335.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-master-project-csit-api] $ /bin/sh -xe /tmp/jenkins10219640768408286678.sh + /w/workspace/policy-api-master-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-master-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-master-project-csit-api/csit:/w/workspace/policy-api-master-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-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin + export SCRIPTS=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts + SCRIPTS=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts + export ROBOT_VARIABLES= + ROBOT_VARIABLES= + export PROJECT=api + PROJECT=api + cd /w/workspace/policy-api-master-project-csit-api + rm -rf /w/workspace/policy-api-master-project-csit-api/csit/archives/api + mkdir -p /w/workspace/policy-api-master-project-csit-api/csit/archives/api + source_safely /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' +++ mktemp -d ++ ROBOT_VENV=/tmp/tmp.Q7FTbUqsW2 ++ echo ROBOT_VENV=/tmp/tmp.Q7FTbUqsW2 +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.Q7FTbUqsW2 ++ source /tmp/tmp.Q7FTbUqsW2/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.Q7FTbUqsW2 +++ 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-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin +++ PATH=/tmp/tmp.Q7FTbUqsW2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin +++ export PATH +++ '[' -n '' ']' +++ '[' -z '' ']' +++ _OLD_VIRTUAL_PS1= +++ '[' 'x(tmp.Q7FTbUqsW2) ' '!=' x ']' +++ PS1='(tmp.Q7FTbUqsW2) ' +++ 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-master-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.8.3 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.5 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==4.9.3 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.3.1 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.Q7FTbUqsW2/src/onap ++ rm -rf /tmp/tmp.Q7FTbUqsW2/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.8.3 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.5 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==4.9.3 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.3.1 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.Q7FTbUqsW2/bin/activate + '[' -z /tmp/tmp.Q7FTbUqsW2/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.Q7FTbUqsW2/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-master-project-csit-api/csit:/w/workspace/policy-api-master-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-master-project-csit-api/csit:/w/workspace/policy-api-master-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.Q7FTbUqsW2 ++ 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-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin ++ PATH=/tmp/tmp.Q7FTbUqsW2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin ++ export PATH ++ '[' -n '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1='(tmp.Q7FTbUqsW2) ' ++ '[' 'x(tmp.Q7FTbUqsW2) ' '!=' x ']' ++ PS1='(tmp.Q7FTbUqsW2) (tmp.Q7FTbUqsW2) ' ++ 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-master-project-csit-api/csit/resources/tests + TEST_PLAN_DIR=/w/workspace/policy-api-master-project-csit-api/csit/resources/tests + export TEST_OPTIONS= + TEST_OPTIONS= ++ mktemp -d + WORKDIR=/tmp/tmp.0q5A7rur7X + cd /tmp/tmp.0q5A7rur7X + 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-master-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-master-project-csit-api/.gitreview +++ GERRIT_BRANCH=master +++ echo GERRIT_BRANCH=master GERRIT_BRANCH=master +++ rm -rf /w/workspace/policy-api-master-project-csit-api/models +++ mkdir /w/workspace/policy-api-master-project-csit-api/models +++ git clone -b master --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-master-project-csit-api/models Cloning into '/w/workspace/policy-api-master-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-master-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-master-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-master-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-master-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-master-project-csit-api/compose +++ echo 'Configuring docker compose...' Configuring docker compose... +++ source export-ports.sh +++ source get-versions.sh +++ '[' -z api ']' +++ '[' -n api ']' +++ '[' api == logs ']' +++ '[' true = true ']' +++ echo 'Starting api application with Grafana' Starting api application with Grafana +++ docker-compose up -d api grafana Creating network "compose_default" with the default driver Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 10.10.2: Pulling from mariadb Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:3.0.3-SNAPSHOT)... 3.0.3-SNAPSHOT: Pulling from onap/policy-db-migrator Digest: sha256:535b9fec1d4848bde53cf1c2d10e10228e438d5a3d19ff53070fe232da33e1ca Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.0.3-SNAPSHOT Pulling api (nexus3.onap.org:10001/onap/policy-api:3.0.3-SNAPSHOT)... 3.0.3-SNAPSHOT: Pulling from onap/policy-api Digest: sha256:8d92621d8c2db53e521c2d1638b6a3401be0e528ad514a311771ba2d2337d7ea Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.0.3-SNAPSHOT Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:b440bc0e8aa5bab44a782952c09516b6a50f9d7b2325c1ffafac7bc833298e2e 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:e3e9c2b5776fe3657f4954dfa91579224f98a0316f51d431989b15425e95530f Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... 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-master-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds policy-db-migrator Up 11 seconds grafana Up 13 seconds mariadb Up 11 seconds prometheus Up 14 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds mariadb Up 17 seconds prometheus Up 19 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds mariadb Up 22 seconds prometheus Up 24 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-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-master-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:23:06 up 3 min, 0 users, load average: 2.64, 1.10, 0.43 Tasks: 179 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.3 us, 2.0 sy, 0.0 ni, 83.8 id, 3.8 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.5G 25G 1.0M 4.0G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 23fa23e05cef policy-api 0.11% 484.5MiB / 31.41GiB 1.51% 998kB / 710kB 0B / 0B 52 ca2643ac18dd grafana 0.04% 94.33MiB / 31.41GiB 0.29% 19.1kB / 3.27kB 0B / 23.4MB 15 d34b9a3477b7 mariadb 0.01% 100.3MiB / 31.41GiB 0.31% 985kB / 1.18MB 10.9MB / 67.8MB 26 1678dcb2f427 prometheus 0.10% 18.64MiB / 31.41GiB 0.06% 1.31kB / 0B 229kB / 0B 13 + echo + cd /tmp/tmp.0q5A7rur7X + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + sed 's|^|/w/workspace/policy-api-master-project-csit-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-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-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-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-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-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-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-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.0q5A7rur7X/output.xml Log: /tmp/tmp.0q5A7rur7X/log.html Report: /tmp/tmp.0q5A7rur7X/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-master-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 - 11:24:19 up 5 min, 0 users, load average: 0.93, 0.93, 0.43 Tasks: 177 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.6 us, 1.6 sy, 0.0 ni, 86.3 id, 3.4 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.6G 25G 1.0M 4.0G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 23fa23e05cef policy-api 0.21% 677.7MiB / 31.41GiB 2.11% 7MB / 2.55MB 0B / 0B 53 ca2643ac18dd grafana 0.04% 94.67MiB / 31.41GiB 0.29% 20.3kB / 4.56kB 0B / 23.4MB 15 d34b9a3477b7 mariadb 0.02% 101.3MiB / 31.41GiB 0.31% 2.39MB / 7.04MB 10.9MB / 68.1MB 18 1678dcb2f427 prometheus 0.00% 23.79MiB / 31.41GiB 0.07% 55.4kB / 6.49kB 229kB / 0B 13 + echo + source_safely /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-api/compose ++ cd /w/workspace/policy-api-master-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=2023-11-25T11:22:37.758867529Z level=info msg="Starting Grafana" version=10.2.2 commit=161e3cac5075540918e3a39004f2364ad104d5bb branch=HEAD compiled=2023-11-20T12:28:00Z grafana | logger=settings t=2023-11-25T11:22:37.759073809Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2023-11-25T11:22:37.7590806Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2023-11-25T11:22:37.75908401Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2023-11-25T11:22:37.75908758Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2023-11-25T11:22:37.75909104Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-25T11:22:37.75909447Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-25T11:22:37.759097471Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2023-11-25T11:22:37.759100401Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2023-11-25T11:22:37.759103331Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2023-11-25T11:22:37.759106021Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-25T11:22:37.759109171Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-25T11:22:37.759112081Z level=info msg=Target target=[all] grafana | logger=settings t=2023-11-25T11:22:37.759117212Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2023-11-25T11:22:37.759120222Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2023-11-25T11:22:37.759123142Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2023-11-25T11:22:37.759125832Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2023-11-25T11:22:37.759128772Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2023-11-25T11:22:37.759131552Z level=info msg="App mode production" grafana | logger=sqlstore t=2023-11-25T11:22:37.760043941Z level=info msg="Connecting to DB" dbtype=sqlite3 mariadb | 2023-11-25 11:22:38+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-25 11:22:38+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2023-11-25 11:22:38+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-25 11:22:39+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2023-11-25 11:22:39 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-11-25 11:22:39 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-25 11:22:39 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 | 2023-11-25 11:22:40+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2023-11-25 11:22:40+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2023-11-25 11:22:40+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2023-11-25 11:22:40 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 96 ... mariadb | 2023-11-25 11:22:40 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-11-25 11:22:40 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-11-25 11:22:40 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-11-25 11:22:40 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-11-25 11:22:40 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-11-25 11:22:40 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-25 11:22:40 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-11-25 11:22:40 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-11-25 11:22:40 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-11-25 11:22:40 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-11-25 11:22:40 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-11-25 11:22:40 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-11-25 11:22:40 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2023-11-25 11:22:40 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-11-25 11:22:40 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-11-25 11:22:40 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-25 11:22:40 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-25 11:22:40 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 | 2023-11-25 11:22:41+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2023-11-25 11:22:43+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2023-11-25 11:22:43+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2023-11-25 11:22:43+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2023-11-25 11:22:43+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | grafana | logger=sqlstore t=2023-11-25T11:22:37.760058121Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2023-11-25T11:22:37.760670033Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2023-11-25T11:22:37.762921261Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2023-11-25T11:22:37.764806899Z level=info msg="Migration successfully executed" id="create migration_log table" duration=1.887498ms grafana | logger=migrator t=2023-11-25T11:22:37.772095281Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2023-11-25T11:22:37.772800248Z level=info msg="Migration successfully executed" id="create user table" duration=704.367µs grafana | logger=migrator t=2023-11-25T11:22:37.777303274Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2023-11-25T11:22:37.77914719Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.847166ms grafana | logger=migrator t=2023-11-25T11:22:37.783702938Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2023-11-25T11:22:37.785030668Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.32801ms grafana | logger=migrator t=2023-11-25T11:22:37.789315682Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2023-11-25T11:22:37.79004664Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=730.938µs grafana | logger=migrator t=2023-11-25T11:22:37.79424708Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2023-11-25T11:22:37.794952457Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=705.427µs grafana | logger=migrator t=2023-11-25T11:22:37.798430939Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2023-11-25T11:22:37.803178188Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.746238ms grafana | logger=migrator t=2023-11-25T11:22:37.806957195Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2023-11-25T11:22:37.80780055Z level=info msg="Migration successfully executed" id="create user table v2" duration=842.525µs grafana | logger=migrator t=2023-11-25T11:22:37.812116025Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2023-11-25T11:22:37.812940069Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=823.854µs grafana | logger=migrator t=2023-11-25T11:22:37.816268913Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2023-11-25T11:22:37.817057034Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=785.661µs grafana | logger=migrator t=2023-11-25T11:22:37.820939027Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2023-11-25T11:22:37.821403802Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=464.105µs grafana | logger=migrator t=2023-11-25T11:22:37.82557631Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2023-11-25T11:22:37.82616546Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=590.701µs grafana | logger=migrator t=2023-11-25T11:22:37.829665113Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2023-11-25T11:22:37.832075459Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=2.409496ms grafana | logger=migrator t=2023-11-25T11:22:37.83589937Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2023-11-25T11:22:37.835942442Z level=info msg="Migration successfully executed" id="Update user table charset" duration=44.452µs grafana | logger=migrator t=2023-11-25T11:22:37.840436277Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2023-11-25T11:22:37.84240316Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.965963ms grafana | logger=migrator t=2023-11-25T11:22:37.846859554Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2023-11-25T11:22:37.847296937Z level=info msg="Migration successfully executed" id="Add missing user data" duration=437.232µs grafana | logger=migrator t=2023-11-25T11:22:37.850758647Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2023-11-25T11:22:37.851931378Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.172221ms grafana | logger=migrator t=2023-11-25T11:22:37.857179693Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2023-11-25T11:22:37.857966785Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=787.452µs grafana | logger=migrator t=2023-11-25T11:22:37.861155392Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2023-11-25T11:22:37.862380385Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.224143ms grafana | logger=migrator t=2023-11-25T11:22:37.866232288Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2023-11-25T11:22:37.876531046Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=10.297568ms grafana | logger=migrator t=2023-11-25T11:22:37.879943864Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2023-11-25T11:22:37.880887804Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=943.8µs grafana | logger=migrator t=2023-11-25T11:22:37.885738908Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2023-11-25T11:22:37.88653598Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=794.492µs grafana | logger=migrator t=2023-11-25T11:22:37.890727439Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2023-11-25T11:22:37.891441757Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=714.588µs grafana | logger=migrator t=2023-11-25T11:22:37.89703919Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2023-11-25T11:22:37.897766498Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=730.328µs grafana | logger=migrator t=2023-11-25T11:22:37.901503633Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2023-11-25T11:22:37.902298534Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=794.491µs grafana | logger=migrator t=2023-11-25T11:22:37.906472293Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2023-11-25T11:22:37.906498874Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=28.031µs grafana | logger=migrator t=2023-11-25T11:22:37.909508082Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2023-11-25T11:22:37.910542056Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.033093ms grafana | logger=migrator t=2023-11-25T11:22:37.914257801Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2023-11-25T11:22:37.915410881Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.15482ms grafana | logger=migrator t=2023-11-25T11:22:37.919380059Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2023-11-25T11:22:37.920113937Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=733.798µs grafana | logger=migrator t=2023-11-25T11:22:37.924878596Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2023-11-25T11:22:37.925598764Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=719.988µs grafana | logger=migrator t=2023-11-25T11:22:37.928975301Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-25T11:22:37.9345112Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=5.53481ms grafana | logger=migrator t=2023-11-25T11:22:37.938666477Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2023-11-25T11:22:37.939355064Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=688.667µs grafana | logger=migrator t=2023-11-25T11:22:37.942238835Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2023-11-25T11:22:37.94290828Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=669.135µs grafana | logger=migrator t=2023-11-25T11:22:37.945958529Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2023-11-25T11:22:37.947014634Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.055465ms grafana | logger=migrator t=2023-11-25T11:22:37.950979772Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2023-11-25T11:22:37.95208786Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.109718ms grafana | logger=migrator t=2023-11-25T11:22:37.955109998Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2023-11-25T11:22:37.955776463Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=666.195µs grafana | logger=migrator t=2023-11-25T11:22:37.959389302Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2023-11-25T11:22:37.959748151Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=358.879µs grafana | logger=migrator t=2023-11-25T11:22:37.963031463Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2023-11-25T11:22:37.963779241Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=747.509µs grafana | logger=migrator t=2023-11-25T11:22:37.967989892Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2023-11-25T11:22:37.968574443Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=587.42µs grafana | logger=migrator t=2023-11-25T11:22:37.972428574Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2023-11-25T11:22:37.973265448Z level=info msg="Migration successfully executed" id="create star table" duration=836.394µs grafana | logger=migrator t=2023-11-25T11:22:37.976757811Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2023-11-25T11:22:37.977447507Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=689.196µs grafana | logger=migrator t=2023-11-25T11:22:37.981757103Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2023-11-25T11:22:37.982387496Z level=info msg="Migration successfully executed" id="create org table v1" duration=629.862µs grafana | logger=migrator t=2023-11-25T11:22:37.987081841Z level=info msg="Executing migration" id="create index UQE_org_name - v1" prometheus | ts=2023-11-25T11:22:36.742Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2023-11-25T11:22:36.742Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.0, branch=HEAD, revision=6d80b30990bc297d95b5c844e118c4011fad8054)" prometheus | ts=2023-11-25T11:22:36.742Z caller=main.go:588 level=info build_context="(go=go1.21.4, platform=linux/amd64, user=root@26117804242c, date=20231116-04:35:21, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2023-11-25T11:22:36.742Z 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))" prometheus | ts=2023-11-25T11:22:36.742Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2023-11-25T11:22:36.743Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2023-11-25T11:22:36.744Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2023-11-25T11:22:36.744Z caller=main.go:1024 level=info msg="Starting TSDB ..." prometheus | ts=2023-11-25T11:22:36.749Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2023-11-25T11:22:36.749Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2023-11-25T11:22:36.753Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2023-11-25T11:22:36.753Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=3.45µs prometheus | ts=2023-11-25T11:22:36.753Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2023-11-25T11:22:36.754Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2023-11-25T11:22:36.754Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=44.332µs wal_replay_duration=429.616µs wbl_replay_duration=250ns total_replay_duration=667.835µs prometheus | ts=2023-11-25T11:22:36.756Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2023-11-25T11:22:36.756Z caller=main.go:1048 level=info msg="TSDB started" prometheus | ts=2023-11-25T11:22:36.756Z caller=main.go:1229 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2023-11-25T11:22:36.758Z caller=main.go:1266 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.511424ms db_storage=1.29µs remote_storage=2.071µs web_handler=700ns query_engine=1.26µs scrape=338.552µs scrape_sd=205.897µs notify=120.314µs notify_sd=41.302µs rules=2.17µs tracing=7.35µs prometheus | ts=2023-11-25T11:22:36.758Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." prometheus | ts=2023-11-25T11:22:36.758Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.2:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.5:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v3.1.4) policy-api | policy-api | [2023-11-25T11:22:52.943+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) policy-api | [2023-11-25T11:22:52.944+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2023-11-25T11:22:54.561+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2023-11-25T11:22:54.650+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 80 ms. Found 6 JPA repository interfaces. policy-api | [2023-11-25T11:22:55.040+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2023-11-25T11:22:55.040+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2023-11-25T11:22:55.670+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2023-11-25T11:22:55.679+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-25T11:22:55.681+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2023-11-25T11:22:55.681+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] policy-api | [2023-11-25T11:22:55.761+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2023-11-25T11:22:55.762+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2751 ms policy-api | [2023-11-25T11:22:56.142+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2023-11-25T11:22:56.206+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-api | [2023-11-25T11:22:56.209+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-api | [2023-11-25T11:22:56.253+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2023-11-25T11:22:56.583+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-api | [2023-11-25T11:22:56.602+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2023-11-25T11:22:56.713+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@3d37203b policy-api | [2023-11-25T11:22:56.715+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2023-11-25T11:22:56.743+00:00|WARN|deprecation|main] HHH90000025: MariaDB103Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" policy-db-migrator | Waiting for mariadb port 3306... policy-api | [2023-11-25T11:22:56.744+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead grafana | logger=migrator t=2023-11-25T11:22:37.988229791Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.14725ms mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-api | [2023-11-25T11:22:58.456+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) grafana | logger=migrator t=2023-11-25T11:22:37.991683732Z level=info msg="Executing migration" id="create org_user table v1" mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-api | [2023-11-25T11:22:58.460+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' grafana | logger=migrator t=2023-11-25T11:22:37.992697655Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.013903ms mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-api | [2023-11-25T11:22:59.713+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml grafana | logger=migrator t=2023-11-25T11:22:37.995874921Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-api | [2023-11-25T11:23:00.430+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] mariadb | policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused grafana | logger=migrator t=2023-11-25T11:22:37.996633811Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=758.35µs policy-api | [2023-11-25T11:23:01.483+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning grafana | logger=migrator t=2023-11-25T11:22:38.067439688Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" mariadb | 2023-11-25 11:22:44+00:00 [Note] [Entrypoint]: Stopping temporary server policy-db-migrator | Connection to mariadb (172.17.0.2) 3306 port [tcp/mysql] succeeded! policy-api | [2023-11-25T11:23:01.667+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@729f8c5d, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@1e33203f, org.springframework.security.web.context.SecurityContextHolderFilter@5f160f9c, org.springframework.security.web.header.HeaderWriterFilter@9bc10bd, org.springframework.security.web.authentication.logout.LogoutFilter@206d4413, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@4295b0b8, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@234a08ea, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@56d3e4a9, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@58a01e47, org.springframework.security.web.access.ExceptionTranslationFilter@6e11d059, org.springframework.security.web.access.intercept.AuthorizationFilter@5c1348c6] grafana | logger=migrator t=2023-11-25T11:22:38.069396955Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.957557ms policy-db-migrator | 321 blocks policy-api | [2023-11-25T11:23:02.530+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' grafana | logger=migrator t=2023-11-25T11:22:38.07462203Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" policy-api | [2023-11-25T11:23:02.605+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-db-migrator | Preparing upgrade release version: 0800 policy-api | [2023-11-25T11:23:02.628+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' grafana | logger=migrator t=2023-11-25T11:22:38.07572139Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.099529ms policy-db-migrator | Preparing upgrade release version: 0900 policy-api | [2023-11-25T11:23:02.647+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.41 seconds (process running for 10.96) grafana | logger=migrator t=2023-11-25T11:22:38.079135036Z level=info msg="Executing migration" id="Update org table charset" policy-api | [2023-11-25T11:23:09.084+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-db-migrator | Preparing upgrade release version: 1000 policy-api | [2023-11-25T11:23:09.084+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' grafana | logger=migrator t=2023-11-25T11:22:38.079189849Z level=info msg="Migration successfully executed" id="Update org table charset" duration=57.573µs policy-api | [2023-11-25T11:23:09.085+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-db-migrator | Preparing upgrade release version: 1100 policy-api | [2023-11-25T11:23:11.587+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: grafana | logger=migrator t=2023-11-25T11:22:38.082850638Z level=info msg="Executing migration" id="Update org_user table charset" policy-api | [] policy-db-migrator | Preparing upgrade release version: 1200 policy-api | [2023-11-25T11:23:11.719+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes grafana | logger=migrator t=2023-11-25T11:22:38.08288903Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=40.022µs policy-db-migrator | Preparing upgrade release version: 1300 policy-api | [2023-11-25T11:23:11.968+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-db-migrator | Done grafana | logger=migrator t=2023-11-25T11:22:38.087712813Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" policy-db-migrator | name version policy-api | [2023-11-25T11:23:15.683+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies policy-db-migrator | policyadmin 0 grafana | logger=migrator t=2023-11-25T11:22:38.087983098Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=270.605µs policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 policy-api | [2023-11-25T11:23:17.690+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-db-migrator | upgrade: 0 -> 1300 policy-api | [2023-11-25T11:23:17.996+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 grafana | logger=migrator t=2023-11-25T11:22:38.091767664Z level=info msg="Executing migration" id="create dashboard table" policy-db-migrator | policy-api | [2023-11-25T11:23:18.230+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql grafana | logger=migrator t=2023-11-25T11:22:38.092880614Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.11209ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.096510773Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2023-11-25T11:22:38.097329877Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=822.555µs policy-api | [2023-11-25T11:23:18.464+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 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) mariadb | 2023-11-25 11:22:44 0 [Note] mariadbd (initiated by: unknown): Normal shutdown grafana | logger=migrator t=2023-11-25T11:22:38.100552492Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" policy-api | [2023-11-25T11:23:18.689+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-db-migrator | -------------- mariadb | 2023-11-25 11:22:44 0 [Note] InnoDB: FTS optimize thread exiting. grafana | logger=migrator t=2023-11-25T11:22:38.101364836Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=811.594µs policy-api | [2023-11-25T11:23:18.914+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 policy-db-migrator | mariadb | 2023-11-25 11:22:44 0 [Note] InnoDB: Starting shutdown... grafana | logger=migrator t=2023-11-25T11:22:38.105691572Z level=info msg="Executing migration" id="create dashboard_tag table" policy-db-migrator | mariadb | 2023-11-25 11:22:44 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool grafana | logger=migrator t=2023-11-25T11:22:38.106319136Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=627.264µs policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql mariadb | 2023-11-25 11:22:44 0 [Note] InnoDB: Buffer pool(s) dump completed at 231125 11:22:44 grafana | logger=migrator t=2023-11-25T11:22:38.109407465Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" policy-db-migrator | -------------- mariadb | 2023-11-25 11:22:44 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" grafana | logger=migrator t=2023-11-25T11:22:38.110169367Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=761.543µs 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 | 2023-11-25 11:22:44 0 [Note] InnoDB: Shutdown completed; log sequence number 333385; transaction id 298 grafana | logger=migrator t=2023-11-25T11:22:38.113258975Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.113942832Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=683.627µs policy-db-migrator | mariadb | 2023-11-25 11:22:44 0 [Note] mariadbd: Shutdown complete grafana | logger=migrator t=2023-11-25T11:22:38.118283089Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" policy-db-migrator | mariadb | grafana | logger=migrator t=2023-11-25T11:22:38.124775822Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=6.491463ms policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql mariadb | 2023-11-25 11:22:44+00:00 [Note] [Entrypoint]: Temporary server stopped grafana | logger=migrator t=2023-11-25T11:22:38.128254322Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2023-11-25T11:22:38.129059135Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=804.264µs policy-db-migrator | -------------- mariadb | grafana | logger=migrator t=2023-11-25T11:22:38.132267931Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" 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 | 2023-11-25 11:22:44+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. grafana | logger=migrator t=2023-11-25T11:22:38.133033082Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=764.351µs policy-db-migrator | -------------- mariadb | grafana | logger=migrator t=2023-11-25T11:22:38.137117644Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" policy-db-migrator | mariadb | 2023-11-25 11:22:44 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... grafana | logger=migrator t=2023-11-25T11:22:38.137825372Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=707.458µs policy-db-migrator | mariadb | 2023-11-25 11:22:44 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 grafana | logger=migrator t=2023-11-25T11:22:38.141091601Z level=info msg="Executing migration" id="copy dashboard v1 to v2" policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql mariadb | 2023-11-25 11:22:44 0 [Note] InnoDB: Number of transaction pools: 1 grafana | logger=migrator t=2023-11-25T11:22:38.141392558Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=300.856µs policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) grafana | logger=migrator t=2023-11-25T11:22:38.144762871Z level=info msg="Executing migration" id="drop table dashboard_v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.145530382Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=769.891µs grafana | logger=migrator t=2023-11-25T11:22:38.150150425Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" policy-db-migrator | mariadb | 2023-11-25 11:22:44 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions grafana | logger=migrator t=2023-11-25T11:22:38.150223218Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=70.914µs policy-db-migrator | mariadb | 2023-11-25 11:22:44 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) grafana | logger=migrator t=2023-11-25T11:22:38.152801489Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql mariadb | 2023-11-25 11:22:44 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=2023-11-25T11:22:38.154709393Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.906984ms policy-db-migrator | -------------- mariadb | 2023-11-25 11:22:44 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF grafana | logger=migrator t=2023-11-25T11:22:38.15795509Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" 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) mariadb | 2023-11-25 11:22:44 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB grafana | logger=migrator t=2023-11-25T11:22:38.159912706Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.956696ms policy-db-migrator | -------------- mariadb | 2023-11-25 11:22:44 0 [Note] InnoDB: Completed initialization of buffer pool grafana | logger=migrator t=2023-11-25T11:22:38.163863962Z level=info msg="Executing migration" id="Add column gnetId in dashboard" policy-db-migrator | mariadb | 2023-11-25 11:22:44 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) grafana | logger=migrator t=2023-11-25T11:22:38.165729893Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.865811ms policy-db-migrator | mariadb | 2023-11-25 11:22:44 0 [Note] InnoDB: 128 rollback segments are active. grafana | logger=migrator t=2023-11-25T11:22:38.168997791Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql mariadb | 2023-11-25 11:22:44 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... grafana | logger=migrator t=2023-11-25T11:22:38.170018787Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.020686ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.173069343Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" 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=2023-11-25T11:22:38.174791657Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.721584ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.178651117Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" policy-db-migrator | mariadb | 2023-11-25 11:22:44 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. policy-db-migrator | mariadb | 2023-11-25 11:22:44 0 [Note] InnoDB: log sequence number 333385; transaction id 299 grafana | logger=migrator t=2023-11-25T11:22:38.179401688Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=750.22µs policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql grafana | logger=migrator t=2023-11-25T11:22:38.182722509Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2023-11-25T11:22:38.183487241Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=764.232µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.186938038Z level=info msg="Executing migration" id="Update dashboard table charset" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.18696303Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=25.862µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.191086945Z level=info msg="Executing migration" id="Update dashboard_tag table charset" mariadb | 2023-11-25 11:22:44 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql grafana | logger=migrator t=2023-11-25T11:22:38.191126417Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=62.654µs mariadb | 2023-11-25 11:22:44 0 [Note] Plugin 'FEEDBACK' is disabled. policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.194841159Z level=info msg="Executing migration" id="Add column folder_id in dashboard" 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=2023-11-25T11:22:38.197508584Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.668255ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.202320167Z level=info msg="Executing migration" id="Add column isFolder in dashboard" mariadb | 2023-11-25 11:22:44 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.204181378Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.86071ms mariadb | 2023-11-25 11:22:44 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.207302207Z level=info msg="Executing migration" id="Add column has_acl in dashboard" policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql grafana | logger=migrator t=2023-11-25T11:22:38.20918639Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.883483ms mariadb | 2023-11-25 11:22:44 0 [Note] Server socket created on IP: '0.0.0.0'. policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.213175677Z level=info msg="Executing migration" id="Add column uid in dashboard" mariadb | 2023-11-25 11:22:44 0 [Note] Server socket created on IP: '::'. 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=2023-11-25T11:22:38.2157969Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.619453ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.219126452Z level=info msg="Executing migration" id="Update uid column values in dashboard" mariadb | 2023-11-25 11:22:44 0 [Note] mariadbd: ready for connections. policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.219399467Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=272.905µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.222887347Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql grafana | logger=migrator t=2023-11-25T11:22:38.223613826Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=726.449µs mariadb | 2023-11-25 11:22:44 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.227853928Z level=info msg="Executing migration" id="Remove unique index org_id_slug" mariadb | 2023-11-25 11:22:44 0 [Note] InnoDB: Buffer pool(s) load completed at 231125 11:22:44 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=2023-11-25T11:22:38.228597028Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=740.93µs mariadb | 2023-11-25 11:22:45 54 [Warning] Aborted connection 54 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.232075657Z level=info msg="Executing migration" id="Update dashboard title length" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.232114889Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=40.422µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.235700004Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql grafana | logger=migrator t=2023-11-25T11:22:38.236950353Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.250239ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.241016274Z level=info msg="Executing migration" id="create dashboard_provisioning" 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=2023-11-25T11:22:38.241618208Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=601.593µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.245144879Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.25195172Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=6.805851ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.255193696Z level=info msg="Executing migration" id="create dashboard_provisioning v2" policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql grafana | logger=migrator t=2023-11-25T11:22:38.255811421Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=617.265µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.260155087Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" 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=2023-11-25T11:22:38.260914288Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=771.092µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.264253291Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.265103477Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=849.436µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.268360434Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql grafana | logger=migrator t=2023-11-25T11:22:38.268857731Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=494.346µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.272439387Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" 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=2023-11-25T11:22:38.273332305Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=893.049µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.277267479Z level=info msg="Executing migration" id="Add check_sum column" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.279207375Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=1.939566ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.282328935Z level=info msg="Executing migration" id="Add index for dashboard_title" policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql grafana | logger=migrator t=2023-11-25T11:22:38.283108317Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=774.112µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.287120966Z level=info msg="Executing migration" id="delete tags for deleted dashboards" 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=2023-11-25T11:22:38.287282105Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=160.969µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.290587655Z level=info msg="Executing migration" id="delete stars for deleted dashboards" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.290792826Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=203.471µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.294162179Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2023-11-25T11:22:38.295354565Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.192146ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.29894006Z level=info msg="Executing migration" id="Add isPublic for dashboard" 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=2023-11-25T11:22:38.302165115Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.225235ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.306165964Z level=info msg="Executing migration" id="create data_source table" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.306953506Z level=info msg="Migration successfully executed" id="create data_source table" duration=787.452µs policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql grafana | logger=migrator t=2023-11-25T11:22:38.310153451Z level=info msg="Executing migration" id="add index data_source.account_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.31088978Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=736µs 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=2023-11-25T11:22:38.314466006Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.315247268Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=781.862µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.319460457Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.320189058Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=730.151µs policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql grafana | logger=migrator t=2023-11-25T11:22:38.323737391Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.324473151Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=734.799µs 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=2023-11-25T11:22:38.327573839Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.337914173Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=10.340754ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.342159624Z level=info msg="Executing migration" id="create data_source table v2" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.342947737Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=787.593µs policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql grafana | logger=migrator t=2023-11-25T11:22:38.346202834Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.347010678Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=806.994µs 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=2023-11-25T11:22:38.350900331Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.351690203Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=789.442µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.354654845Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.355215355Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=559.9µs policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql grafana | logger=migrator t=2023-11-25T11:22:38.359482208Z level=info msg="Executing migration" id="Add column with_credentials" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.361933311Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.450913ms grafana | logger=migrator t=2023-11-25T11:22:38.365933229Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2023-11-25T11:22:38.368190762Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.256513ms 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=2023-11-25T11:22:38.371359755Z level=info msg="Executing migration" id="Update data_source table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.371379736Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=20.721µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.3743942Z level=info msg="Executing migration" id="Update initial version to 1" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.374561339Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=166.709µs policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql grafana | logger=migrator t=2023-11-25T11:22:38.377909021Z level=info msg="Executing migration" id="Add read_only data column" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.380177485Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.268004ms 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=2023-11-25T11:22:38.384361083Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.384525532Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=166.5µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.387657453Z level=info msg="Executing migration" id="Update json_data with nulls" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.387798761Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=141.517µs policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql grafana | logger=migrator t=2023-11-25T11:22:38.391237208Z level=info msg="Executing migration" id="Add uid column" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.396113674Z level=info msg="Migration successfully executed" id="Add uid column" duration=4.871536ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2023-11-25T11:22:38.400315902Z level=info msg="Executing migration" id="Update uid value" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.400488801Z level=info msg="Migration successfully executed" id="Update uid value" duration=172.939µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.404593585Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.405446352Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=852.197µs policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql grafana | logger=migrator t=2023-11-25T11:22:38.408742681Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.410073454Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.330243ms 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=2023-11-25T11:22:38.41349382Z level=info msg="Executing migration" id="create api_key table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.414541297Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.046917ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.418832661Z level=info msg="Executing migration" id="add index api_key.account_id" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.41955587Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=723.059µs policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql grafana | logger=migrator t=2023-11-25T11:22:38.423027749Z level=info msg="Executing migration" id="add index api_key.key" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.423793462Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=765.382µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-25T11:22:38.427331134Z level=info msg="Executing migration" id="add index api_key.account_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.428658456Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.326572ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.434806142Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.43589292Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.087429ms policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2023-11-25T11:22:38.439152518Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.440286139Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.132821ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.44470294Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.445428909Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=725.549µs policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2023-11-25T11:22:38.449880202Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.460417737Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=10.539004ms 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=2023-11-25T11:22:38.490891547Z level=info msg="Executing migration" id="create api_key table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.49186887Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=977.032µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.49682501Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.497975342Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=1.149902ms policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql grafana | logger=migrator t=2023-11-25T11:22:38.501520205Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.502646317Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.126092ms 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=2023-11-25T11:22:38.506161528Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.506949751Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=789.393µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.511019163Z level=info msg="Executing migration" id="copy api_key v1 to v2" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.511322119Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=305.146µs policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql grafana | logger=migrator t=2023-11-25T11:22:38.514495492Z level=info msg="Executing migration" id="Drop old table api_key_v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.515307946Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=812.224µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-25T11:22:38.518765714Z level=info msg="Executing migration" id="Update api_key table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.518803336Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=39.612µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.523437819Z level=info msg="Executing migration" id="Add expires to api_key table" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.52767437Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.235741ms policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql grafana | logger=migrator t=2023-11-25T11:22:38.530990921Z level=info msg="Executing migration" id="Add service account foreign key" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.533376351Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.38486ms 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=2023-11-25T11:22:38.536398846Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.536551404Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=152.709µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.539768629Z level=info msg="Executing migration" id="Add last_used_at to api_key table" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.54218193Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.412871ms policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql grafana | logger=migrator t=2023-11-25T11:22:38.546467453Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.548989021Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.520868ms 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=2023-11-25T11:22:38.552503573Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.553158209Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=654.015µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.556403885Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.556915993Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=512.278µs policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql grafana | logger=migrator t=2023-11-25T11:22:38.561245709Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.562197951Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=950.702µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-25T11:22:38.565663669Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.567272827Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.607988ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.571596892Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.572538804Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=941.672µs policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2023-11-25T11:22:38.575886397Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.576707221Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=820.615µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2023-11-25T11:22:38.579801689Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.579862863Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=61.504µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.582976922Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.583006434Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=25.992µs policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2023-11-25T11:22:38.587071896Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.591680447Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.60759ms 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=2023-11-25T11:22:38.595370638Z level=info msg="Executing migration" id="Add encrypted dashboard json column" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.599135663Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=3.763605ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.60258333Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.602648154Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=65.554µs policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2023-11-25T11:22:38.606574738Z level=info msg="Executing migration" id="create quota table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.607217523Z level=info msg="Migration successfully executed" id="create quota table v1" duration=642.675µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.610265599Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2023-11-25T11:22:38.611071703Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=805.654µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.614377584Z level=info msg="Executing migration" id="Update quota table charset" policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2023-11-25T11:22:38.614401285Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=24.262µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.617902865Z level=info msg="Executing migration" id="create plugin_setting table" 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=2023-11-25T11:22:38.618649296Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=745.671µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.623046276Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.62404541Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=998.904µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.627102616Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2023-11-25T11:22:38.632021464Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.918278ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.6372639Z level=info msg="Executing migration" id="Update plugin_setting table charset" 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=2023-11-25T11:22:38.637287611Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=24.391µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.640650314Z level=info msg="Executing migration" id="create session table" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.641400055Z level=info msg="Migration successfully executed" id="create session table" duration=749.001µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.644830192Z level=info msg="Executing migration" id="Drop old table playlist table" policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2023-11-25T11:22:38.64496313Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=133.919µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.649439503Z level=info msg="Executing migration" id="Drop old table playlist_item table" 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=2023-11-25T11:22:38.64956608Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=127.257µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.652849369Z level=info msg="Executing migration" id="create playlist table v2" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.653902587Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.052538ms policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2023-11-25T11:22:38.657224897Z level=info msg="Executing migration" id="create playlist item table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.658481705Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.252698ms 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=2023-11-25T11:22:38.662931708Z level=info msg="Executing migration" id="Update playlist table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.662991071Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=59.653µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.665608074Z level=info msg="Executing migration" id="Update playlist_item table charset" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.665633645Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=25.741µs policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2023-11-25T11:22:38.667645885Z level=info msg="Executing migration" id="Add playlist column created_at" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.672871599Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=5.223194ms 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=2023-11-25T11:22:38.676028662Z level=info msg="Executing migration" id="Add playlist column updated_at" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.678941681Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=2.912479ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.683615495Z level=info msg="Executing migration" id="drop preferences table v2" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.683689689Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=74.534µs policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2023-11-25T11:22:38.686336333Z level=info msg="Executing migration" id="drop preferences table v3" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.686411587Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=78.504µs 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=2023-11-25T11:22:38.690113079Z level=info msg="Executing migration" id="create preferences table v3" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.690804507Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=690.578µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.697052897Z level=info msg="Executing migration" id="Update preferences table charset" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.697092559Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=40.422µs policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2023-11-25T11:22:38.700304884Z level=info msg="Executing migration" id="Add column team_id in preferences" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.705221092Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=4.915548ms grafana | logger=migrator t=2023-11-25T11:22:38.70831513Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2023-11-25T11:22:38.708458838Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=144.178µs 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=2023-11-25T11:22:38.711586188Z level=info msg="Executing migration" id="Add column week_start in preferences" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.714567471Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=2.980873ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.718687046Z level=info msg="Executing migration" id="Add column preferences.json_data" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.721673328Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=2.985852ms policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2023-11-25T11:22:38.725046342Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.725105505Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=59.573µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-11-25T11:22:38.727940369Z level=info msg="Executing migration" id="Add preferences index org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.728811487Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=871.837µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.733219197Z level=info msg="Executing migration" id="Add preferences index user_id" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.734975603Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.755406ms policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2023-11-25T11:22:38.740665413Z level=info msg="Executing migration" id="create alert table v1" policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.742514003Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.85242ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.746590896Z level=info msg="Executing migration" id="add index alert org_id & id " policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.747991111Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.400005ms policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql grafana | logger=migrator t=2023-11-25T11:22:38.751389307Z level=info msg="Executing migration" id="add index alert state" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.752250894Z level=info msg="Migration successfully executed" id="add index alert state" duration=863.637µs 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=2023-11-25T11:22:38.757013174Z level=info msg="Executing migration" id="add index alert dashboard_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.758519355Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.506191ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.762951867Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.763536959Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=585.442µs policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2023-11-25T11:22:38.766763974Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.767616971Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=852.686µs 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=2023-11-25T11:22:38.772260454Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.772989913Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=729.609µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.780328334Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.79844184Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=18.118557ms policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2023-11-25T11:22:38.803239751Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.803713817Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=474.386µs 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=2023-11-25T11:22:38.806980365Z 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=2023-11-25T11:22:38.808524399Z 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.543174ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.81862099Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.819056693Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=442.864µs policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql grafana | logger=migrator t=2023-11-25T11:22:38.822323971Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.822881821Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=552.62µs 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=2023-11-25T11:22:38.826032683Z level=info msg="Executing migration" id="create alert_notification table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.826752092Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=719.279µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.831239487Z level=info msg="Executing migration" id="Add column is_default" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.835775244Z level=info msg="Migration successfully executed" id="Add column is_default" duration=4.532217ms policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql grafana | logger=migrator t=2023-11-25T11:22:38.839426563Z level=info msg="Executing migration" id="Add column frequency" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.843898907Z level=info msg="Migration successfully executed" id="Add column frequency" duration=4.471724ms 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=2023-11-25T11:22:38.849156222Z level=info msg="Executing migration" id="Add column send_reminder" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.852656544Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.499452ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.858205156Z level=info msg="Executing migration" id="Add column disable_resolve_message" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.861779571Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.573774ms policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2023-11-25T11:22:38.900606456Z level=info msg="Executing migration" id="add index alert_notification org_id & name" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.901997491Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.390635ms 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=2023-11-25T11:22:38.907389915Z level=info msg="Executing migration" id="Update alert table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.907430837Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=39.822µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.911749483Z level=info msg="Executing migration" id="Update alert_notification table charset" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.911777794Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=29.571µs policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2023-11-25T11:22:38.915101155Z level=info msg="Executing migration" id="create notification_journal table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.915780942Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=679.547µ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=2023-11-25T11:22:38.919641543Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.921078881Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.436927ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.925511983Z level=info msg="Executing migration" id="drop alert_notification_journal" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.926843725Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.334663ms policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2023-11-25T11:22:38.938468148Z level=info msg="Executing migration" id="create alert_notification_state table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.939515095Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.046747ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-11-25T11:22:38.946157997Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.947464669Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.30879ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.953865017Z level=info msg="Executing migration" id="Add for to alert table" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.957677244Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.812557ms policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2023-11-25T11:22:38.96383689Z level=info msg="Executing migration" id="Add column uid in alert_notification" policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.972616598Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=8.777909ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.976335671Z level=info msg="Executing migration" id="Update uid column values in alert_notification" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.97668455Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=350.389µs policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2023-11-25T11:22:38.980981694Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.981958437Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=978.324µ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=2023-11-25T11:22:38.986282932Z level=info msg="Executing migration" id="Remove unique index org_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:38.987438906Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.154814ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.993913818Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:38.997741977Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.830338ms policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2023-11-25T11:22:39.002976042Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.003035185Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=59.043µ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=2023-11-25T11:22:39.006741088Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.007671765Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=931.416µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.01102482Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.012191922Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.164681ms policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2023-11-25T11:22:39.016833771Z level=info msg="Executing migration" id="Drop old annotation table v4" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.017004Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=170.868µ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=2023-11-25T11:22:39.021546236Z level=info msg="Executing migration" id="create annotation table v5" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.022331617Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=785.061µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.02834843Z level=info msg="Executing migration" id="add index annotation 0 v3" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.02930086Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=910.478µs policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2023-11-25T11:22:39.034932812Z level=info msg="Executing migration" id="add index annotation 1 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.035768055Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=838.393µs 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=2023-11-25T11:22:39.040513152Z level=info msg="Executing migration" id="add index annotation 2 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.041353096Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=840.364µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.044774893Z level=info msg="Executing migration" id="add index annotation 3 v3" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.045692172Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=916.618µs policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2023-11-25T11:22:39.048803773Z level=info msg="Executing migration" id="add index annotation 4 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.049725511Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=921.698µ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=2023-11-25T11:22:39.053974472Z level=info msg="Executing migration" id="Update annotation table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.053996793Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=22.721µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.056535544Z level=info msg="Executing migration" id="Add column region_id to annotation table" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.060465599Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=3.929515ms policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2023-11-25T11:22:39.063629184Z level=info msg="Executing migration" id="Drop category_id index" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.064425305Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=795.601µs grafana | logger=migrator t=2023-11-25T11:22:39.06816672Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2023-11-25T11:22:39.071914964Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.747574ms 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=2023-11-25T11:22:39.075428877Z level=info msg="Executing migration" id="Create annotation_tag table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.076668892Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=1.245075ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.080256298Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.081380106Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.124338ms policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2023-11-25T11:22:39.085597715Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.08645334Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=855.164µs 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=2023-11-25T11:22:39.090648168Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.108090914Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=17.436796ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.11109508Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.111587056Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=492.006µs policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2023-11-25T11:22:39.115233845Z 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=2023-11-25T11:22:39.115933012Z 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=699.237µs 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=2023-11-25T11:22:39.120634746Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.120922621Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=288.135µs policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.124891578Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2023-11-25T11:22:39.125440886Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=549.289µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.128190979Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" 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=2023-11-25T11:22:39.128365898Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=175.089µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.132740066Z level=info msg="Executing migration" id="Add created time to annotation table" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.139411722Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.665616ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.143103364Z level=info msg="Executing migration" id="Add updated time to annotation table" policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2023-11-25T11:22:39.147562566Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.458503ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.152419458Z level=info msg="Executing migration" id="Add index for created in annotation table" 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=2023-11-25T11:22:39.153384698Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=966.2µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.158494064Z level=info msg="Executing migration" id="Add index for updated in annotation table" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.159550839Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.058684ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.163529066Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2023-11-25T11:22:39.163787449Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=259.413µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.168282532Z level=info msg="Executing migration" id="Add epoch_end column" 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=2023-11-25T11:22:39.17324227Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.951307ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.178389028Z level=info msg="Executing migration" id="Add index for epoch_end" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.179456183Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.069265ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.188015388Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2023-11-25T11:22:39.188341695Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=327.076µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.194303125Z level=info msg="Executing migration" id="Move region to single row" 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=2023-11-25T11:22:39.194958589Z level=info msg="Migration successfully executed" id="Move region to single row" duration=655.334µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.203369726Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.20461475Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.243464ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.211020364Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2023-11-25T11:22:39.212431177Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.411143ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.219004048Z 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 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=2023-11-25T11:22:39.220733858Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.72877ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.225143068Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.226002742Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=859.684µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.231369511Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2023-11-25T11:22:39.232627316Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.255885ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.236451026Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" 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=2023-11-25T11:22:39.237813436Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.36189ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.243889982Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.243977546Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=87.744µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.249862092Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2023-11-25T11:22:39.251329189Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.466346ms policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2023-11-25T11:22:39.256713739Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.257872128Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.15836ms 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=2023-11-25T11:22:39.26174114Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.262598794Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=860.094µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.269113673Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.2700161Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=901.837µs policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2023-11-25T11:22:39.273469139Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.273782016Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=312.436µs 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=2023-11-25T11:22:39.279893193Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.280653162Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=759.329µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.404609015Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.404796755Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=193.4µs policy-db-migrator | > upgrade 0770-toscarequirement.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.409923672Z level=info msg="Executing migration" id="create team table" 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=2023-11-25T11:22:39.411095452Z level=info msg="Migration successfully executed" id="create team table" duration=1.171341ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.415157983Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.416721624Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.562951ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.422703365Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2023-11-25T11:22:39.423671375Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=968.03µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.427880894Z level=info msg="Executing migration" id="Add column uid in team" 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=2023-11-25T11:22:39.432586209Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.703715ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.43798092Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.43817944Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=203.221µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.442497254Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2023-11-25T11:22:39.443350809Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=853.485µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.448352468Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-11-25T11:22:39.449167101Z level=info msg="Migration successfully executed" id="create team member table" duration=814.963µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.453566339Z level=info msg="Executing migration" id="add index team_member.org_id" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.454347419Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=781.03µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.459177381Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2023-11-25T11:22:39.460038555Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=862.614µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.465915452Z level=info msg="Executing migration" id="add index team_member.team_id" 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=2023-11-25T11:22:39.466546794Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=631.513µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.47128521Z level=info msg="Executing migration" id="Add column email to team table" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.474556661Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=3.26872ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.477321134Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2023-11-25T11:22:39.481755894Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.43422ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.486412616Z level=info msg="Executing migration" id="Add column permission to team_member 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=2023-11-25T11:22:39.490894549Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.481553ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.495710529Z level=info msg="Executing migration" id="create dashboard acl table" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.49706686Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.358381ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.502842441Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2023-11-25T11:22:39.503738447Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=895.907µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.507968607Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2023-11-25T11:22:39.509101486Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.131548ms grafana | logger=migrator t=2023-11-25T11:22:39.514706227Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-11-25T11:22:39.516344632Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.637525ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.521826937Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.522662691Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=835.323µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.52979104Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2023-11-25T11:22:39.531169903Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.377652ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.535644905Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2023-11-25T11:22:39.537300381Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.653477ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.541569603Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.542964755Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.395162ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.548659391Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2023-11-25T11:22:39.549178518Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=519.187µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.554668393Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2023-11-25T11:22:39.554904146Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=235.503µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.560452524Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.561553852Z level=info msg="Migration successfully executed" id="create tag table" duration=1.101328ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.567272059Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2023-11-25T11:22:39.568619069Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.350069ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.57228256Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2023-11-25T11:22:39.572966715Z level=info msg="Migration successfully executed" id="create login attempt table" duration=680.305µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.578764606Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.579665783Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=898.547µs policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2023-11-25T11:22:39.583709483Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.584654222Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=944.589µs policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2023-11-25T11:22:39.590708577Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.609771938Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=19.064171ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.615669324Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.616252064Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=582.17µs policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2023-11-25T11:22:39.620365418Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.621878557Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.512778ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2023-11-25T11:22:39.626237734Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.626536899Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=298.796µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.632512409Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.633193835Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=677.835µs policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2023-11-25T11:22:39.638065778Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.639462941Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.395543ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2023-11-25T11:22:39.644014597Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.645006558Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=991.911µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.648974645Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.649037458Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=63.533µs policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2023-11-25T11:22:39.654237239Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.662707049Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=8.46866ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2023-11-25T11:22:39.66927558Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.676254553Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=6.982913ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.680211708Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.685477842Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.265724ms policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2023-11-25T11:22:39.69042991Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.695702734Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.272504ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2023-11-25T11:22:39.698865038Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.699739313Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=873.915µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.703638956Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.709278299Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.638353ms policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2023-11-25T11:22:39.714395285Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.715126504Z level=info msg="Migration successfully executed" id="create server_lock table" duration=731.288µs policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2023-11-25T11:22:39.718765632Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.719653298Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=887.136µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.722358739Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.723101817Z level=info msg="Migration successfully executed" id="create user auth token table" duration=742.778µs policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2023-11-25T11:22:39.729530762Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.731023879Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.492487ms policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2023-11-25T11:22:39.73565526Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.739525031Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=3.869551ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.743767762Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.744871549Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.103367ms policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2023-11-25T11:22:39.752099335Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.761118533Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=9.021588ms policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2023-11-25T11:22:39.847999379Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.850072327Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=2.078109ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.858557448Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.859884156Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.324869ms policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2023-11-25T11:22:39.864697207Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.866057677Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.362091ms policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2023-11-25T11:22:39.870883708Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.871716901Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=832.633µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.875634075Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.876817056Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.182901ms policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2023-11-25T11:22:39.882202196Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.882456999Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=255.923µs policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-11-25T11:22:39.887744624Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.888027599Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=283.285µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.893698654Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.895058215Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.356371ms policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2023-11-25T11:22:39.902026666Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.903594148Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.567412ms 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=2023-11-25T11:22:39.9094042Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.910477506Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.072995ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.920517988Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.920917788Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=398.7µs policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2023-11-25T11:22:39.928614669Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.929590389Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=976.82µs 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=2023-11-25T11:22:39.935463514Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.936440456Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=976.552µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.941775392Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.943291031Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.513739ms policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2023-11-25T11:22:39.94767714Z 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=2023-11-25T11:22:39.949570247Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.892438ms 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=2023-11-25T11:22:39.955023131Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.96519112Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=10.146748ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.971541499Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.972206624Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=665.045µs policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2023-11-25T11:22:39.978335232Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.97846552Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=131.238µs 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=2023-11-25T11:22:39.983348973Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:39.98463757Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.287937ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.98886448Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:39.990684794Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.821265ms policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2023-11-25T11:22:39.997257806Z 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=2023-11-25T11:22:39.998187955Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=930.319µs 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=2023-11-25T11:22:40.003027866Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.003091159Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=64.054µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.006834664Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.008171498Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.336324ms policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2023-11-25T11:22:40.014722543Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.016809678Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=2.067074ms 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=2023-11-25T11:22:40.022846317Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.024565762Z 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.714724ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.02783406Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.028558889Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=724.489µs policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2023-11-25T11:22:40.034311463Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.044828828Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=10.516604ms policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.04981264Z 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=2023-11-25T11:22:40.050478056Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=665.386µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.054808413Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2023-11-25T11:22:40.056569328Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.760895ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.063415363Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" 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=2023-11-25T11:22:40.102219071Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=38.801948ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.106171937Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.141478605Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=35.305528ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.146557952Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2023-11-25T11:22:40.148305707Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.751635ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.153975186Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" 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=2023-11-25T11:22:40.154884026Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=908.91µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.159438375Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.165193589Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.755034ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.170009032Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2023-11-25T11:22:40.170815486Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=805.984µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.176061902Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2023-11-25T11:22:40.177044236Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=981.374µs 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=2023-11-25T11:22:40.181268087Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.182230729Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=962.312µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.185594642Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.186614699Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.019577ms policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2023-11-25T11:22:40.193201618Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.193267892Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=63.373µs policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2023-11-25T11:22:40.198906109Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.207499999Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=8.594489ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.24636138Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.256179097Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=9.822527ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2023-11-25T11:22:40.262029416Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.268489178Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.459362ms policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2023-11-25T11:22:40.272956523Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.27364449Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=687.767µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.2776848Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.279365792Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.677062ms policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2023-11-25T11:22:40.28737422Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.294499478Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=7.126319ms policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2023-11-25T11:22:40.29947746Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.305375852Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.898372ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.310868252Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.311878478Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.008616ms policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2023-11-25T11:22:40.317458222Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.327008703Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=9.551941ms 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=2023-11-25T11:22:40.32987917Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.334121101Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=4.241471ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.338503111Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.338565284Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=62.563µs policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2023-11-25T11:22:40.342930163Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.344608534Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.679771ms policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.350892337Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.351898852Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" duration=1.003625ms policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2023-11-25T11:22:40.356141273Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.357207182Z 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.065409ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.36321541Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.363275593Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=60.623µs policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2023-11-25T11:22:40.36780319Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.376696056Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=8.894226ms policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2023-11-25T11:22:40.38098946Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.38703491Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.04492ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.391809571Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.398126756Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.317224ms policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2023-11-25T11:22:40.402563418Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.408864602Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.298044ms policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2023-11-25T11:22:40.411631093Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.417851522Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.219899ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.421614248Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.421676362Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=62.614µs policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2023-11-25T11:22:40.425542663Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.426293933Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=750.881µs policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2023-11-25T11:22:40.432796749Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2023-11-25T11:22:40.441639132Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=8.839452ms policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2023-11-25T11:22:40.444575402Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2023-11-25T11:22:40.444635475Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=60.513µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.450990102Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.457065783Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.075121ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.461281424Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2023-11-25T11:22:40.462347752Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.066098ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.466097907Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2023-11-25T11:22:40.472505677Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.40681ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.477792805Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.478525935Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=733.96µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.481835026Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2023-11-25T11:22:40.483076344Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.229467ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.48630109Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" 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=2023-11-25T11:22:40.495639219Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=9.336509ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.50040643Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.500913677Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=507.497µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.506099751Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2023-11-25T11:22:40.507081514Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=981.093µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.513457012Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2023-11-25T11:22:40.514644597Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.186865ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.518771532Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.520339098Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.567336ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.528959539Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2023-11-25T11:22:40.529055644Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=96.976µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.535153497Z level=info msg="Executing migration" id=create_alert_configuration_history_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=2023-11-25T11:22:40.5366749Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.520534ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.541245569Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.542270896Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.025126ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.546652444Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2023-11-25T11:22:40.547084998Z 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=2023-11-25T11:22:40.550501645Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2023-11-25T11:22:40.551239255Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=733.15µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.555128507Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.557445374Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=2.315996ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.561777431Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2023-11-25T11:22:40.568430933Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.652913ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.571522902Z level=info msg="Executing migration" id="create library_element table v1" 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=2023-11-25T11:22:40.572408851Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=885.559µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.575566533Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.576651612Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.084669ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.580762167Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2023-11-25T11:22:40.581554Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=791.313µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.584634588Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) grafana | logger=migrator t=2023-11-25T11:22:40.58576824Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.134542ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.589856573Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.590930632Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.074029ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.595403716Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2023-11-25T11:22:40.595424977Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=22.141µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.598504156Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2023-11-25T11:22:40.598566709Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=63.414µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.602329004Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.602835891Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=506.957µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.606494262Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2023-11-25T11:22:40.607989193Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.492571ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.612489149Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2023-11-25T11:22:40.613729956Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.239937ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.617362395Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.669428307Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=52.057882ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.677962183Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2023-11-25T11:22:40.687567488Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=9.598295ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.691592097Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2023-11-25T11:22:40.691917795Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=331.628µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.698016748Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.755802213Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=57.779324ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.764712779Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2023-11-25T11:22:40.81309808Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=48.386501ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.818527347Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2023-11-25T11:22:40.819164253Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=636.285µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.822447572Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.823589624Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.141792ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.827164488Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2023-11-25T11:22:40.827511078Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=349.16µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.831819273Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.832700231Z level=info msg="Migration successfully executed" id="create permission table" duration=880.788µs grafana | logger=migrator t=2023-11-25T11:22:40.837749267Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2023-11-25T11:22:40.839444159Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.695043ms policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2023-11-25T11:22:40.8435007Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.844847054Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.347714ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.850329914Z level=info msg="Executing migration" id="create role table" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.851219972Z level=info msg="Migration successfully executed" id="create role table" duration=889.318µs policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2023-11-25T11:22:40.855783662Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.863559815Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.775593ms policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2023-11-25T11:22:40.871298738Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.878594707Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.293809ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.884936833Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.886058644Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.121861ms policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2023-11-25T11:22:40.889850821Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.891067957Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.216856ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.894367007Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.895558803Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.191596ms policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2023-11-25T11:22:40.900054438Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.900976399Z level=info msg="Migration successfully executed" id="create team role table" duration=919.831µs policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2023-11-25T11:22:40.905390669Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.907138095Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.745486ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.911422089Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.912632365Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.209476ms policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2023-11-25T11:22:40.918811392Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.920648243Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.836061ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.92756158Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.928434978Z level=info msg="Migration successfully executed" id="create user role table" duration=871.698µs policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2023-11-25T11:22:40.935213548Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.937181385Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.966797ms policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2023-11-25T11:22:40.942695807Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.943989067Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.29275ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.947642726Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.948768868Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.125342ms policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2023-11-25T11:22:40.95356556Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.954402995Z level=info msg="Migration successfully executed" id="create builtin role table" duration=837.615µs policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2023-11-25T11:22:40.957531646Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.958608855Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.078359ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.962869348Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | msg grafana | logger=migrator t=2023-11-25T11:22:40.963962687Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.093379ms policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2023-11-25T11:22:40.967170392Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.974842571Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.671839ms policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2023-11-25T11:22:40.978628528Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.979741749Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.113251ms policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2023-11-25T11:22:40.984411814Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.986763022Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=2.349687ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.990584391Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:40.991712882Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.128931ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2023-11-25T11:22:40.995306258Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:40.996449691Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.143433ms policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2023-11-25T11:22:41.000958408Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:41.002285149Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.328852ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:41.005858998Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:41.007012067Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.152039ms policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2023-11-25T11:22:41.010449066Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:41.019544813Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=9.094487ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:41.024209098Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:41.030645475Z level=info msg="Migration successfully executed" id="permission kind migration" duration=6.434587ms policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:41.034137718Z level=info msg="Executing migration" id="permission attribute migration" 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=2023-11-25T11:22:41.042305687Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=8.167398ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:41.077402228Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:41.0879206Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=10.519092ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:41.092669358Z level=info msg="Executing migration" id="add permission identifier index" 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=2023-11-25T11:22:41.094503835Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.834316ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:41.098642961Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:41.100249236Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.605775ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:41.103892327Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2023-11-25T11:22:41.105009656Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.117109ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:41.109251568Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" 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=2023-11-25T11:22:41.109389215Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=137.187µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:41.113051998Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:41.113211986Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=161.128µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:41.117130151Z level=info msg="Executing migration" id="teams permissions migration" 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=2023-11-25T11:22:41.118132033Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=996.092µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:41.121988626Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:41.122991569Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.005092ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:41.128454175Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | TRUNCATE TABLE sequence grafana | logger=migrator t=2023-11-25T11:22:41.129199124Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=746.419µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:41.132239403Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:41.132536919Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=297.046µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:41.135833123Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | > upgrade 0100-pdpstatistics.sql grafana | logger=migrator t=2023-11-25T11:22:41.136455425Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=621.003µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:41.140014711Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics grafana | logger=migrator t=2023-11-25T11:22:41.141391934Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.375933ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:41.147250871Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:41.148360969Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.109928ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:41.151608799Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | DROP TABLE pdpstatistics grafana | logger=migrator t=2023-11-25T11:22:41.161897539Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=10.28877ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:41.16496544Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:41.165012633Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=47.582µs policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:41.167992009Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2023-11-25T11:22:41.16897436Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=980.041µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:41.173799283Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats grafana | logger=migrator t=2023-11-25T11:22:41.174996297Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.196813ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:41.179587927Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:41.180708186Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.120279ms policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:41.185654245Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | > upgrade 0120-statistics_sequence.sql grafana | logger=migrator t=2023-11-25T11:22:41.197417223Z level=info msg="Migration successfully executed" id="add correlation config column" duration=11.764027ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:41.200498504Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | DROP TABLE statistics_sequence grafana | logger=migrator t=2023-11-25T11:22:41.201309986Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=813.482µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:22:41.204229859Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:22:41.205285964Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.056335ms policy-db-migrator | policyadmin: OK: upgrade (1300) grafana | logger=migrator t=2023-11-25T11:22:41.210433905Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | name version grafana | logger=migrator t=2023-11-25T11:22:41.240633099Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=30.199334ms policy-db-migrator | policyadmin 1300 grafana | logger=migrator t=2023-11-25T11:22:41.244117031Z level=info msg="Executing migration" id="create correlation v2" policy-db-migrator | ID script operation from_version to_version tag success atTime grafana | logger=migrator t=2023-11-25T11:22:41.244865811Z level=info msg="Migration successfully executed" id="create correlation v2" duration=746.54µs policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:45 grafana | logger=migrator t=2023-11-25T11:22:41.248125072Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:45 grafana | logger=migrator t=2023-11-25T11:22:41.249007508Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=882.156µs policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:45 grafana | logger=migrator t=2023-11-25T11:22:41.254090825Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:45 grafana | logger=migrator t=2023-11-25T11:22:41.25495574Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=864.795µs policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:45 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:45 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:45 grafana | logger=migrator t=2023-11-25T11:22:41.258033061Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:45 grafana | logger=migrator t=2023-11-25T11:22:41.258831744Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=798.233µs policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:45 grafana | logger=migrator t=2023-11-25T11:22:41.263867467Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:45 grafana | logger=migrator t=2023-11-25T11:22:41.264105029Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=236.952µs policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:45 grafana | logger=migrator t=2023-11-25T11:22:41.267188292Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:45 grafana | logger=migrator t=2023-11-25T11:22:41.267826805Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=639.233µs policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:45 grafana | logger=migrator t=2023-11-25T11:22:41.270906477Z level=info msg="Executing migration" id="add provisioning column" policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:45 grafana | logger=migrator t=2023-11-25T11:22:41.276781515Z level=info msg="Migration successfully executed" id="add provisioning column" duration=5.874708ms policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:45 grafana | logger=migrator t=2023-11-25T11:22:41.28164514Z level=info msg="Executing migration" id="create entity_events table" policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:45 grafana | logger=migrator t=2023-11-25T11:22:41.28221146Z level=info msg="Migration successfully executed" id="create entity_events table" duration=565.52µs policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:45 grafana | logger=migrator t=2023-11-25T11:22:41.284519841Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:45 grafana | logger=migrator t=2023-11-25T11:22:41.285222107Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=701.736µs policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:45 grafana | logger=migrator t=2023-11-25T11:22:41.288444426Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:45 grafana | logger=migrator t=2023-11-25T11:22:41.288823386Z 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 | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:45 grafana | logger=migrator t=2023-11-25T11:22:41.293585876Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:45 grafana | logger=migrator t=2023-11-25T11:22:41.293956925Z 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 | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:45 grafana | logger=migrator t=2023-11-25T11:22:41.296207484Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:45 grafana | logger=migrator t=2023-11-25T11:22:41.296772323Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=564.359µs policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:46 grafana | logger=migrator t=2023-11-25T11:22:41.299597431Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:46 grafana | logger=migrator t=2023-11-25T11:22:41.300325749Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=728.418µs policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:46 grafana | logger=migrator t=2023-11-25T11:22:41.305559474Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:46 grafana | logger=migrator t=2023-11-25T11:22:41.306362877Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=803.283µs policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:46 grafana | logger=migrator t=2023-11-25T11:22:41.309642229Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:46 grafana | logger=migrator t=2023-11-25T11:22:41.311463193Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.820935ms policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:46 grafana | logger=migrator t=2023-11-25T11:22:41.314982219Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:46 grafana | logger=migrator t=2023-11-25T11:22:41.316676207Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.694118ms policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:46 grafana | logger=migrator t=2023-11-25T11:22:41.321792645Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:46 grafana | logger=migrator t=2023-11-25T11:22:41.322873092Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.080417ms policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:46 grafana | logger=migrator t=2023-11-25T11:22:41.32569397Z level=info msg="Executing migration" id="Drop public config table" policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:46 grafana | logger=migrator t=2023-11-25T11:22:41.326467641Z level=info msg="Migration successfully executed" id="Drop public config table" duration=775.732µs policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:46 grafana | logger=migrator t=2023-11-25T11:22:41.33142585Z level=info msg="Executing migration" id="Recreate dashboard public config v2" policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:46 grafana | logger=migrator t=2023-11-25T11:22:41.332516048Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.090248ms policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:46 grafana | logger=migrator t=2023-11-25T11:22:41.33541683Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:46 grafana | logger=migrator t=2023-11-25T11:22:41.33711237Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.694819ms grafana | logger=migrator t=2023-11-25T11:22:41.340460595Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:46 grafana | logger=migrator t=2023-11-25T11:22:41.341729051Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.268476ms policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:46 grafana | logger=migrator t=2023-11-25T11:22:41.346610347Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:46 grafana | logger=migrator t=2023-11-25T11:22:41.347709015Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.098667ms policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:46 grafana | logger=migrator t=2023-11-25T11:22:41.35047573Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:46 grafana | logger=migrator t=2023-11-25T11:22:41.382359963Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=31.880062ms policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:46 grafana | logger=migrator t=2023-11-25T11:22:41.385529139Z level=info msg="Executing migration" id="add annotations_enabled column" policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:46 grafana | logger=migrator t=2023-11-25T11:22:41.392712085Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=7.182456ms policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:46 grafana | logger=migrator t=2023-11-25T11:22:41.398330529Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:46 grafana | logger=migrator t=2023-11-25T11:22:41.406714069Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.38293ms policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:47 grafana | logger=migrator t=2023-11-25T11:22:41.410057655Z level=info msg="Executing migration" id="delete orphaned public dashboards" policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:47 grafana | logger=migrator t=2023-11-25T11:22:41.410270166Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=213.181µs policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:47 grafana | logger=migrator t=2023-11-25T11:22:41.412745125Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2023-11-25T11:22:41.423473128Z level=info msg="Migration successfully executed" id="add share column" duration=10.728313ms policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:47 grafana | logger=migrator t=2023-11-25T11:22:41.426522118Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:47 grafana | logger=migrator t=2023-11-25T11:22:41.426690507Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=168.539µs policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:47 grafana | logger=migrator t=2023-11-25T11:22:41.431774734Z level=info msg="Executing migration" id="create file table" policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:47 grafana | logger=migrator t=2023-11-25T11:22:41.43265147Z level=info msg="Migration successfully executed" id="create file table" duration=876.736µs policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:47 grafana | logger=migrator t=2023-11-25T11:22:41.436696142Z level=info msg="Executing migration" id="file table idx: path natural pk" policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:47 grafana | logger=migrator t=2023-11-25T11:22:41.43780459Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.111228ms policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:47 grafana | logger=migrator t=2023-11-25T11:22:41.44084886Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:47 grafana | logger=migrator t=2023-11-25T11:22:41.441942337Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.093247ms policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:47 grafana | logger=migrator t=2023-11-25T11:22:41.446658255Z level=info msg="Executing migration" id="create file_meta table" policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:47 grafana | logger=migrator t=2023-11-25T11:22:41.447365002Z level=info msg="Migration successfully executed" id="create file_meta table" duration=706.837µs policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:47 grafana | logger=migrator t=2023-11-25T11:22:41.450791301Z level=info msg="Executing migration" id="file table idx: path key" policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:47 grafana | logger=migrator t=2023-11-25T11:22:41.452001655Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.211914ms policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:47 grafana | logger=migrator t=2023-11-25T11:22:41.488993685Z level=info msg="Executing migration" id="set path collation in file table" policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:47 grafana | logger=migrator t=2023-11-25T11:22:41.489169104Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=176.429µs policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:47 grafana | logger=migrator t=2023-11-25T11:22:41.493139792Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:47 grafana | logger=migrator t=2023-11-25T11:22:41.493246658Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=108.596µs policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:47 grafana | logger=migrator t=2023-11-25T11:22:41.496328379Z level=info msg="Executing migration" id="managed permissions migration" policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:47 grafana | logger=migrator t=2023-11-25T11:22:41.497196226Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=867.696µs policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:47 grafana | logger=migrator t=2023-11-25T11:22:41.50110981Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:47 grafana | logger=migrator t=2023-11-25T11:22:41.501525362Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=416.172µs policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:47 grafana | logger=migrator t=2023-11-25T11:22:41.506204898Z level=info msg="Executing migration" id="RBAC action name migrator" policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:48 grafana | logger=migrator t=2023-11-25T11:22:41.507121086Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=915.157µs policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:48 grafana | logger=migrator t=2023-11-25T11:22:41.510595758Z level=info msg="Executing migration" id="Add UID column to playlist" policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:48 grafana | logger=migrator t=2023-11-25T11:22:41.521625986Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=11.031329ms policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:48 grafana | logger=migrator t=2023-11-25T11:22:41.524780371Z level=info msg="Executing migration" id="Update uid column values in playlist" policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:48 grafana | logger=migrator t=2023-11-25T11:22:41.524954122Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=173.88µs policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:48 grafana | logger=migrator t=2023-11-25T11:22:41.528209002Z level=info msg="Executing migration" id="Add index for uid in playlist" policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:48 grafana | logger=migrator t=2023-11-25T11:22:41.52932427Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.115618ms policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:48 grafana | logger=migrator t=2023-11-25T11:22:41.533374793Z level=info msg="Executing migration" id="update group index for alert rules" policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:48 grafana | logger=migrator t=2023-11-25T11:22:41.534004196Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=629.733µs policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:48 grafana | logger=migrator t=2023-11-25T11:22:41.537572033Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:48 grafana | logger=migrator t=2023-11-25T11:22:41.537943912Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=371.619µs policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:48 grafana | logger=migrator t=2023-11-25T11:22:41.541419144Z level=info msg="Executing migration" id="admin only folder/dashboard permission" policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:48 grafana | logger=migrator t=2023-11-25T11:22:41.541909121Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=489.837µs policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:48 grafana | logger=migrator t=2023-11-25T11:22:41.545288728Z level=info msg="Executing migration" id="add action column to seed_assignment" policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:48 grafana | logger=migrator t=2023-11-25T11:22:41.553948612Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=8.659724ms policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:48 grafana | logger=migrator t=2023-11-25T11:22:41.558580435Z level=info msg="Executing migration" id="add scope column to seed_assignment" policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:48 grafana | logger=migrator t=2023-11-25T11:22:41.56706724Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.486455ms policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:48 grafana | logger=migrator t=2023-11-25T11:22:41.570376004Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:48 grafana | logger=migrator t=2023-11-25T11:22:41.571445079Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.068895ms policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:49 grafana | logger=migrator t=2023-11-25T11:22:41.57470965Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:49 grafana | logger=migrator t=2023-11-25T11:22:41.68013944Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=105.4289ms policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:49 grafana | logger=migrator t=2023-11-25T11:22:41.685169474Z level=info msg="Executing migration" id="add unique index builtin_role_name back" policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2511231122450800u 1 2023-11-25 11:22:49 grafana | logger=migrator t=2023-11-25T11:22:41.685999728Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=829.904µs policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2511231122450900u 1 2023-11-25 11:22:49 grafana | logger=migrator t=2023-11-25T11:22:41.689562814Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2511231122450900u 1 2023-11-25 11:22:49 grafana | logger=migrator t=2023-11-25T11:22:41.690711125Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.114419ms policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2511231122450900u 1 2023-11-25 11:22:49 grafana | logger=migrator t=2023-11-25T11:22:41.694097092Z level=info msg="Executing migration" id="add primary key to seed_assigment" policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2511231122450900u 1 2023-11-25 11:22:49 grafana | logger=migrator t=2023-11-25T11:22:41.727381358Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=33.283936ms policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2511231122450900u 1 2023-11-25 11:22:49 grafana | logger=migrator t=2023-11-25T11:22:41.732074704Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2511231122450900u 1 2023-11-25 11:22:49 grafana | logger=migrator t=2023-11-25T11:22:41.732305387Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=230.613µs policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2511231122450900u 1 2023-11-25 11:22:49 grafana | logger=migrator t=2023-11-25T11:22:41.735595679Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2511231122450900u 1 2023-11-25 11:22:49 grafana | logger=migrator t=2023-11-25T11:22:41.735786849Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=191.07µs policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2511231122450900u 1 2023-11-25 11:22:49 grafana | logger=migrator t=2023-11-25T11:22:41.739956867Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2511231122450900u 1 2023-11-25 11:22:49 grafana | logger=migrator t=2023-11-25T11:22:41.740278864Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=322.627µs policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2511231122450900u 1 2023-11-25 11:22:49 grafana | logger=migrator t=2023-11-25T11:22:41.744659684Z level=info msg="Executing migration" id="create folder table" policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2511231122450900u 1 2023-11-25 11:22:49 grafana | logger=migrator t=2023-11-25T11:22:41.746190905Z level=info msg="Migration successfully executed" id="create folder table" duration=1.530021ms policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2511231122450900u 1 2023-11-25 11:22:49 grafana | logger=migrator t=2023-11-25T11:22:41.74972265Z level=info msg="Executing migration" id="Add index for parent_uid" policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2511231122451000u 1 2023-11-25 11:22:49 grafana | logger=migrator t=2023-11-25T11:22:41.750842368Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.119508ms policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2511231122451000u 1 2023-11-25 11:22:49 grafana | logger=migrator t=2023-11-25T11:22:41.754630608Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2511231122451000u 1 2023-11-25 11:22:49 grafana | logger=migrator t=2023-11-25T11:22:41.755787458Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.15645ms policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2511231122451000u 1 2023-11-25 11:22:49 grafana | logger=migrator t=2023-11-25T11:22:41.758967295Z level=info msg="Executing migration" id="Update folder title length" policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2511231122451000u 1 2023-11-25 11:22:49 grafana | logger=migrator t=2023-11-25T11:22:41.758993146Z level=info msg="Migration successfully executed" id="Update folder title length" duration=26.921µs policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2511231122451000u 1 2023-11-25 11:22:50 grafana | logger=migrator t=2023-11-25T11:22:41.763804599Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-11-25T11:22:41.765007501Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.202892ms grafana | logger=migrator t=2023-11-25T11:22:41.768270012Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2511231122451000u 1 2023-11-25 11:22:50 grafana | logger=migrator t=2023-11-25T11:22:41.769300777Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.032975ms policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2511231122451000u 1 2023-11-25 11:22:50 grafana | logger=migrator t=2023-11-25T11:22:41.773814273Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2511231122451000u 1 2023-11-25 11:22:50 grafana | logger=migrator t=2023-11-25T11:22:41.775575236Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.760013ms policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2511231122451100u 1 2023-11-25 11:22:50 grafana | logger=migrator t=2023-11-25T11:22:41.779119861Z level=info msg="Executing migration" id="create anon_device table" policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2511231122451200u 1 2023-11-25 11:22:50 grafana | logger=migrator t=2023-11-25T11:22:41.780471243Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.351172ms policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2511231122451200u 1 2023-11-25 11:22:50 grafana | logger=migrator t=2023-11-25T11:22:41.785136367Z level=info msg="Executing migration" id="add unique index anon_device.device_id" policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2511231122451200u 1 2023-11-25 11:22:50 grafana | logger=migrator t=2023-11-25T11:22:41.786286488Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.149741ms policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2511231122451200u 1 2023-11-25 11:22:50 grafana | logger=migrator t=2023-11-25T11:22:41.789479885Z level=info msg="Executing migration" id="add index anon_device.updated_at" policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 2511231122451300u 1 2023-11-25 11:22:50 grafana | logger=migrator t=2023-11-25T11:22:41.79091958Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.435275ms policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 2511231122451300u 1 2023-11-25 11:22:50 grafana | logger=migrator t=2023-11-25T11:22:41.794307119Z level=info msg="Executing migration" id="create signing_key table" policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 2511231122451300u 1 2023-11-25 11:22:50 grafana | logger=migrator t=2023-11-25T11:22:41.795514651Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.207313ms policy-db-migrator | policyadmin: OK @ 1300 grafana | logger=migrator t=2023-11-25T11:22:41.800085072Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2023-11-25T11:22:41.80119966Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.114129ms grafana | logger=migrator t=2023-11-25T11:22:41.805726487Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2023-11-25T11:22:41.80770294Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.977043ms grafana | logger=migrator t=2023-11-25T11:22:41.81130627Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2023-11-25T11:22:41.811755293Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=450.163µs grafana | logger=migrator t=2023-11-25T11:22:41.816201217Z level=info msg="migrations completed" performed=517 skipped=0 duration=4.05336303s grafana | logger=sqlstore t=2023-11-25T11:22:41.828335083Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2023-11-25T11:22:41.828525383Z level=info msg="Created default organization" grafana | logger=secrets t=2023-11-25T11:22:41.832055188Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=local.finder t=2023-11-25T11:22:41.89940208Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=query_data t=2023-11-25T11:22:41.902195847Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2023-11-25T11:22:41.906422959Z level=info msg="Live Push Gateway initialization" grafana | logger=infra.usagestats.collector t=2023-11-25T11:22:44.056470971Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2023-11-25T11:22:44.058751751Z level=info msg="inserting datasource from configuration " name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2023-11-25T11:22:44.073773076Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2023-11-25T11:22:44.073805028Z level=info msg="finished to provision alerting" grafana | logger=ngalert.state.manager t=2023-11-25T11:22:44.073934045Z level=info msg="Warming state cache for startup" grafana | logger=grafanaStorageLogger t=2023-11-25T11:22:44.074349667Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2023-11-25T11:22:44.074488424Z level=info msg="State cache has been initialized" states=0 duration=553.259µs grafana | logger=ngalert.scheduler t=2023-11-25T11:22:44.074534777Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2023-11-25T11:22:44.07459358Z level=info msg=starting first_tick=2023-11-25T11:22:50Z grafana | logger=ngalert.multiorg.alertmanager t=2023-11-25T11:22:44.074616151Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=http.server t=2023-11-25T11:22:44.075867436Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=ngalert.migration t=2023-11-25T11:22:44.118317867Z level=info msg=Starting grafana | logger=ngalert.migration t=2023-11-25T11:22:44.118726869Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-11-25T11:22:44.118891777Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-11-25T11:22:44.119216085Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-11-25T11:22:44.1194974Z level=warn msg="No available receivers" grafana | logger=ngalert.migration t=2023-11-25T11:22:44.127106307Z level=info msg="Completed legacy migration" grafana | logger=sqlstore.transactions t=2023-11-25T11:22:44.142926945Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2023-11-25T11:22:44.143227281Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=plugins.update.checker t=2023-11-25T11:22:44.143421411Z level=info msg="Update check succeeded" duration=66.702951ms grafana | logger=sqlstore.transactions t=2023-11-25T11:22:44.157808034Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" grafana | logger=sqlstore.transactions t=2023-11-25T11:22:44.246768489Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=grafana.update.checker t=2023-11-25T11:22:44.71954907Z level=info msg="Update check succeeded" duration=643.567497ms grafana | logger=infra.usagestats t=2023-11-25T11:23:50.09030601Z 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 policy-db-migrator ... done Removing grafana ... done Removing prometheus ... done Removing mariadb ... done Removing network compose_default ++ cd /w/workspace/policy-api-master-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.0q5A7rur7X ]] + rsync -av /tmp/tmp.0q5A7rur7X/ /w/workspace/policy-api-master-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,345,275 bytes received 95 bytes 2,690,740.00 bytes/sec total size is 1,344,626 speedup is 1.00 + rm -rf /w/workspace/policy-api-master-project-csit-api/models + exit 0 $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2060 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-master-project-csit-api] $ /bin/bash /tmp/jenkins8939443875247978372.sh ---> sysstat.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins12287779516609979631.sh ---> package-listing.sh ++ tr '[:upper:]' '[:lower:]' ++ facter osfamily + OS_FAMILY=debian + workspace=/w/workspace/policy-api-master-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-master-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-master-project-csit-api ']' + mkdir -p /w/workspace/policy-api-master-project-csit-api/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-master-project-csit-api/archives/ [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins5597668522951396678.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-id9f from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-id9f/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins7843135130996266043.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-master-project-csit-api@tmp/config11828240636050081567tmp 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-master-project-csit-api] $ /bin/bash /tmp/jenkins6460753196240736105.sh ---> create-netrc.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins8021056794001281809.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-id9f from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-id9f/bin to PATH [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins15491212970585505025.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins4799191573942890327.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-id9f 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-id9f/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [policy-api-master-project-csit-api] $ /bin/bash -l /tmp/jenkins11965431302021263540.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-id9f from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-id9f/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-master-project-csit-api/1430 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-4284 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 839 27305 0 4022 30872 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 fq_codel state UP group default qlen 1000 link/ether fa:16:3e:c0:c1:a7 brd ff:ff:ff:ff:ff:ff inet 10.30.107.95/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86045sec preferred_lft 86045sec inet6 fe80::f816:3eff:fec0:c1a7/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:88:9e:ad:72 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-4284) 11/25/23 _x86_64_ (8 CPU) 11:19:31 LINUX RESTART (8 CPU) 11:20:01 tps rtps wtps bread/s bwrtn/s 11:21:01 127.16 59.22 67.94 4087.32 27431.96 11:22:01 128.03 22.65 105.38 2719.28 33182.07 11:23:01 384.82 12.86 371.95 844.96 82937.33 11:24:01 16.26 0.52 15.75 31.86 18386.69 11:25:01 65.91 1.42 64.49 107.58 23456.24 Average: 144.44 19.33 125.10 1558.20 37078.86 11:20:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:21:01 30154852 31735140 2784368 8.45 67716 1823436 1361400 4.01 841232 1659920 165792 11:22:01 29704904 31717404 3234316 9.82 89620 2215276 1341336 3.95 913260 1999668 158900 11:23:01 27258644 30939596 5680576 17.25 127328 3776912 3856780 11.35 1809528 3425648 272 11:24:01 27061296 30744740 5877924 17.84 127472 3778596 4061596 11.95 2009352 3422488 140 11:25:01 27998072 31643012 4941148 15.00 129792 3747524 1449588 4.27 1143100 3376180 548 Average: 28435554 31355978 4503666 13.67 108386 3068349 2414140 7.10 1343294 2776781 65130 11:20:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:21:01 lo 1.47 1.47 0.16 0.16 0.00 0.00 0.00 0.00 11:21:01 ens3 329.85 214.83 1547.18 58.01 0.00 0.00 0.00 0.00 11:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:22:01 lo 4.00 4.00 0.38 0.38 0.00 0.00 0.00 0.00 11:22:01 ens3 67.37 48.63 992.62 8.88 0.00 0.00 0.00 0.00 11:22:01 br-2231e011f48f 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:23:01 vethf019b34 0.45 0.70 0.05 0.31 0.00 0.00 0.00 0.00 11:23:01 lo 5.50 5.50 0.49 0.49 0.00 0.00 0.00 0.00 11:23:01 vethdfdba83 23.21 21.50 10.53 14.78 0.00 0.00 0.00 0.00 11:23:01 vethf5e0131 50.46 61.26 17.67 15.02 0.00 0.00 0.00 0.00 11:24:01 vethf019b34 0.13 0.18 0.01 0.01 0.00 0.00 0.00 0.00 11:24:01 lo 9.53 9.53 8.48 8.48 0.00 0.00 0.00 0.00 11:24:01 vethdfdba83 101.63 84.07 30.85 99.15 0.00 0.00 0.00 0.01 11:24:01 vethf5e0131 80.42 98.57 96.92 23.93 0.00 0.00 0.00 0.01 11:25:01 lo 7.68 7.68 0.63 0.63 0.00 0.00 0.00 0.00 11:25:01 ens3 738.94 482.72 11900.94 106.07 0.00 0.00 0.00 0.00 11:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 5.64 5.64 2.03 2.03 0.00 0.00 0.00 0.00 Average: ens3 144.85 94.60 2366.84 20.94 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-4284) 11/25/23 _x86_64_ (8 CPU) 11:19:31 LINUX RESTART (8 CPU) 11:20:01 CPU %user %nice %system %iowait %steal %idle 11:21:01 all 11.40 0.00 0.98 2.61 0.04 84.97 11:21:01 0 7.64 0.00 0.87 0.68 0.03 90.77 11:21:01 1 3.29 0.00 0.77 11.08 0.02 84.84 11:21:01 2 4.16 0.00 0.27 0.20 0.03 95.33 11:21:01 3 2.15 0.00 0.50 0.25 0.02 97.08 11:21:01 4 3.49 0.00 0.58 1.50 0.02 94.41 11:21:01 5 5.21 0.00 0.77 4.46 0.03 89.53 11:21:01 6 40.54 0.00 2.42 1.85 0.07 55.12 11:21:01 7 24.75 0.00 1.62 0.87 0.05 72.72 11:22:01 all 9.36 0.00 0.86 3.04 0.04 86.70 11:22:01 0 21.94 0.00 1.42 6.37 0.05 70.21 11:22:01 1 1.54 0.00 0.49 12.87 0.03 85.07 11:22:01 2 7.88 0.00 1.04 1.30 0.07 89.72 11:22:01 3 4.52 0.00 0.79 0.02 0.03 94.64 11:22:01 4 0.72 0.00 0.38 0.97 0.03 97.90 11:22:01 5 0.28 0.00 0.20 0.02 0.02 99.48 11:22:01 6 20.07 0.00 1.15 0.92 0.05 77.81 11:22:01 7 17.93 0.00 1.44 1.94 0.07 78.63 11:23:01 all 14.80 0.00 3.99 5.49 0.08 75.64 11:23:01 0 10.67 0.00 3.47 4.51 0.07 81.29 11:23:01 1 15.50 0.00 4.54 5.30 0.07 74.59 11:23:01 2 11.50 0.00 3.30 1.31 0.07 83.82 11:23:01 3 12.31 0.00 3.56 5.15 0.08 78.91 11:23:01 4 18.08 0.00 4.84 24.06 0.14 52.88 11:23:01 5 14.28 0.00 3.99 1.49 0.07 80.18 11:23:01 6 16.23 0.00 3.48 1.10 0.07 79.13 11:23:01 7 19.88 0.00 4.73 1.09 0.07 74.23 11:24:01 all 5.76 0.00 0.53 2.13 0.04 91.54 11:24:01 0 5.78 0.00 0.45 0.02 0.07 93.69 11:24:01 1 7.32 0.00 0.67 0.00 0.03 91.98 11:24:01 2 4.87 0.00 0.40 0.00 0.03 94.70 11:24:01 3 4.55 0.00 0.38 0.12 0.02 94.94 11:24:01 4 7.85 0.00 0.62 16.66 0.05 74.82 11:24:01 5 4.63 0.00 0.53 0.00 0.05 94.78 11:24:01 6 4.02 0.00 0.50 0.07 0.03 95.38 11:24:01 7 7.11 0.00 0.65 0.22 0.05 91.97 11:25:01 all 5.41 0.00 0.60 1.46 0.03 92.49 11:25:01 0 1.52 0.00 0.55 0.02 0.02 97.90 11:25:01 1 1.88 0.00 0.37 0.13 0.02 97.60 11:25:01 2 1.97 0.00 0.45 0.42 0.03 97.13 11:25:01 3 1.08 0.00 0.52 0.33 0.00 98.07 11:25:01 4 7.76 0.00 0.57 7.06 0.03 84.58 11:25:01 5 21.98 0.00 1.30 1.43 0.12 75.17 11:25:01 6 2.67 0.00 0.48 2.20 0.02 94.63 11:25:01 7 4.39 0.00 0.62 0.15 0.02 94.83 Average: all 9.33 0.00 1.39 2.94 0.05 86.29 Average: 0 9.49 0.00 1.35 2.31 0.05 86.80 Average: 1 5.88 0.00 1.36 5.87 0.03 86.85 Average: 2 6.06 0.00 1.09 0.65 0.05 92.16 Average: 3 4.90 0.00 1.14 1.16 0.03 92.77 Average: 4 7.55 0.00 1.39 10.01 0.05 81.00 Average: 5 9.27 0.00 1.35 1.48 0.06 87.85 Average: 6 16.71 0.00 1.60 1.23 0.05 80.42 Average: 7 14.79 0.00 1.80 0.85 0.05 82.51