Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-224 (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-JNZGIATy33QE/agent.2096 SSH_AGENT_PID=2098 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_5386938964898162312.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_5386938964898162312.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/jenkins2398463309056868520.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-Huve 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-Huve/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.2 from /tmp/venv-Huve/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/jenkins16024129669472538167.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/jenkins16777207502842541193.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.E6LvAdPJfH ++ echo ROBOT_VENV=/tmp/tmp.E6LvAdPJfH +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.E6LvAdPJfH ++ source /tmp/tmp.E6LvAdPJfH/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.E6LvAdPJfH +++ 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.E6LvAdPJfH/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.E6LvAdPJfH) ' '!=' x ']' +++ PS1='(tmp.E6LvAdPJfH) ' +++ 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.E6LvAdPJfH/src/onap ++ rm -rf /tmp/tmp.E6LvAdPJfH/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 ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.E6LvAdPJfH/bin/activate + '[' -z /tmp/tmp.E6LvAdPJfH/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.E6LvAdPJfH/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.E6LvAdPJfH ++ 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.E6LvAdPJfH/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.E6LvAdPJfH) ' ++ '[' 'x(tmp.E6LvAdPJfH) ' '!=' x ']' ++ PS1='(tmp.E6LvAdPJfH) (tmp.E6LvAdPJfH) ' ++ export PS1 ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + export TEST_PLAN_DIR=/w/workspace/policy-api-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.yzylLCIaFv + cd /tmp/tmp.yzylLCIaFv + 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 mariadb ... Creating prometheus ... Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done Creating prometheus ... done Creating grafana ... Creating grafana ... 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 grafana Up 10 seconds policy-api Up 12 seconds mariadb Up 14 seconds prometheus Up 11 seconds NAMES STATUS grafana Up 15 seconds policy-api Up 17 seconds mariadb Up 19 seconds prometheus Up 16 seconds NAMES STATUS grafana Up 20 seconds policy-api Up 22 seconds mariadb Up 24 seconds prometheus Up 21 seconds NAMES STATUS grafana Up 25 seconds policy-api Up 27 seconds mariadb Up 29 seconds prometheus Up 26 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:59 up 3 min, 0 users, load average: 3.25, 1.04, 0.38 Tasks: 179 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.1 us, 2.1 sy, 0.0 ni, 83.1 id, 3.5 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.8G 25G 1.0M 3.8G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up 25 seconds policy-api Up 27 seconds mariadb Up 29 seconds prometheus Up 26 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 7820d13fddc4 grafana 0.03% 56.85MiB / 31.41GiB 0.18% 18.9kB / 3.23kB 0B / 23.8MB 20 6ac4adc5718b policy-api 0.11% 910.1MiB / 31.41GiB 2.83% 1.04MB / 739kB 0B / 0B 50 edbb2a53a84f mariadb 0.02% 100.3MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11MB / 60.7MB 27 9d076e4e2b91 prometheus 0.25% 18.76MiB / 31.41GiB 0.06% 990B / 158B 0B / 0B 13 + echo + cd /tmp/tmp.yzylLCIaFv + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + sed 's|^|/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/|' api-slas.robot' + 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.yzylLCIaFv/output.xml Log: /tmp/tmp.yzylLCIaFv/log.html Report: /tmp/tmp.yzylLCIaFv/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 grafana Up About a minute policy-api 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:38:10 up 4 min, 0 users, load average: 1.25, 0.93, 0.40 Tasks: 177 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.3 us, 1.7 sy, 0.0 ni, 86.1 id, 2.9 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.9G 25G 1.0M 3.8G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api 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 7820d13fddc4 grafana 0.02% 62.53MiB / 31.41GiB 0.19% 20kB / 4.55kB 0B / 23.8MB 20 6ac4adc5718b policy-api 0.09% 940.9MiB / 31.41GiB 2.92% 7.32MB / 2.87MB 0B / 0B 52 edbb2a53a84f mariadb 0.02% 101MiB / 31.41GiB 0.31% 2.75MB / 7.35MB 11MB / 60.8MB 18 9d076e4e2b91 prometheus 0.00% 25.17MiB / 31.41GiB 0.08% 37.5kB / 7.08kB 0B / 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 grafana, policy-api, policy-db-migrator, mariadb, prometheus mariadb | 2024-01-27 11:36:29+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-01-27 11:36:29+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-01-27 11:36:29+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-01-27 11:36:30+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-01-27 11:36:30 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-27 11:36:30 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-27 11:36:30 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-27 11:36:31+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-01-27 11:36:31+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-01-27 11:36:31+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-01-27 11:36:31 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 95 ... 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 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-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 | -------------- 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 | mariadb | 2024-01-27 11:36:31 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql mariadb | 2024-01-27 11:36:31 0 [Note] InnoDB: Number of transaction pools: 1 grafana | logger=settings t=2024-01-27T11:36:34.077630281Z level=info msg="Starting Grafana" version=10.3.1 commit=00a22ff8b28550d593ec369ba3da1b25780f0a4a branch=HEAD compiled=2024-01-22T18:40:42Z policy-db-migrator | -------------- prometheus | ts=2024-01-27T11:36:32.903Z caller=main.go:544 level=info msg="No time or size retention was set so using the default time retention" duration=15d policy-api | Waiting for mariadb port 3306... mariadb | 2024-01-27 11:36:31 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions grafana | logger=settings t=2024-01-27T11:36:34.077895474Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini 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) prometheus | ts=2024-01-27T11:36:32.903Z caller=main.go:588 level=info msg="Starting Prometheus Server" mode=server version="(version=2.49.1, branch=HEAD, revision=43e14844a33b65e2a396e3944272af8b3a494071)" policy-api | mariadb (172.17.0.2:3306) open mariadb | 2024-01-27 11:36:31 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) grafana | logger=settings t=2024-01-27T11:36:34.077907544Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini policy-db-migrator | -------------- prometheus | ts=2024-01-27T11:36:32.903Z 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)" policy-api | Waiting for policy-db-migrator port 6824... mariadb | 2024-01-27 11:36:31 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) grafana | logger=settings t=2024-01-27T11:36:34.077912224Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" policy-db-migrator | prometheus | ts=2024-01-27T11:36:32.903Z 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))" policy-api | policy-db-migrator (172.17.0.4:6824) open mariadb | 2024-01-27 11:36:31 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF grafana | logger=settings t=2024-01-27T11:36:34.077915584Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" policy-db-migrator | prometheus | ts=2024-01-27T11:36:32.903Z caller=main.go:595 level=info fd_limits="(soft=1048576, hard=1048576)" policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml mariadb | 2024-01-27 11:36:31 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB grafana | logger=settings t=2024-01-27T11:36:34.077918904Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql prometheus | ts=2024-01-27T11:36:32.903Z caller=main.go:596 level=info vm_limits="(soft=unlimited, hard=unlimited)" policy-api | mariadb | 2024-01-27 11:36:31 0 [Note] InnoDB: Completed initialization of buffer pool grafana | logger=settings t=2024-01-27T11:36:34.077922494Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" policy-db-migrator | -------------- prometheus | ts=2024-01-27T11:36:32.905Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 policy-api | . ____ _ __ _ _ mariadb | 2024-01-27 11:36:31 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) grafana | logger=settings t=2024-01-27T11:36:34.077927394Z level=info msg="Config overridden from command line" arg="default.log.mode=console" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) prometheus | ts=2024-01-27T11:36:32.906Z caller=main.go:1039 level=info msg="Starting TSDB ..." policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ mariadb | 2024-01-27 11:36:31 0 [Note] InnoDB: 128 rollback segments are active. grafana | logger=settings t=2024-01-27T11:36:34.077934624Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" policy-db-migrator | -------------- prometheus | ts=2024-01-27T11:36:32.908Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ mariadb | 2024-01-27 11:36:31 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... grafana | logger=settings t=2024-01-27T11:36:34.077938724Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" policy-db-migrator | prometheus | ts=2024-01-27T11:36:32.909Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) mariadb | 2024-01-27 11:36:31 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. grafana | logger=settings t=2024-01-27T11:36:34.077944124Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" policy-db-migrator | prometheus | ts=2024-01-27T11:36:32.915Z caller=head.go:606 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / mariadb | 2024-01-27 11:36:31 0 [Note] InnoDB: log sequence number 46590; transaction id 14 grafana | logger=settings t=2024-01-27T11:36:34.077947994Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql prometheus | ts=2024-01-27T11:36:32.915Z caller=head.go:687 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.94µs policy-api | =========|_|==============|___/=/_/_/_/ mariadb | 2024-01-27 11:36:31 0 [Note] Plugin 'FEEDBACK' is disabled. grafana | logger=settings t=2024-01-27T11:36:34.077953444Z level=info msg=Target target=[all] policy-db-migrator | -------------- prometheus | ts=2024-01-27T11:36:32.915Z caller=head.go:695 level=info component=tsdb msg="Replaying WAL, this may take a while" policy-api | :: Spring Boot :: (v2.7.8) mariadb | 2024-01-27 11:36:31 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. grafana | logger=settings t=2024-01-27T11:36:34.077959995Z level=info msg="Path Home" path=/usr/share/grafana 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) prometheus | ts=2024-01-27T11:36:32.916Z caller=head.go:766 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 policy-api | mariadb | 2024-01-27 11:36:31 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. grafana | logger=settings t=2024-01-27T11:36:34.077965455Z level=info msg="Path Data" path=/var/lib/grafana policy-db-migrator | -------------- prometheus | ts=2024-01-27T11:36:32.916Z caller=head.go:803 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=142.932µs wal_replay_duration=523.047µs wbl_replay_duration=220ns total_replay_duration=796.111µs policy-api | [2024-01-27T11:36:44.311+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) mariadb | 2024-01-27 11:36:31 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. grafana | logger=settings t=2024-01-27T11:36:34.077970285Z level=info msg="Path Logs" path=/var/log/grafana policy-db-migrator | prometheus | ts=2024-01-27T11:36:32.924Z caller=main.go:1060 level=info fs_type=EXT4_SUPER_MAGIC policy-api | [2024-01-27T11:36:44.315+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" mariadb | 2024-01-27 11:36:31 0 [Note] mariadbd: ready for connections. grafana | logger=settings t=2024-01-27T11:36:34.077974545Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins policy-db-migrator | prometheus | ts=2024-01-27T11:36:32.924Z caller=main.go:1063 level=info msg="TSDB started" policy-api | [2024-01-27T11:36:45.773+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution grafana | logger=settings t=2024-01-27T11:36:34.077978205Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql prometheus | ts=2024-01-27T11:36:32.924Z caller=main.go:1245 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml policy-api | [2024-01-27T11:36:45.883+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 96 ms. Found 6 JPA repository interfaces. mariadb | 2024-01-27 11:36:32+00:00 [Note] [Entrypoint]: Temporary server started. grafana | logger=settings t=2024-01-27T11:36:34.077981945Z level=info msg="App mode production" policy-db-migrator | -------------- prometheus | ts=2024-01-27T11:36:32.926Z caller=main.go:1282 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=2.104579ms db_storage=1.58µs remote_storage=2.51µs web_handler=1.07µs query_engine=29.371µs scrape=549.527µs scrape_sd=259.914µs notify=92.841µs notify_sd=23.041µs rules=2.44µs tracing=6.65µs policy-api | [2024-01-27T11:36:46.985+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) mariadb | 2024-01-27 11:36:34+00:00 [Note] [Entrypoint]: Creating user policy_user grafana | logger=sqlstore t=2024-01-27T11:36:34.078278978Z level=info msg="Connecting to DB" dbtype=sqlite3 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) prometheus | ts=2024-01-27T11:36:32.926Z caller=main.go:1024 level=info msg="Server is ready to receive web requests." policy-api | [2024-01-27T11:36:46.998+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] mariadb | 2024-01-27 11:36:34+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) grafana | logger=sqlstore t=2024-01-27T11:36:34.078300449Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db policy-db-migrator | -------------- prometheus | ts=2024-01-27T11:36:32.926Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." policy-api | [2024-01-27T11:36:46.999+00:00|INFO|StandardService|main] Starting service [Tomcat] mariadb | grafana | logger=migrator t=2024-01-27T11:36:34.079042958Z level=info msg="Starting DB migrations" policy-db-migrator | policy-api | [2024-01-27T11:36:46.999+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] mariadb | 2024-01-27 11:36:34+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | policy-db-migrator | policy-api | [2024-01-27T11:36:47.087+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext mariadb | 2024-01-27 11:36:34+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-01-27T11:36:34.080163181Z level=info msg="Executing migration" id="create migration_log table" policy-api | [2024-01-27T11:36:47.087+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2706 ms mariadb | #!/bin/bash -xv policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.080980081Z level=info msg="Migration successfully executed" id="create migration_log table" duration=816.8µs policy-api | [2024-01-27T11:36:47.603+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-01-27T11:36:34.113785258Z level=info msg="Executing migration" id="create user table" policy-api | [2024-01-27T11:36:47.683+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.114450456Z level=info msg="Migration successfully executed" id="create user table" duration=666.478µs policy-api | [2024-01-27T11:36:47.901+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} mariadb | # policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.117981539Z level=info msg="Executing migration" id="add unique index user.login" policy-api | [2024-01-27T11:36:48.088+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.118675388Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=693.099µs policy-api | [2024-01-27T11:36:48.209+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. mariadb | # you may not use this file except in compliance with the License. policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-01-27T11:36:34.124110693Z level=info msg="Executing migration" id="add unique index user.email" policy-api | [2024-01-27T11:36:48.233+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect mariadb | # You may obtain a copy of the License at policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.124848362Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=736.259µs policy-api | [2024-01-27T11:36:49.671+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] mariadb | # policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-27T11:36:34.127633216Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" policy-api | [2024-01-27T11:36:49.683+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' mariadb | # http://www.apache.org/licenses/LICENSE-2.0 policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.128321724Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=689.238µs policy-api | [2024-01-27T11:36:50.787+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml mariadb | # policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.131172899Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" policy-api | [2024-01-27T11:36:51.542+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] mariadb | # Unless required by applicable law or agreed to in writing, software policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.131811216Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=638.258µs policy-api | [2024-01-27T11:36:52.687+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@10ac5a14, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@5cfcb55c, org.springframework.security.web.context.SecurityContextPersistenceFilter@a555005, org.springframework.security.web.header.HeaderWriterFilter@e73787, org.springframework.security.web.authentication.logout.LogoutFilter@337f6716, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@5bee88e3, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@42d039ef, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@190a5f74, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@416dd4d8, org.springframework.security.web.session.SessionManagementFilter@50cdaf32, org.springframework.security.web.access.ExceptionTranslationFilter@556d8c78, org.springframework.security.web.access.intercept.AuthorizationFilter@65ff1e6d] mariadb | # distributed under the License is distributed on an "AS IS" BASIS, policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql grafana | logger=migrator t=2024-01-27T11:36:34.136683745Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" policy-api | [2024-01-27T11:36:52.887+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 mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.139351277Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.667002ms policy-api | [2024-01-27T11:36:55.739+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' mariadb | # See the License for the specific language governing permissions and policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-27T11:36:34.142209022Z level=info msg="Executing migration" id="create user table v2" policy-api | [2024-01-27T11:36:55.767+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] mariadb | # limitations under the License. policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.14286863Z level=info msg="Migration successfully executed" id="create user table v2" duration=660.778µs policy-api | [2024-01-27T11:36:55.792+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' mariadb | policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.145774495Z level=info msg="Executing migration" id="create index UQE_user_login - v2" policy-api | [2024-01-27T11:36:55.810+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 12.486 seconds (JVM running for 13.166) mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.146468004Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=692.929µs policy-api | [2024-01-27T11:37:02.394+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' mariadb | do policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql grafana | logger=migrator t=2024-01-27T11:36:34.150598714Z level=info msg="Executing migration" id="create index UQE_user_email - v2" policy-api | [2024-01-27T11:37:02.394+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.151757528Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.157864ms policy-api | [2024-01-27T11:37:02.395+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-27T11:36:34.215161614Z level=info msg="Executing migration" id="copy data_source v1 to v2" policy-api | [2024-01-27T11:37:04.863+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-6] ***** OrderedServiceImpl implementers: mariadb | done policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.215786801Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=621.997µs policy-api | [] mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.219602538Z level=info msg="Executing migration" id="Drop old table user_v1" policy-api | [2024-01-27T11:37:04.992+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.220444738Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=845.13µs policy-api | [2024-01-27T11:37:05.261+00:00|WARN|CommonRestController|http-nio-6969-exec-7] POST /policytypes mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql grafana | logger=migrator t=2024-01-27T11:36:34.228274743Z level=info msg="Executing migration" id="Add column help_flags1 to user table" policy-api | [2024-01-27T11:37:06.376+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policies mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.229368907Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.094214ms policy-api | [2024-01-27T11:37:08.373+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-27T11:36:34.242493806Z level=info msg="Executing migration" id="Update user table charset" policy-api | [2024-01-27T11:37:08.775+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.242533106Z level=info msg="Migration successfully executed" id="Update user table charset" duration=40.44µs mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-01-27T11:36:34.247411155Z level=info msg="Executing migration" id="Add last_seen_at column to user" policy-db-migrator | mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' grafana | logger=migrator t=2024-01-27T11:36:34.249301598Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.890033ms policy-api | [2024-01-27T11:37:09.006+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-db-migrator | mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-01-27T11:36:34.253970805Z level=info msg="Executing migration" id="Add missing user data" policy-api | [2024-01-27T11:37:09.255+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-01-27T11:36:34.254181427Z level=info msg="Migration successfully executed" id="Add missing user data" duration=210.652µs policy-api | [2024-01-27T11:37:09.483+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-db-migrator | -------------- mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' grafana | logger=migrator t=2024-01-27T11:36:34.258036484Z level=info msg="Executing migration" id="Add is_disabled column to user" policy-api | [2024-01-27T11:37:09.694+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 jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-01-27T11:36:34.25934799Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.309926ms policy-db-migrator | -------------- mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-01-27T11:36:34.264100927Z level=info msg="Executing migration" id="Add index user.login/user.email" policy-db-migrator | mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' grafana | logger=migrator t=2024-01-27T11:36:34.265246761Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.144844ms policy-db-migrator | mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-01-27T11:36:34.269052197Z level=info msg="Executing migration" id="Add is_service_account column to user" policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-01-27T11:36:34.270180101Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.127094ms policy-db-migrator | -------------- mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-27T11:36:34.27335925Z level=info msg="Executing migration" id="Update is_service_account column to nullable" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-01-27T11:36:34.282855815Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=9.495315ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.315386868Z level=info msg="Executing migration" id="create temp user table v1-7" mariadb | policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.316496582Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.108944ms policy-db-migrator | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" grafana | logger=migrator t=2024-01-27T11:36:34.323966742Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.325160807Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.193484ms mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2024-01-27T11:36:34.333163603Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.334291827Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.127384ms mariadb | policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.339238177Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" mariadb | 2024-01-27 11:36:35+00:00 [Note] [Entrypoint]: Stopping temporary server policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.340429991Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.154184ms mariadb | 2024-01-27 11:36:35 0 [Note] mariadbd (initiated by: unknown): Normal shutdown policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2024-01-27T11:36:34.346608136Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" mariadb | 2024-01-27 11:36:35 0 [Note] InnoDB: FTS optimize thread exiting. policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.347344615Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=735.189µs mariadb | 2024-01-27 11:36:35 0 [Note] InnoDB: Starting shutdown... policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-27T11:36:34.350704826Z level=info msg="Executing migration" id="Update temp_user table charset" mariadb | 2024-01-27 11:36:35 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.350746066Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=42.23µs mariadb | 2024-01-27 11:36:35 0 [Note] InnoDB: Buffer pool(s) dump completed at 240127 11:36:35 policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.354938757Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" mariadb | 2024-01-27 11:36:35 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.35603104Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.091863ms mariadb | 2024-01-27 11:36:35 0 [Note] InnoDB: Shutdown completed; log sequence number 330569; transaction id 298 policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2024-01-27T11:36:34.361041221Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" mariadb | 2024-01-27 11:36:35 0 [Note] mariadbd: Shutdown complete policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.361705139Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=663.848µs mariadb | policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-27T11:36:34.364630784Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" mariadb | 2024-01-27 11:36:35+00:00 [Note] [Entrypoint]: Temporary server stopped policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.365272042Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=640.988µs mariadb | policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.369698526Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" mariadb | 2024-01-27 11:36:35+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.370702738Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.004092ms mariadb | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2024-01-27T11:36:34.376572239Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" mariadb | 2024-01-27 11:36:35 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.38245939Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=5.879191ms mariadb | 2024-01-27 11:36:35 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-27T11:36:34.38573437Z level=info msg="Executing migration" id="create temp_user v2" mariadb | 2024-01-27 11:36:35 0 [Note] InnoDB: Number of transaction pools: 1 policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.386538949Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=807.469µs mariadb | 2024-01-27 11:36:35 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.431332581Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" mariadb | 2024-01-27 11:36:35 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.432521416Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.188725ms mariadb | 2024-01-27 11:36:35 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2024-01-27T11:36:34.437992812Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" mariadb | 2024-01-27 11:36:35 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.439135046Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.137154ms mariadb | 2024-01-27 11:36:35 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-01-27T11:36:34.443674171Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" mariadb | 2024-01-27 11:36:35 0 [Note] InnoDB: Completed initialization of buffer pool policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.444870145Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.188004ms mariadb | 2024-01-27 11:36:35 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.448163595Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" mariadb | 2024-01-27 11:36:35 0 [Note] InnoDB: 128 rollback segments are active. policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.448900724Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=736.189µs mariadb | 2024-01-27 11:36:35 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2024-01-27T11:36:34.454691774Z level=info msg="Executing migration" id="copy temp_user v1 to v2" mariadb | 2024-01-27 11:36:35 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.455057529Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=365.385µs mariadb | 2024-01-27 11:36:35 0 [Note] InnoDB: log sequence number 330569; transaction id 299 policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) grafana | logger=migrator t=2024-01-27T11:36:34.458129846Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" mariadb | 2024-01-27 11:36:35 0 [Note] Plugin 'FEEDBACK' is disabled. policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.458936816Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=803.45µs mariadb | 2024-01-27 11:36:35 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.463088106Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" mariadb | 2024-01-27 11:36:35 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.463622052Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=533.756µs mariadb | 2024-01-27 11:36:35 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2024-01-27T11:36:34.466825271Z level=info msg="Executing migration" id="create star table" mariadb | 2024-01-27 11:36:35 0 [Note] Server socket created on IP: '0.0.0.0'. policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.467357858Z level=info msg="Migration successfully executed" id="create star table" duration=532.197µs mariadb | 2024-01-27 11:36:35 0 [Note] Server socket created on IP: '::'. policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-01-27T11:36:34.472375638Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" mariadb | 2024-01-27 11:36:35 0 [Note] mariadbd: ready for connections. policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.473158498Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=782.08µs mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.477226287Z level=info msg="Executing migration" id="create org table v1" mariadb | 2024-01-27 11:36:35 0 [Note] InnoDB: Buffer pool(s) load completed at 240127 11:36:35 policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.47825855Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.027762ms mariadb | 2024-01-27 11:36:36 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2024-01-27T11:36:34.482919286Z level=info msg="Executing migration" id="create index UQE_org_name - v1" mariadb | 2024-01-27 11:36:36 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.484136091Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.212874ms 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 | grafana | logger=migrator t=2024-01-27T11:36:34.488619365Z level=info msg="Executing migration" id="create org_user table v1" policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2024-01-27T11:36:34.489600607Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=982.462µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.494601217Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) grafana | logger=migrator t=2024-01-27T11:36:34.495330466Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=726.039µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.498711327Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.499449416Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=737.489µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.502477473Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2024-01-27T11:36:34.503604566Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.126663ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.506977487Z level=info msg="Executing migration" id="Update org table charset" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-01-27T11:36:34.507012097Z level=info msg="Migration successfully executed" id="Update org table charset" duration=40.42µs grafana | logger=migrator t=2024-01-27T11:36:34.511239309Z level=info msg="Executing migration" id="Update org_user table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.511275769Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=37.61µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.515974836Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.516230489Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=255.503µs policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2024-01-27T11:36:34.519851573Z level=info msg="Executing migration" id="create dashboard table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.520869405Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.018542ms policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-01-27T11:36:34.524434009Z level=info msg="Executing migration" id="add index dashboard.account_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.52534625Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=912.821µs policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.529575881Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2024-01-27T11:36:34.530433621Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=854.47µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.534094235Z level=info msg="Executing migration" id="create dashboard_tag table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) grafana | logger=migrator t=2024-01-27T11:36:34.534767573Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=673.108µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.539196637Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.540088388Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=892.311µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.544197557Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql grafana | logger=migrator t=2024-01-27T11:36:34.544988027Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=789.96µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.548326508Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) grafana | logger=migrator t=2024-01-27T11:36:34.558040875Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=9.711947ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.562131605Z level=info msg="Executing migration" id="create dashboard v2" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.562626471Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=493.866µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.568874966Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2024-01-27T11:36:34.570134441Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.258305ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.574344612Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-01-27T11:36:34.575614708Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.263816ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.583420582Z level=info msg="Executing migration" id="copy dashboard v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.583740426Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=319.724µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.588294441Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-01-27T11:36:34.589563917Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.268046ms policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2024-01-27T11:36:34.595218285Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.595319936Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=102.341µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) grafana | logger=migrator t=2024-01-27T11:36:34.601103416Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.603827289Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.715283ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.60966836Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.61135915Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.69079ms policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql grafana | logger=migrator t=2024-01-27T11:36:34.615229277Z level=info msg="Executing migration" id="Add column gnetId in dashboard" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.617972191Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=2.741473ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) grafana | logger=migrator t=2024-01-27T11:36:34.625485291Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.626260071Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=773.98µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.633995024Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.63692951Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.934616ms policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql grafana | logger=migrator t=2024-01-27T11:36:34.643590391Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" 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 | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.645019038Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.427577ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.652871103Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.654159719Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.280405ms policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2024-01-27T11:36:34.660359164Z level=info msg="Executing migration" id="Update dashboard table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.660406964Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=39.84µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) grafana | logger=migrator t=2024-01-27T11:36:34.665239753Z level=info msg="Executing migration" id="Update dashboard_tag table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.665279713Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=41.18µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.673582884Z level=info msg="Executing migration" id="Add column folder_id in dashboard" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.677171457Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.588484ms policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2024-01-27T11:36:34.682735184Z level=info msg="Executing migration" id="Add column isFolder in dashboard" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.686127685Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=3.389771ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) grafana | logger=migrator t=2024-01-27T11:36:34.69476939Z level=info msg="Executing migration" id="Add column has_acl in dashboard" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.696899836Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.139116ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.701507492Z level=info msg="Executing migration" id="Add column uid in dashboard" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.703391585Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.883913ms policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2024-01-27T11:36:34.709351487Z level=info msg="Executing migration" id="Update uid column values in dashboard" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.709719291Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=366.975µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-01-27T11:36:34.719109515Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.720037686Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=927.121µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.726715977Z level=info msg="Executing migration" id="Remove unique index org_id_slug" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.727878181Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.161644ms policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2024-01-27T11:36:34.736944741Z level=info msg="Executing migration" id="Update dashboard title length" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.736984441Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=41.17µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) grafana | logger=migrator t=2024-01-27T11:36:34.743588631Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.745220041Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.63515ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.751546937Z level=info msg="Executing migration" id="create dashboard_provisioning" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.752223795Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=677.358µs policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2024-01-27T11:36:34.756368865Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.766888013Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=10.520658ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) grafana | logger=migrator t=2024-01-27T11:36:34.77410303Z level=info msg="Executing migration" id="create dashboard_provisioning v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.774730108Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=626.338µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.780735911Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.782127697Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.395826ms policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2024-01-27T11:36:34.789152452Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.79059358Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.440648ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-01-27T11:36:34.797843238Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.798354104Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=510.166µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.806174308Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.8071196Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=944.342µs policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2024-01-27T11:36:34.81536874Z level=info msg="Executing migration" id="Add check_sum column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.81870148Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.327371ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) grafana | logger=migrator t=2024-01-27T11:36:34.822272753Z level=info msg="Executing migration" id="Add index for dashboard_title" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.823557569Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=1.284746ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.83191295Z level=info msg="Executing migration" id="delete tags for deleted dashboards" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.832092772Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=180.332µs policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2024-01-27T11:36:34.84348272Z level=info msg="Executing migration" id="delete stars for deleted dashboards" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.843916055Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=433.355µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) grafana | logger=migrator t=2024-01-27T11:36:34.850378203Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.851875111Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.496018ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.857176696Z level=info msg="Executing migration" id="Add isPublic for dashboard" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.860796769Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.619883ms policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2024-01-27T11:36:34.868010617Z level=info msg="Executing migration" id="create data_source table" 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)) grafana | logger=migrator t=2024-01-27T11:36:34.869044439Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.033812ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.873860068Z level=info msg="Executing migration" id="add index data_source.account_id" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.875192804Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.333166ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.880113903Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2024-01-27T11:36:34.881672112Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.557089ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.887980169Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-01-27T11:36:34.889334265Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.353876ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.896006036Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.89722772Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.221834ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.940498394Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-01-27T11:36:34.953136617Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=12.638193ms grafana | logger=migrator t=2024-01-27T11:36:34.96245821Z level=info msg="Executing migration" id="create data_source table v2" policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2024-01-27T11:36:34.963843907Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=1.385257ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.968666945Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) grafana | logger=migrator t=2024-01-27T11:36:34.969791229Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.124744ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.977717705Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.979178412Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.459117ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:34.989374926Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2024-01-27T11:36:34.990341218Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=965.902µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:34.996945127Z level=info msg="Executing migration" id="Add column with_credentials" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-01-27T11:36:35.000234647Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.29648ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.003939602Z level=info msg="Executing migration" id="Add secure json data column" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.006301704Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.349572ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.015086115Z level=info msg="Executing migration" id="Update data_source table charset" policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2024-01-27T11:36:35.015113635Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=28.22µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.01907483Z level=info msg="Executing migration" id="Update initial version to 1" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) grafana | logger=migrator t=2024-01-27T11:36:35.019533846Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=459.156µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.02783514Z level=info msg="Executing migration" id="Add read_only data column" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.030376215Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.541115ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.038565747Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2024-01-27T11:36:35.038817131Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=251.204µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.04744665Z level=info msg="Executing migration" id="Update json_data with nulls" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) grafana | logger=migrator t=2024-01-27T11:36:35.047750694Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=303.054µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.052765813Z level=info msg="Executing migration" id="Add uid column" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.056502204Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.738262ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.063868766Z level=info msg="Executing migration" id="Update uid value" policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2024-01-27T11:36:35.064083039Z level=info msg="Migration successfully executed" id="Update uid value" duration=217.364µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.072545795Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) grafana | logger=migrator t=2024-01-27T11:36:35.074188247Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.642072ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.078602538Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.080161719Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.558391ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.092434578Z level=info msg="Executing migration" id="create api_key table" policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2024-01-27T11:36:35.093785987Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.349989ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.105393437Z level=info msg="Executing migration" id="add index api_key.account_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-01-27T11:36:35.106702045Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.308378ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.111792515Z level=info msg="Executing migration" id="add index api_key.key" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.113369506Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.577782ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.120087619Z level=info msg="Executing migration" id="add index api_key.account_id_name" policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2024-01-27T11:36:35.121140393Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.048484ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.131480066Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-01-27T11:36:35.133301401Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.821035ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.138104277Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.139399274Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.295057ms policy-db-migrator | policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.143530511Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) grafana | logger=migrator t=2024-01-27T11:36:35.144368853Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=848.972µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.149598615Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.160313252Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=10.716147ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.165339691Z level=info msg="Executing migration" id="create api_key table v2" policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-01-27T11:36:35.166135262Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=792.081µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.172210426Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) grafana | logger=migrator t=2024-01-27T11:36:35.173132319Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=921.683µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.176727218Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.177537929Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=813.041µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.180305667Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2024-01-27T11:36:35.18124241Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=936.043µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.18991617Z level=info msg="Executing migration" id="copy api_key v1 to v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-01-27T11:36:35.190275154Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=358.625µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.19502746Z level=info msg="Executing migration" id="Drop old table api_key_v1" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.196071654Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=1.043564ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.200768959Z level=info msg="Executing migration" id="Update api_key table charset" policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2024-01-27T11:36:35.200827379Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=48.23µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.204138745Z level=info msg="Executing migration" id="Add expires to api_key table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) grafana | logger=migrator t=2024-01-27T11:36:35.208935901Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.796416ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.214829002Z level=info msg="Executing migration" id="Add service account foreign key" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.21760159Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.772508ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.220587572Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-01-27T11:36:35.220870736Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=283.064µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.225018332Z level=info msg="Executing migration" id="Add last_used_at to api_key table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) grafana | logger=migrator t=2024-01-27T11:36:35.227809131Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.791629ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.238969724Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.243042681Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=4.072716ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.248689818Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-01-27T11:36:35.249858944Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=1.168536ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.253572395Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-01-27T11:36:35.254447867Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=876.782µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.259416586Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.260147826Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=730.95µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.264322363Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-01-27T11:36:35.265127294Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=806.141µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.271777376Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) grafana | logger=migrator t=2024-01-27T11:36:35.273183135Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.405419ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.277371453Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.279405411Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=2.032678ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.283845362Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-01-27T11:36:35.284198947Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=361.215µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.291059261Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-01-27T11:36:35.291171633Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=113.312µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.2960994Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.300827326Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.727155ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.303998159Z level=info msg="Executing migration" id="Add encrypted dashboard json column" policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-01-27T11:36:35.306834738Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.837469ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.31062262Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-01-27T11:36:35.310822503Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=199.463µs grafana | logger=migrator t=2024-01-27T11:36:35.312913032Z level=info msg="Executing migration" id="create quota table v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-01-27T11:36:35.313700672Z level=info msg="Migration successfully executed" id="create quota table v1" duration=788.9µs policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.316168096Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-01-27T11:36:35.31715158Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=982.914µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.319847617Z level=info msg="Executing migration" id="Update quota table charset" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-01-27T11:36:35.319969489Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=115.252µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.324110786Z level=info msg="Executing migration" id="create plugin_setting table" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.324947037Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=796.161µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.327419581Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-01-27T11:36:35.328282443Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=862.542µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.331644489Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-01-27T11:36:35.336888611Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=5.244832ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.341561856Z level=info msg="Executing migration" id="Update plugin_setting table charset" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.341681928Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=120.911µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.344443855Z level=info msg="Executing migration" id="create session table" policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-01-27T11:36:35.345321228Z level=info msg="Migration successfully executed" id="create session table" duration=876.762µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.348159137Z level=info msg="Executing migration" id="Drop old table playlist table" policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-01-27T11:36:35.348345739Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=186.892µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.352351374Z level=info msg="Executing migration" id="Drop old table playlist_item table" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.352562337Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=214.763µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.355236594Z level=info msg="Executing migration" id="create playlist table v2" policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-01-27T11:36:35.356033565Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=796.531µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.358954175Z level=info msg="Executing migration" id="create playlist item table v2" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2024-01-27T11:36:35.359727066Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=772.621µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.36293995Z level=info msg="Executing migration" id="Update playlist table charset" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.363040751Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=74.051µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.367158538Z level=info msg="Executing migration" id="Update playlist_item table charset" policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-01-27T11:36:35.367233779Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=75.681µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.369766954Z level=info msg="Executing migration" id="Add playlist column created_at" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-01-27T11:36:35.372916077Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=3.148773ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.375663805Z level=info msg="Executing migration" id="Add playlist column updated_at" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.378747528Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.083303ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.383103097Z level=info msg="Executing migration" id="drop preferences table v2" policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-01-27T11:36:35.38327147Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=168.273µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.385817645Z level=info msg="Executing migration" id="drop preferences table v3" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-01-27T11:36:35.385984747Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=166.612µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.388174587Z level=info msg="Executing migration" id="create preferences table v3" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.389035609Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=860.722µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.393160106Z level=info msg="Executing migration" id="Update preferences table charset" policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-01-27T11:36:35.393229037Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=69.971µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.397189141Z level=info msg="Executing migration" id="Add column team_id in preferences" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-01-27T11:36:35.400501757Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.312216ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.403010081Z level=info msg="Executing migration" id="Update team_id column values in preferences" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.403243264Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=238.573µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.405879691Z level=info msg="Executing migration" id="Add column week_start in preferences" policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-01-27T11:36:35.409125445Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.245294ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.411813422Z level=info msg="Executing migration" id="Add column preferences.json_data" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-01-27T11:36:35.415067687Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.254325ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.45668981Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.456957744Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=273.704µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.460019966Z level=info msg="Executing migration" id="Add preferences index org_id" policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-01-27T11:36:35.461641078Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.629532ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.464302524Z level=info msg="Executing migration" id="Add preferences index user_id" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-01-27T11:36:35.465336319Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.033195ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.469633608Z level=info msg="Executing migration" id="create alert table v1" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-01-27T11:36:35.470649762Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.013824ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.47345096Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-01-27T11:36:35.474486675Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.032444ms policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-01-27T11:36:35.47996733Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-01-27T11:36:35.480958474Z level=info msg="Migration successfully executed" id="add index alert state" duration=992.434µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.48359127Z level=info msg="Executing migration" id="add index alert dashboard_id" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.484607494Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.015294ms grafana | logger=migrator t=2024-01-27T11:36:35.487599815Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-01-27T11:36:35.488355746Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=755.701µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.492631764Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-01-27T11:36:35.493618568Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=981.084µs policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2024-01-27T11:36:35.496268804Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-01-27T11:36:35.497185207Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=912.123µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.504902053Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-01-27T11:36:35.523043003Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=18.14146ms policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.532559944Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.533163962Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=603.369µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.537849226Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.53956235Z level=info msg="Migration successfully executed" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" duration=1.712324ms policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.547641051Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.548346421Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=706.23µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.556181689Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-01-27T11:36:35.556867508Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=685.329µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.588349191Z level=info msg="Executing migration" id="create alert_notification table v1" policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-27T11:36:35.589272844Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=925.733µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.592252985Z level=info msg="Executing migration" id="Add column is_default" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.597215733Z level=info msg="Migration successfully executed" id="Add column is_default" duration=4.963488ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.601637604Z level=info msg="Executing migration" id="Add column frequency" policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-01-27T11:36:35.605300734Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.66175ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.608922524Z level=info msg="Executing migration" id="Add column send_reminder" policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-27T11:36:35.612425072Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.501988ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.615791769Z level=info msg="Executing migration" id="Add column disable_resolve_message" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.619306847Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.514228ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.624711891Z level=info msg="Executing migration" id="add index alert_notification org_id & name" policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-01-27T11:36:35.625626524Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=914.083µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.628492183Z level=info msg="Executing migration" id="Update alert table charset" policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-27T11:36:35.628598515Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=104.412µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.632299616Z level=info msg="Executing migration" id="Update alert_notification table charset" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.632367807Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=69.231µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.635692472Z level=info msg="Executing migration" id="create notification_journal table v1" policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-01-27T11:36:35.636473063Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=780.741µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.641508962Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-27T11:36:35.6434813Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.971538ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.646203617Z level=info msg="Executing migration" id="drop alert_notification_journal" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.647013048Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=809.231µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.649797356Z level=info msg="Executing migration" id="create alert_notification_state table v1" policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-01-27T11:36:35.650581527Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=784.391µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.654502941Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-27T11:36:35.655408284Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=905.103µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.657971579Z level=info msg="Executing migration" id="Add for to alert table" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.66165812Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.681851ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.665164128Z level=info msg="Executing migration" id="Add column uid in alert_notification" 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 grafana | logger=migrator t=2024-01-27T11:36:35.668853319Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.688761ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.672945135Z level=info msg="Executing migration" id="Update uid column values in alert_notification" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.673192248Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=246.763µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.675835945Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-01-27T11:36:35.676775788Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=933.793µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.682294564Z level=info msg="Executing migration" id="Remove unique index org_id_name" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-27T11:36:35.683144665Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=849.951µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.714055771Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.718992138Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=4.935197ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.721682135Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-01-27T11:36:35.721826107Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=143.442µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.723837535Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-27T11:36:35.724768198Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=930.423µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.730538197Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.731546541Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.007624ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.73437368Z level=info msg="Executing migration" id="Drop old annotation table v4" policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-01-27T11:36:35.734627064Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=252.384µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.737783447Z level=info msg="Executing migration" id="create annotation table v5" policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-27T11:36:35.739101435Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.317288ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.743951062Z level=info msg="Executing migration" id="add index annotation 0 v3" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.744905915Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=954.513µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.747745434Z level=info msg="Executing migration" id="add index annotation 1 v3" policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-01-27T11:36:35.748681237Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=935.353µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.751564217Z level=info msg="Executing migration" id="add index annotation 2 v3" policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-27T11:36:35.75251531Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=950.513µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.756588366Z level=info msg="Executing migration" id="add index annotation 3 v3" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.75762834Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.039334ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.761057457Z level=info msg="Executing migration" id="add index annotation 4 v3" policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-01-27T11:36:35.762114842Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.056575ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.767390904Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2024-01-27T11:36:35.767543136Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=150.852µs grafana | logger=migrator t=2024-01-27T11:36:35.773356936Z level=info msg="Executing migration" id="Add column region_id to annotation table" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-27T11:36:35.778939583Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=5.583547ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.782018146Z level=info msg="Executing migration" id="Drop category_id index" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.782931398Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=913.052µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.787248027Z level=info msg="Executing migration" id="Add column tags to annotation table" policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-01-27T11:36:35.791298013Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=4.044586ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.794399176Z level=info msg="Executing migration" id="Create annotation_tag table v2" policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-01-27T11:36:35.795086445Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=686.739µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.798261469Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.799197102Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=935.513µs grafana | logger=migrator t=2024-01-27T11:36:35.803219687Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.80418226Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=964.693µs policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-01-27T11:36:35.807745039Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.824110595Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=16.365046ms policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.83249755Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.83391572Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=1.417779ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.840091835Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-01-27T11:36:35.841771818Z level=info msg="Migration successfully executed" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" duration=1.679073ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.845827493Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-01-27T11:36:35.846173168Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=345.415µs policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.84852544Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-01-27T11:36:35.849116988Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=589.248µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.852664968Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL grafana | logger=migrator t=2024-01-27T11:36:35.852911961Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=243.724µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.855686819Z level=info msg="Executing migration" id="Add created time to annotation table" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.859756755Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.069396ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.862581054Z level=info msg="Executing migration" id="Add updated time to annotation table" policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-01-27T11:36:35.866592479Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.011075ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.869657791Z level=info msg="Executing migration" id="Add index for created in annotation table" policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num grafana | logger=migrator t=2024-01-27T11:36:35.870590814Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=932.683µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.874182103Z level=info msg="Executing migration" id="Add index for updated in annotation table" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.875127636Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=945.283µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.878093617Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-01-27T11:36:35.878407322Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=313.425µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.880735654Z level=info msg="Executing migration" id="Add epoch_end column" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.884902291Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.163877ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.888631792Z level=info msg="Executing migration" id="Add index for epoch_end" policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-01-27T11:36:35.889607026Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=978.404µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.892657268Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-01-27T11:36:35.892896251Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=238.783µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.89572117Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.896155556Z level=info msg="Migration successfully executed" id="Move region to single row" duration=428.656µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.90006552Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-01-27T11:36:35.901038093Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=972.103µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.904174146Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-01-27T11:36:35.905084899Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=910.683µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.908158561Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.909190785Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.031704ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.91390319Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-01-27T11:36:35.914859023Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=955.283µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.917081864Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-01-27T11:36:35.917967616Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=885.452µs policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-01-27T11:36:35.920791525Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-01-27T11:36:35.921710497Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=918.562µs policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-01-27T11:36:35.963875878Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.964097541Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=220.753µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.967484438Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.968800036Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.315048ms policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-01-27T11:36:35.972482756Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.973869795Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.431659ms policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-01-27T11:36:35.979512743Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.980423655Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=910.782µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.983430656Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.98440041Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=969.284µs policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-01-27T11:36:35.987350301Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.987617144Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=266.313µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) grafana | logger=migrator t=2024-01-27T11:36:35.991525448Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.991970404Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=444.606µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:35.994955305Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.995097617Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=142.172µs policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-01-27T11:36:35.998016307Z level=info msg="Executing migration" id="create team table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:35.998774038Z level=info msg="Migration successfully executed" id="create team table" duration=757.191µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.00184342Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.002866024Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.022334ms policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-01-27T11:36:36.006774493Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.007723545Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=948.662µs policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-01-27T11:36:36.01066794Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.015018472Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.350142ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.017924686Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.018175779Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=251.133µs policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-01-27T11:36:36.021970304Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.022940646Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=970.002µs 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-27T11:36:36.026010393Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.026768632Z level=info msg="Migration successfully executed" id="create team member table" duration=757.739µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.029773757Z level=info msg="Executing migration" id="add index team_member.org_id" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.030719299Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=945.752µs policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-01-27T11:36:36.034409093Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.035368354Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=958.781µs 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-27T11:36:36.038289269Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.0392102Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=920.671µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.04339744Z level=info msg="Executing migration" id="Add column email to team table" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.051536467Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=8.142217ms policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-01-27T11:36:36.054887957Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.058077295Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=3.189268ms 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-27T11:36:36.060840478Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.065277661Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.436013ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.068953845Z level=info msg="Executing migration" id="create dashboard acl table" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.069810585Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=861.961µs policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-01-27T11:36:36.073046093Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.073930164Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=883.671µs policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-01-27T11:36:36.077852321Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.078861323Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.006872ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.086103569Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.08706207Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=958.191µs policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-01-27T11:36:36.090954727Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.091827907Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=872.6µs policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-01-27T11:36:36.095246098Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.096158599Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=911.871µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.098851081Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.099739022Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=885.1µs policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-01-27T11:36:36.102634356Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.103532347Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=897.661µs policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-01-27T11:36:36.107095039Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.107549225Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=453.856µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.110686522Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.110901655Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=215.103µs policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-01-27T11:36:36.114499507Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.115136075Z level=info msg="Migration successfully executed" id="create tag table" duration=636.068µs policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-01-27T11:36:36.117929918Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.118838219Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=904.411µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.121655962Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.122560893Z level=info msg="Migration successfully executed" id="create login attempt table" duration=902.171µs policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.125604679Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.12652308Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=917.761µs policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2024-01-27T11:36:36.130200774Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.131088695Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=887.691µs grafana | logger=migrator t=2024-01-27T11:36:36.134159021Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-27T11:36:36.152974096Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=18.815275ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.15584331Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.156401656Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=559.716µs policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2024-01-27T11:36:36.160330413Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.161256524Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=925.721µs policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2024-01-27T11:36:36.16427082Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.164581664Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=310.764µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.167504389Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.168104356Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=599.247µs policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2024-01-27T11:36:36.171913441Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.1726223Z level=info msg="Migration successfully executed" id="create user auth table" duration=705.639µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.175735727Z 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-27T11:36:36.176686478Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=944.831µs policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2024-01-27T11:36:36.179766485Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.179836926Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=63.541µs policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-01-27T11:36:36.184066646Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.19189051Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=7.825324ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.194695293Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.198337316Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=3.641843ms policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2024-01-27T11:36:36.201275111Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.206355232Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.079581ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.210269358Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.215364709Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.095471ms policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-01-27T11:36:36.218469126Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.219398257Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=928.951µs policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2024-01-27T11:36:36.222603475Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.227770037Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.166012ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.231974177Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.232749576Z level=info msg="Migration successfully executed" id="create server_lock table" duration=774.869µs policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2024-01-27T11:36:36.235709091Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.236666113Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=956.272µs policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2024-01-27T11:36:36.240266846Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.241078645Z level=info msg="Migration successfully executed" id="create user auth token table" duration=809.779µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.244995032Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | msg grafana | logger=migrator t=2024-01-27T11:36:36.245949984Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=954.921µs policy-db-migrator | upgrade to 1100 completed policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.25070472Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2024-01-27T11:36:36.251737142Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.032602ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.25491232Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2024-01-27T11:36:36.255901182Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=988.482µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.260063932Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.26662457Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=6.560988ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.269881029Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-01-27T11:36:36.270962632Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.080683ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.274434253Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-01-27T11:36:36.275355614Z level=info msg="Migration successfully executed" id="create cache_data table" duration=920.821µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.279393792Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.280370454Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=976.552µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.283483371Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.284526783Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.041142ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.287681421Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=migrator t=2024-01-27T11:36:36.288656093Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=974.452µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.292549229Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" 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-27T11:36:36.29262038Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=68.541µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.29597833Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.296106061Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=121.881µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.299548302Z level=info msg="Executing migration" id="recreate alert_definition table" 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-27T11:36:36.300917329Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.368397ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.30529607Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.306636426Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.340726ms grafana | logger=migrator t=2024-01-27T11:36:36.309850445Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.310855617Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.004822ms policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2024-01-27T11:36:36.313958074Z 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-27T11:36:36.314021835Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=64.11µs policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-01-27T11:36:36.316549085Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.317592217Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.039572ms policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.321376842Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-27T11:36:36.322273403Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=896.341µs 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-27T11:36:36.32534849Z 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-27T11:36:36.326309791Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=960.871µs policy-db-migrator | grafana | logger=migrator t=2024-01-27T11:36:36.330067596Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | policyadmin: OK: upgrade (1200) grafana | logger=migrator t=2024-01-27T11:36:36.331110288Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.048462ms policy-db-migrator | name version grafana | logger=migrator t=2024-01-27T11:36:36.334121794Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | policyadmin 1200 grafana | logger=migrator t=2024-01-27T11:36:36.340181606Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=6.051562ms policy-db-migrator | ID script operation from_version to_version tag success atTime grafana | logger=migrator t=2024-01-27T11:36:36.343500346Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:37 grafana | logger=migrator t=2024-01-27T11:36:36.344441657Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=940.841µs policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:37 grafana | logger=migrator t=2024-01-27T11:36:36.348292113Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:37 grafana | logger=migrator t=2024-01-27T11:36:36.348373164Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=81.471µs policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:37 grafana | logger=migrator t=2024-01-27T11:36:36.351592142Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:37 grafana | logger=migrator t=2024-01-27T11:36:36.352446473Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=853.831µs policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:37 grafana | logger=migrator t=2024-01-27T11:36:36.35554911Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:37 grafana | logger=migrator t=2024-01-27T11:36:36.356565382Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.018703ms policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:37 grafana | logger=migrator t=2024-01-27T11:36:36.36060355Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:37 grafana | logger=migrator t=2024-01-27T11:36:36.361680503Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.076413ms policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:37 grafana | logger=migrator t=2024-01-27T11:36:36.364820049Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:37 grafana | logger=migrator t=2024-01-27T11:36:36.36491706Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=94.261µs policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:37 grafana | logger=migrator t=2024-01-27T11:36:36.367995727Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:37 grafana | logger=migrator t=2024-01-27T11:36:36.368991149Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=995.112µs policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:37 grafana | logger=migrator t=2024-01-27T11:36:36.372595982Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:37 grafana | logger=migrator t=2024-01-27T11:36:36.373498663Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=902.4µs policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:37 grafana | logger=migrator t=2024-01-27T11:36:36.37660276Z 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 | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:37 grafana | logger=migrator t=2024-01-27T11:36:36.377637362Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=1.034023ms policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:37 grafana | logger=migrator t=2024-01-27T11:36:36.381456097Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:37 grafana | logger=migrator t=2024-01-27T11:36:36.382400389Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=943.902µs policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:37 grafana | logger=migrator t=2024-01-27T11:36:36.385369784Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:37 grafana | logger=migrator t=2024-01-27T11:36:36.391143483Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.773719ms policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:37 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:37 grafana | logger=migrator t=2024-01-27T11:36:36.394171839Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:37 grafana | logger=migrator t=2024-01-27T11:36:36.39510309Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=936.851µs policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:37 grafana | logger=migrator t=2024-01-27T11:36:36.399029757Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:37 grafana | logger=migrator t=2024-01-27T11:36:36.399941117Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=910.75µs policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:38 grafana | logger=migrator t=2024-01-27T11:36:36.403085705Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:38 grafana | logger=migrator t=2024-01-27T11:36:36.441010347Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=37.915652ms policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:38 grafana | logger=migrator t=2024-01-27T11:36:36.469152292Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:38 grafana | logger=migrator t=2024-01-27T11:36:36.507724802Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=38.57777ms policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:38 grafana | logger=migrator t=2024-01-27T11:36:36.511925112Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:38 grafana | logger=migrator t=2024-01-27T11:36:36.512700201Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=774.929µs policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:38 grafana | logger=migrator t=2024-01-27T11:36:36.515802308Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:38 grafana | logger=migrator t=2024-01-27T11:36:36.516501946Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=699.168µs policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:38 grafana | logger=migrator t=2024-01-27T11:36:36.519883167Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:38 grafana | logger=migrator t=2024-01-27T11:36:36.523901424Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=4.016967ms policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:38 grafana | logger=migrator t=2024-01-27T11:36:36.527913602Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:38 grafana | logger=migrator t=2024-01-27T11:36:36.531859059Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=3.945217ms policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:38 grafana | logger=migrator t=2024-01-27T11:36:36.534840225Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:38 grafana | logger=migrator t=2024-01-27T11:36:36.535487023Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=646.558µs policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:38 grafana | logger=migrator t=2024-01-27T11:36:36.539760764Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:38 grafana | logger=migrator t=2024-01-27T11:36:36.540491132Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=729.848µs policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:38 grafana | logger=migrator t=2024-01-27T11:36:36.545158108Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:38 grafana | logger=migrator t=2024-01-27T11:36:36.546676716Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.509408ms policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:38 grafana | logger=migrator t=2024-01-27T11:36:36.550018536Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:38 grafana | logger=migrator t=2024-01-27T11:36:36.551688666Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.66885ms policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:38 grafana | logger=migrator t=2024-01-27T11:36:36.555075556Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:38 grafana | logger=migrator t=2024-01-27T11:36:36.555140027Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=64.971µs grafana | logger=migrator t=2024-01-27T11:36:36.559296876Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2024-01-27T11:36:36.565137826Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=5.84607ms grafana | logger=migrator t=2024-01-27T11:36:36.568477656Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2024-01-27T11:36:36.574290855Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=5.813239ms grafana | logger=migrator t=2024-01-27T11:36:36.577321871Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2024-01-27T11:36:36.58309641Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.774019ms grafana | logger=migrator t=2024-01-27T11:36:36.587070417Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2024-01-27T11:36:36.587988478Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=920.551µs grafana | logger=migrator t=2024-01-27T11:36:36.591187046Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2024-01-27T11:36:36.592142207Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=954.671µs grafana | logger=migrator t=2024-01-27T11:36:36.595265435Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2024-01-27T11:36:36.601109594Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=5.843729ms grafana | logger=migrator t=2024-01-27T11:36:36.605262454Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2024-01-27T11:36:36.611053573Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.791229ms grafana | logger=migrator t=2024-01-27T11:36:36.614308072Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" grafana | logger=migrator t=2024-01-27T11:36:36.615310034Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=995.162µs grafana | logger=migrator t=2024-01-27T11:36:36.618524722Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2024-01-27T11:36:36.624536834Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=6.012002ms grafana | logger=migrator t=2024-01-27T11:36:36.628706023Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2024-01-27T11:36:36.634530553Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=5.82405ms grafana | logger=migrator t=2024-01-27T11:36:36.637790502Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2024-01-27T11:36:36.637859432Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=69.35µs grafana | logger=migrator t=2024-01-27T11:36:36.64102105Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2024-01-27T11:36:36.641985132Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=965.972µs grafana | logger=migrator t=2024-01-27T11:36:36.645963129Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" grafana | logger=migrator t=2024-01-27T11:36:36.646985971Z 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.022232ms grafana | logger=migrator t=2024-01-27T11:36:36.649897566Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" grafana | logger=migrator t=2024-01-27T11:36:36.651004889Z 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.106723ms grafana | logger=migrator t=2024-01-27T11:36:36.655153259Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-27T11:36:36.655216209Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=63.48µs grafana | logger=migrator t=2024-01-27T11:36:36.658149114Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2024-01-27T11:36:36.664284297Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.134843ms grafana | logger=migrator t=2024-01-27T11:36:36.667429345Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2024-01-27T11:36:36.673554798Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.121013ms grafana | logger=migrator t=2024-01-27T11:36:36.676671815Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2024-01-27T11:36:36.683358814Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.686629ms grafana | logger=migrator t=2024-01-27T11:36:36.68888906Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2024-01-27T11:36:36.694995273Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.103313ms grafana | logger=migrator t=2024-01-27T11:36:36.699309595Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2024-01-27T11:36:36.705442428Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.132443ms grafana | logger=migrator t=2024-01-27T11:36:36.708316872Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2024-01-27T11:36:36.708382083Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=65.541µs grafana | logger=migrator t=2024-01-27T11:36:36.711398559Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2024-01-27T11:36:36.712111537Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=712.818µs grafana | logger=migrator t=2024-01-27T11:36:36.717186688Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2024-01-27T11:36:36.723321241Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=6.138113ms grafana | logger=migrator t=2024-01-27T11:36:36.72663932Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2024-01-27T11:36:36.726703511Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=70.321µs grafana | logger=migrator t=2024-01-27T11:36:36.729713677Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2024-01-27T11:36:36.73581001Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.095773ms grafana | logger=migrator t=2024-01-27T11:36:36.741960573Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2024-01-27T11:36:36.744408272Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=2.452629ms grafana | logger=migrator t=2024-01-27T11:36:36.749781846Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2024-01-27T11:36:36.756319824Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.538528ms grafana | logger=migrator t=2024-01-27T11:36:36.759605443Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2024-01-27T11:36:36.760369152Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=765.089µs grafana | logger=migrator t=2024-01-27T11:36:36.764507862Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2024-01-27T11:36:36.765462023Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=954.111µs grafana | logger=migrator t=2024-01-27T11:36:36.768811273Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2024-01-27T11:36:36.77528525Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.480317ms grafana | logger=migrator t=2024-01-27T11:36:36.782685538Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2024-01-27T11:36:36.783370686Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=684.828µs grafana | logger=migrator t=2024-01-27T11:36:36.787802699Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2024-01-27T11:36:36.789422198Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.618529ms grafana | logger=migrator t=2024-01-27T11:36:36.794791642Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2024-01-27T11:36:36.795967496Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.175374ms grafana | logger=migrator t=2024-01-27T11:36:36.799347987Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2024-01-27T11:36:36.800997556Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.65871ms grafana | logger=migrator t=2024-01-27T11:36:36.805375628Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2024-01-27T11:36:36.805439829Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=64.891µs policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:38 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:38 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:39 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:39 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:39 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:39 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:39 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:39 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:39 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:39 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:39 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:39 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:39 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:39 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:39 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:39 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:39 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:39 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:39 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:39 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:39 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:39 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:39 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:39 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:39 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:39 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:39 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:39 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:40 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:40 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:40 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:40 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:40 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:40 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:40 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:40 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:40 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:40 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:40 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:40 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:40 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:40 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:40 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:40 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:40 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:40 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:41 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2701241136360800u 1 2024-01-27 11:36:41 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2701241136360900u 1 2024-01-27 11:36:41 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2701241136360900u 1 2024-01-27 11:36:41 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2701241136360900u 1 2024-01-27 11:36:41 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2701241136360900u 1 2024-01-27 11:36:41 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2701241136360900u 1 2024-01-27 11:36:41 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2701241136360900u 1 2024-01-27 11:36:41 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2701241136360900u 1 2024-01-27 11:36:41 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2701241136360900u 1 2024-01-27 11:36:41 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2701241136360900u 1 2024-01-27 11:36:41 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2701241136360900u 1 2024-01-27 11:36:41 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2701241136360900u 1 2024-01-27 11:36:41 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2701241136360900u 1 2024-01-27 11:36:41 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2701241136360900u 1 2024-01-27 11:36:41 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2701241136361000u 1 2024-01-27 11:36:41 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2701241136361000u 1 2024-01-27 11:36:41 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2701241136361000u 1 2024-01-27 11:36:41 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2701241136361000u 1 2024-01-27 11:36:41 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2701241136361000u 1 2024-01-27 11:36:41 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2701241136361000u 1 2024-01-27 11:36:41 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2701241136361000u 1 2024-01-27 11:36:42 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2701241136361000u 1 2024-01-27 11:36:42 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2701241136361000u 1 2024-01-27 11:36:42 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2701241136361100u 1 2024-01-27 11:36:42 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2701241136361200u 1 2024-01-27 11:36:42 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2701241136361200u 1 2024-01-27 11:36:42 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2701241136361200u 1 2024-01-27 11:36:42 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2701241136361200u 1 2024-01-27 11:36:42 policy-db-migrator | policyadmin: OK @ 1200 grafana | logger=migrator t=2024-01-27T11:36:36.808563056Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2024-01-27T11:36:36.809416947Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=853.571µs grafana | logger=migrator t=2024-01-27T11:36:36.812815597Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2024-01-27T11:36:36.814318485Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.501768ms grafana | logger=migrator t=2024-01-27T11:36:36.818310123Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-01-27T11:36:36.818836929Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-01-27T11:36:36.823347113Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2024-01-27T11:36:36.823785638Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=438.635µs grafana | logger=migrator t=2024-01-27T11:36:36.826665312Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2024-01-27T11:36:36.828211661Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.540269ms grafana | logger=migrator t=2024-01-27T11:36:36.832580053Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2024-01-27T11:36:36.840153803Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=7.56965ms grafana | logger=migrator t=2024-01-27T11:36:36.843447032Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2024-01-27T11:36:36.844345273Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=897.951µs grafana | logger=migrator t=2024-01-27T11:36:36.847791444Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2024-01-27T11:36:36.848875737Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.083763ms grafana | logger=migrator t=2024-01-27T11:36:36.852929725Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2024-01-27T11:36:36.853676804Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=745.269µs grafana | logger=migrator t=2024-01-27T11:36:36.857902275Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2024-01-27T11:36:36.859504544Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.606219ms grafana | logger=migrator t=2024-01-27T11:36:36.862741002Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2024-01-27T11:36:36.863737074Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=995.502µs grafana | logger=migrator t=2024-01-27T11:36:36.867740131Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2024-01-27T11:36:36.867764202Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=24.331µs grafana | logger=migrator t=2024-01-27T11:36:36.870659506Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2024-01-27T11:36:36.870729757Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=70.061µs grafana | logger=migrator t=2024-01-27T11:36:36.873901605Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2024-01-27T11:36:36.874423411Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=520.776µs grafana | logger=migrator t=2024-01-27T11:36:36.877751721Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2024-01-27T11:36:36.879263319Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.510988ms grafana | logger=migrator t=2024-01-27T11:36:36.88353004Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2024-01-27T11:36:36.884268258Z level=info msg="Migration successfully executed" id="create secrets table" duration=731.888µs grafana | logger=migrator t=2024-01-27T11:36:36.887595958Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2024-01-27T11:36:36.935670231Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=48.072373ms grafana | logger=migrator t=2024-01-27T11:36:36.939051491Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2024-01-27T11:36:36.944025741Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=4.97405ms grafana | logger=migrator t=2024-01-27T11:36:36.948202641Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2024-01-27T11:36:36.948343292Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=140.331µs grafana | logger=migrator t=2024-01-27T11:36:36.996683418Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2024-01-27T11:36:37.045437289Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=48.753171ms grafana | logger=migrator t=2024-01-27T11:36:37.052102848Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2024-01-27T11:36:37.097458699Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=45.355931ms grafana | logger=migrator t=2024-01-27T11:36:37.10173081Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2024-01-27T11:36:37.102383788Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=652.938µs grafana | logger=migrator t=2024-01-27T11:36:37.108394919Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2024-01-27T11:36:37.109553563Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.164384ms grafana | logger=migrator t=2024-01-27T11:36:37.112792412Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2024-01-27T11:36:37.113109535Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=316.723µs grafana | logger=migrator t=2024-01-27T11:36:37.116270663Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2024-01-27T11:36:37.117248565Z level=info msg="Migration successfully executed" id="create permission table" duration=977.542µs grafana | logger=migrator t=2024-01-27T11:36:37.12277236Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2024-01-27T11:36:37.123870343Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.097733ms grafana | logger=migrator t=2024-01-27T11:36:37.127512097Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2024-01-27T11:36:37.129332098Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.818911ms grafana | logger=migrator t=2024-01-27T11:36:37.133121174Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2024-01-27T11:36:37.134440609Z level=info msg="Migration successfully executed" id="create role table" duration=1.311916ms grafana | logger=migrator t=2024-01-27T11:36:37.140149947Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2024-01-27T11:36:37.14789002Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.739553ms grafana | logger=migrator t=2024-01-27T11:36:37.155124856Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2024-01-27T11:36:37.167018648Z level=info msg="Migration successfully executed" id="add column group_name" duration=11.899422ms grafana | logger=migrator t=2024-01-27T11:36:37.170477149Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2024-01-27T11:36:37.171343609Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=866.19µs grafana | logger=migrator t=2024-01-27T11:36:37.174970452Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2024-01-27T11:36:37.175847413Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=878.831µs grafana | logger=migrator t=2024-01-27T11:36:37.178681557Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2024-01-27T11:36:37.179845841Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.164343ms grafana | logger=migrator t=2024-01-27T11:36:37.182921437Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2024-01-27T11:36:37.183857768Z level=info msg="Migration successfully executed" id="create team role table" duration=935.981µs grafana | logger=migrator t=2024-01-27T11:36:37.189437765Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2024-01-27T11:36:37.190615149Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.177144ms grafana | logger=migrator t=2024-01-27T11:36:37.198180219Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2024-01-27T11:36:37.200417765Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=2.236766ms grafana | logger=migrator t=2024-01-27T11:36:37.204355622Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2024-01-27T11:36:37.205673058Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.319236ms grafana | logger=migrator t=2024-01-27T11:36:37.211109783Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2024-01-27T11:36:37.212009833Z level=info msg="Migration successfully executed" id="create user role table" duration=910.33µs grafana | logger=migrator t=2024-01-27T11:36:37.215640267Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2024-01-27T11:36:37.21679197Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.151293ms grafana | logger=migrator t=2024-01-27T11:36:37.219865027Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2024-01-27T11:36:37.221160613Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.294736ms grafana | logger=migrator t=2024-01-27T11:36:37.226556417Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2024-01-27T11:36:37.227704841Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.147274ms grafana | logger=migrator t=2024-01-27T11:36:37.234138887Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2024-01-27T11:36:37.235535804Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.396867ms grafana | logger=migrator t=2024-01-27T11:36:37.23938827Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2024-01-27T11:36:37.242073102Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=2.689982ms grafana | logger=migrator t=2024-01-27T11:36:37.247494636Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2024-01-27T11:36:37.248840813Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.348276ms grafana | logger=migrator t=2024-01-27T11:36:37.252212103Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2024-01-27T11:36:37.260953807Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=8.734834ms grafana | logger=migrator t=2024-01-27T11:36:37.264269276Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2024-01-27T11:36:37.265246308Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=976.642µs grafana | logger=migrator t=2024-01-27T11:36:37.273764309Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2024-01-27T11:36:37.275820944Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=2.055905ms grafana | logger=migrator t=2024-01-27T11:36:37.279843042Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2024-01-27T11:36:37.281299469Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.456267ms grafana | logger=migrator t=2024-01-27T11:36:37.285134965Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2024-01-27T11:36:37.28638826Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.298426ms grafana | logger=migrator t=2024-01-27T11:36:37.291669303Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2024-01-27T11:36:37.292601714Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=925.931µs grafana | logger=migrator t=2024-01-27T11:36:37.296413369Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2024-01-27T11:36:37.298604065Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=2.195656ms grafana | logger=migrator t=2024-01-27T11:36:37.304332414Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2024-01-27T11:36:37.313802806Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=9.471583ms grafana | logger=migrator t=2024-01-27T11:36:37.31744309Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2024-01-27T11:36:37.323695004Z level=info msg="Migration successfully executed" id="permission kind migration" duration=6.250934ms grafana | logger=migrator t=2024-01-27T11:36:37.326819182Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2024-01-27T11:36:37.335555276Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=8.733364ms grafana | logger=migrator t=2024-01-27T11:36:37.339423402Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2024-01-27T11:36:37.348185276Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=8.761394ms grafana | logger=migrator t=2024-01-27T11:36:37.351659018Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2024-01-27T11:36:37.353008264Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.349266ms grafana | logger=migrator t=2024-01-27T11:36:37.356789548Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2024-01-27T11:36:37.357992023Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.205815ms grafana | logger=migrator t=2024-01-27T11:36:37.361427054Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2024-01-27T11:36:37.362864401Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.437077ms grafana | logger=migrator t=2024-01-27T11:36:37.368133824Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2024-01-27T11:36:37.368337986Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=203.662µs grafana | logger=migrator t=2024-01-27T11:36:37.375167467Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2024-01-27T11:36:37.37535635Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=192.793µs grafana | logger=migrator t=2024-01-27T11:36:37.37871161Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2024-01-27T11:36:37.379679441Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=968.281µs grafana | logger=migrator t=2024-01-27T11:36:37.383452766Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2024-01-27T11:36:37.384528619Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.072043ms grafana | logger=migrator t=2024-01-27T11:36:37.390220467Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2024-01-27T11:36:37.391419651Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.199054ms grafana | logger=migrator t=2024-01-27T11:36:37.395070075Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2024-01-27T11:36:37.395614491Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=544.186µs grafana | logger=migrator t=2024-01-27T11:36:37.399656899Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2024-01-27T11:36:37.400405818Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=748.489µs grafana | logger=migrator t=2024-01-27T11:36:37.407368651Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2024-01-27T11:36:37.408443304Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.077723ms grafana | logger=migrator t=2024-01-27T11:36:37.413854919Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2024-01-27T11:36:37.416242547Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=2.386678ms grafana | logger=migrator t=2024-01-27T11:36:37.420167814Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2024-01-27T11:36:37.428834877Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.669233ms grafana | logger=migrator t=2024-01-27T11:36:37.432258568Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2024-01-27T11:36:37.432403729Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=141.671µs grafana | logger=migrator t=2024-01-27T11:36:37.435744479Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2024-01-27T11:36:37.43747303Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.728041ms grafana | logger=migrator t=2024-01-27T11:36:37.447246476Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2024-01-27T11:36:37.449467113Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=2.226377ms grafana | logger=migrator t=2024-01-27T11:36:37.454488423Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2024-01-27T11:36:37.455622496Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.128893ms grafana | logger=migrator t=2024-01-27T11:36:37.459072287Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2024-01-27T11:36:37.470529594Z level=info msg="Migration successfully executed" id="add correlation config column" duration=11.457007ms grafana | logger=migrator t=2024-01-27T11:36:37.503300294Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2024-01-27T11:36:37.504930324Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.62953ms grafana | logger=migrator t=2024-01-27T11:36:37.508654848Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2024-01-27T11:36:37.51048459Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.829752ms grafana | logger=migrator t=2024-01-27T11:36:37.514013152Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-27T11:36:37.54658351Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=32.570058ms grafana | logger=migrator t=2024-01-27T11:36:37.549361793Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2024-01-27T11:36:37.550196743Z level=info msg="Migration successfully executed" id="create correlation v2" duration=838.19µs grafana | logger=migrator t=2024-01-27T11:36:37.553101198Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2024-01-27T11:36:37.554318202Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.216624ms grafana | logger=migrator t=2024-01-27T11:36:37.557428469Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2024-01-27T11:36:37.558795656Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.369796ms grafana | logger=migrator t=2024-01-27T11:36:37.561932493Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2024-01-27T11:36:37.563028406Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.095703ms grafana | logger=migrator t=2024-01-27T11:36:37.566213304Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2024-01-27T11:36:37.566895772Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=681.888µs grafana | logger=migrator t=2024-01-27T11:36:37.572996225Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2024-01-27T11:36:37.574317571Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.317825ms grafana | logger=migrator t=2024-01-27T11:36:37.579719585Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2024-01-27T11:36:37.589926736Z level=info msg="Migration successfully executed" id="add provisioning column" duration=10.209101ms grafana | logger=migrator t=2024-01-27T11:36:37.593029413Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2024-01-27T11:36:37.593791662Z level=info msg="Migration successfully executed" id="create entity_events table" duration=762.229µs grafana | logger=migrator t=2024-01-27T11:36:37.596841919Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2024-01-27T11:36:37.597728979Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=886.81µs grafana | logger=migrator t=2024-01-27T11:36:37.600900577Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-01-27T11:36:37.601456194Z 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-27T11:36:37.604670522Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-01-27T11:36:37.605143788Z 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-27T11:36:37.609208896Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2024-01-27T11:36:37.610555082Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.344566ms grafana | logger=migrator t=2024-01-27T11:36:37.617823289Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2024-01-27T11:36:37.619486069Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.662409ms grafana | logger=migrator t=2024-01-27T11:36:37.623218763Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-01-27T11:36:37.624975094Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.755501ms grafana | logger=migrator t=2024-01-27T11:36:37.628758429Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-01-27T11:36:37.629971004Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.212014ms grafana | logger=migrator t=2024-01-27T11:36:37.633735668Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-01-27T11:36:37.634874392Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.138704ms grafana | logger=migrator t=2024-01-27T11:36:37.637941399Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-01-27T11:36:37.638993691Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.055413ms grafana | logger=migrator t=2024-01-27T11:36:37.64222362Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-01-27T11:36:37.643012289Z level=info msg="Migration successfully executed" id="Drop public config table" duration=788.129µs grafana | logger=migrator t=2024-01-27T11:36:37.651366739Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2024-01-27T11:36:37.65235529Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=991.061µs grafana | logger=migrator t=2024-01-27T11:36:37.65823112Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-01-27T11:36:37.660091813Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.859913ms grafana | logger=migrator t=2024-01-27T11:36:37.663396442Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-01-27T11:36:37.664697087Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.299725ms grafana | logger=migrator t=2024-01-27T11:36:37.668013097Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2024-01-27T11:36:37.669253081Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.239335ms grafana | logger=migrator t=2024-01-27T11:36:37.672398159Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2024-01-27T11:36:37.706497155Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=34.098986ms grafana | logger=migrator t=2024-01-27T11:36:37.710671665Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2024-01-27T11:36:37.719125446Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=8.453111ms grafana | logger=migrator t=2024-01-27T11:36:37.725827766Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2024-01-27T11:36:37.734516459Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.683533ms grafana | logger=migrator t=2024-01-27T11:36:37.737514965Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2024-01-27T11:36:37.737730567Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=215.732µs grafana | logger=migrator t=2024-01-27T11:36:37.740871975Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2024-01-27T11:36:37.749255835Z level=info msg="Migration successfully executed" id="add share column" duration=8.383159ms grafana | logger=migrator t=2024-01-27T11:36:37.75222196Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2024-01-27T11:36:37.752389732Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=166.692µs grafana | logger=migrator t=2024-01-27T11:36:37.755091464Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2024-01-27T11:36:37.755688801Z level=info msg="Migration successfully executed" id="create file table" duration=597.607µs grafana | logger=migrator t=2024-01-27T11:36:37.759002811Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-01-27T11:36:37.761023265Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=2.011324ms grafana | logger=migrator t=2024-01-27T11:36:37.768639006Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-01-27T11:36:37.770112563Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.475937ms grafana | logger=migrator t=2024-01-27T11:36:37.774833139Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-01-27T11:36:37.776151395Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.317906ms grafana | logger=migrator t=2024-01-27T11:36:37.780186313Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-01-27T11:36:37.782224708Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=2.038184ms grafana | logger=migrator t=2024-01-27T11:36:37.788463572Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-01-27T11:36:37.788530353Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=89.781µs grafana | logger=migrator t=2024-01-27T11:36:37.791508448Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-01-27T11:36:37.79166437Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=154.252µs grafana | logger=migrator t=2024-01-27T11:36:37.79499266Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-01-27T11:36:37.795961901Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=968.801µs grafana | logger=migrator t=2024-01-27T11:36:37.800588916Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-01-27T11:36:37.80087309Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=283.184µs grafana | logger=migrator t=2024-01-27T11:36:37.809715585Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-01-27T11:36:37.811199883Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.484168ms grafana | logger=migrator t=2024-01-27T11:36:37.814610624Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-01-27T11:36:37.825946348Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=11.336504ms grafana | logger=migrator t=2024-01-27T11:36:37.830003477Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-01-27T11:36:37.830183239Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=153.491µs grafana | logger=migrator t=2024-01-27T11:36:37.832435626Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-01-27T11:36:37.833418587Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=982.691µs grafana | logger=migrator t=2024-01-27T11:36:37.836563445Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-01-27T11:36:37.837548847Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=978.371µs grafana | logger=migrator t=2024-01-27T11:36:37.841409963Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-01-27T11:36:37.841852168Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=441.815µs grafana | logger=migrator t=2024-01-27T11:36:37.848696089Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-01-27T11:36:37.849280306Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=584.767µs grafana | logger=migrator t=2024-01-27T11:36:37.852387273Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-01-27T11:36:37.866033266Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=13.639053ms grafana | logger=migrator t=2024-01-27T11:36:37.869001412Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-01-27T11:36:37.875537529Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.531498ms grafana | logger=migrator t=2024-01-27T11:36:37.882796066Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-01-27T11:36:37.88396384Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.167374ms grafana | logger=migrator t=2024-01-27T11:36:37.886966656Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-01-27T11:36:37.997813676Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=110.84055ms grafana | logger=migrator t=2024-01-27T11:36:38.003802277Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-01-27T11:36:38.005059792Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.257065ms grafana | logger=migrator t=2024-01-27T11:36:38.007933437Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-01-27T11:36:38.009168131Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.237574ms grafana | logger=migrator t=2024-01-27T11:36:38.012269738Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-01-27T11:36:38.045610325Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=33.340837ms grafana | logger=migrator t=2024-01-27T11:36:38.048920175Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-01-27T11:36:38.049128787Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=205.662µs grafana | logger=migrator t=2024-01-27T11:36:38.052095163Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-01-27T11:36:38.052304065Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=207.522µs grafana | logger=migrator t=2024-01-27T11:36:38.056356683Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-01-27T11:36:38.056710078Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=349.565µs grafana | logger=migrator t=2024-01-27T11:36:38.059693463Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-01-27T11:36:38.060636355Z level=info msg="Migration successfully executed" id="create folder table" duration=942.631µs grafana | logger=migrator t=2024-01-27T11:36:38.063656581Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-01-27T11:36:38.065017437Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.360267ms grafana | logger=migrator t=2024-01-27T11:36:38.068258125Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-01-27T11:36:38.069531341Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.272926ms grafana | logger=migrator t=2024-01-27T11:36:38.075253369Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-01-27T11:36:38.075284839Z level=info msg="Migration successfully executed" id="Update folder title length" duration=26.61µs grafana | logger=migrator t=2024-01-27T11:36:38.079435689Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-01-27T11:36:38.081358412Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.922112ms grafana | logger=migrator t=2024-01-27T11:36:38.084876073Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-01-27T11:36:38.086737526Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.861183ms grafana | logger=migrator t=2024-01-27T11:36:38.091346341Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-01-27T11:36:38.092546995Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.200244ms grafana | logger=migrator t=2024-01-27T11:36:38.096589343Z level=info msg="Executing migration" id="Sync dashboard and folder table" grafana | logger=migrator t=2024-01-27T11:36:38.09715987Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=570.037µs grafana | logger=migrator t=2024-01-27T11:36:38.100017944Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" grafana | logger=migrator t=2024-01-27T11:36:38.100396648Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=378.264µs grafana | logger=migrator t=2024-01-27T11:36:38.103147261Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-01-27T11:36:38.104191324Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.043633ms grafana | logger=migrator t=2024-01-27T11:36:38.110105324Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-01-27T11:36:38.11144074Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.336676ms grafana | logger=migrator t=2024-01-27T11:36:38.118716946Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-01-27T11:36:38.120569098Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.851372ms grafana | logger=migrator t=2024-01-27T11:36:38.124147051Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-01-27T11:36:38.125007661Z level=info msg="Migration successfully executed" id="create signing_key table" duration=857.28µs grafana | logger=migrator t=2024-01-27T11:36:38.128079738Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-01-27T11:36:38.129248482Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.168764ms grafana | logger=migrator t=2024-01-27T11:36:38.133399991Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-01-27T11:36:38.134541645Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.145084ms grafana | logger=migrator t=2024-01-27T11:36:38.138449952Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-01-27T11:36:38.139031429Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=574.476µs grafana | logger=migrator t=2024-01-27T11:36:38.142560651Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-01-27T11:36:38.1551052Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=12.545309ms grafana | logger=migrator t=2024-01-27T11:36:38.158132756Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-01-27T11:36:38.158940786Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=808.72µs grafana | logger=migrator t=2024-01-27T11:36:38.162137264Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-01-27T11:36:38.163345358Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.207664ms grafana | logger=migrator t=2024-01-27T11:36:38.166612447Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-01-27T11:36:38.167531018Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=918.031µs grafana | logger=migrator t=2024-01-27T11:36:38.17186371Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-01-27T11:36:38.172767041Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=902.071µs grafana | logger=migrator t=2024-01-27T11:36:38.175667425Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-01-27T11:36:38.175953908Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=282.923µs grafana | logger=migrator t=2024-01-27T11:36:38.183311586Z level=info msg="migrations completed" performed=526 skipped=0 duration=4.103192645s grafana | logger=sqlstore t=2024-01-27T11:36:38.198099092Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-01-27T11:36:38.198529637Z level=info msg="Created default organization" grafana | logger=secrets t=2024-01-27T11:36:38.202748868Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-01-27T11:36:38.229995422Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-01-27T11:36:38.267104844Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-01-27T11:36:38.267161525Z level=info msg="Plugins loaded" count=55 duration=37.167313ms grafana | logger=query_data t=2024-01-27T11:36:38.269494343Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-01-27T11:36:38.273403279Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-01-27T11:36:38.279972508Z level=info msg=Starting grafana | logger=ngalert.migration orgID=1 t=2024-01-27T11:36:38.281911771Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-01-27T11:36:38.28355566Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-01-27T11:36:38.286467175Z level=info msg="Completed legacy migration" grafana | logger=infra.usagestats.collector t=2024-01-27T11:36:38.31964213Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-01-27T11:36:38.322500254Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-01-27T11:36:38.333612447Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-01-27T11:36:38.333639237Z level=info msg="finished to provision alerting" grafana | logger=ngalert.state.manager t=2024-01-27T11:36:38.333813199Z level=info msg="Warming state cache for startup" grafana | logger=ngalert.state.manager t=2024-01-27T11:36:38.334399766Z level=info msg="State cache has been initialized" states=0 duration=585.447µs grafana | logger=ngalert.scheduler t=2024-01-27T11:36:38.334503517Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2024-01-27T11:36:38.334813171Z level=info msg=starting first_tick=2024-01-27T11:36:40Z grafana | logger=grafanaStorageLogger t=2024-01-27T11:36:38.334819571Z level=info msg="Storage starting" grafana | logger=ngalert.multiorg.alertmanager t=2024-01-27T11:36:38.335407498Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=http.server t=2024-01-27T11:36:38.338214932Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafana-apiserver t=2024-01-27T11:36:38.35654724Z level=info msg="Authentication is disabled" grafana | logger=grafana-apiserver t=2024-01-27T11:36:38.360358026Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=grafana.update.checker t=2024-01-27T11:36:38.391638458Z level=info msg="Update check succeeded" duration=57.813809ms grafana | logger=sqlstore.transactions t=2024-01-27T11:36:38.432248852Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=plugins.update.checker t=2024-01-27T11:36:38.455444698Z level=info msg="Update check succeeded" duration=121.633499ms grafana | logger=sqlstore.transactions t=2024-01-27T11:36:38.581677712Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping grafana ... Stopping policy-api ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing grafana ... Removing policy-api ... Removing policy-db-migrator ... Removing mariadb ... Removing prometheus ... Removing prometheus ... done Removing policy-db-migrator ... done Removing mariadb ... done Removing policy-api ... done Removing grafana ... 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.yzylLCIaFv ]] + rsync -av /tmp/tmp.yzylLCIaFv/ /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,346,626 bytes received 95 bytes 2,693,442.00 bytes/sec total size is 1,345,976 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 2098 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/jenkins2750975411741008366.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins3840025346795606820.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + 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/jenkins3482939567867118815.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-Huve from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-Huve/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins11331593876770930451.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config9945962799272211674tmp 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/jenkins13663744880010047520.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins9727136015155094194.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-Huve from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-Huve/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins3802547383410223944.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins15103854058683324227.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-Huve 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-Huve/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/jenkins12025956315130944295.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-Huve 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-Huve/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/253 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-224 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2800.000 BogoMIPS: 5600.00 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 837 27445 0 3883 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:4b:da:9a brd ff:ff:ff:ff:ff:ff inet 10.30.107.204/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86059sec preferred_lft 86059sec inet6 fe80::f816:3eff:fe4b:da9a/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:c5:1f:49:84 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-224) 01/27/24 _x86_64_ (8 CPU) 11:33:34 LINUX RESTART (8 CPU) 11:34:02 tps rtps wtps bread/s bwrtn/s 11:35:01 141.99 72.36 69.63 4690.73 29841.86 11:36:01 124.40 22.85 101.55 2732.48 28448.86 11:37:01 384.72 12.31 372.40 808.23 76171.17 11:38:01 13.88 0.07 13.81 3.07 15948.63 11:39:01 67.51 1.95 65.56 112.51 20076.29 Average: 146.51 21.74 124.78 1659.30 34111.59 11:34:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:35:01 30163336 31746352 2775884 8.43 67572 1826116 1351544 3.98 823076 1663316 170368 11:36:01 29282168 31675852 3657052 11.10 94128 2582596 1526708 4.49 979712 2326820 566784 11:37:01 26996456 30567480 5942764 18.04 126372 3641640 4788580 14.09 2174648 3319188 296 11:38:01 26942300 30510260 5996920 18.21 126520 3642448 4714516 13.87 2232640 3314172 196 11:39:01 28132008 31639968 4807212 14.59 130244 3616444 1470748 4.33 1139448 3244304 31480 Average: 28303254 31227982 4635966 14.07 108967 3061849 2770419 8.15 1469905 2773560 153825 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 lo 1.83 1.83 0.19 0.19 0.00 0.00 0.00 0.00 11:35:01 ens3 398.22 270.38 1613.51 62.50 0.00 0.00 0.00 0.00 11:36:01 br-7ef607827b25 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 lo 5.40 5.40 0.51 0.51 0.00 0.00 0.00 0.00 11:36:01 ens3 126.21 87.50 2893.90 12.56 0.00 0.00 0.00 0.00 11:37:01 br-7ef607827b25 0.67 0.70 0.06 0.31 0.00 0.00 0.00 0.00 11:37:01 veth667656e 0.45 0.63 0.05 0.31 0.00 0.00 0.00 0.00 11:37:01 vethafba7ac 0.05 0.25 0.00 0.02 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:38:01 br-7ef607827b25 3.07 3.53 5.87 2.22 0.00 0.00 0.00 0.00 11:38:01 veth667656e 0.17 0.18 0.01 0.01 0.00 0.00 0.00 0.00 11:38:01 vethafba7ac 0.15 0.15 0.02 0.47 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:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:39:01 lo 34.08 34.08 10.40 10.40 0.00 0.00 0.00 0.00 11:39:01 ens3 781.95 544.41 11064.81 112.25 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: lo 6.16 6.16 2.03 2.03 0.00 0.00 0.00 0.00 Average: ens3 155.25 107.57 2207.75 22.29 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-224) 01/27/24 _x86_64_ (8 CPU) 11:33:34 LINUX RESTART (8 CPU) 11:34:02 CPU %user %nice %system %iowait %steal %idle 11:35:01 all 11.54 0.00 1.10 1.84 0.04 85.49 11:35:01 0 10.26 0.00 0.63 0.37 0.05 88.69 11:35:01 1 28.95 0.00 2.29 1.80 0.05 66.90 11:35:01 2 8.67 0.00 1.19 6.85 0.03 83.26 11:35:01 3 19.87 0.00 1.58 0.66 0.07 77.82 11:35:01 4 11.26 0.00 1.10 0.29 0.03 87.32 11:35:01 5 2.86 0.00 0.60 0.90 0.05 95.59 11:35:01 6 3.76 0.00 0.73 3.69 0.03 91.79 11:35:01 7 6.64 0.00 0.68 0.12 0.03 92.53 11:36:01 all 10.32 0.00 1.25 2.68 0.03 85.72 11:36:01 0 22.41 0.00 1.62 1.34 0.05 74.58 11:36:01 1 9.71 0.00 1.44 0.53 0.02 88.31 11:36:01 2 9.82 0.00 1.06 10.78 0.03 78.31 11:36:01 3 8.97 0.00 1.09 1.05 0.03 88.86 11:36:01 4 20.77 0.00 1.48 0.93 0.03 76.78 11:36:01 5 1.77 0.00 1.17 2.88 0.05 94.13 11:36:01 6 6.66 0.00 1.29 0.05 0.00 92.00 11:36:01 7 2.38 0.00 0.87 3.94 0.03 92.78 11:37:01 all 16.67 0.00 3.65 5.42 0.07 74.19 11:37:01 0 14.27 0.00 3.66 6.00 0.07 76.00 11:37:01 1 16.05 0.00 2.82 1.06 0.07 80.00 11:37:01 2 21.92 0.00 4.15 4.46 0.07 69.40 11:37:01 3 12.77 0.00 4.23 23.80 0.07 59.13 11:37:01 4 17.91 0.00 3.02 1.15 0.07 77.85 11:37:01 5 17.68 0.00 4.24 1.86 0.07 76.14 11:37:01 6 12.34 0.00 2.76 2.36 0.07 82.47 11:37:01 7 20.44 0.00 4.29 2.65 0.07 72.54 11:38:01 all 4.35 0.00 0.32 0.83 0.03 94.47 11:38:01 0 3.12 0.00 0.25 0.00 0.02 96.62 11:38:01 1 4.95 0.00 0.28 0.00 0.02 94.75 11:38:01 2 5.19 0.00 0.15 0.05 0.03 94.58 11:38:01 3 3.92 0.00 0.39 6.52 0.03 89.15 11:38:01 4 6.02 0.00 0.48 0.00 0.02 93.48 11:38:01 5 5.70 0.00 0.43 0.00 0.00 93.87 11:38:01 6 4.02 0.00 0.37 0.07 0.07 95.48 11:38:01 7 1.87 0.00 0.25 0.02 0.02 97.85 11:39:01 all 7.00 0.00 0.76 1.34 0.03 90.87 11:39:01 0 2.22 0.00 0.68 0.97 0.02 96.11 11:39:01 1 13.60 0.00 1.02 0.28 0.02 85.08 11:39:01 2 5.34 0.00 0.80 0.43 0.03 93.39 11:39:01 3 13.89 0.00 1.12 2.14 0.05 82.79 11:39:01 4 1.19 0.00 0.38 4.04 0.05 94.34 11:39:01 5 1.90 0.00 0.62 0.37 0.03 97.08 11:39:01 6 15.06 0.00 0.83 0.63 0.03 83.44 11:39:01 7 2.90 0.00 0.60 1.85 0.02 94.63 Average: all 9.96 0.00 1.41 2.42 0.04 86.17 Average: 0 10.44 0.00 1.37 1.73 0.04 86.41 Average: 1 14.60 0.00 1.57 0.73 0.03 83.07 Average: 2 10.17 0.00 1.47 4.50 0.04 83.82 Average: 3 11.86 0.00 1.68 6.83 0.05 79.58 Average: 4 11.42 0.00 1.29 1.28 0.04 85.96 Average: 5 5.98 0.00 1.41 1.20 0.04 91.36 Average: 6 8.38 0.00 1.19 1.35 0.04 89.04 Average: 7 6.81 0.00 1.33 1.72 0.03 90.10