Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-509 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-london-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-91QAuvMQLPXY/agent.2050 SSH_AGENT_PID=2052 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_4315011409131459776.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_4315011409131459776.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-london-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/london^{commit} # timeout=10 Checking out Revision e830ea142a4b760cf152d9db92c451d74b2da1f2 (refs/remotes/origin/london) > git config core.sparsecheckout # timeout=10 > git checkout -f e830ea142a4b760cf152d9db92c451d74b2da1f2 # timeout=30 Commit message: "Make update to allow local image to be used in Nordix" > git rev-list --no-walk e830ea142a4b760cf152d9db92c451d74b2da1f2 # 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-london-project-csit-api] $ /bin/bash /tmp/jenkins5153913125887657638.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-m0GX 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-m0GX/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.2 from /tmp/venv-m0GX/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.2 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.29 botocore==1.34.29 bs4==0.0.2 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.5.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.5.0 docker==4.2.2 dogpile.cache==1.3.0 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.41 google-auth==2.27.0 httplib2==0.22.0 identify==2.5.33 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.5.0 kubernetes==29.0.0 lftools==0.37.8 lxml==5.1.0 MarkupSafe==2.1.4 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==0.10.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.0 oslo.config==9.3.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.3.0 oslo.utils==7.0.0 packaging==23.2 pbr==6.0.0 platformdirs==4.1.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.4.0 python-jenkins==1.8.2 python-keystoneclient==5.3.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.32.1 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.17.1 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.10.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.9.0 tzdata==2023.4 urllib3==1.26.18 virtualenv==20.25.0 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 [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-london-project-csit-api] $ /bin/sh /tmp/jenkins12563868147257069718.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-london-project-csit-api] $ /bin/sh -xe /tmp/jenkins5271960739151950534.sh + /w/workspace/policy-api-london-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-london-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-london-project-csit-api/csit:/w/workspace/policy-api-london-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-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin + export SCRIPTS=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts + SCRIPTS=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts + export ROBOT_VARIABLES= + ROBOT_VARIABLES= + export PROJECT=api + PROJECT=api + cd /w/workspace/policy-api-london-project-csit-api + rm -rf /w/workspace/policy-api-london-project-csit-api/csit/archives/api + mkdir -p /w/workspace/policy-api-london-project-csit-api/csit/archives/api + source_safely /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' +++ mktemp -d ++ ROBOT_VENV=/tmp/tmp.PSCKJ28Ylh ++ echo ROBOT_VENV=/tmp/tmp.PSCKJ28Ylh +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.PSCKJ28Ylh ++ source /tmp/tmp.PSCKJ28Ylh/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.PSCKJ28Ylh +++ 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-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin +++ PATH=/tmp/tmp.PSCKJ28Ylh/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin +++ export PATH +++ '[' -n '' ']' +++ '[' -z '' ']' +++ _OLD_VIRTUAL_PS1= +++ '[' 'x(tmp.PSCKJ28Ylh) ' '!=' x ']' +++ PS1='(tmp.PSCKJ28Ylh) ' +++ 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-london-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==5.1.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.PSCKJ28Ylh/src/onap ++ rm -rf /tmp/tmp.PSCKJ28Ylh/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==0.18.3 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==5.1.0 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ tr : ' ' ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.PSCKJ28Ylh/bin/activate + '[' -z /tmp/tmp.PSCKJ28Ylh/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.PSCKJ28Ylh/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-london-project-csit-api/csit:/w/workspace/policy-api-london-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-london-project-csit-api/csit:/w/workspace/policy-api-london-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.PSCKJ28Ylh ++ 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-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin ++ PATH=/tmp/tmp.PSCKJ28Ylh/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin ++ export PATH ++ '[' -n '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1='(tmp.PSCKJ28Ylh) ' ++ '[' 'x(tmp.PSCKJ28Ylh) ' '!=' x ']' ++ PS1='(tmp.PSCKJ28Ylh) (tmp.PSCKJ28Ylh) ' ++ export PS1 ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r + load_set + _setopts=hxB ++ tr : ' ' ++ echo braceexpand:hashall:interactive-comments:xtrace + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o 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-london-project-csit-api/csit/resources/tests + TEST_PLAN_DIR=/w/workspace/policy-api-london-project-csit-api/csit/resources/tests + export TEST_OPTIONS= + TEST_OPTIONS= ++ mktemp -d + WORKDIR=/tmp/tmp.YJTx5hhPAw + cd /tmp/tmp.YJTx5hhPAw + 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-london-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-london-project-csit-api/.gitreview +++ GERRIT_BRANCH=london +++ echo GERRIT_BRANCH=london GERRIT_BRANCH=london +++ rm -rf /w/workspace/policy-api-london-project-csit-api/models +++ mkdir /w/workspace/policy-api-london-project-csit-api/models +++ git clone -b london --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-london-project-csit-api/models Cloning into '/w/workspace/policy-api-london-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-london-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-london-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-london-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-london-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-london-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:2.6.2)... 2.6.2: Pulling from onap/policy-db-migrator Digest: sha256:a003c74f917627b7a14203f69b616fd4ffbb9c75689a5da0efcd611ad2535297 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2 Pulling api (nexus3.onap.org:10001/onap/policy-api:2.8.2)... 2.8.2: Pulling from onap/policy-api Digest: sha256:217c303960fc98a3dbef0c32dcca2beb777ec0b98b821daa59093c76f331177d Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:2.8.2 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:beb5e30ffba08d9ae8a7961b9a2145fc8af6296ff2a4f463df7cd722fcbfc789 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:7567a7c70a3c1d75aeeedc968d1304174a16651e55a60d1fb132a05e1e63a054 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating prometheus ... Creating mariadb ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-london-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds policy-db-migrator Up 11 seconds grafana Up 13 seconds mariadb Up 12 seconds prometheus Up 14 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds mariadb Up 17 seconds prometheus Up 19 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds mariadb Up 22 seconds prometheus Up 24 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-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-london-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:36:30 up 3 min, 0 users, load average: 2.50, 1.07, 0.43 Tasks: 176 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.9 us, 2.1 sy, 0.0 ni, 82.8 id, 4.1 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 2.0G 25G 1.0M 3.8G 28G 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 fc6ef513197a policy-api 0.14% 1008MiB / 31.41GiB 3.13% 1.04MB / 739kB 0B / 0B 52 0b71ea83e82a grafana 0.05% 56.15MiB / 31.41GiB 0.17% 19.2kB / 3.23kB 0B / 23.8MB 16 9ca65835b4cc mariadb 0.02% 100.1MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11MB / 67.7MB 28 a17c680a05ac prometheus 0.09% 18.38MiB / 31.41GiB 0.06% 1.31kB / 0B 102kB / 0B 13 + echo + cd /tmp/tmp.YJTx5hhPAw + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + sed 's|^|/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-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-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-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-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-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-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ============================================================================== api ============================================================================== api.Api-Test ============================================================================== Healthcheck :: Verify policy api health check | PASS | ------------------------------------------------------------------------------ Statistics :: Verify policy api statistics | 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 | 23 tests, 23 passed, 0 failed ============================================================================== api.Api-Slas ============================================================================== WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForStatistics :: Validate statistics response ... | 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 | 10 tests, 10 passed, 0 failed ============================================================================== api | PASS | 33 tests, 33 passed, 0 failed ============================================================================== Output: /tmp/tmp.YJTx5hhPAw/output.xml Log: /tmp/tmp.YJTx5hhPAw/log.html Report: /tmp/tmp.YJTx5hhPAw/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-london-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:37:42 up 5 min, 0 users, load average: 1.04, 0.96, 0.43 Tasks: 174 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.3 us, 1.7 sy, 0.0 ni, 85.5 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 2.0G 25G 1.0M 3.8G 28G 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 fc6ef513197a policy-api 0.11% 1.038GiB / 31.41GiB 3.30% 7.32MB / 2.89MB 0B / 0B 52 0b71ea83e82a grafana 0.02% 58.33MiB / 31.41GiB 0.18% 20.4kB / 4.46kB 0B / 23.8MB 16 9ca65835b4cc mariadb 0.02% 100.9MiB / 31.41GiB 0.31% 2.75MB / 7.35MB 11MB / 67.9MB 18 a17c680a05ac prometheus 0.00% 24.03MiB / 31.41GiB 0.07% 60kB / 7.81kB 102kB / 0B 13 + echo + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose ++ cd /w/workspace/policy-api-london-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, policy-db-migrator, grafana, mariadb, prometheus grafana | logger=settings t=2024-01-28T11:36:02.289502614Z level=info msg="Starting Grafana" version=10.3.1 commit=00a22ff8b28550d593ec369ba3da1b25780f0a4a branch=HEAD compiled=2024-01-22T18:40:42Z grafana | logger=settings t=2024-01-28T11:36:02.289891487Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-01-28T11:36:02.289906807Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-01-28T11:36:02.289911397Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-01-28T11:36:02.289914287Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-01-28T11:36:02.289917057Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-01-28T11:36:02.289920107Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-01-28T11:36:02.289924197Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-01-28T11:36:02.289928157Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-01-28T11:36:02.289932167Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-01-28T11:36:02.289934797Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-01-28T11:36:02.289939027Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-01-28T11:36:02.289941927Z level=info msg=Target target=[all] grafana | logger=settings t=2024-01-28T11:36:02.289947367Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-01-28T11:36:02.289950437Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-01-28T11:36:02.289953747Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-01-28T11:36:02.289962827Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-01-28T11:36:02.289967147Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-01-28T11:36:02.289973657Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-01-28T11:36:02.29032419Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-01-28T11:36:02.2903515Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-01-28T11:36:02.291106937Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-01-28T11:36:02.292153305Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-01-28T11:36:02.293138883Z level=info msg="Migration successfully executed" id="create migration_log table" duration=982.538µs grafana | logger=migrator t=2024-01-28T11:36:02.297321698Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-01-28T11:36:02.297863822Z level=info msg="Migration successfully executed" id="create user table" duration=541.714µs grafana | logger=migrator t=2024-01-28T11:36:02.304621907Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-01-28T11:36:02.305949218Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.326011ms grafana | logger=migrator t=2024-01-28T11:36:02.344540643Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-01-28T11:36:02.346053905Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.513842ms grafana | logger=migrator t=2024-01-28T11:36:02.350360011Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-01-28T11:36:02.35155673Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.197149ms grafana | logger=migrator t=2024-01-28T11:36:02.357970702Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-01-28T11:36:02.358630158Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=654.986µs grafana | logger=migrator t=2024-01-28T11:36:02.362002276Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-01-28T11:36:02.36626527Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.253404ms grafana | logger=migrator t=2024-01-28T11:36:02.369809379Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-01-28T11:36:02.370626326Z level=info msg="Migration successfully executed" id="create user table v2" duration=816.747µs grafana | logger=migrator t=2024-01-28T11:36:02.373690531Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-01-28T11:36:02.374418697Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=728.016µs grafana | logger=migrator t=2024-01-28T11:36:02.379811361Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-01-28T11:36:02.381335574Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.523833ms grafana | logger=migrator t=2024-01-28T11:36:02.384994633Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-01-28T11:36:02.38582468Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=831.357µs grafana | logger=migrator t=2024-01-28T11:36:02.389011237Z level=info msg="Executing migration" id="Drop old table user_v1" mariadb | 2024-01-28 11:36:03+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-01-28 11:36:03+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-01-28 11:36:03+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-01-28 11:36:03+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-01-28 11:36:03 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-01-28 11:36:03 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-28 11:36:03 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2024-01-28 11:36:05+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-01-28 11:36:05+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-01-28 11:36:05+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-01-28 11:36:05 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 97 ... mariadb | 2024-01-28 11:36:05 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-01-28 11:36:05 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-01-28 11:36:05 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-01-28 11:36:05 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-01-28 11:36:05 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-01-28 11:36:05 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-28 11:36:05 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-01-28 11:36:05 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-01-28 11:36:05 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-01-28 11:36:05 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-01-28 11:36:05 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-01-28 11:36:05 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-01-28 11:36:05 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-01-28 11:36:05 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-01-28 11:36:05 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. grafana | logger=migrator t=2024-01-28T11:36:02.389628071Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=616.534µs grafana | logger=migrator t=2024-01-28T11:36:02.395881462Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-01-28T11:36:02.397460446Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.569423ms grafana | logger=migrator t=2024-01-28T11:36:02.401261216Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-01-28T11:36:02.401339957Z level=info msg="Migration successfully executed" id="Update user table charset" duration=80.361µs grafana | logger=migrator t=2024-01-28T11:36:02.404816485Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-01-28T11:36:02.405907754Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.091469ms grafana | logger=migrator t=2024-01-28T11:36:02.408943289Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-01-28T11:36:02.409169911Z level=info msg="Migration successfully executed" id="Add missing user data" duration=226.352µs grafana | logger=migrator t=2024-01-28T11:36:02.414821957Z level=info msg="Executing migration" id="Add is_disabled column to user" mariadb | 2024-01-28 11:36:05 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-01-28 11:36:05 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-01-28 11:36:05 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2024-01-28 11:36:06+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-01-28 11:36:08+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-01-28 11:36:08+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | mariadb | 2024-01-28 11:36:08+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | 2024-01-28 11:36:08+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'\''@'\''%'\'' ;' policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb 3306 port [tcp/mysql] succeeded! policy-db-migrator | 314 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 policy-db-migrator | upgrade: 0 -> 1200 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | grafana | logger=migrator t=2024-01-28T11:36:02.416787942Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.965075ms grafana | logger=migrator t=2024-01-28T11:36:02.419956299Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-01-28T11:36:02.421190769Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.23305ms grafana | logger=migrator t=2024-01-28T11:36:02.424362264Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-01-28T11:36:02.425533295Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.170631ms grafana | logger=migrator t=2024-01-28T11:36:02.429368756Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-01-28T11:36:02.439428458Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=10.059362ms grafana | logger=migrator t=2024-01-28T11:36:02.445362656Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-01-28T11:36:02.44586221Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=497.244µs grafana | logger=migrator t=2024-01-28T11:36:02.448953405Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-01-28T11:36:02.44950473Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=550.775µs grafana | logger=migrator t=2024-01-28T11:36:02.452972498Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-01-28T11:36:02.454110918Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.138399ms grafana | logger=migrator t=2024-01-28T11:36:02.459773824Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-01-28T11:36:02.460959433Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.184869ms grafana | logger=migrator t=2024-01-28T11:36:02.464492242Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-01-28T11:36:02.465659092Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.16353ms grafana | logger=migrator t=2024-01-28T11:36:02.469060009Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-01-28T11:36:02.469083659Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=24.62µs grafana | logger=migrator t=2024-01-28T11:36:02.475077858Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-01-28T11:36:02.475861695Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=786.617µs grafana | logger=migrator t=2024-01-28T11:36:02.479418174Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-01-28T11:36:02.480523103Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.095069ms grafana | logger=migrator t=2024-01-28T11:36:02.483970161Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-01-28T11:36:02.484914109Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=944.568µs grafana | logger=migrator t=2024-01-28T11:36:02.490515055Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-01-28T11:36:02.49115923Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=643.825µs grafana | logger=migrator t=2024-01-28T11:36:02.49492361Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-28T11:36:02.500728677Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=5.803997ms grafana | logger=migrator t=2024-01-28T11:36:02.504108536Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-01-28T11:36:02.504880242Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=770.966µs grafana | logger=migrator t=2024-01-28T11:36:02.510649349Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-01-28T11:36:02.511540936Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=890.167µs grafana | logger=migrator t=2024-01-28T11:36:02.515055435Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-01-28T11:36:02.516210064Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.153949ms grafana | logger=migrator t=2024-01-28T11:36:02.519566072Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-01-28T11:36:02.521382617Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.813925ms grafana | logger=migrator t=2024-01-28T11:36:02.525371179Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-01-28T11:36:02.526782751Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.411542ms policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.3: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 :: (v2.7.8) policy-api | policy-api | [2024-01-28T11:36:17.854+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 32 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-01-28T11:36:17.858+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-01-28T11:36:19.293+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-01-28T11:36:19.398+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 90 ms. Found 6 JPA repository interfaces. policy-api | [2024-01-28T11:36:20.587+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-01-28T11:36:20.601+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-01-28T11:36:20.602+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-01-28T11:36:20.602+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2024-01-28T11:36:20.692+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-01-28T11:36:20.692+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2765 ms policy-api | [2024-01-28T11:36:21.314+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-01-28T11:36:21.399+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2024-01-28T11:36:21.702+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2024-01-28T11:36:21.850+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-01-28T11:36:21.984+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-01-28T11:36:22.013+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2024-01-28T11:36:23.529+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2024-01-28T11:36:23.548+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-01-28T11:36:24.811+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-01-28T11:36:25.576+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-01-28T11:36:26.662+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@14d294f4, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@4c902a72, org.springframework.security.web.context.SecurityContextPersistenceFilter@40eb85e9, org.springframework.security.web.header.HeaderWriterFilter@68a0a4ae, org.springframework.security.web.authentication.logout.LogoutFilter@312eb, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@644a12be, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@55e073c8, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@bb0dcb6, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@78571a17, org.springframework.security.web.session.SessionManagementFilter@5434de8, org.springframework.security.web.access.ExceptionTranslationFilter@2411cf8b, org.springframework.security.web.access.intercept.AuthorizationFilter@2162b22d] policy-api | [2024-01-28T11:36:26.804+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2024-01-28T11:36:30.515+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-01-28T11:36:30.543+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-01-28T11:36:30.580+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-01-28T11:36:30.604+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 13.615 seconds (JVM running for 14.22) policy-api | [2024-01-28T11:36:33.876+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-01-28T11:36:33.876+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-01-28T11:36:33.878+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms policy-api | [2024-01-28T11:36:36.666+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-01-28T11:36:36.829+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2024-01-28T11:36:37.103+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2024-01-28T11:36:38.189+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2024-01-28T11:36:40.131+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-01-28T11:36:40.561+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-01-28T11:36:40.807+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2024-01-28T11:36:41.055+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-01-28T11:36:41.343+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-01-28T11:36:41.578+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2024-01-28 11:36:09+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-01-28 11:36:09 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-01-28 11:36:09 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-01-28 11:36:09 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-01-28 11:36:09 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-01-28 11:36:09 0 [Note] InnoDB: Buffer pool(s) dump completed at 240128 11:36:09 mariadb | 2024-01-28 11:36:09 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-01-28 11:36:09 0 [Note] InnoDB: Shutdown completed; log sequence number 340248; transaction id 298 mariadb | 2024-01-28 11:36:09 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-01-28 11:36:09+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-01-28 11:36:09+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-01-28 11:36:09 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-01-28 11:36:09 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-01-28 11:36:09 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-01-28 11:36:09 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-01-28 11:36:09 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-01-28 11:36:09 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-01-28 11:36:09 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-28 11:36:09 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-01-28 11:36:09 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-01-28 11:36:09 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-01-28 11:36:09 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-01-28 11:36:09 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-01-28 11:36:09 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-01-28 11:36:09 0 [Note] InnoDB: log sequence number 340248; transaction id 299 mariadb | 2024-01-28 11:36:09 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-01-28 11:36:09 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-01-28 11:36:09 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-01-28 11:36:09 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-01-28 11:36:09 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-01-28 11:36:09 0 [Note] Server socket created on IP: '::'. mariadb | 2024-01-28 11:36:09 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2024-01-28 11:36:09 0 [Note] InnoDB: Buffer pool(s) load completed at 240128 11:36:09 mariadb | 2024-01-28 11:36:10 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) mariadb | 2024-01-28 11:36:10 6 [Warning] Aborted connection 6 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:02.53031718Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-01-28T11:36:02.530840864Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=517.684µs grafana | logger=migrator t=2024-01-28T11:36:02.533282564Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-01-28T11:36:02.533929389Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=640.705µs grafana | logger=migrator t=2024-01-28T11:36:02.538352175Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-01-28T11:36:02.538828099Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=472.624µs grafana | logger=migrator t=2024-01-28T11:36:02.541148028Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-01-28T11:36:02.541824483Z level=info msg="Migration successfully executed" id="create star table" duration=676.035µs grafana | logger=migrator t=2024-01-28T11:36:02.545197391Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-01-28T11:36:02.546032728Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=835.027µs grafana | logger=migrator t=2024-01-28T11:36:02.549192334Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-01-28T11:36:02.54996209Z level=info msg="Migration successfully executed" id="create org table v1" duration=736.536µs grafana | logger=migrator t=2024-01-28T11:36:02.555489515Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-01-28T11:36:02.556322802Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=832.897µs grafana | logger=migrator t=2024-01-28T11:36:02.559735429Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-01-28T11:36:02.560889089Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.15283ms grafana | logger=migrator t=2024-01-28T11:36:02.564593229Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-01-28T11:36:02.565430067Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=838.448µs grafana | logger=migrator t=2024-01-28T11:36:02.568485051Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-01-28T11:36:02.569351598Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=858.177µs grafana | logger=migrator t=2024-01-28T11:36:02.573630293Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-01-28T11:36:02.57447007Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=842.917µs grafana | logger=migrator t=2024-01-28T11:36:02.577453184Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-01-28T11:36:02.577482755Z level=info msg="Migration successfully executed" id="Update org table charset" duration=30.601µs grafana | logger=migrator t=2024-01-28T11:36:02.580481499Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-01-28T11:36:02.580506649Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=25.73µs grafana | logger=migrator t=2024-01-28T11:36:02.583745515Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-01-28T11:36:02.584037108Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=286.803µs grafana | logger=migrator t=2024-01-28T11:36:02.588953828Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-01-28T11:36:02.589916506Z level=info msg="Migration successfully executed" id="create dashboard table" duration=962.408µs grafana | logger=migrator t=2024-01-28T11:36:02.593618156Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-01-28T11:36:02.594798916Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.18026ms grafana | logger=migrator t=2024-01-28T11:36:02.598299304Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-01-28T11:36:02.599568735Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.273781ms grafana | logger=migrator t=2024-01-28T11:36:02.602938272Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-01-28T11:36:02.603559307Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=620.805µs grafana | logger=migrator t=2024-01-28T11:36:02.608103395Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-01-28T11:36:02.608904241Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=800.266µs grafana | logger=migrator t=2024-01-28T11:36:02.612129627Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-01-28T11:36:02.613271397Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.14136ms grafana | logger=migrator t=2024-01-28T11:36:02.616869476Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-01-28T11:36:02.62472106Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=7.847254ms grafana | logger=migrator t=2024-01-28T11:36:02.629806591Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-01-28T11:36:02.630473007Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=660.806µs grafana | logger=migrator t=2024-01-28T11:36:02.633663623Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-01-28T11:36:02.634376459Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=712.466µs grafana | logger=migrator t=2024-01-28T11:36:02.637507064Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-01-28T11:36:02.638247751Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=740.417µs grafana | logger=migrator t=2024-01-28T11:36:02.642676107Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-01-28T11:36:02.642992209Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=315.672µs grafana | logger=migrator t=2024-01-28T11:36:02.645180577Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-01-28T11:36:02.645942143Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=761.136µs grafana | logger=migrator t=2024-01-28T11:36:02.650790843Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-01-28T11:36:02.650897194Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=106.941µs grafana | logger=migrator t=2024-01-28T11:36:02.654451603Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-01-28T11:36:02.657037454Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.586681ms grafana | logger=migrator t=2024-01-28T11:36:02.660029808Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-01-28T11:36:02.661770643Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.740395ms grafana | logger=migrator t=2024-01-28T11:36:02.664876428Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-01-28T11:36:02.666582282Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.705644ms grafana | logger=migrator t=2024-01-28T11:36:02.67134228Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-01-28T11:36:02.672138808Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=795.588µs policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0450-pdpgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:02.675537815Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-01-28T11:36:02.678657481Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=3.116606ms grafana | logger=migrator t=2024-01-28T11:36:02.682157039Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:02.683080067Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=924.098µs grafana | logger=migrator t=2024-01-28T11:36:02.687555503Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-01-28T11:36:02.688370849Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=811.936µs grafana | logger=migrator t=2024-01-28T11:36:02.691469416Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-01-28T11:36:02.691501206Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=32.86µs grafana | logger=migrator t=2024-01-28T11:36:02.744569268Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-01-28T11:36:02.744617508Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=62.17µs grafana | logger=migrator t=2024-01-28T11:36:02.750002712Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-01-28T11:36:02.753046607Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.046705ms grafana | logger=migrator t=2024-01-28T11:36:02.757962568Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-01-28T11:36:02.761141193Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=3.178335ms grafana | logger=migrator t=2024-01-28T11:36:02.764565482Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-01-28T11:36:02.767736178Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=3.170426ms grafana | logger=migrator t=2024-01-28T11:36:02.772539106Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-01-28T11:36:02.774476692Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.937366ms grafana | logger=migrator t=2024-01-28T11:36:02.77787437Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-01-28T11:36:02.778054621Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=180.251µs grafana | logger=migrator t=2024-01-28T11:36:02.781517191Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-01-28T11:36:02.782297197Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=780.617µs grafana | logger=migrator t=2024-01-28T11:36:02.785437342Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-01-28T11:36:02.786145418Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=709.176µs grafana | logger=migrator t=2024-01-28T11:36:02.790761396Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-01-28T11:36:02.790804616Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=39.29µs grafana | logger=migrator t=2024-01-28T11:36:02.794284474Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-01-28T11:36:02.795482595Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.19774ms grafana | logger=migrator t=2024-01-28T11:36:02.799079444Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-01-28T11:36:02.799703728Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=623.954µs grafana | logger=migrator t=2024-01-28T11:36:02.804193386Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-28T11:36:02.811134452Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=6.944016ms grafana | logger=migrator t=2024-01-28T11:36:02.814243047Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-01-28T11:36:02.814862673Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=619.456µs grafana | logger=migrator t=2024-01-28T11:36:02.817906688Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-01-28T11:36:02.818638183Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=725.666µs grafana | logger=migrator t=2024-01-28T11:36:02.823494983Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-01-28T11:36:02.82432815Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=832.807µs grafana | logger=migrator t=2024-01-28T11:36:02.827330494Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-01-28T11:36:02.827678417Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=347.663µs grafana | logger=migrator t=2024-01-28T11:36:02.830796522Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-01-28T11:36:02.831321856Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=531.324µs grafana | logger=migrator t=2024-01-28T11:36:02.835851034Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-01-28T11:36:02.839379782Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.525058ms grafana | logger=migrator t=2024-01-28T11:36:02.842899172Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-01-28T11:36:02.844053151Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=1.154749ms prometheus | ts=2024-01-28T11:36:01.344Z caller=main.go:544 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2024-01-28T11:36:01.344Z caller=main.go:588 level=info msg="Starting Prometheus Server" mode=server version="(version=2.49.1, branch=HEAD, revision=43e14844a33b65e2a396e3944272af8b3a494071)" prometheus | ts=2024-01-28T11:36:01.344Z caller=main.go:593 level=info build_context="(go=go1.21.6, platform=linux/amd64, user=root@6d5f4c649d25, date=20240115-16:58:43, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2024-01-28T11:36:01.344Z caller=main.go:594 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" prometheus | ts=2024-01-28T11:36:01.344Z caller=main.go:595 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-01-28T11:36:01.344Z caller=main.go:596 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-01-28T11:36:01.350Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-01-28T11:36:01.351Z caller=main.go:1039 level=info msg="Starting TSDB ..." prometheus | ts=2024-01-28T11:36:01.354Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-01-28T11:36:01.354Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-01-28T11:36:01.357Z caller=head.go:606 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-01-28T11:36:01.357Z caller=head.go:687 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=1.99µs prometheus | ts=2024-01-28T11:36:01.357Z caller=head.go:695 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-01-28T11:36:01.358Z caller=head.go:766 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-01-28T11:36:01.358Z caller=head.go:803 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=162.622µs wal_replay_duration=491.029µs wbl_replay_duration=200ns total_replay_duration=940.796µs prometheus | ts=2024-01-28T11:36:01.362Z caller=main.go:1060 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-01-28T11:36:01.362Z caller=main.go:1063 level=info msg="TSDB started" prometheus | ts=2024-01-28T11:36:01.362Z caller=main.go:1245 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-01-28T11:36:01.364Z caller=main.go:1282 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=2.478331ms db_storage=1.55µs remote_storage=2.65µs web_handler=1.02µs query_engine=1.25µs scrape=593.77µs scrape_sd=224.283µs notify=41.471µs notify_sd=27.21µs rules=2.341µs tracing=8.17µs prometheus | ts=2024-01-28T11:36:01.364Z caller=main.go:1024 level=info msg="Server is ready to receive web requests." prometheus | ts=2024-01-28T11:36:01.364Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2024-01-28T11:36:02.847068645Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-01-28T11:36:02.847236477Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=167.872µs grafana | logger=migrator t=2024-01-28T11:36:02.851771354Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-01-28T11:36:02.851937255Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=165.821µs grafana | logger=migrator t=2024-01-28T11:36:02.855215392Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-01-28T11:36:02.856426201Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.210549ms grafana | logger=migrator t=2024-01-28T11:36:02.85989697Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-01-28T11:36:02.862239438Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.343218ms grafana | logger=migrator t=2024-01-28T11:36:02.865295864Z level=info msg="Executing migration" id="create data_source table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0690-toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:02.866109101Z level=info msg="Migration successfully executed" id="create data_source table" duration=812.947µs grafana | logger=migrator t=2024-01-28T11:36:02.870575797Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-01-28T11:36:02.871307383Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=731.066µs grafana | logger=migrator t=2024-01-28T11:36:02.874043606Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-01-28T11:36:02.874842942Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=798.576µs grafana | logger=migrator t=2024-01-28T11:36:02.877909747Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-01-28T11:36:02.878630842Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=720.995µs grafana | logger=migrator t=2024-01-28T11:36:02.882927748Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-01-28T11:36:02.883665614Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=705.395µs grafana | logger=migrator t=2024-01-28T11:36:02.886609058Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-01-28T11:36:02.894429622Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=7.819744ms grafana | logger=migrator t=2024-01-28T11:36:02.899165611Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-01-28T11:36:02.899855986Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=690.215µs grafana | logger=migrator t=2024-01-28T11:36:02.902568968Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-01-28T11:36:02.903172713Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=599.865µs grafana | logger=migrator t=2024-01-28T11:36:02.906140097Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-01-28T11:36:02.906954344Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=813.607µs grafana | logger=migrator t=2024-01-28T11:36:02.911698913Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-01-28T11:36:02.912227827Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=533.934µs grafana | logger=migrator t=2024-01-28T11:36:02.915520053Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-01-28T11:36:02.919401856Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.881443ms grafana | logger=migrator t=2024-01-28T11:36:02.922743163Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-01-28T11:36:02.925040072Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.296969ms grafana | logger=migrator t=2024-01-28T11:36:02.929352947Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-01-28T11:36:02.929380587Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=28.38µs grafana | logger=migrator t=2024-01-28T11:36:02.93225731Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-01-28T11:36:02.932440413Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=176.732µs grafana | logger=migrator t=2024-01-28T11:36:02.935131004Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-01-28T11:36:02.937777675Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.643751ms grafana | logger=migrator t=2024-01-28T11:36:02.940520338Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-01-28T11:36:02.940693549Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=173.321µs grafana | logger=migrator t=2024-01-28T11:36:02.944688302Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-01-28T11:36:02.944881604Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=193.572µs grafana | logger=migrator t=2024-01-28T11:36:02.947892258Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-01-28T11:36:02.951658189Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.73891ms grafana | logger=migrator t=2024-01-28T11:36:02.954773634Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-01-28T11:36:02.954945866Z level=info msg="Migration successfully executed" id="Update uid value" duration=172.622µs grafana | logger=migrator t=2024-01-28T11:36:02.959213381Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-01-28T11:36:02.960059347Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=842.236µs grafana | logger=migrator t=2024-01-28T11:36:02.96286259Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-01-28T11:36:02.963704578Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=838.288µs grafana | logger=migrator t=2024-01-28T11:36:02.966624472Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-01-28T11:36:02.967324917Z level=info msg="Migration successfully executed" id="create api_key table" duration=701.185µs grafana | logger=migrator t=2024-01-28T11:36:02.971652453Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-01-28T11:36:02.972415619Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=763.066µs grafana | logger=migrator t=2024-01-28T11:36:02.975301962Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-01-28T11:36:02.976130019Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=827.567µs grafana | logger=migrator t=2024-01-28T11:36:02.979146003Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-01-28T11:36:02.980011471Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=865.158µs grafana | logger=migrator t=2024-01-28T11:36:02.985767438Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-01-28T11:36:02.986535454Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=765.186µs grafana | logger=migrator t=2024-01-28T11:36:02.989171515Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-01-28T11:36:02.989901941Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=729.686µs policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0770-toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0780-toscarequirements.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:02.992700884Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-01-28T11:36:02.9934945Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=793.296µs grafana | logger=migrator t=2024-01-28T11:36:02.997696665Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-01-28T11:36:03.006345483Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=8.646308ms grafana | logger=migrator t=2024-01-28T11:36:03.00908588Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-01-28T11:36:03.009734634Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=643.754µs grafana | logger=migrator t=2024-01-28T11:36:03.01368862Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-01-28T11:36:03.014441695Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=752.755µs grafana | logger=migrator t=2024-01-28T11:36:03.017859107Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-01-28T11:36:03.018622941Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=767.834µs grafana | logger=migrator t=2024-01-28T11:36:03.0229592Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-01-28T11:36:03.023821275Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=853.695µs grafana | logger=migrator t=2024-01-28T11:36:03.026969825Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-01-28T11:36:03.027296267Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=326.472µs grafana | logger=migrator t=2024-01-28T11:36:03.030347657Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-01-28T11:36:03.030867831Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=519.854µs grafana | logger=migrator t=2024-01-28T11:36:03.034143372Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-01-28T11:36:03.034171192Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=28.67µs grafana | logger=migrator t=2024-01-28T11:36:03.038345438Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-01-28T11:36:03.040891075Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.545387ms grafana | logger=migrator t=2024-01-28T11:36:03.044239426Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-01-28T11:36:03.046685112Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.442846ms grafana | logger=migrator t=2024-01-28T11:36:03.049879022Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-01-28T11:36:03.050038364Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=159.192µs grafana | logger=migrator t=2024-01-28T11:36:03.054091609Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-01-28T11:36:03.056532455Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.443606ms grafana | logger=migrator t=2024-01-28T11:36:03.059741025Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-01-28T11:36:03.062268492Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.527047ms grafana | logger=migrator t=2024-01-28T11:36:03.065454612Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-01-28T11:36:03.066133266Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=680.014µs grafana | logger=migrator t=2024-01-28T11:36:03.070215503Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-01-28T11:36:03.070721036Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=505.453µs grafana | logger=migrator t=2024-01-28T11:36:03.073251852Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-01-28T11:36:03.073940746Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=688.534µs grafana | logger=migrator t=2024-01-28T11:36:03.076865115Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-01-28T11:36:03.077617569Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=757.394µs grafana | logger=migrator t=2024-01-28T11:36:03.118659031Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-01-28T11:36:03.119915049Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.255287ms grafana | logger=migrator t=2024-01-28T11:36:03.123303691Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-01-28T11:36:03.124127316Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=823.405µs grafana | logger=migrator t=2024-01-28T11:36:03.127139695Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-01-28T11:36:03.127204235Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=64.42µs grafana | logger=migrator t=2024-01-28T11:36:03.131314812Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-01-28T11:36:03.131393762Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=82.48µs grafana | logger=migrator t=2024-01-28T11:36:03.134758574Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-01-28T11:36:03.139371372Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.611698ms grafana | logger=migrator t=2024-01-28T11:36:03.142734945Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-01-28T11:36:03.145536332Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.801107ms grafana | logger=migrator t=2024-01-28T11:36:03.149282496Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-01-28T11:36:03.149346936Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=64.89µs grafana | logger=migrator t=2024-01-28T11:36:03.153502142Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-01-28T11:36:03.154229748Z level=info msg="Migration successfully executed" id="create quota table v1" duration=727.256µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:03.157385718Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-01-28T11:36:03.158272353Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=886.305µs grafana | logger=migrator t=2024-01-28T11:36:03.161454723Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-01-28T11:36:03.161499663Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=50.41µs grafana | logger=migrator t=2024-01-28T11:36:03.165528979Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-01-28T11:36:03.166292164Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=762.535µs grafana | logger=migrator t=2024-01-28T11:36:03.169632665Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-01-28T11:36:03.170562372Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=928.957µs grafana | logger=migrator t=2024-01-28T11:36:03.173933773Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-01-28T11:36:03.176892242Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.957999ms grafana | logger=migrator t=2024-01-28T11:36:03.18134645Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-01-28T11:36:03.18136943Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=24.04µs grafana | logger=migrator t=2024-01-28T11:36:03.185338986Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-01-28T11:36:03.186198731Z level=info msg="Migration successfully executed" id="create session table" duration=859.815µs grafana | logger=migrator t=2024-01-28T11:36:03.189458202Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-01-28T11:36:03.189539792Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=81.84µs grafana | logger=migrator t=2024-01-28T11:36:03.192590072Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-01-28T11:36:03.192664882Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=75.32µs grafana | logger=migrator t=2024-01-28T11:36:03.197372842Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-01-28T11:36:03.198028676Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=655.514µs grafana | logger=migrator t=2024-01-28T11:36:03.202068063Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-01-28T11:36:03.202733557Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=665.264µs grafana | logger=migrator t=2024-01-28T11:36:03.205848196Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-01-28T11:36:03.205872076Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=24.36µs grafana | logger=migrator t=2024-01-28T11:36:03.209794932Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-01-28T11:36:03.209827222Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=30.85µs grafana | logger=migrator t=2024-01-28T11:36:03.213537915Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-01-28T11:36:03.216858936Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=3.320731ms grafana | logger=migrator t=2024-01-28T11:36:03.221976759Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-01-28T11:36:03.22531389Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.333791ms grafana | logger=migrator t=2024-01-28T11:36:03.228704932Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-01-28T11:36:03.228820192Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=115.67µs grafana | logger=migrator t=2024-01-28T11:36:03.232662907Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-01-28T11:36:03.232747098Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=84.491µs grafana | logger=migrator t=2024-01-28T11:36:03.236034349Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-01-28T11:36:03.237207086Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.172197ms grafana | logger=migrator t=2024-01-28T11:36:03.242823002Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-01-28T11:36:03.242854252Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=32.91µs grafana | logger=migrator t=2024-01-28T11:36:03.24568518Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-01-28T11:36:03.249190243Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.511193ms grafana | logger=migrator t=2024-01-28T11:36:03.253359939Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-01-28T11:36:03.25352115Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=220.352µs grafana | logger=migrator t=2024-01-28T11:36:03.256407458Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-01-28T11:36:03.259511418Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.10319ms grafana | logger=migrator t=2024-01-28T11:36:03.262602977Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2024-01-28T11:36:03.265784569Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.181312ms grafana | logger=migrator t=2024-01-28T11:36:03.270695959Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-01-28T11:36:03.27076971Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=74.201µs grafana | logger=migrator t=2024-01-28T11:36:03.273458597Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-01-28T11:36:03.274387323Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=927.976µs grafana | logger=migrator t=2024-01-28T11:36:03.277517393Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-01-28T11:36:03.278386528Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=872.765µs grafana | logger=migrator t=2024-01-28T11:36:03.28327751Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2024-01-28T11:36:03.284285786Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.008306ms grafana | logger=migrator t=2024-01-28T11:36:03.287461656Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-01-28T11:36:03.289050667Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.588861ms grafana | logger=migrator t=2024-01-28T11:36:03.293465974Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-01-28T11:36:03.294469661Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.002747ms grafana | logger=migrator t=2024-01-28T11:36:03.29915913Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-01-28T11:36:03.301714207Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=2.561577ms grafana | logger=migrator t=2024-01-28T11:36:03.306794939Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-01-28T11:36:03.307717905Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=920.656µs grafana | logger=migrator t=2024-01-28T11:36:03.310697545Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-01-28T11:36:03.311859782Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.161977ms grafana | logger=migrator t=2024-01-28T11:36:03.314448508Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-01-28T11:36:03.315192483Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=743.895µs grafana | logger=migrator t=2024-01-28T11:36:03.320597647Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-01-28T11:36:03.334482476Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=13.884309ms grafana | logger=migrator t=2024-01-28T11:36:03.337722026Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-01-28T11:36:03.338189909Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=467.793µs grafana | logger=migrator t=2024-01-28T11:36:03.341105557Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2024-01-28T11:36:03.342017024Z 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=911.107µs grafana | logger=migrator t=2024-01-28T11:36:03.346306571Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-01-28T11:36:03.346594493Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=282.332µs grafana | logger=migrator t=2024-01-28T11:36:03.350027315Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-01-28T11:36:03.350562779Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=538.793µs grafana | logger=migrator t=2024-01-28T11:36:03.352895404Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2024-01-28T11:36:03.353613468Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=717.864µs grafana | logger=migrator t=2024-01-28T11:36:03.358439489Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-01-28T11:36:03.362101692Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.661333ms grafana | logger=migrator t=2024-01-28T11:36:03.365274692Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-01-28T11:36:03.368718744Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.439272ms grafana | logger=migrator t=2024-01-28T11:36:03.372035265Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-01-28T11:36:03.375593258Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.554703ms grafana | logger=migrator t=2024-01-28T11:36:03.38678275Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-01-28T11:36:03.392689487Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=5.905577ms grafana | logger=migrator t=2024-01-28T11:36:03.396845713Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-01-28T11:36:03.397714029Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=864.816µs grafana | logger=migrator t=2024-01-28T11:36:03.400859249Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-01-28T11:36:03.400890209Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=31.92µs grafana | logger=migrator t=2024-01-28T11:36:03.404944805Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-01-28T11:36:03.404970195Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=26.57µs grafana | logger=migrator t=2024-01-28T11:36:03.408412596Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-01-28T11:36:03.409086941Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=674.185µs grafana | logger=migrator t=2024-01-28T11:36:03.41511309Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-01-28T11:36:03.417096913Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.986733ms grafana | logger=migrator t=2024-01-28T11:36:03.420948527Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2024-01-28T11:36:03.422411746Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.467389ms grafana | logger=migrator t=2024-01-28T11:36:03.426989725Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2024-01-28T11:36:03.428163793Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.174697ms grafana | logger=migrator t=2024-01-28T11:36:03.431569045Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-01-28T11:36:03.43249152Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=922.065µs grafana | logger=migrator t=2024-01-28T11:36:03.438868531Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2024-01-28T11:36:03.444976439Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=6.106948ms grafana | logger=migrator t=2024-01-28T11:36:03.448363752Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2024-01-28T11:36:03.451963234Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.598942ms grafana | logger=migrator t=2024-01-28T11:36:03.456454934Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-01-28T11:36:03.456650005Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=195.701µs grafana | logger=migrator t=2024-01-28T11:36:03.462667083Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2024-01-28T11:36:03.463963871Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.293038ms grafana | logger=migrator t=2024-01-28T11:36:03.528364841Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2024-01-28T11:36:03.529936302Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.58154ms grafana | logger=migrator t=2024-01-28T11:36:03.535067044Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2024-01-28T11:36:03.539956755Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=4.889611ms grafana | logger=migrator t=2024-01-28T11:36:03.544187892Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2024-01-28T11:36:03.544277833Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=90.271µs grafana | logger=migrator t=2024-01-28T11:36:03.548785352Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-01-28T11:36:03.549690877Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=905.395µs grafana | logger=migrator t=2024-01-28T11:36:03.553993414Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2024-01-28T11:36:03.554918891Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=925.367µs grafana | logger=migrator t=2024-01-28T11:36:03.557757369Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2024-01-28T11:36:03.557846169Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=90.1µs grafana | logger=migrator t=2024-01-28T11:36:03.562483578Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2024-01-28T11:36:03.563408305Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=926.747µs grafana | logger=migrator t=2024-01-28T11:36:03.566322693Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2024-01-28T11:36:03.567193089Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=869.986µs grafana | logger=migrator t=2024-01-28T11:36:03.582009673Z level=info msg="Executing migration" id="add index annotation 1 v3" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:03.582897429Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=892.556µs grafana | logger=migrator t=2024-01-28T11:36:03.586403241Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2024-01-28T11:36:03.587245316Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=841.775µs grafana | logger=migrator t=2024-01-28T11:36:03.591852836Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2024-01-28T11:36:03.592887222Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.028146ms grafana | logger=migrator t=2024-01-28T11:36:03.596525866Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2024-01-28T11:36:03.597579502Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.056936ms grafana | logger=migrator t=2024-01-28T11:36:03.604087064Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2024-01-28T11:36:03.604125624Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=41.79µs grafana | logger=migrator t=2024-01-28T11:36:03.608521272Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2024-01-28T11:36:03.613590895Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=5.070993ms grafana | logger=migrator t=2024-01-28T11:36:03.61756247Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2024-01-28T11:36:03.618647656Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=1.085316ms grafana | logger=migrator t=2024-01-28T11:36:03.623815139Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2024-01-28T11:36:03.628485889Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=4.6703ms grafana | logger=migrator t=2024-01-28T11:36:03.63173615Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-01-28T11:36:03.632353634Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=623.444µs grafana | logger=migrator t=2024-01-28T11:36:03.635699375Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2024-01-28T11:36:03.636786482Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.090967ms grafana | logger=migrator t=2024-01-28T11:36:03.641540673Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2024-01-28T11:36:03.642477178Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=936.665µs grafana | logger=migrator t=2024-01-28T11:36:03.645547918Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2024-01-28T11:36:03.663021419Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=17.480701ms grafana | logger=migrator t=2024-01-28T11:36:03.666600693Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2024-01-28T11:36:03.667364087Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=763.934µs grafana | logger=migrator t=2024-01-28T11:36:03.673181404Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" grafana | logger=migrator t=2024-01-28T11:36:03.67418218Z 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=997.446µs grafana | logger=migrator t=2024-01-28T11:36:03.678384857Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2024-01-28T11:36:03.678722959Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=341.802µ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 policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdp.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE jpapdpstatistics_enginestats a policy-db-migrator | JOIN pdpstatistics b policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp policy-db-migrator | SET a.id = b.id policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:03.681203955Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2024-01-28T11:36:03.681816649Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=612.504µs grafana | logger=migrator t=2024-01-28T11:36:03.686282658Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2024-01-28T11:36:03.686530789Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=249.291µs grafana | logger=migrator t=2024-01-28T11:36:03.692072175Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2024-01-28T11:36:03.696917525Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.84509ms grafana | logger=migrator t=2024-01-28T11:36:03.701412624Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2024-01-28T11:36:03.70863455Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=7.219596ms grafana | logger=migrator t=2024-01-28T11:36:03.712183663Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2024-01-28T11:36:03.713035858Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=852.285µs grafana | logger=migrator t=2024-01-28T11:36:03.717572557Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2024-01-28T11:36:03.718210551Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=634.974µs grafana | logger=migrator t=2024-01-28T11:36:03.720994949Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2024-01-28T11:36:03.72123273Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=237.911µs grafana | logger=migrator t=2024-01-28T11:36:03.724178959Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2024-01-28T11:36:03.728590007Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.410588ms grafana | logger=migrator t=2024-01-28T11:36:03.734153563Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2024-01-28T11:36:03.73529152Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.143327ms grafana | logger=migrator t=2024-01-28T11:36:03.738229528Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2024-01-28T11:36:03.73842948Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=187.901µs grafana | logger=migrator t=2024-01-28T11:36:03.741113527Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2024-01-28T11:36:03.74168771Z level=info msg="Migration successfully executed" id="Move region to single row" duration=573.373µs grafana | logger=migrator t=2024-01-28T11:36:03.747449307Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2024-01-28T11:36:03.748302893Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=853.416µs grafana | logger=migrator t=2024-01-28T11:36:03.752089137Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2024-01-28T11:36:03.752972062Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=882.765µs grafana | logger=migrator t=2024-01-28T11:36:03.755978952Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-01-28T11:36:03.757127269Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.147917ms grafana | logger=migrator t=2024-01-28T11:36:03.762111671Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-01-28T11:36:03.763168817Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.056676ms grafana | logger=migrator t=2024-01-28T11:36:03.767043302Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2024-01-28T11:36:03.767865408Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=821.966µs grafana | logger=migrator t=2024-01-28T11:36:03.770825167Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2024-01-28T11:36:03.771662532Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=837.035µs grafana | logger=migrator t=2024-01-28T11:36:03.776973515Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2024-01-28T11:36:03.777039796Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=66.941µs grafana | logger=migrator t=2024-01-28T11:36:03.782694742Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2024-01-28T11:36:03.783822388Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.127526ms grafana | logger=migrator t=2024-01-28T11:36:03.793999144Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2024-01-28T11:36:03.796282499Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=2.283355ms grafana | logger=migrator t=2024-01-28T11:36:03.804131529Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2024-01-28T11:36:03.805127205Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=995.376µs grafana | logger=migrator t=2024-01-28T11:36:03.80915346Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2024-01-28T11:36:03.810940982Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.782832ms grafana | logger=migrator t=2024-01-28T11:36:03.815784063Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2024-01-28T11:36:03.816294876Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=509.953µs grafana | logger=migrator t=2024-01-28T11:36:03.821782661Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2024-01-28T11:36:03.822610616Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=826.155µs grafana | logger=migrator t=2024-01-28T11:36:03.825961627Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2024-01-28T11:36:03.826030478Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=69.221µs grafana | logger=migrator t=2024-01-28T11:36:03.831289891Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2024-01-28T11:36:03.83254588Z level=info msg="Migration successfully executed" id="create team table" duration=1.255179ms grafana | logger=migrator t=2024-01-28T11:36:03.838555578Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2024-01-28T11:36:03.839609964Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.054046ms grafana | logger=migrator t=2024-01-28T11:36:03.845606933Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2024-01-28T11:36:03.847127512Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.5236ms grafana | logger=migrator t=2024-01-28T11:36:03.851886963Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2024-01-28T11:36:03.858047512Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=6.164769ms grafana | logger=migrator t=2024-01-28T11:36:03.865680981Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2024-01-28T11:36:03.865868242Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=186.971µs grafana | logger=migrator t=2024-01-28T11:36:03.869521875Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2024-01-28T11:36:03.870617032Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.094467ms grafana | logger=migrator t=2024-01-28T11:36:03.875639084Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2024-01-28T11:36:03.876344478Z level=info msg="Migration successfully executed" id="create team member table" duration=702.444µs grafana | logger=migrator t=2024-01-28T11:36:03.918116164Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2024-01-28T11:36:03.919530604Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.42009ms grafana | logger=migrator t=2024-01-28T11:36:03.925541082Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2024-01-28T11:36:03.926955452Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.413779ms grafana | logger=migrator t=2024-01-28T11:36:03.931348959Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2024-01-28T11:36:03.932686408Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.336989ms grafana | logger=migrator t=2024-01-28T11:36:03.936738964Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2024-01-28T11:36:03.941877646Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=5.141483ms grafana | logger=migrator t=2024-01-28T11:36:03.946072253Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:03.950500121Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.427538ms policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:03.95670445Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-01-28T11:36:03.961153979Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.449419ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:03.965042794Z level=info msg="Executing migration" id="create dashboard acl table" policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-01-28T11:36:03.965877549Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=834.515µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:03.971414724Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:03.972844224Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.42866ms policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:03.976191015Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-01-28T11:36:03.977786265Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.5942ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:03.981904521Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-01-28T11:36:03.982850657Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=943.736µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:03.988879976Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:03.990281485Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.369008ms policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:03.993668036Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-01-28T11:36:03.994936845Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.262728ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:03.999388962Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) grafana | logger=migrator t=2024-01-28T11:36:04.000271169Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=881.697µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.005516302Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:04.00695417Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.438158ms policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:04.011712808Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-01-28T11:36:04.012438952Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=725.704µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.017687634Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) grafana | logger=migrator t=2024-01-28T11:36:04.017901865Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=217.311µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.022789394Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:04.023851Z level=info msg="Migration successfully executed" id="create tag table" duration=1.060866ms policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:04.029917386Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-01-28T11:36:04.031451405Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.533319ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.036293694Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-01-28T11:36:04.03737141Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.069616ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.041434444Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:04.04233196Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=890.666µs grafana | logger=migrator t=2024-01-28T11:36:04.048107324Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2024-01-28T11:36:04.049476931Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.369087ms policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-01-28T11:36:04.053674177Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.072309386Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=18.632459ms policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-01-28T11:36:04.076605392Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.077373107Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=767.455µs policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:04.083144741Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:04.084304668Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.159927ms policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-01-28T11:36:04.089385898Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.089835511Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=449.343µs policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-01-28T11:36:04.09310079Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.093659133Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=558.183µs policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:04.099441647Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:04.100550854Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.112827ms policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-01-28T11:36:04.106403489Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.107115383Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=711.604µs policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-01-28T11:36:04.113584081Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.113650521Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=67.2µs policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:04.120554172Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.128274748Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=7.716246ms policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-01-28T11:36:04.136213035Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.144222802Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=8.009217ms policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:04.148599108Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.152112299Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=3.512861ms policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2024-01-28T11:36:04.156214963Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.161395734Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.178561ms grafana | logger=migrator t=2024-01-28T11:36:04.166078931Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:04.167178808Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.100467ms policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:04.174510611Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2024-01-28T11:36:04.182863121Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=8.35119ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.187663209Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2024-01-28T11:36:04.188532474Z level=info msg="Migration successfully executed" id="create server_lock table" duration=869.165µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.194900082Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:04.196593492Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.69288ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.200550845Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2024-01-28T11:36:04.201947674Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.396469ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.205874527Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:04.207225855Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.351229ms policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:04.213430292Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2024-01-28T11:36:04.214689529Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.259697ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.217987708Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-01-28T11:36:04.219172576Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.185018ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.222502585Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:04.227888217Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.379782ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.232443994Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2024-01-28T11:36:04.233578891Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.134687ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.238130938Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:04.239497675Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.371757ms policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:04.24343337Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-01-28T11:36:04.245161669Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.727709ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.249824387Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:04.250722782Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=898.275µs policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:04.254532584Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2024-01-28T11:36:04.256192875Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.658851ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.260284369Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2024-01-28T11:36:04.26053632Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=252.511µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.304037517Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:04.304679991Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=643.044µs policy-db-migrator | msg grafana | logger=migrator t=2024-01-28T11:36:04.312853359Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2024-01-28T11:36:04.314874801Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=2.026782ms policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:04.318753164Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2024-01-28T11:36:04.319921182Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.167668ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.324526758Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2024-01-28T11:36:04.325548535Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.021557ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.330354894Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:04.330452224Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=97.72µs policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:04.336192698Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-01-28T11:36:04.338599451Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=2.410923ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.343286419Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-01-28T11:36:04.344338896Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.053387ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.349026183Z 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=2024-01-28T11:36:04.350289371Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.265798ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.403036913Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-01-28T11:36:04.406255642Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=3.218529ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.414215519Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:04.422953551Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=8.743322ms policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:04.426915004Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=migrator t=2024-01-28T11:36:04.42793644Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.021346ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.435525215Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-01-28T11:36:04.435738976Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=211.831µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.445326384Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:04.447415835Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=2.093271ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.452301004Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) grafana | logger=migrator t=2024-01-28T11:36:04.45331509Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.010116ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.4566177Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:04.457637106Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.018266ms policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:04.463877403Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2024-01-28T11:36:04.463982803Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=106.4µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.468849592Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-01-28T11:36:04.47023285Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.382668ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.475587642Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | grafana | logger=migrator t=2024-01-28T11:36:04.47694189Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.353478ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.488331878Z 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 | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-01-28T11:36:04.490668422Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=2.333924ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-28T11:36:04.497549782Z 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=2024-01-28T11:36:04.498580719Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.030667ms policy-db-migrator | policyadmin: OK: upgrade (1200) grafana | logger=migrator t=2024-01-28T11:36:04.506473494Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | name version grafana | logger=migrator t=2024-01-28T11:36:04.512523391Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=6.050237ms policy-db-migrator | policyadmin 1200 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:10 grafana | logger=migrator t=2024-01-28T11:36:04.518941149Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:10 grafana | logger=migrator t=2024-01-28T11:36:04.519792784Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=851.324µs policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:10 grafana | logger=migrator t=2024-01-28T11:36:04.524580382Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:10 grafana | logger=migrator t=2024-01-28T11:36:04.525558527Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=978.595µs policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:10 grafana | logger=migrator t=2024-01-28T11:36:04.532012716Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:10 grafana | logger=migrator t=2024-01-28T11:36:04.570936486Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=38.91892ms policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:10 grafana | logger=migrator t=2024-01-28T11:36:04.575552124Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:10 grafana | logger=migrator t=2024-01-28T11:36:04.616600397Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=41.043123ms policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:10 grafana | logger=migrator t=2024-01-28T11:36:04.620420819Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:10 grafana | logger=migrator t=2024-01-28T11:36:04.621170593Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=749.604µs policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:11 grafana | logger=migrator t=2024-01-28T11:36:04.626210253Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:11 grafana | logger=migrator t=2024-01-28T11:36:04.626936887Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=726.354µs policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:11 grafana | logger=migrator t=2024-01-28T11:36:04.630892061Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:11 grafana | logger=migrator t=2024-01-28T11:36:04.638221774Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=7.330943ms policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:11 grafana | logger=migrator t=2024-01-28T11:36:04.643088173Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:11 grafana | logger=migrator t=2024-01-28T11:36:04.648662506Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=5.574153ms policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:11 grafana | logger=migrator t=2024-01-28T11:36:04.718610629Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:11 grafana | logger=migrator t=2024-01-28T11:36:04.720790583Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=2.181484ms policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:11 grafana | logger=migrator t=2024-01-28T11:36:04.72719866Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:11 grafana | logger=migrator t=2024-01-28T11:36:04.728240107Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.041277ms policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:11 grafana | logger=migrator t=2024-01-28T11:36:04.732717083Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:11 grafana | logger=migrator t=2024-01-28T11:36:04.734492574Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.774871ms policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:11 grafana | logger=migrator t=2024-01-28T11:36:04.741286963Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:11 grafana | logger=migrator t=2024-01-28T11:36:04.743578087Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=2.293744ms policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:11 grafana | logger=migrator t=2024-01-28T11:36:04.748232635Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:11 grafana | logger=migrator t=2024-01-28T11:36:04.748300315Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=68.2µs policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:11 grafana | logger=migrator t=2024-01-28T11:36:04.754504802Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:11 grafana | logger=migrator t=2024-01-28T11:36:04.764256629Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=9.753027ms policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:11 grafana | logger=migrator t=2024-01-28T11:36:04.769059998Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:11 grafana | logger=migrator t=2024-01-28T11:36:04.775226464Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.166636ms policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:11 grafana | logger=migrator t=2024-01-28T11:36:04.779857922Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:11 grafana | logger=migrator t=2024-01-28T11:36:04.785762997Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.904665ms policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:12 grafana | logger=migrator t=2024-01-28T11:36:04.790452105Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:12 grafana | logger=migrator t=2024-01-28T11:36:04.79141707Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=964.475µs policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:12 grafana | logger=migrator t=2024-01-28T11:36:04.79637621Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:12 grafana | logger=migrator t=2024-01-28T11:36:04.797917858Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.539618ms policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:12 grafana | logger=migrator t=2024-01-28T11:36:04.802882448Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:12 grafana | logger=migrator t=2024-01-28T11:36:04.810579514Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=7.697796ms policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:12 grafana | logger=migrator t=2024-01-28T11:36:04.816512789Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:12 grafana | logger=migrator t=2024-01-28T11:36:04.823020987Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.507978ms policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:12 grafana | logger=migrator t=2024-01-28T11:36:04.827238282Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:12 grafana | logger=migrator t=2024-01-28T11:36:04.828248138Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.009196ms policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:12 grafana | logger=migrator t=2024-01-28T11:36:04.833013817Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:12 grafana | logger=migrator t=2024-01-28T11:36:04.842803624Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=9.794567ms policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:12 grafana | logger=migrator t=2024-01-28T11:36:04.848517609Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:12 grafana | logger=migrator t=2024-01-28T11:36:04.853079095Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=4.559527ms policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:12 grafana | logger=migrator t=2024-01-28T11:36:04.858029704Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:12 grafana | logger=migrator t=2024-01-28T11:36:04.858097225Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=67.661µs policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:12 grafana | logger=migrator t=2024-01-28T11:36:04.862963464Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:12 grafana | logger=migrator t=2024-01-28T11:36:04.864595973Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.632069ms policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:12 grafana | logger=migrator t=2024-01-28T11:36:04.873427565Z 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 | 52 0610-toscanodetemplates.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:12 grafana | logger=migrator t=2024-01-28T11:36:04.875259006Z 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.830681ms policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:12 grafana | logger=migrator t=2024-01-28T11:36:04.880282886Z 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 | 54 0630-toscanodetype.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:12 grafana | logger=migrator t=2024-01-28T11:36:04.881491393Z 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.208147ms policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:12 grafana | logger=migrator t=2024-01-28T11:36:04.887464538Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:12 grafana | logger=migrator t=2024-01-28T11:36:04.887540138Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=74.7µs policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:12 grafana | logger=migrator t=2024-01-28T11:36:04.892542058Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:12 grafana | logger=migrator t=2024-01-28T11:36:04.901148159Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=8.607111ms policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:13 grafana | logger=migrator t=2024-01-28T11:36:04.90633238Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:13 grafana | logger=migrator t=2024-01-28T11:36:04.912894658Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.562108ms policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:13 grafana | logger=migrator t=2024-01-28T11:36:04.917893808Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:13 grafana | logger=migrator t=2024-01-28T11:36:04.922416955Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=4.522607ms policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:13 grafana | logger=migrator t=2024-01-28T11:36:04.926781321Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:13 grafana | logger=migrator t=2024-01-28T11:36:04.933618781Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.83702ms policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:13 grafana | logger=migrator t=2024-01-28T11:36:04.939340325Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:13 grafana | logger=migrator t=2024-01-28T11:36:04.946278186Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.937491ms policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:13 grafana | logger=migrator t=2024-01-28T11:36:04.950707633Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:13 grafana | logger=migrator t=2024-01-28T11:36:04.950784463Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=76.8µs policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:13 grafana | logger=migrator t=2024-01-28T11:36:04.956605287Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:13 grafana | logger=migrator t=2024-01-28T11:36:04.957906266Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.300279ms policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:13 grafana | logger=migrator t=2024-01-28T11:36:04.962996785Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:13 grafana | logger=migrator t=2024-01-28T11:36:04.973896359Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=10.900814ms policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:13 grafana | logger=migrator t=2024-01-28T11:36:04.977962614Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:13 grafana | logger=migrator t=2024-01-28T11:36:04.978009594Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=47.23µs policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:13 grafana | logger=migrator t=2024-01-28T11:36:04.982798202Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:13 grafana | logger=migrator t=2024-01-28T11:36:04.992997983Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=10.197651ms policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:13 grafana | logger=migrator t=2024-01-28T11:36:04.997808701Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:13 grafana | logger=migrator t=2024-01-28T11:36:04.998572786Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=763.745µs policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:13 grafana | logger=migrator t=2024-01-28T11:36:05.001776334Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:13 grafana | logger=migrator t=2024-01-28T11:36:05.01119262Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=9.413936ms policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:13 grafana | logger=migrator t=2024-01-28T11:36:05.018052345Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:13 grafana | logger=migrator t=2024-01-28T11:36:05.018583709Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=530.734µs policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:13 grafana | logger=migrator t=2024-01-28T11:36:05.025278613Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:14 grafana | logger=migrator t=2024-01-28T11:36:05.026925066Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.646052ms policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:14 grafana | logger=migrator t=2024-01-28T11:36:05.03247627Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:14 grafana | logger=migrator t=2024-01-28T11:36:05.039562067Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=7.085387ms policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:14 grafana | logger=migrator t=2024-01-28T11:36:05.043941581Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:14 grafana | logger=migrator t=2024-01-28T11:36:05.044678898Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=736.547µs policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:14 grafana | logger=migrator t=2024-01-28T11:36:05.050267543Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:14 grafana | logger=migrator t=2024-01-28T11:36:05.051371761Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.104468ms policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:14 grafana | logger=migrator t=2024-01-28T11:36:05.057299718Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:14 grafana | logger=migrator t=2024-01-28T11:36:05.058435007Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.139999ms policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:14 grafana | logger=migrator t=2024-01-28T11:36:05.118706559Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:14 grafana | logger=migrator t=2024-01-28T11:36:05.12131131Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=2.608331ms policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:14 grafana | logger=migrator t=2024-01-28T11:36:05.126911774Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2801241136100800u 1 2024-01-28 11:36:14 grafana | logger=migrator t=2024-01-28T11:36:05.126982475Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=70.671µs policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2801241136100900u 1 2024-01-28 11:36:14 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2801241136100900u 1 2024-01-28 11:36:14 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2801241136100900u 1 2024-01-28 11:36:14 grafana | logger=migrator t=2024-01-28T11:36:05.130807555Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2801241136100900u 1 2024-01-28 11:36:14 grafana | logger=migrator t=2024-01-28T11:36:05.131788714Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=981.179µs policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2801241136100900u 1 2024-01-28 11:36:14 grafana | logger=migrator t=2024-01-28T11:36:05.138357416Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2801241136100900u 1 2024-01-28 11:36:15 grafana | logger=migrator t=2024-01-28T11:36:05.140010639Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.653453ms policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2801241136100900u 1 2024-01-28 11:36:15 grafana | logger=migrator t=2024-01-28T11:36:05.146304829Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2801241136100900u 1 2024-01-28 11:36:15 grafana | logger=migrator t=2024-01-28T11:36:05.146690992Z 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 | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2801241136100900u 1 2024-01-28 11:36:15 grafana | logger=migrator t=2024-01-28T11:36:05.14885086Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2801241136100900u 1 2024-01-28 11:36:15 grafana | logger=migrator t=2024-01-28T11:36:05.149242983Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=392.113µs policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2801241136100900u 1 2024-01-28 11:36:15 grafana | logger=migrator t=2024-01-28T11:36:05.153268474Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2801241136100900u 1 2024-01-28 11:36:15 grafana | logger=migrator t=2024-01-28T11:36:05.154644076Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.373602ms policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2801241136100900u 1 2024-01-28 11:36:15 grafana | logger=migrator t=2024-01-28T11:36:05.159626926Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2801241136101000u 1 2024-01-28 11:36:15 grafana | logger=migrator t=2024-01-28T11:36:05.167205176Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=7.57869ms policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2801241136101000u 1 2024-01-28 11:36:15 grafana | logger=migrator t=2024-01-28T11:36:05.172006334Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2801241136101000u 1 2024-01-28 11:36:15 grafana | logger=migrator t=2024-01-28T11:36:05.172985802Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=979.618µs policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2801241136101000u 1 2024-01-28 11:36:15 grafana | logger=migrator t=2024-01-28T11:36:05.176990824Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2801241136101000u 1 2024-01-28 11:36:15 grafana | logger=migrator t=2024-01-28T11:36:05.178026142Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.034648ms policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2801241136101000u 1 2024-01-28 11:36:15 grafana | logger=migrator t=2024-01-28T11:36:05.181851434Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2801241136101000u 1 2024-01-28 11:36:15 grafana | logger=migrator t=2024-01-28T11:36:05.182598029Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=746.136µs policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2801241136101000u 1 2024-01-28 11:36:15 grafana | logger=migrator t=2024-01-28T11:36:05.185782335Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2801241136101000u 1 2024-01-28 11:36:15 grafana | logger=migrator t=2024-01-28T11:36:05.186788512Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.005648ms policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2801241136101100u 1 2024-01-28 11:36:15 grafana | logger=migrator t=2024-01-28T11:36:05.189833696Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2801241136101200u 1 2024-01-28 11:36:15 grafana | logger=migrator t=2024-01-28T11:36:05.190813495Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=979.349µs policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2801241136101200u 1 2024-01-28 11:36:16 grafana | logger=migrator t=2024-01-28T11:36:05.195476511Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2801241136101200u 1 2024-01-28 11:36:16 grafana | logger=migrator t=2024-01-28T11:36:05.195545302Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=75.211µs policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2801241136101200u 1 2024-01-28 11:36:16 grafana | logger=migrator t=2024-01-28T11:36:05.199742066Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | policyadmin: OK @ 1200 grafana | logger=migrator t=2024-01-28T11:36:05.199871267Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=130.071µs grafana | logger=migrator t=2024-01-28T11:36:05.203133213Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2024-01-28T11:36:05.203436975Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=303.562µs grafana | logger=migrator t=2024-01-28T11:36:05.206269328Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2024-01-28T11:36:05.207394377Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.124939ms grafana | logger=migrator t=2024-01-28T11:36:05.212071064Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2024-01-28T11:36:05.213334005Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.262451ms grafana | logger=migrator t=2024-01-28T11:36:05.216360519Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2024-01-28T11:36:05.26537373Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=49.013321ms grafana | logger=migrator t=2024-01-28T11:36:05.268527845Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2024-01-28T11:36:05.273526205Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=4.9977ms grafana | logger=migrator t=2024-01-28T11:36:05.278391394Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2024-01-28T11:36:05.278596856Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=182.421µs grafana | logger=migrator t=2024-01-28T11:36:05.281106386Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2024-01-28T11:36:05.337326785Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=56.214149ms grafana | logger=migrator t=2024-01-28T11:36:05.341103885Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2024-01-28T11:36:05.386909611Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=45.804997ms grafana | logger=migrator t=2024-01-28T11:36:05.396999201Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2024-01-28T11:36:05.398261562Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=1.263621ms grafana | logger=migrator t=2024-01-28T11:36:05.408886567Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2024-01-28T11:36:05.410848252Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.963995ms grafana | logger=migrator t=2024-01-28T11:36:05.421090575Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2024-01-28T11:36:05.421333877Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=240.402µs grafana | logger=migrator t=2024-01-28T11:36:05.430089787Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2024-01-28T11:36:05.431422898Z level=info msg="Migration successfully executed" id="create permission table" duration=1.332642ms grafana | logger=migrator t=2024-01-28T11:36:05.442075262Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2024-01-28T11:36:05.443652065Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.571893ms grafana | logger=migrator t=2024-01-28T11:36:05.489329001Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2024-01-28T11:36:05.491328737Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.995366ms grafana | logger=migrator t=2024-01-28T11:36:05.495543661Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2024-01-28T11:36:05.496362068Z level=info msg="Migration successfully executed" id="create role table" duration=817.907µs grafana | logger=migrator t=2024-01-28T11:36:05.503027971Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2024-01-28T11:36:05.513424075Z level=info msg="Migration successfully executed" id="add column display_name" duration=10.395413ms grafana | logger=migrator t=2024-01-28T11:36:05.517730418Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2024-01-28T11:36:05.530182999Z level=info msg="Migration successfully executed" id="add column group_name" duration=12.457231ms grafana | logger=migrator t=2024-01-28T11:36:05.533680907Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2024-01-28T11:36:05.534563533Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=882.286µs grafana | logger=migrator t=2024-01-28T11:36:05.539409522Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2024-01-28T11:36:05.540662643Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.253351ms grafana | logger=migrator t=2024-01-28T11:36:05.54407764Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2024-01-28T11:36:05.54536519Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.28707ms grafana | logger=migrator t=2024-01-28T11:36:05.549790086Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2024-01-28T11:36:05.550694663Z level=info msg="Migration successfully executed" id="create team role table" duration=903.947µs grafana | logger=migrator t=2024-01-28T11:36:05.556219037Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2024-01-28T11:36:05.558344624Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=2.125207ms grafana | logger=migrator t=2024-01-28T11:36:05.563407685Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2024-01-28T11:36:05.564814906Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.407701ms grafana | logger=migrator t=2024-01-28T11:36:05.569239632Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2024-01-28T11:36:05.5703482Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.108208ms grafana | logger=migrator t=2024-01-28T11:36:05.576677221Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2024-01-28T11:36:05.577471508Z level=info msg="Migration successfully executed" id="create user role table" duration=793.877µs grafana | logger=migrator t=2024-01-28T11:36:05.581415849Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2024-01-28T11:36:05.583249544Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.832795ms grafana | logger=migrator t=2024-01-28T11:36:05.588370725Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2024-01-28T11:36:05.589599875Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.22743ms grafana | logger=migrator t=2024-01-28T11:36:05.593616446Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2024-01-28T11:36:05.594735266Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.11693ms grafana | logger=migrator t=2024-01-28T11:36:05.600873075Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2024-01-28T11:36:05.601671961Z level=info msg="Migration successfully executed" id="create builtin role table" duration=800.076µs grafana | logger=migrator t=2024-01-28T11:36:05.608244844Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2024-01-28T11:36:05.610118279Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.870795ms grafana | logger=migrator t=2024-01-28T11:36:05.614910387Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2024-01-28T11:36:05.616258518Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.348881ms grafana | logger=migrator t=2024-01-28T11:36:05.621742772Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2024-01-28T11:36:05.629572285Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.828962ms grafana | logger=migrator t=2024-01-28T11:36:05.634382663Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2024-01-28T11:36:05.635514042Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.131169ms grafana | logger=migrator t=2024-01-28T11:36:05.641531251Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2024-01-28T11:36:05.64268892Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.156979ms grafana | logger=migrator t=2024-01-28T11:36:05.64647238Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2024-01-28T11:36:05.647558869Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.086849ms grafana | logger=migrator t=2024-01-28T11:36:05.650940136Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2024-01-28T11:36:05.652041874Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.101488ms grafana | logger=migrator t=2024-01-28T11:36:05.656257289Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2024-01-28T11:36:05.657021504Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=764.315µs grafana | logger=migrator t=2024-01-28T11:36:05.660321291Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2024-01-28T11:36:05.661562321Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.24039ms grafana | logger=migrator t=2024-01-28T11:36:05.665336711Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2024-01-28T11:36:05.674964919Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=9.631218ms grafana | logger=migrator t=2024-01-28T11:36:05.679204992Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2024-01-28T11:36:05.687147986Z level=info msg="Migration successfully executed" id="permission kind migration" duration=7.941374ms grafana | logger=migrator t=2024-01-28T11:36:05.690573623Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2024-01-28T11:36:05.69639819Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=5.823717ms grafana | logger=migrator t=2024-01-28T11:36:05.699821437Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2024-01-28T11:36:05.707722441Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.900524ms grafana | logger=migrator t=2024-01-28T11:36:05.712192487Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2024-01-28T11:36:05.713368606Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.175879ms grafana | logger=migrator t=2024-01-28T11:36:05.716884594Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2024-01-28T11:36:05.717790182Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=905.558µs grafana | logger=migrator t=2024-01-28T11:36:05.721229389Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2024-01-28T11:36:05.722385568Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.155259ms grafana | logger=migrator t=2024-01-28T11:36:05.726501621Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2024-01-28T11:36:05.726594882Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=93.511µs grafana | logger=migrator t=2024-01-28T11:36:05.729189703Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2024-01-28T11:36:05.729271174Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=82.101µs grafana | logger=migrator t=2024-01-28T11:36:05.732727181Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2024-01-28T11:36:05.733574817Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=847.786µs grafana | logger=migrator t=2024-01-28T11:36:05.737131067Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2024-01-28T11:36:05.738103624Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=972.677µs grafana | logger=migrator t=2024-01-28T11:36:05.74250197Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2024-01-28T11:36:05.743155065Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=653.155µs grafana | logger=migrator t=2024-01-28T11:36:05.746378941Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2024-01-28T11:36:05.746593732Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=214.691µs grafana | logger=migrator t=2024-01-28T11:36:05.749262154Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2024-01-28T11:36:05.749615076Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=352.682µs grafana | logger=migrator t=2024-01-28T11:36:05.753478118Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2024-01-28T11:36:05.754734257Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.252519ms grafana | logger=migrator t=2024-01-28T11:36:05.759441086Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2024-01-28T11:36:05.760592814Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.150919ms grafana | logger=migrator t=2024-01-28T11:36:05.764082572Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2024-01-28T11:36:05.771907455Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=7.824623ms grafana | logger=migrator t=2024-01-28T11:36:05.775316272Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2024-01-28T11:36:05.775405133Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=89.231µs grafana | logger=migrator t=2024-01-28T11:36:05.779704908Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2024-01-28T11:36:05.780618285Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=913.007µs grafana | logger=migrator t=2024-01-28T11:36:05.784050762Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2024-01-28T11:36:05.785267522Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.21624ms grafana | logger=migrator t=2024-01-28T11:36:05.790199252Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2024-01-28T11:36:05.79131837Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.118698ms grafana | logger=migrator t=2024-01-28T11:36:05.795785027Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2024-01-28T11:36:05.806573843Z level=info msg="Migration successfully executed" id="add correlation config column" duration=10.790456ms grafana | logger=migrator t=2024-01-28T11:36:05.810122971Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2024-01-28T11:36:05.810930317Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=807.126µs grafana | logger=migrator t=2024-01-28T11:36:05.814204974Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2024-01-28T11:36:05.815280923Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.075469ms grafana | logger=migrator t=2024-01-28T11:36:05.819777658Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-28T11:36:05.850785387Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=31.007709ms grafana | logger=migrator t=2024-01-28T11:36:05.876662395Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2024-01-28T11:36:05.87738568Z level=info msg="Migration successfully executed" id="create correlation v2" duration=723.335µs grafana | logger=migrator t=2024-01-28T11:36:05.881620004Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2024-01-28T11:36:05.883513039Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.892205ms grafana | logger=migrator t=2024-01-28T11:36:05.887341859Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2024-01-28T11:36:05.889076354Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.737525ms grafana | logger=migrator t=2024-01-28T11:36:05.892869774Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2024-01-28T11:36:05.894000114Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.12975ms grafana | logger=migrator t=2024-01-28T11:36:05.898416848Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2024-01-28T11:36:05.898753301Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=334.373µs grafana | logger=migrator t=2024-01-28T11:36:05.902213429Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2024-01-28T11:36:05.902987375Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=773.856µs grafana | logger=migrator t=2024-01-28T11:36:05.906363682Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2024-01-28T11:36:05.917981415Z level=info msg="Migration successfully executed" id="add provisioning column" duration=11.619423ms grafana | logger=migrator t=2024-01-28T11:36:05.921883697Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2024-01-28T11:36:05.922431931Z level=info msg="Migration successfully executed" id="create entity_events table" duration=547.924µs grafana | logger=migrator t=2024-01-28T11:36:05.925523946Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2024-01-28T11:36:05.926429362Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=907.566µs grafana | logger=migrator t=2024-01-28T11:36:05.929837721Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-01-28T11:36:05.930325684Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-01-28T11:36:05.93479266Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-01-28T11:36:05.935555727Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-01-28T11:36:05.939086475Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2024-01-28T11:36:05.940389914Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.30634ms grafana | logger=migrator t=2024-01-28T11:36:05.944106375Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2024-01-28T11:36:05.945059192Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=966.277µs grafana | logger=migrator t=2024-01-28T11:36:05.949258526Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-01-28T11:36:05.950489946Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.23095ms grafana | logger=migrator t=2024-01-28T11:36:05.953950653Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-01-28T11:36:05.955232744Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.281731ms grafana | logger=migrator t=2024-01-28T11:36:05.958858633Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-01-28T11:36:05.960162443Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.30377ms grafana | logger=migrator t=2024-01-28T11:36:05.96483293Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-01-28T11:36:05.965978169Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.144689ms grafana | logger=migrator t=2024-01-28T11:36:05.969452038Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-01-28T11:36:05.970693578Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.24142ms grafana | logger=migrator t=2024-01-28T11:36:05.975560157Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2024-01-28T11:36:05.977192139Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.631872ms grafana | logger=migrator t=2024-01-28T11:36:05.98090729Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-01-28T11:36:05.982050348Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.142208ms grafana | logger=migrator t=2024-01-28T11:36:05.985593326Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-01-28T11:36:05.986851157Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.257371ms grafana | logger=migrator t=2024-01-28T11:36:05.99095728Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2024-01-28T11:36:05.99213085Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.17296ms grafana | logger=migrator t=2024-01-28T11:36:05.995629717Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2024-01-28T11:36:06.028438817Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=32.80807ms grafana | logger=migrator t=2024-01-28T11:36:06.031761968Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2024-01-28T11:36:06.037852425Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.089987ms grafana | logger=migrator t=2024-01-28T11:36:06.041078195Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2024-01-28T11:36:06.049520277Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.444622ms grafana | logger=migrator t=2024-01-28T11:36:06.052890768Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2024-01-28T11:36:06.053137541Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=246.593µs grafana | logger=migrator t=2024-01-28T11:36:06.056489511Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2024-01-28T11:36:06.064835382Z level=info msg="Migration successfully executed" id="add share column" duration=8.346101ms grafana | logger=migrator t=2024-01-28T11:36:06.067996671Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2024-01-28T11:36:06.068155372Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=159.521µs grafana | logger=migrator t=2024-01-28T11:36:06.071152151Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2024-01-28T11:36:06.071780064Z level=info msg="Migration successfully executed" id="create file table" duration=628.003µs grafana | logger=migrator t=2024-01-28T11:36:06.075156535Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-01-28T11:36:06.077114937Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.957732ms grafana | logger=migrator t=2024-01-28T11:36:06.080667848Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-01-28T11:36:06.082567351Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.892523ms grafana | logger=migrator t=2024-01-28T11:36:06.086016822Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-01-28T11:36:06.086779027Z level=info msg="Migration successfully executed" id="create file_meta table" duration=762.005µs grafana | logger=migrator t=2024-01-28T11:36:06.090067597Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-01-28T11:36:06.091548416Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.480179ms grafana | logger=migrator t=2024-01-28T11:36:06.096481666Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-01-28T11:36:06.096584477Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=103.351µs grafana | logger=migrator t=2024-01-28T11:36:06.099742246Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-01-28T11:36:06.099834756Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=93.98µs grafana | logger=migrator t=2024-01-28T11:36:06.103031056Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-01-28T11:36:06.1036297Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=598.454µs grafana | logger=migrator t=2024-01-28T11:36:06.106732229Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-01-28T11:36:06.107020751Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=288.462µs grafana | logger=migrator t=2024-01-28T11:36:06.110372541Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-01-28T11:36:06.111741849Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.369608ms grafana | logger=migrator t=2024-01-28T11:36:06.115093631Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-01-28T11:36:06.125790516Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=10.697725ms grafana | logger=migrator t=2024-01-28T11:36:06.129009466Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-01-28T11:36:06.129187187Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=177.551µs grafana | logger=migrator t=2024-01-28T11:36:06.132245776Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-01-28T11:36:06.133414503Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.168207ms grafana | logger=migrator t=2024-01-28T11:36:06.136517241Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-01-28T11:36:06.136953574Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=437.043µs grafana | logger=migrator t=2024-01-28T11:36:06.140140995Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-01-28T11:36:06.140390156Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=249.151µs grafana | logger=migrator t=2024-01-28T11:36:06.143608525Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-01-28T11:36:06.144133048Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=524.363µs grafana | logger=migrator t=2024-01-28T11:36:06.147453519Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-01-28T11:36:06.158714878Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=11.263349ms grafana | logger=migrator t=2024-01-28T11:36:06.161681846Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-01-28T11:36:06.167746233Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.064017ms grafana | logger=migrator t=2024-01-28T11:36:06.170711852Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-01-28T11:36:06.171898399Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.177997ms grafana | logger=migrator t=2024-01-28T11:36:06.174970108Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-01-28T11:36:06.282017335Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=107.046287ms grafana | logger=migrator t=2024-01-28T11:36:06.286661904Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-01-28T11:36:06.287898491Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.236597ms grafana | logger=migrator t=2024-01-28T11:36:06.291148921Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-01-28T11:36:06.292372589Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.223138ms grafana | logger=migrator t=2024-01-28T11:36:06.295675529Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-01-28T11:36:06.32837723Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=32.701821ms grafana | logger=migrator t=2024-01-28T11:36:06.331522789Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-01-28T11:36:06.33174664Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=223.911µs grafana | logger=migrator t=2024-01-28T11:36:06.334608708Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-01-28T11:36:06.334798659Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=189.841µs grafana | logger=migrator t=2024-01-28T11:36:06.337221864Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-01-28T11:36:06.337445385Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=223.471µs grafana | logger=migrator t=2024-01-28T11:36:06.340693895Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-01-28T11:36:06.342142894Z level=info msg="Migration successfully executed" id="create folder table" duration=1.448229ms grafana | logger=migrator t=2024-01-28T11:36:06.345770316Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-01-28T11:36:06.347062944Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.290278ms grafana | logger=migrator t=2024-01-28T11:36:06.350516996Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-01-28T11:36:06.351747073Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.227757ms grafana | logger=migrator t=2024-01-28T11:36:06.354956862Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-01-28T11:36:06.354983913Z level=info msg="Migration successfully executed" id="Update folder title length" duration=30.451µs grafana | logger=migrator t=2024-01-28T11:36:06.357399848Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-01-28T11:36:06.358588635Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.187907ms grafana | logger=migrator t=2024-01-28T11:36:06.361674374Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-01-28T11:36:06.362853931Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.179227ms grafana | logger=migrator t=2024-01-28T11:36:06.366215982Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-01-28T11:36:06.368346405Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=2.130893ms grafana | logger=migrator t=2024-01-28T11:36:06.371792096Z level=info msg="Executing migration" id="Sync dashboard and folder table" grafana | logger=migrator t=2024-01-28T11:36:06.372575571Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=783.775µs grafana | logger=migrator t=2024-01-28T11:36:06.375818521Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" grafana | logger=migrator t=2024-01-28T11:36:06.376155043Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=336.252µs grafana | logger=migrator t=2024-01-28T11:36:06.379478473Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-01-28T11:36:06.380418479Z level=info msg="Migration successfully executed" id="create anon_device table" duration=943.896µs grafana | logger=migrator t=2024-01-28T11:36:06.3837767Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-01-28T11:36:06.385079057Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.300267ms grafana | logger=migrator t=2024-01-28T11:36:06.388496538Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-01-28T11:36:06.389675386Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.178698ms grafana | logger=migrator t=2024-01-28T11:36:06.393042457Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-01-28T11:36:06.393935782Z level=info msg="Migration successfully executed" id="create signing_key table" duration=892.795µs grafana | logger=migrator t=2024-01-28T11:36:06.39689182Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-01-28T11:36:06.398145138Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.254628ms grafana | logger=migrator t=2024-01-28T11:36:06.401163886Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-01-28T11:36:06.402429854Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.265968ms grafana | logger=migrator t=2024-01-28T11:36:06.405380152Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-01-28T11:36:06.405758024Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=378.912µs grafana | logger=migrator t=2024-01-28T11:36:06.408827044Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-01-28T11:36:06.418362732Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=9.534798ms grafana | logger=migrator t=2024-01-28T11:36:06.421562422Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-01-28T11:36:06.422073745Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=510.703µs grafana | logger=migrator t=2024-01-28T11:36:06.425145633Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-01-28T11:36:06.426007599Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=861.306µs grafana | logger=migrator t=2024-01-28T11:36:06.429184409Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-01-28T11:36:06.430728628Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.545059ms grafana | logger=migrator t=2024-01-28T11:36:06.435668168Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-01-28T11:36:06.436740984Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.074406ms grafana | logger=migrator t=2024-01-28T11:36:06.439789074Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-01-28T11:36:06.440067515Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=280.351µs grafana | logger=migrator t=2024-01-28T11:36:06.443100294Z level=info msg="migrations completed" performed=526 skipped=0 duration=4.150982009s grafana | logger=sqlstore t=2024-01-28T11:36:06.45223745Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-01-28T11:36:06.452516812Z level=info msg="Created default organization" grafana | logger=secrets t=2024-01-28T11:36:06.456368285Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-01-28T11:36:06.473195598Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-01-28T11:36:06.509734393Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-01-28T11:36:06.509784634Z level=info msg="Plugins loaded" count=55 duration=36.590526ms grafana | logger=query_data t=2024-01-28T11:36:06.512154717Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-01-28T11:36:06.516310393Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-01-28T11:36:06.522024318Z level=info msg=Starting grafana | logger=ngalert.migration orgID=1 t=2024-01-28T11:36:06.522881653Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-01-28T11:36:06.523737379Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-01-28T11:36:06.525834761Z level=info msg="Completed legacy migration" grafana | logger=infra.usagestats.collector t=2024-01-28T11:36:06.569440909Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-01-28T11:36:06.576700853Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-01-28T11:36:06.593467616Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-01-28T11:36:06.593543397Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2024-01-28T11:36:06.594230342Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2024-01-28T11:36:06.595128407Z level=info msg="Warming state cache for startup" grafana | logger=ngalert.multiorg.alertmanager t=2024-01-28T11:36:06.595211778Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=http.server t=2024-01-28T11:36:06.59884688Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafana-apiserver t=2024-01-28T11:36:06.601128294Z level=info msg="Authentication is disabled" grafana | logger=grafana-apiserver t=2024-01-28T11:36:06.604124072Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=grafana.update.checker t=2024-01-28T11:36:06.6199541Z level=info msg="Update check succeeded" duration=24.695412ms grafana | logger=ngalert.state.manager t=2024-01-28T11:36:06.625957416Z level=info msg="State cache has been initialized" states=0 duration=30.828809ms grafana | logger=ngalert.scheduler t=2024-01-28T11:36:06.625995346Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2024-01-28T11:36:06.626081037Z level=info msg=starting first_tick=2024-01-28T11:36:10Z grafana | logger=plugins.update.checker t=2024-01-28T11:36:06.692146113Z level=info msg="Update check succeeded" duration=98.289453ms grafana | logger=infra.usagestats t=2024-01-28T11:37:00.607104196Z 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-db-migrator ... done Removing grafana ... done Removing policy-api ... done Removing mariadb ... done Removing prometheus ... done Removing network compose_default ++ cd /w/workspace/policy-api-london-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.YJTx5hhPAw ]] + rsync -av /tmp/tmp.YJTx5hhPAw/ /w/workspace/policy-api-london-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,347,201 bytes received 95 bytes 2,694,592.00 bytes/sec total size is 1,346,551 speedup is 1.00 + rm -rf /w/workspace/policy-api-london-project-csit-api/models + exit 0 $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2052 killed; [ssh-agent] Stopped. Robot results publisher started... INFO: Checking test criticality is deprecated and will be dropped in a future release! -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins14942085419020112823.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins10204546672389653741.sh ---> package-listing.sh ++ tr '[:upper:]' '[:lower:]' ++ facter osfamily + OS_FAMILY=debian + workspace=/w/workspace/policy-api-london-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-london-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-london-project-csit-api ']' + mkdir -p /w/workspace/policy-api-london-project-csit-api/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-london-project-csit-api/archives/ [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins2759355970212290683.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-m0GX from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-m0GX/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins15641777831128036205.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config10379668409580377376tmp 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-london-project-csit-api] $ /bin/bash /tmp/jenkins13796592925952537114.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins13926632647211166837.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-m0GX from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-m0GX/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins17682702143702697579.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins1370330693935006079.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-m0GX 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.1.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-m0GX/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [policy-api-london-project-csit-api] $ /bin/bash -l /tmp/jenkins16125114320791312190.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-m0GX from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-m0GX/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/254 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-509 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 837 27442 0 3886 30873 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:c2:09:4a brd ff:ff:ff:ff:ff:ff inet 10.30.107.33/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86055sec preferred_lft 86055sec inet6 fe80::f816:3eff:fec2:94a/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:9b:be:89:23 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-509) 01/28/24 _x86_64_ (8 CPU) 11:33:03 LINUX RESTART (8 CPU) 11:34:02 tps rtps wtps bread/s bwrtn/s 11:35:01 120.30 27.39 92.92 2116.79 31852.91 11:36:01 203.80 12.70 191.10 2044.79 81774.88 11:37:01 261.58 9.66 251.92 410.77 26144.37 11:38:01 42.16 0.93 41.23 61.99 22781.15 Average: 156.69 12.62 144.07 1157.68 40736.62 11:34:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:35:01 29975984 31716840 2963236 9.00 78268 1965228 1420976 4.18 858688 1794692 131880 11:36:01 28035116 31547280 4904104 14.89 112440 3637916 3046140 8.96 1110828 3367888 436 11:37:01 26803244 30376288 6135976 18.63 125808 3645544 4753072 13.98 2365884 3321320 220 11:38:01 28182176 31675184 4757044 14.44 126212 3605472 1438508 4.23 1095428 3238740 1928 Average: 28249130 31328898 4690090 14.24 110682 3213540 2664674 7.84 1357707 2930660 33616 11:34:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 ens3 61.19 41.55 1044.51 7.98 0.00 0.00 0.00 0.00 11:35:01 lo 1.08 1.08 0.12 0.12 0.00 0.00 0.00 0.00 11:36:01 veth9dcbb5e 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 ens3 291.20 183.84 8960.03 15.93 0.00 0.00 0.00 0.00 11:36:01 lo 8.93 8.93 0.82 0.82 0.00 0.00 0.00 0.00 11:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:37:01 veth5ab372c 116.94 96.29 47.35 121.05 0.00 0.00 0.00 0.01 11:37:01 ens3 7.44 5.73 1.74 1.59 0.00 0.00 0.00 0.00 11:37:01 lo 8.47 8.47 8.32 8.32 0.00 0.00 0.00 0.00 11:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:01 ens3 61.19 42.89 65.48 20.06 0.00 0.00 0.00 0.00 11:38:01 lo 10.23 10.23 0.80 0.80 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: ens3 105.85 68.88 2534.76 11.44 0.00 0.00 0.00 0.00 Average: lo 7.20 7.20 2.50 2.50 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-509) 01/28/24 _x86_64_ (8 CPU) 11:33:03 LINUX RESTART (8 CPU) 11:34:02 CPU %user %nice %system %iowait %steal %idle 11:35:01 all 10.09 0.00 0.87 2.27 0.03 86.73 11:35:01 0 14.80 0.00 1.10 0.63 0.02 83.45 11:35:01 1 22.90 0.00 1.92 12.85 0.05 62.27 11:35:01 2 10.26 0.00 0.76 0.20 0.02 88.76 11:35:01 3 2.08 0.00 0.41 0.36 0.02 97.14 11:35:01 4 11.33 0.00 1.09 1.68 0.03 85.87 11:35:01 5 1.10 0.00 0.37 0.19 0.03 98.30 11:35:01 6 3.91 0.00 0.34 1.22 0.02 94.51 11:35:01 7 14.39 0.00 1.02 1.10 0.03 83.46 11:36:01 all 10.09 0.00 3.00 4.73 0.05 82.13 11:36:01 0 8.10 0.00 2.52 0.22 0.03 89.13 11:36:01 1 5.19 0.00 2.52 3.61 0.05 88.63 11:36:01 2 8.01 0.00 3.27 17.79 0.08 70.85 11:36:01 3 12.92 0.00 2.86 2.38 0.05 81.79 11:36:01 4 10.95 0.00 3.46 0.64 0.05 84.90 11:36:01 5 5.85 0.00 3.12 0.29 0.03 90.71 11:36:01 6 7.37 0.00 2.53 11.50 0.03 78.56 11:36:01 7 22.38 0.00 3.68 1.41 0.05 72.48 11:37:01 all 18.63 0.00 2.28 2.41 0.05 76.64 11:37:01 0 13.40 0.00 1.92 4.21 0.05 80.41 11:37:01 1 15.11 0.00 2.60 1.53 0.03 80.72 11:37:01 2 22.66 0.00 2.83 8.08 0.05 66.37 11:37:01 3 18.41 0.00 2.04 0.75 0.05 78.75 11:37:01 4 21.42 0.00 2.23 0.49 0.05 75.80 11:37:01 5 20.91 0.00 2.42 0.63 0.05 75.99 11:37:01 6 16.83 0.00 1.74 1.13 0.05 80.25 11:37:01 7 20.26 0.00 2.44 2.40 0.09 74.82 11:38:01 all 1.20 0.00 0.36 1.25 0.03 97.17 11:38:01 0 0.78 0.00 0.27 0.08 0.00 98.87 11:38:01 1 0.93 0.00 0.45 0.08 0.03 98.50 11:38:01 2 0.82 0.00 0.25 8.77 0.02 90.15 11:38:01 3 1.20 0.00 0.35 0.45 0.02 97.98 11:38:01 4 2.49 0.00 0.57 0.02 0.03 96.90 11:38:01 5 1.67 0.00 0.30 0.32 0.03 97.68 11:38:01 6 1.05 0.00 0.37 0.15 0.03 98.40 11:38:01 7 0.62 0.00 0.27 0.17 0.03 98.91 Average: all 9.96 0.00 1.62 2.66 0.04 85.72 Average: 0 9.23 0.00 1.45 1.28 0.03 88.02 Average: 1 10.97 0.00 1.87 4.50 0.04 82.62 Average: 2 10.38 0.00 1.78 8.74 0.04 79.07 Average: 3 8.62 0.00 1.41 0.98 0.03 88.95 Average: 4 11.50 0.00 1.84 0.70 0.04 85.92 Average: 5 7.34 0.00 1.55 0.35 0.04 90.71 Average: 6 7.25 0.00 1.24 3.51 0.03 87.97 Average: 7 14.37 0.00 1.85 1.27 0.05 82.47