Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-15232 (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-sbNEzinfAGTL/agent.2121 SSH_AGENT_PID=2122 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_7650183592266546784.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_7650183592266546784.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/jenkins5914033551665701232.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-X39u 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-X39u/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.2 from /tmp/venv-X39u/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.28 botocore==1.34.28 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/jenkins14849207779240888743.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/jenkins8218869796336269342.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.tpODrygiGK ++ echo ROBOT_VENV=/tmp/tmp.tpODrygiGK +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.tpODrygiGK ++ source /tmp/tmp.tpODrygiGK/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.tpODrygiGK +++ 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.tpODrygiGK/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.tpODrygiGK) ' '!=' x ']' +++ PS1='(tmp.tpODrygiGK) ' +++ 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.tpODrygiGK/src/onap ++ rm -rf /tmp/tmp.tpODrygiGK/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.tpODrygiGK/bin/activate + '[' -z /tmp/tmp.tpODrygiGK/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.tpODrygiGK/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.tpODrygiGK ++ 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.tpODrygiGK/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.tpODrygiGK) ' ++ '[' 'x(tmp.tpODrygiGK) ' '!=' x ']' ++ PS1='(tmp.tpODrygiGK) (tmp.tpODrygiGK) ' ++ 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.8PEs9rgFgx + cd /tmp/tmp.8PEs9rgFgx + 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 prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-london-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds policy-db-migrator Up 11 seconds grafana Up 13 seconds mariadb Up 12 seconds prometheus Up 14 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds mariadb Up 17 seconds prometheus Up 19 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds mariadb Up 22 seconds prometheus Up 24 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-london-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:37:21 up 3 min, 0 users, load average: 3.12, 1.08, 0.41 Tasks: 177 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.4 us, 2.1 sy, 0.0 ni, 82.3 id, 4.1 wa, 0.0 hi, 0.0 si, 0.1 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 2.1G 25G 1.0M 3.8G 28G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS bad491b98d26 policy-api 0.10% 1.091GiB / 31.41GiB 3.47% 1.04MB / 739kB 0B / 0B 52 0330287dc3a6 grafana 0.03% 50.8MiB / 31.41GiB 0.16% 18.8kB / 3.16kB 0B / 23.8MB 16 97aec31f65ee mariadb 0.02% 100.5MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11MB / 67.5MB 26 f736d6d0e884 prometheus 0.00% 18.87MiB / 31.41GiB 0.06% 1.31kB / 0B 4.1kB / 0B 13 + echo + cd /tmp/tmp.8PEs9rgFgx + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + sed 's|^|/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot' + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ... + relax_set + set +e + set +o pipefail + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ============================================================================== api ============================================================================== api.Api-Test ============================================================================== Healthcheck :: Verify policy api health check | PASS | ------------------------------------------------------------------------------ Statistics :: Verify policy api statistics | PASS | ------------------------------------------------------------------------------ RetrievePolicyTypes :: Retrieve all policy types | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | ------------------------------------------------------------------------------ RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNodeTemplates :: Create node templates in database using spe... | PASS | ------------------------------------------------------------------------------ RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | ------------------------------------------------------------------------------ RetrieveAllPolicies :: Retrieve all policies | PASS | ------------------------------------------------------------------------------ RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | ------------------------------------------------------------------------------ RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | ------------------------------------------------------------------------------ RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | ------------------------------------------------------------------------------ DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ Metrics :: Verify policy-api is exporting prometheus metrics | PASS | ------------------------------------------------------------------------------ api.Api-Test | PASS | 23 tests, 23 passed, 0 failed ============================================================================== api.Api-Slas ============================================================================== WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForStatistics :: Validate statistics response ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ api.Api-Slas | PASS | 10 tests, 10 passed, 0 failed ============================================================================== api | PASS | 33 tests, 33 passed, 0 failed ============================================================================== Output: /tmp/tmp.8PEs9rgFgx/output.xml Log: /tmp/tmp.8PEs9rgFgx/log.html Report: /tmp/tmp.8PEs9rgFgx/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-london-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:38:32 up 4 min, 0 users, load average: 1.02, 0.87, 0.38 Tasks: 175 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.6 us, 1.7 sy, 0.0 ni, 85.3 id, 3.3 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 2.1G 25G 1.0M 3.8G 28G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS bad491b98d26 policy-api 0.11% 1.159GiB / 31.41GiB 3.69% 7.32MB / 2.87MB 0B / 0B 52 0330287dc3a6 grafana 0.01% 57.12MiB / 31.41GiB 0.18% 20kB / 4.47kB 0B / 23.8MB 16 97aec31f65ee mariadb 0.02% 101.3MiB / 31.41GiB 0.31% 2.75MB / 7.35MB 11MB / 67.6MB 18 f736d6d0e884 prometheus 0.00% 25.07MiB / 31.41GiB 0.08% 38.1kB / 7.16kB 4.1kB / 0B 13 + echo + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose ++ cd /w/workspace/policy-api-london-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, policy-db-migrator, grafana, mariadb, prometheus grafana | logger=settings t=2024-01-26T11:36:52.771867604Z level=info msg="Starting Grafana" version=10.3.1 commit=00a22ff8b28550d593ec369ba3da1b25780f0a4a branch=HEAD compiled=2024-01-22T18:40:42Z grafana | logger=settings t=2024-01-26T11:36:52.772092326Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-01-26T11:36:52.772104596Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-01-26T11:36:52.772108617Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-01-26T11:36:52.772113917Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-01-26T11:36:52.772118257Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-01-26T11:36:52.772122337Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-01-26T11:36:52.772127127Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-01-26T11:36:52.772140957Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-01-26T11:36:52.772181087Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-01-26T11:36:52.772187987Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-01-26T11:36:52.772192047Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-01-26T11:36:52.772196677Z level=info msg=Target target=[all] grafana | logger=settings t=2024-01-26T11:36:52.772208678Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-01-26T11:36:52.772212998Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-01-26T11:36:52.772217088Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-01-26T11:36:52.772221598Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-01-26T11:36:52.772228308Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-01-26T11:36:52.772256618Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-01-26T11:36:52.772648532Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-01-26T11:36:52.772669292Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-01-26T11:36:52.773290618Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-01-26T11:36:52.774181277Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-01-26T11:36:52.774981195Z level=info msg="Migration successfully executed" id="create migration_log table" duration=799.768µs grafana | logger=migrator t=2024-01-26T11:36:52.778744373Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-01-26T11:36:52.779316189Z level=info msg="Migration successfully executed" id="create user table" duration=571.576µs grafana | logger=migrator t=2024-01-26T11:36:52.785592012Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-01-26T11:36:52.786741434Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.143442ms grafana | logger=migrator t=2024-01-26T11:36:52.792995387Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-01-26T11:36:52.793901446Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=907.289µs grafana | logger=migrator t=2024-01-26T11:36:52.797485262Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-01-26T11:36:52.79823732Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=751.128µs grafana | logger=migrator t=2024-01-26T11:36:52.801333331Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-01-26T11:36:52.802104839Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=771.238µs grafana | logger=migrator t=2024-01-26T11:36:52.80915082Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-01-26T11:36:52.811956838Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.802858ms grafana | logger=migrator t=2024-01-26T11:36:52.81507429Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-01-26T11:36:52.815884118Z level=info msg="Migration successfully executed" id="create user table v2" duration=809.078µs grafana | logger=migrator t=2024-01-26T11:36:52.818544785Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-01-26T11:36:52.819320323Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=775.147µs grafana | logger=migrator t=2024-01-26T11:36:52.824679357Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-01-26T11:36:52.825515735Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=836.438µs grafana | logger=migrator t=2024-01-26T11:36:52.828315403Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-01-26T11:36:52.828800768Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=484.585µs grafana | logger=migrator t=2024-01-26T11:36:52.831648857Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-01-26T11:36:52.832246713Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=597.416µs grafana | logger=migrator t=2024-01-26T11:36:52.834992701Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-01-26T11:36:52.836139422Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.146151ms grafana | logger=migrator t=2024-01-26T11:36:52.841249924Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-01-26T11:36:52.841278314Z level=info msg="Migration successfully executed" id="Update user table charset" duration=31.02µs grafana | logger=migrator t=2024-01-26T11:36:52.844100523Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-01-26T11:36:52.845476546Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.372833ms grafana | logger=migrator t=2024-01-26T11:36:52.848201194Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-01-26T11:36:52.848545317Z level=info msg="Migration successfully executed" id="Add missing user data" duration=326.763µs grafana | logger=migrator t=2024-01-26T11:36:52.851209084Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-01-26T11:36:52.852458197Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.248933ms grafana | logger=migrator t=2024-01-26T11:36:52.857393186Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-01-26T11:36:52.858233475Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=840.139µs grafana | logger=migrator t=2024-01-26T11:36:52.861089764Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-01-26T11:36:52.862305386Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.215412ms grafana | logger=migrator t=2024-01-26T11:36:52.864950563Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-01-26T11:36:52.874856573Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=9.90355ms grafana | logger=migrator t=2024-01-26T11:36:52.88049905Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-01-26T11:36:52.881066475Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=565.045µs grafana | logger=migrator t=2024-01-26T11:36:52.883394049Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-01-26T11:36:52.883958545Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=564.046µs grafana | logger=migrator t=2024-01-26T11:36:52.886613181Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-01-26T11:36:52.88748999Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=876.419µs grafana | logger=migrator t=2024-01-26T11:36:52.892905175Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-01-26T11:36:52.893759283Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=853.588µs grafana | logger=migrator t=2024-01-26T11:36:52.896850035Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-01-26T11:36:52.897693883Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=841.548µs grafana | logger=migrator t=2024-01-26T11:36:52.90040487Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-01-26T11:36:52.900431901Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=27.771µs grafana | logger=migrator t=2024-01-26T11:36:52.903249209Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-01-26T11:36:52.904115478Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=866.659µs grafana | logger=migrator t=2024-01-26T11:36:52.909450201Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-01-26T11:36:52.910774125Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.327384ms grafana | logger=migrator t=2024-01-26T11:36:52.914176299Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-01-26T11:36:52.915306281Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.129572ms grafana | logger=migrator t=2024-01-26T11:36:52.92018157Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-01-26T11:36:52.920903827Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=722.127µs grafana | logger=migrator t=2024-01-26T11:36:52.923438203Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-26T11:36:52.92710815Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.669147ms grafana | logger=migrator t=2024-01-26T11:36:52.930057779Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-01-26T11:36:52.930856547Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=798.278µs grafana | logger=migrator t=2024-01-26T11:36:52.93309353Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-01-26T11:36:52.933882938Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=789.098µs grafana | logger=migrator t=2024-01-26T11:36:52.938288023Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-01-26T11:36:52.93907109Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=783.038µs grafana | logger=migrator t=2024-01-26T11:36:52.941230922Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-01-26T11:36:52.94202278Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=791.478µs grafana | logger=migrator t=2024-01-26T11:36:52.944619246Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-01-26T11:36:52.945426534Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=807.178µs grafana | logger=migrator t=2024-01-26T11:36:52.95000475Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-01-26T11:36:52.950568736Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=560.606µs grafana | logger=migrator t=2024-01-26T11:36:52.952779319Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-01-26T11:36:52.953387645Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=607.496µs grafana | logger=migrator t=2024-01-26T11:36:52.956417275Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-01-26T11:36:52.957247624Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=830.299µs grafana | logger=migrator t=2024-01-26T11:36:52.962736179Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-01-26T11:36:52.963921471Z level=info msg="Migration successfully executed" id="create star table" duration=1.184672ms grafana | logger=migrator t=2024-01-26T11:36:52.967240705Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-01-26T11:36:52.968076723Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=835.098µs grafana | logger=migrator t=2024-01-26T11:36:52.97078222Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-01-26T11:36:52.971554248Z level=info msg="Migration successfully executed" id="create org table v1" duration=771.618µs grafana | logger=migrator t=2024-01-26T11:36:52.975760341Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-01-26T11:36:52.976599699Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=839.129µs grafana | logger=migrator t=2024-01-26T11:36:52.980740391Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-01-26T11:36:52.981479828Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=739.238µs grafana | logger=migrator t=2024-01-26T11:36:52.984420928Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-01-26T11:36:52.985335687Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=879.049µs grafana | logger=migrator t=2024-01-26T11:36:52.988140685Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-01-26T11:36:52.989057475Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=915.91µs grafana | logger=migrator t=2024-01-26T11:36:52.991744262Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-01-26T11:36:52.992692781Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=948.819µs grafana | logger=migrator t=2024-01-26T11:36:52.997705412Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-01-26T11:36:52.997727622Z level=info msg="Migration successfully executed" id="Update org table charset" duration=23.05µs grafana | logger=migrator t=2024-01-26T11:36:52.999756372Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-01-26T11:36:52.999783293Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=29.341µs grafana | logger=migrator t=2024-01-26T11:36:53.002227967Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-01-26T11:36:53.00249187Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=266.923µs grafana | logger=migrator t=2024-01-26T11:36:53.004684372Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-01-26T11:36:53.005505229Z level=info msg="Migration successfully executed" id="create dashboard table" duration=819.637µs grafana | logger=migrator t=2024-01-26T11:36:53.01035448Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-01-26T11:36:53.011347159Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=992.359µs grafana | logger=migrator t=2024-01-26T11:36:53.014303206Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-01-26T11:36:53.015365535Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.062499ms grafana | logger=migrator t=2024-01-26T11:36:53.01815181Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-01-26T11:36:53.018926696Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=776.007µs grafana | logger=migrator t=2024-01-26T11:36:53.021891853Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-01-26T11:36:53.022849941Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=956.938µs grafana | logger=migrator t=2024-01-26T11:36:53.027682174Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-01-26T11:36:53.028513891Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=830.697µs grafana | logger=migrator t=2024-01-26T11:36:53.031283616Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-01-26T11:36:53.038865453Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=7.579846ms grafana | logger=migrator t=2024-01-26T11:36:53.041418735Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-01-26T11:36:53.042140311Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=721.066µs grafana | logger=migrator t=2024-01-26T11:36:53.04654452Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-01-26T11:36:53.047356847Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=810.277µs grafana | logger=migrator t=2024-01-26T11:36:53.050117792Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-01-26T11:36:53.050961019Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=842.767µs grafana | logger=migrator t=2024-01-26T11:36:53.053850995Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-01-26T11:36:53.054230778Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=379.133µs grafana | logger=migrator t=2024-01-26T11:36:53.058879139Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-01-26T11:36:53.059773247Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=893.338µs grafana | logger=migrator t=2024-01-26T11:36:53.06243013Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-01-26T11:36:53.062500771Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=67.441µs grafana | logger=migrator t=2024-01-26T11:36:53.06467148Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-01-26T11:36:53.066476946Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.804666ms grafana | logger=migrator t=2024-01-26T11:36:53.071323949Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-01-26T11:36:53.073145695Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.820776ms grafana | logger=migrator t=2024-01-26T11:36:53.075851139Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-01-26T11:36:53.077671045Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.819306ms grafana | logger=migrator t=2024-01-26T11:36:53.080281018Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-01-26T11:36:53.081135465Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=853.957µs grafana | logger=migrator t=2024-01-26T11:36:53.085972868Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-01-26T11:36:53.087825884Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.851456ms grafana | logger=migrator t=2024-01-26T11:36:53.090435637Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-01-26T11:36:53.091337555Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=901.138µs grafana | logger=migrator t=2024-01-26T11:36:53.094018259Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-01-26T11:36:53.094881696Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=862.667µs grafana | logger=migrator t=2024-01-26T11:36:53.099661348Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-01-26T11:36:53.099685869Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=24.601µs grafana | logger=migrator t=2024-01-26T11:36:53.102291711Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-01-26T11:36:53.102322462Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=31.761µs grafana | logger=migrator t=2024-01-26T11:36:53.104516361Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-01-26T11:36:53.107333336Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.814475ms grafana | logger=migrator t=2024-01-26T11:36:53.114011844Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-01-26T11:36:53.115943652Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.934397ms grafana | logger=migrator t=2024-01-26T11:36:53.118359583Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-01-26T11:36:53.12034169Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.980907ms grafana | logger=migrator t=2024-01-26T11:36:53.123035994Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-01-26T11:36:53.125053541Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.016867ms grafana | logger=migrator t=2024-01-26T11:36:53.130341118Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-01-26T11:36:53.130641981Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=299.603µs grafana | logger=migrator t=2024-01-26T11:36:53.168822976Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-01-26T11:36:53.169706264Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=882.638µs grafana | logger=migrator t=2024-01-26T11:36:53.172793751Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-01-26T11:36:53.173607049Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=813.907µs grafana | logger=migrator t=2024-01-26T11:36:53.177531073Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-01-26T11:36:53.177563123Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=32.78µs grafana | logger=migrator t=2024-01-26T11:36:53.18061673Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-01-26T11:36:53.181448237Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=830.557µs grafana | logger=migrator t=2024-01-26T11:36:53.184711726Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-01-26T11:36:53.185406032Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=693.736µs grafana | logger=migrator t=2024-01-26T11:36:53.189163515Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-26T11:36:53.196134857Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=6.970452ms grafana | logger=migrator t=2024-01-26T11:36:53.198926151Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-01-26T11:36:53.199624097Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=697.236µs grafana | logger=migrator t=2024-01-26T11:36:53.202524223Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-01-26T11:36:53.20335325Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=828.307µs grafana | logger=migrator t=2024-01-26T11:36:53.207244394Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-01-26T11:36:53.208105502Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=860.568µs grafana | logger=migrator t=2024-01-26T11:36:53.211224909Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-01-26T11:36:53.211586313Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=360.834µs grafana | logger=migrator t=2024-01-26T11:36:53.214424947Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-01-26T11:36:53.215080613Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=655.026µs grafana | logger=migrator t=2024-01-26T11:36:53.218821656Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-01-26T11:36:53.220902934Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.080528ms grafana | logger=migrator t=2024-01-26T11:36:53.22386655Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-01-26T11:36:53.224753988Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=886.618µs grafana | logger=migrator t=2024-01-26T11:36:53.227949256Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-01-26T11:36:53.228149238Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=206.982µs grafana | logger=migrator t=2024-01-26T11:36:53.232102983Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-01-26T11:36:53.232305874Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=202.151µs grafana | logger=migrator t=2024-01-26T11:36:53.235420872Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-01-26T11:36:53.236271329Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=849.807µs grafana | logger=migrator t=2024-01-26T11:36:53.239354957Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-01-26T11:36:53.241495295Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.138328ms grafana | logger=migrator t=2024-01-26T11:36:53.244635533Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-01-26T11:36:53.245539211Z level=info msg="Migration successfully executed" id="create data_source table" duration=902.388µs grafana | logger=migrator t=2024-01-26T11:36:53.249472515Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-01-26T11:36:53.250295403Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=822.208µs grafana | logger=migrator t=2024-01-26T11:36:53.253093587Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-01-26T11:36:53.254755532Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.659815ms grafana | logger=migrator t=2024-01-26T11:36:53.25907057Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-01-26T11:36:53.259821107Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=747.277µs grafana | logger=migrator t=2024-01-26T11:36:53.262618011Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-01-26T11:36:53.263314047Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=695.946µs grafana | logger=migrator t=2024-01-26T11:36:53.267582695Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-01-26T11:36:53.277130919Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=9.547804ms grafana | logger=migrator t=2024-01-26T11:36:53.280220306Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-01-26T11:36:53.280999553Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=778.967µs grafana | logger=migrator t=2024-01-26T11:36:53.283692436Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-01-26T11:36:53.284494353Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=801.557µs grafana | logger=migrator t=2024-01-26T11:36:53.289430737Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-01-26T11:36:53.290787919Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.357252ms grafana | logger=migrator t=2024-01-26T11:36:53.294054618Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-01-26T11:36:53.294896665Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=841.097µs grafana | logger=migrator t=2024-01-26T11:36:53.298353025Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-01-26T11:36:53.300640905Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.28695ms grafana | logger=migrator t=2024-01-26T11:36:53.305204476Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-01-26T11:36:53.307583457Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.391472ms grafana | logger=migrator t=2024-01-26T11:36:53.310766205Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-01-26T11:36:53.310794185Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=28.47µs grafana | logger=migrator t=2024-01-26T11:36:53.314115154Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-01-26T11:36:53.314287385Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=171.141µs grafana | logger=migrator t=2024-01-26T11:36:53.316715077Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-01-26T11:36:53.319688823Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.973336ms grafana | logger=migrator t=2024-01-26T11:36:53.324226113Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-01-26T11:36:53.324407544Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=181.301µs grafana | logger=migrator t=2024-01-26T11:36:53.327332Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-01-26T11:36:53.327488622Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=156.352µs grafana | logger=migrator t=2024-01-26T11:36:53.330414797Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-01-26T11:36:53.332700078Z level=info msg="Migration successfully executed" id="Add uid column" duration=2.284921ms grafana | logger=migrator t=2024-01-26T11:36:53.336997655Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-01-26T11:36:53.337189147Z level=info msg="Migration successfully executed" id="Update uid value" duration=192.932µs grafana | logger=migrator t=2024-01-26T11:36:53.340383165Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-01-26T11:36:53.341258583Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=874.788µs grafana | logger=migrator t=2024-01-26T11:36:53.344278979Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" mariadb | 2024-01-26 11:36:53+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-01-26 11:36:53+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-01-26 11:36:53+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-01-26 11:36:54+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-01-26 11:36:54 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-26 11:36:54 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-26 11:36:54 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-26 11:36:55+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-01-26 11:36:55+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-01-26 11:36:55+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-01-26 11:36:55 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 99 ... mariadb | 2024-01-26 11:36:55 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-01-26 11:36:55 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-01-26 11:36:55 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-01-26 11:36:55 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-01-26 11:36:55 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-26 11:36:55 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-26 11:36:55 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-01-26 11:36:55 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-01-26 11:36:55 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-01-26 11:36:55 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-01-26 11:36:55 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-01-26 11:36:55 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-01-26 11:36:55 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-01-26 11:36:55 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-01-26 11:36:55 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-01-26 11:36:55 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-01-26 11:36:55 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-01-26 11:36:55 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2024-01-26 11:36:56+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-01-26 11:36:58+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-01-26 11:36:58+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2024-01-26 11:36:58+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2024-01-26 11:36:58+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. grafana | logger=migrator t=2024-01-26T11:36:53.345626681Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.346732ms grafana | logger=migrator t=2024-01-26T11:36:53.349020321Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-01-26T11:36:53.350174511Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.15153ms grafana | logger=migrator t=2024-01-26T11:36:53.35466501Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-01-26T11:36:53.355474198Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=808.798µs grafana | logger=migrator t=2024-01-26T11:36:53.358458604Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-01-26T11:36:53.359311961Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=851.647µs grafana | logger=migrator t=2024-01-26T11:36:53.362433889Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-01-26T11:36:53.363821461Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.386982ms grafana | logger=migrator t=2024-01-26T11:36:53.369804784Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-01-26T11:36:53.371059985Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.254851ms grafana | logger=migrator t=2024-01-26T11:36:53.374321623Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-01-26T11:36:53.375565994Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.243541ms grafana | logger=migrator t=2024-01-26T11:36:53.380077624Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-01-26T11:36:53.380870961Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=792.877µs grafana | logger=migrator t=2024-01-26T11:36:53.383803007Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-01-26T11:36:53.392196031Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=8.394274ms grafana | logger=migrator t=2024-01-26T11:36:53.395114106Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-01-26T11:36:53.395769022Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=654.986µs grafana | logger=migrator t=2024-01-26T11:36:53.399679927Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-01-26T11:36:53.400478984Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=799.097µs grafana | logger=migrator t=2024-01-26T11:36:53.403409769Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-01-26T11:36:53.404297207Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=886.038µs grafana | logger=migrator t=2024-01-26T11:36:53.408455404Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-01-26T11:36:53.409809725Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.353711ms grafana | logger=migrator t=2024-01-26T11:36:53.413078474Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-01-26T11:36:53.414118983Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=1.039829ms grafana | logger=migrator t=2024-01-26T11:36:53.418076268Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-01-26T11:36:53.419046397Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=970.329µs grafana | logger=migrator t=2024-01-26T11:36:53.422356026Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-01-26T11:36:53.422395556Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=40.81µs grafana | logger=migrator t=2024-01-26T11:36:53.426307961Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-01-26T11:36:53.428932174Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.623753ms grafana | logger=migrator t=2024-01-26T11:36:53.432164762Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-01-26T11:36:53.434809865Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.644873ms grafana | logger=migrator t=2024-01-26T11:36:53.437902002Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-01-26T11:36:53.438072184Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=169.952µs grafana | logger=migrator t=2024-01-26T11:36:53.441818297Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-01-26T11:36:53.44438353Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.564482ms grafana | logger=migrator t=2024-01-26T11:36:53.447633348Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-01-26T11:36:53.450311982Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.678244ms grafana | logger=migrator t=2024-01-26T11:36:53.453686501Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-01-26T11:36:53.454387147Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=700.076µs policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.3:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.5:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v2.7.8) policy-api | policy-api | [2024-01-26T11:37:07.115+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 30 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-01-26T11:37:07.118+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-01-26T11:37:08.560+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-01-26T11:37:08.653+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 78 ms. Found 6 JPA repository interfaces. policy-api | [2024-01-26T11:37:09.786+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-01-26T11:37:09.799+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-01-26T11:37:09.800+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-01-26T11:37:09.800+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2024-01-26T11:37:09.882+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-01-26T11:37:09.882+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2701 ms policy-api | [2024-01-26T11:37:10.431+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-01-26T11:37:10.498+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2024-01-26T11:37:10.723+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2024-01-26T11:37:10.886+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-01-26T11:37:10.993+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-01-26T11:37:11.017+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2024-01-26T11:37:12.472+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2024-01-26T11:37:12.488+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-01-26T11:37:13.615+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-01-26T11:37:14.303+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-01-26T11:37:15.328+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@7a12cb2c, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@10ac5a14, org.springframework.security.web.context.SecurityContextPersistenceFilter@7b900883, org.springframework.security.web.header.HeaderWriterFilter@5e147821, org.springframework.security.web.authentication.logout.LogoutFilter@57404a8d, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@1942a960, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@37dcda42, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@397ff526, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@5cfcb55c, org.springframework.security.web.session.SessionManagementFilter@33684b87, org.springframework.security.web.access.ExceptionTranslationFilter@5621119d, org.springframework.security.web.access.intercept.AuthorizationFilter@6415112c] policy-api | [2024-01-26T11:37:15.496+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2024-01-26T11:37:19.383+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-01-26T11:37:19.411+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-01-26T11:37:19.460+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-01-26T11:37:19.477+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 13.125 seconds (JVM running for 13.725) policy-api | [2024-01-26T11:37:24.183+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-01-26T11:37:24.185+00:00|INFO|DispatcherServlet|http-nio-6969-exec-1] Initializing Servlet 'dispatcherServlet' policy-api | [2024-01-26T11:37:24.187+00:00|INFO|DispatcherServlet|http-nio-6969-exec-1] Completed initialization in 2 ms policy-api | [2024-01-26T11:37:26.642+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-6] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-01-26T11:37:26.765+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2024-01-26T11:37:27.047+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2024-01-26T11:37:28.190+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2024-01-26T11:37:30.080+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-01-26T11:37:30.480+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-01-26T11:37:30.734+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-api | [2024-01-26T11:37:30.980+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-01-26T11:37:31.204+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-01-26T11:37:31.403+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 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 | 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 | -------------- grafana | logger=migrator t=2024-01-26T11:36:53.458496004Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-01-26T11:36:53.458994928Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=498.524µs grafana | logger=migrator t=2024-01-26T11:36:53.462214706Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-01-26T11:36:53.462942533Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=727.337µs grafana | logger=migrator t=2024-01-26T11:36:53.466212422Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-01-26T11:36:53.467542303Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.329181ms grafana | logger=migrator t=2024-01-26T11:36:53.471953562Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-01-26T11:36:53.472765989Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=811.787µs grafana | logger=migrator t=2024-01-26T11:36:53.47628077Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2024-01-26 11:36:59+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-01-26 11:36:59 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-01-26 11:36:59 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-01-26 11:36:59 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-01-26 11:36:59 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-01-26 11:36:59 0 [Note] InnoDB: Buffer pool(s) dump completed at 240126 11:36:59 mariadb | 2024-01-26 11:36:59 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-01-26 11:36:59 0 [Note] InnoDB: Shutdown completed; log sequence number 330563; transaction id 298 mariadb | 2024-01-26 11:36:59 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-01-26 11:36:59+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-01-26 11:36:59+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-01-26 11:36:59 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-01-26 11:36:59 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-01-26 11:36:59 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-01-26 11:36:59 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-01-26 11:36:59 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-01-26 11:36:59 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-26 11:36:59 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-26 11:36:59 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-01-26 11:36:59 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-01-26 11:36:59 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-01-26 11:36:59 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-01-26 11:36:59 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-01-26 11:36:59 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-01-26 11:36:59 0 [Note] InnoDB: log sequence number 330563; transaction id 299 mariadb | 2024-01-26 11:36:59 0 [Note] Plugin 'FEEDBACK' is disabled. grafana | logger=migrator t=2024-01-26T11:36:53.477818864Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.537093ms grafana | logger=migrator t=2024-01-26T11:36:53.481396685Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-01-26T11:36:53.481458836Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=62.921µs grafana | logger=migrator t=2024-01-26T11:36:53.485201549Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-01-26T11:36:53.485277199Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=22.41µs grafana | logger=migrator t=2024-01-26T11:36:53.488039183Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-01-26T11:36:53.490694607Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=2.654364ms grafana | logger=migrator t=2024-01-26T11:36:53.493640693Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-01-26T11:36:53.496175685Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.534522ms grafana | logger=migrator t=2024-01-26T11:36:53.499304883Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-01-26T11:36:53.499363263Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=58.86µs grafana | logger=migrator t=2024-01-26T11:36:53.503491539Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-01-26T11:36:53.504136245Z level=info msg="Migration successfully executed" id="create quota table v1" duration=644.246µs grafana | logger=migrator t=2024-01-26T11:36:53.507428004Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-01-26T11:36:53.508311752Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=876.737µs grafana | logger=migrator t=2024-01-26T11:36:53.512093735Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-01-26T11:36:53.512128215Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=35.46µs grafana | logger=migrator t=2024-01-26T11:36:53.516551094Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-01-26T11:36:53.51722076Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=669.546µs grafana | logger=migrator t=2024-01-26T11:36:53.520819311Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-01-26T11:36:53.522193314Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.374072ms grafana | logger=migrator t=2024-01-26T11:36:53.525821706Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-01-26T11:36:53.530306275Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.483009ms grafana | logger=migrator t=2024-01-26T11:36:53.534038878Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-01-26T11:36:53.534059138Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=20.78µs grafana | logger=migrator t=2024-01-26T11:36:53.538039213Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-01-26T11:36:53.53877207Z level=info msg="Migration successfully executed" id="create session table" duration=732.776µs grafana | logger=migrator t=2024-01-26T11:36:53.5422241Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-01-26T11:36:53.542351161Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=127.981µs grafana | logger=migrator t=2024-01-26T11:36:53.545187816Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-01-26T11:36:53.545306657Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=119.091µs grafana | logger=migrator t=2024-01-26T11:36:53.580796019Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-01-26T11:36:53.581827158Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=995.909µs grafana | logger=migrator t=2024-01-26T11:36:53.585032086Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-01-26T11:36:53.586067095Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.035839ms grafana | logger=migrator t=2024-01-26T11:36:53.589371034Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-01-26T11:36:53.589392554Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=22.09µs grafana | logger=migrator t=2024-01-26T11:36:53.593624722Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-01-26T11:36:53.593645012Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=21.77µs grafana | logger=migrator t=2024-01-26T11:36:53.596705119Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-01-26T11:36:53.60136837Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.661471ms grafana | logger=migrator t=2024-01-26T11:36:53.604665159Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-01-26T11:36:53.608134199Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.47017ms grafana | logger=migrator t=2024-01-26T11:36:53.611035825Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-01-26T11:36:53.611109526Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=73.82µs grafana | logger=migrator t=2024-01-26T11:36:53.6150532Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-01-26T11:36:53.615130481Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=77.501µs grafana | logger=migrator t=2024-01-26T11:36:53.618343869Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-01-26T11:36:53.619002485Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=658.356µs grafana | logger=migrator t=2024-01-26T11:36:53.623307273Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-01-26T11:36:53.623328083Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=22µs grafana | logger=migrator t=2024-01-26T11:36:53.62643429Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-01-26T11:36:53.631208772Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=4.774062ms 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 grafana | logger=migrator t=2024-01-26T11:36:53.635388919Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-01-26T11:36:53.63553333Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=143.491µs grafana | logger=migrator t=2024-01-26T11:36:53.638465106Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-01-26T11:36:53.641423442Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=2.958046ms grafana | logger=migrator t=2024-01-26T11:36:53.644344828Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2024-01-26T11:36:53.647327414Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=2.982206ms grafana | logger=migrator t=2024-01-26T11:36:53.651160378Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-01-26T11:36:53.651217458Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=57.56µs grafana | logger=migrator t=2024-01-26T11:36:53.656054681Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-01-26T11:36:53.656910739Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=856.068µs grafana | logger=migrator t=2024-01-26T11:36:53.660342068Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-01-26T11:36:53.66160742Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.263871ms grafana | logger=migrator t=2024-01-26T11:36:53.665792336Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2024-01-26T11:36:53.667165028Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.372702ms grafana | logger=migrator t=2024-01-26T11:36:53.670241715Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-01-26T11:36:53.671108462Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=866.197µs grafana | logger=migrator t=2024-01-26T11:36:53.674970086Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-01-26T11:36:53.675741263Z level=info msg="Migration successfully executed" id="add index alert state" duration=770.747µs grafana | logger=migrator t=2024-01-26T11:36:53.680032471Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-01-26T11:36:53.681954918Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.920977ms grafana | logger=migrator t=2024-01-26T11:36:53.685473479Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-01-26T11:36:53.686146205Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=671.966µs grafana | logger=migrator t=2024-01-26T11:36:53.689115861Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-01-26T11:36:53.690050819Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=935.738µs grafana | logger=migrator t=2024-01-26T11:36:53.693952363Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-01-26T11:36:53.69479002Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=837.717µs grafana | logger=migrator t=2024-01-26T11:36:53.697975808Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-01-26T11:36:53.712230314Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=14.251966ms grafana | logger=migrator t=2024-01-26T11:36:53.715593663Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-01-26T11:36:53.716104448Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=510.125µs grafana | logger=migrator t=2024-01-26T11:36:53.719832301Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2024-01-26T11:36:53.720544697Z 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=711.936µs grafana | logger=migrator t=2024-01-26T11:36:53.723789346Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-01-26T11:36:53.72431548Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=525.424µs grafana | logger=migrator t=2024-01-26T11:36:53.72771871Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-01-26T11:36:53.728680808Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=961.418µs grafana | logger=migrator t=2024-01-26T11:36:53.732782625Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2024-01-26T11:36:53.733514631Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=731.277µs grafana | logger=migrator t=2024-01-26T11:36:53.736560928Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-01-26T11:36:53.740111509Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.552481ms grafana | logger=migrator t=2024-01-26T11:36:53.743335357Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-01-26T11:36:53.746893929Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.558231ms grafana | logger=migrator t=2024-01-26T11:36:53.751290747Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-01-26T11:36:53.754882539Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.591012ms grafana | logger=migrator t=2024-01-26T11:36:53.758508651Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-01-26T11:36:53.762154883Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.645442ms grafana | logger=migrator t=2024-01-26T11:36:53.765752044Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-01-26T11:36:53.766662062Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=909.788µs grafana | logger=migrator t=2024-01-26T11:36:53.770730658Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-01-26T11:36:53.770786999Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=55.741µs grafana | logger=migrator t=2024-01-26T11:36:53.774454781Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-01-26T11:36:53.774493131Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=40µs prometheus | ts=2024-01-26T11:36:51.827Z caller=main.go:544 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2024-01-26T11:36:51.827Z caller=main.go:588 level=info msg="Starting Prometheus Server" mode=server version="(version=2.49.1, branch=HEAD, revision=43e14844a33b65e2a396e3944272af8b3a494071)" prometheus | ts=2024-01-26T11:36:51.827Z caller=main.go:593 level=info build_context="(go=go1.21.6, platform=linux/amd64, user=root@6d5f4c649d25, date=20240115-16:58:43, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2024-01-26T11:36:51.827Z caller=main.go:594 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" prometheus | ts=2024-01-26T11:36:51.827Z caller=main.go:595 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-01-26T11:36:51.827Z caller=main.go:596 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-01-26T11:36:51.830Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-01-26T11:36:51.830Z caller=main.go:1039 level=info msg="Starting TSDB ..." prometheus | ts=2024-01-26T11:36:51.832Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-01-26T11:36:51.832Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-01-26T11:36:51.838Z caller=head.go:606 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-01-26T11:36:51.838Z caller=head.go:687 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.35µs prometheus | ts=2024-01-26T11:36:51.838Z caller=head.go:695 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-01-26T11:36:51.839Z caller=head.go:766 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-01-26T11:36:51.839Z caller=head.go:803 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=76.071µs wal_replay_duration=354.043µs wbl_replay_duration=190ns total_replay_duration=504.985µs prometheus | ts=2024-01-26T11:36:51.841Z caller=main.go:1060 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-01-26T11:36:51.841Z caller=main.go:1063 level=info msg="TSDB started" prometheus | ts=2024-01-26T11:36:51.841Z caller=main.go:1245 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-01-26T11:36:51.842Z caller=main.go:1282 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.029651ms db_storage=1.27µs remote_storage=1.6µs web_handler=740ns query_engine=1.18µs scrape=289.633µs scrape_sd=143.791µs notify=29.34µs notify_sd=12.781µs rules=1.48µs tracing=4.12µs prometheus | ts=2024-01-26T11:36:51.843Z caller=main.go:1024 level=info msg="Server is ready to receive web requests." prometheus | ts=2024-01-26T11:36:51.843Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2024-01-26T11:36:53.778687918Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-01-26T11:36:53.779859418Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.17034ms grafana | logger=migrator t=2024-01-26T11:36:53.784180736Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-01-26T11:36:53.785150765Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=967.899µs grafana | logger=migrator t=2024-01-26T11:36:53.788332423Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2024-01-26T11:36:53.78916572Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=830.587µs grafana | logger=migrator t=2024-01-26T11:36:53.792635471Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2024-01-26T11:36:53.794144824Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.507873ms grafana | logger=migrator t=2024-01-26T11:36:53.798555113Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-01-26T11:36:53.799532451Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=977.128µs grafana | logger=migrator t=2024-01-26T11:36:53.802715169Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2024-01-26T11:36:53.807037558Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=4.323399ms grafana | logger=migrator t=2024-01-26T11:36:53.81072466Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2024-01-26T11:36:53.813869757Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.145167ms grafana | logger=migrator t=2024-01-26T11:36:53.818111105Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-01-26T11:36:53.818305627Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=194.562µs grafana | logger=migrator t=2024-01-26T11:36:53.82091559Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2024-01-26T11:36:53.821832268Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=916.038µs grafana | logger=migrator t=2024-01-26T11:36:53.827104284Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2024-01-26T11:36:53.828113273Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.008389ms grafana | logger=migrator t=2024-01-26T11:36:53.833268668Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2024-01-26T11:36:53.837291374Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=4.019586ms grafana | logger=migrator t=2024-01-26T11:36:53.840557652Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2024-01-26T11:36:53.840733574Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=180.382µs grafana | logger=migrator t=2024-01-26T11:36:53.843897912Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-01-26T11:36:53.845193383Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.294921ms grafana | logger=migrator t=2024-01-26T11:36:53.84943626Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2024-01-26T11:36:53.850810912Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.372142ms grafana | logger=migrator t=2024-01-26T11:36:53.854491815Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2024-01-26T11:36:53.854656936Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=164.671µs grafana | logger=migrator t=2024-01-26T11:36:53.857929005Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2024-01-26T11:36:53.858629671Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=700.306µs grafana | logger=migrator t=2024-01-26T11:36:53.867405518Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2024-01-26T11:36:53.868423747Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.018219ms grafana | logger=migrator t=2024-01-26T11:36:53.871908208Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2024-01-26T11:36:53.872933647Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.024949ms grafana | logger=migrator t=2024-01-26T11:36:53.876256646Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2024-01-26T11:36:53.877277165Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.018479ms grafana | logger=migrator t=2024-01-26T11:36:53.880292301Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2024-01-26T11:36:53.881444392Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.151481ms grafana | logger=migrator t=2024-01-26T11:36:53.890805874Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2024-01-26T11:36:53.89257487Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.768416ms grafana | logger=migrator t=2024-01-26T11:36:53.900165086Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2024-01-26T11:36:53.900302217Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=138.201µs grafana | logger=migrator t=2024-01-26T11:36:53.904458634Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2024-01-26T11:36:53.910903101Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.446277ms grafana | logger=migrator t=2024-01-26T11:36:53.914469842Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2024-01-26T11:36:53.91536905Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=898.978µs grafana | logger=migrator t=2024-01-26T11:36:53.918638369Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2024-01-26T11:36:53.922603954Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.965225ms grafana | logger=migrator t=2024-01-26T11:36:53.927062353Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-01-26T11:36:53.92780333Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=740.427µs mariadb | 2024-01-26 11:36:59 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-01-26 11:36:59 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-01-26 11:36:59 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-01-26 11:36:59 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-01-26 11:36:59 0 [Note] Server socket created on IP: '::'. mariadb | 2024-01-26 11:36:59 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2024-01-26 11:36:59 0 [Note] InnoDB: Buffer pool(s) load completed at 240126 11:36:59 mariadb | 2024-01-26 11:36:59 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) mariadb | 2024-01-26 11:36:59 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) 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 | grafana | logger=migrator t=2024-01-26T11:36:53.934645189Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2024-01-26T11:36:53.936427165Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.781376ms grafana | logger=migrator t=2024-01-26T11:36:53.942072375Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2024-01-26T11:36:53.944021812Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.949067ms grafana | logger=migrator t=2024-01-26T11:36:53.949356509Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2024-01-26T11:36:53.970191682Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=20.836253ms grafana | logger=migrator t=2024-01-26T11:36:54.00407252Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2024-01-26T11:36:54.005443482Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=1.367302ms grafana | logger=migrator t=2024-01-26T11:36:54.011007182Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" grafana | logger=migrator t=2024-01-26T11:36:54.012947809Z 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.939907ms grafana | logger=migrator t=2024-01-26T11:36:54.017946763Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2024-01-26T11:36:54.018492778Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=545.745µs grafana | logger=migrator t=2024-01-26T11:36:54.022311481Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2024-01-26T11:36:54.023980736Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=1.664265ms grafana | logger=migrator t=2024-01-26T11:36:54.028833499Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2024-01-26T11:36:54.02900514Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=173.481µs grafana | logger=migrator t=2024-01-26T11:36:54.031717874Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2024-01-26T11:36:54.034803812Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=3.086558ms grafana | logger=migrator t=2024-01-26T11:36:54.037655617Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2024-01-26T11:36:54.040461562Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=2.805864ms grafana | logger=migrator t=2024-01-26T11:36:54.046453934Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2024-01-26T11:36:54.047354882Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=901.038µs grafana | logger=migrator t=2024-01-26T11:36:54.050051576Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2024-01-26T11:36:54.050955654Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=903.648µs grafana | logger=migrator t=2024-01-26T11:36:54.053751069Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2024-01-26T11:36:54.054001011Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=250.342µs grafana | logger=migrator t=2024-01-26T11:36:54.05837745Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2024-01-26T11:36:54.064643525Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.264925ms grafana | logger=migrator t=2024-01-26T11:36:54.068077115Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2024-01-26T11:36:54.069233735Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.15515ms grafana | logger=migrator t=2024-01-26T11:36:54.073048489Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2024-01-26T11:36:54.073262891Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=219.492µs grafana | logger=migrator t=2024-01-26T11:36:54.078239645Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2024-01-26T11:36:54.078621708Z level=info msg="Migration successfully executed" id="Move region to single row" duration=382.653µs grafana | logger=migrator t=2024-01-26T11:36:54.080804347Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2024-01-26T11:36:54.081695305Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=891.128µs grafana | logger=migrator t=2024-01-26T11:36:54.084371289Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2024-01-26T11:36:54.085287917Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=916.248µs grafana | logger=migrator t=2024-01-26T11:36:54.090377652Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-01-26T11:36:54.091944176Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.565174ms grafana | logger=migrator t=2024-01-26T11:36:54.095515547Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-01-26T11:36:54.097415264Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.902127ms grafana | logger=migrator t=2024-01-26T11:36:54.100701923Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2024-01-26T11:36:54.10152435Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=809.837µs grafana | logger=migrator t=2024-01-26T11:36:54.106163461Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2024-01-26T11:36:54.106889037Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=727.146µs grafana | logger=migrator t=2024-01-26T11:36:54.108817925Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2024-01-26T11:36:54.108893885Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=76.311µs grafana | logger=migrator t=2024-01-26T11:36:54.112729949Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:54.113727678Z level=info msg="Migration successfully executed" id="create test_data table" duration=997.389µs grafana | logger=migrator t=2024-01-26T11:36:54.11961526Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2024-01-26T11:36:54.120697179Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.081219ms grafana | logger=migrator t=2024-01-26T11:36:54.125498722Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2024-01-26T11:36:54.126619412Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.118069ms grafana | logger=migrator t=2024-01-26T11:36:54.1298206Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2024-01-26T11:36:54.130496466Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=675.776µs grafana | logger=migrator t=2024-01-26T11:36:54.134992365Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2024-01-26T11:36:54.135151767Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=159.362µs grafana | logger=migrator t=2024-01-26T11:36:54.137915621Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2024-01-26T11:36:54.138209024Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=293.073µs grafana | logger=migrator t=2024-01-26T11:36:54.140405903Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2024-01-26T11:36:54.140491484Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=85.861µs grafana | logger=migrator t=2024-01-26T11:36:54.144765022Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2024-01-26T11:36:54.14572216Z level=info msg="Migration successfully executed" id="create team table" duration=956.868µs grafana | logger=migrator t=2024-01-26T11:36:54.148904648Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2024-01-26T11:36:54.150005978Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.09826ms grafana | logger=migrator t=2024-01-26T11:36:54.153110445Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2024-01-26T11:36:54.154149824Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.039079ms grafana | logger=migrator t=2024-01-26T11:36:54.158529533Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2024-01-26T11:36:54.162374167Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=3.844494ms grafana | logger=migrator t=2024-01-26T11:36:54.165314753Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2024-01-26T11:36:54.165463064Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=148.331µs grafana | logger=migrator t=2024-01-26T11:36:54.169731702Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2024-01-26T11:36:54.170946733Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.2089ms grafana | logger=migrator t=2024-01-26T11:36:54.176588142Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2024-01-26T11:36:54.177559021Z level=info msg="Migration successfully executed" id="create team member table" duration=972.889µs grafana | logger=migrator t=2024-01-26T11:36:54.180473367Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2024-01-26T11:36:54.181582466Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.109129ms grafana | logger=migrator t=2024-01-26T11:36:54.184552203Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2024-01-26T11:36:54.185484391Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=932.538µs grafana | logger=migrator t=2024-01-26T11:36:54.191507274Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2024-01-26T11:36:54.192492443Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=986.609µs grafana | logger=migrator t=2024-01-26T11:36:54.197732089Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2024-01-26T11:36:54.202475091Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.743352ms grafana | logger=migrator t=2024-01-26T11:36:54.205470197Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2024-01-26T11:36:54.21029352Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.821943ms grafana | logger=migrator t=2024-01-26T11:36:54.217039279Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2024-01-26T11:36:54.221580919Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.54123ms grafana | logger=migrator t=2024-01-26T11:36:54.22622641Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2024-01-26T11:36:54.227069018Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=842.458µs grafana | logger=migrator t=2024-01-26T11:36:54.231217104Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2024-01-26T11:36:54.232081532Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=866.618µs grafana | logger=migrator t=2024-01-26T11:36:54.238308527Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2024-01-26T11:36:54.239296236Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=987.308µs grafana | logger=migrator t=2024-01-26T11:36:54.243490403Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2024-01-26T11:36:54.244408291Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=916.179µs grafana | logger=migrator t=2024-01-26T11:36:54.249501386Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2024-01-26T11:36:54.250377083Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=875.707µs grafana | logger=migrator t=2024-01-26T11:36:54.256473357Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2024-01-26T11:36:54.257370725Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=897.198µs grafana | logger=migrator t=2024-01-26T11:36:54.26244561Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0450-pdpgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:54.263405458Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=957.368µs grafana | logger=migrator t=2024-01-26T11:36:54.266672777Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2024-01-26T11:36:54.267532495Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=859.288µs grafana | logger=migrator t=2024-01-26T11:36:54.272278686Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2024-01-26T11:36:54.272947822Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=668.116µs grafana | logger=migrator t=2024-01-26T11:36:54.276895437Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2024-01-26T11:36:54.277106589Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=210.972µs grafana | logger=migrator t=2024-01-26T11:36:54.282024332Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2024-01-26T11:36:54.282643738Z level=info msg="Migration successfully executed" id="create tag table" duration=619.146µs grafana | logger=migrator t=2024-01-26T11:36:54.286459972Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2024-01-26T11:36:54.287328789Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=868.497µs grafana | logger=migrator t=2024-01-26T11:36:54.292055051Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2024-01-26T11:36:54.292733077Z level=info msg="Migration successfully executed" id="create login attempt table" duration=677.706µs grafana | logger=migrator t=2024-01-26T11:36:54.297369178Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2024-01-26T11:36:54.298231435Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=862.297µs grafana | logger=migrator t=2024-01-26T11:36:54.302991077Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2024-01-26T11:36:54.304212488Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.219151ms grafana | logger=migrator t=2024-01-26T11:36:54.309851258Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-26T11:36:54.331873242Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=22.023764ms grafana | logger=migrator t=2024-01-26T11:36:54.336772195Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2024-01-26T11:36:54.337541022Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=770.347µs grafana | logger=migrator t=2024-01-26T11:36:54.341563198Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2024-01-26T11:36:54.342530696Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=969.298µs grafana | logger=migrator t=2024-01-26T11:36:54.346666853Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2024-01-26T11:36:54.346989156Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=322.242µs grafana | logger=migrator t=2024-01-26T11:36:54.350719048Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2024-01-26T11:36:54.351427185Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=707.877µs grafana | logger=migrator t=2024-01-26T11:36:54.356879113Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2024-01-26T11:36:54.358133324Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.252261ms grafana | logger=migrator t=2024-01-26T11:36:54.362460292Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2024-01-26T11:36:54.363427941Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=968.239µs grafana | logger=migrator t=2024-01-26T11:36:54.368672447Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2024-01-26T11:36:54.368739567Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=67.58µs grafana | logger=migrator t=2024-01-26T11:36:54.372802723Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2024-01-26T11:36:54.38266933Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=9.866487ms grafana | logger=migrator t=2024-01-26T11:36:54.416270337Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2024-01-26T11:36:54.426535537Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=10.26671ms grafana | logger=migrator t=2024-01-26T11:36:54.432702242Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2024-01-26T11:36:54.436580046Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=3.877314ms grafana | logger=migrator t=2024-01-26T11:36:54.440964945Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2024-01-26T11:36:54.446465343Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.499719ms grafana | logger=migrator t=2024-01-26T11:36:54.451382976Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2024-01-26T11:36:54.452347005Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=973.279µs grafana | logger=migrator t=2024-01-26T11:36:54.459068274Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2024-01-26T11:36:54.467055045Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=7.988141ms grafana | logger=migrator t=2024-01-26T11:36:54.471425153Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2024-01-26T11:36:54.472281251Z level=info msg="Migration successfully executed" id="create server_lock table" duration=854.838µs grafana | logger=migrator t=2024-01-26T11:36:54.475998114Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2024-01-26T11:36:54.477164744Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.16631ms grafana | logger=migrator t=2024-01-26T11:36:54.482557651Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2024-01-26T11:36:54.483367999Z level=info msg="Migration successfully executed" id="create user auth token table" duration=810.028µs grafana | logger=migrator t=2024-01-26T11:36:54.488602115Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:54.489577983Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=975.098µs policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:54.494963671Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2024-01-26T11:36:54.496709096Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.744785ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:54.501236836Z level=info msg="Executing migration" id="add index user_auth_token.user_id" 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-26T11:36:54.502277415Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.040169ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:54.506842596Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:54.512614887Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.772111ms policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:54.515803115Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2024-01-26T11:36:54.517216107Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.412842ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:54.520852179Z level=info msg="Executing migration" id="create cache_data table" 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-26T11:36:54.521748447Z level=info msg="Migration successfully executed" id="create cache_data table" duration=896.268µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:54.525300748Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:54.526512989Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.210331ms policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:54.530379633Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2024-01-26T11:36:54.531458033Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.07645ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:54.536719659Z level=info msg="Executing migration" id="add index short_url.org_id-uid" 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-26T11:36:54.538350214Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.634395ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:54.543521489Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:54.54360277Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=81.711µs policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:54.547649516Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2024-01-26T11:36:54.547762227Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=112.411µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:54.552497018Z level=info msg="Executing migration" id="recreate alert_definition table" 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-26T11:36:54.554041342Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.544634ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:54.557301471Z 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-26T11:36:54.558261389Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=960.068µs policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:54.563220443Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2024-01-26T11:36:54.564401793Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.17891ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:54.573893777Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-26T11:36:54.574007538Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=114.821µs grafana | logger=migrator t=2024-01-26T11:36:54.58101045Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" 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-26T11:36:54.582608174Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.593754ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:54.586270896Z 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-26T11:36:54.587329306Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.0578ms grafana | logger=migrator t=2024-01-26T11:36:54.592234519Z 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-26T11:36:54.593409969Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.17513ms policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2024-01-26T11:36:54.597328174Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:54.598970338Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.641914ms 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-26T11:36:54.602159276Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:54.608101449Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.939943ms policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:54.612594079Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2024-01-26T11:36:54.613648338Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.053659ms policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:54.616841166Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2024-01-26T11:36:54.616917517Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=76.691µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:54.619926333Z level=info msg="Executing migration" id="recreate alert_definition_version table" 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-26T11:36:54.621465347Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.537734ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:54.625524093Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:54.627100426Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.578403ms policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:54.630526627Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2024-01-26T11:36:54.631513815Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=986.798µs policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) grafana | logger=migrator t=2024-01-26T11:36:54.63543866Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:54.635501231Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=63.171µs policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:54.640040571Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:54.641770546Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.725575ms policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2024-01-26T11:36:54.646436097Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:54.647369165Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=931.998µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) grafana | logger=migrator t=2024-01-26T11:36:54.653720521Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:54.655446417Z 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.727936ms policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:54.659360151Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:54.661358069Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.998668ms policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2024-01-26T11:36:54.663979142Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:54.670392268Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=6.411986ms 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-26T11:36:54.67505671Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:54.676098429Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.041319ms policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:54.680314326Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:54.682087802Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.773366ms policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2024-01-26T11:36:54.687123106Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:54.72726169Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=40.136524ms 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-26T11:36:54.732653268Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:54.774470717Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=41.812298ms policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:54.780594481Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:54.781568009Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=972.708µs policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2024-01-26T11:36:54.886475525Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:54.887760086Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.286571ms 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-26T11:36:54.893036652Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:54.900318287Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=7.284105ms policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:54.906218799Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:54.912807967Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=6.587578ms policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2024-01-26T11:36:54.916881043Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:54.918484807Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.602424ms 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-26T11:36:54.926915971Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:54.928086412Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.169261ms policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:54.93475293Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:54.937094431Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=2.340121ms policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-01-26T11:36:54.941744812Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:54.942901302Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.15685ms 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-26T11:36:54.947815996Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:54.947901956Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=86.31µs policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:54.95515077Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:54.964834006Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=9.687996ms policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2024-01-26T11:36:54.970787718Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:54.975238508Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=4.4504ms 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-26T11:36:54.97895152Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:54.984931393Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.979133ms policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:54.988589035Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:54.989583294Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=993.869µs policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2024-01-26T11:36:54.99588391Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:54.998979607Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=3.094277ms 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-26T11:36:55.003797579Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:55.010861152Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=7.063213ms policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:55.015076629Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:55.019507048Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=4.43318ms policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-01-26T11:36:55.024939786Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:55.025886334Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=946.158µs 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-26T11:36:55.031919887Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:55.040392311Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=8.472724ms policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:55.045464776Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:55.051424319Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=5.959113ms policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-01-26T11:36:55.056659715Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-01-26T11:36:55.056731185Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=74.21µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:55.063581576Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:55.064787476Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.20925ms policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:55.070679918Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-01-26T11:36:55.071801388Z 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.12087ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:55.078090203Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" policy-db-migrator | 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-26T11:36:55.080265673Z 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=2.17454ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:55.085935983Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:55.086033194Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=99.13µs policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:55.090083909Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-01-26T11:36:55.098906867Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=8.823298ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:55.103019583Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" 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-26T11:36:55.107907976Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=4.886543ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:55.114184531Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:55.123367392Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=9.176301ms policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:55.128277905Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-01-26T11:36:55.135830102Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=7.551857ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:55.141497592Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2024-01-26T11:36:55.146410655Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=4.913723ms 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-26T11:36:55.152921162Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:55.153017523Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=99.311µs policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:55.157459672Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:55.158895515Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.436653ms policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-01-26T11:36:55.162320605Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:55.171394425Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=9.07499ms policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-01-26T11:36:55.176750712Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:55.176821952Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=72.04µs policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:55.180785457Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:55.187460206Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.674779ms policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-01-26T11:36:55.191787605Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:55.192883824Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.09573ms policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-01-26T11:36:55.198160801Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:55.208560172Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=10.401022ms policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:55.212625968Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:55.213150342Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=522.934µs policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-01-26T11:36:55.217303419Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-01-26T11:36:55.218803072Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.498863ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:55.224271041Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:55.234263218Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=9.991257ms policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:55.238530036Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-01-26T11:36:55.239113081Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=582.645µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:55.244454698Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2024-01-26T11:36:55.246265974Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.812956ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:55.252151516Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:55.252908893Z level=info msg="Migration successfully executed" id="create alert_image table" duration=757.947µs policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:55.259561321Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-01-26T11:36:55.260611Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.049809ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:55.266056958Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-01-26T11:36:55.266132969Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=75.801µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:55.270352026Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:55.2718951Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.543774ms policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:55.310640731Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-01-26T11:36:55.312142434Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.501833ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:55.316760735Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-01-26T11:36:55.31736264Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:55.321718608Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:55.322345914Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=626.596µs policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:55.32867819Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-01-26T11:36:55.329642278Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=963.588µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:55.333801255Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-01-26T11:36:55.343668511Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=9.867276ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:55.347609466Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:55.348387593Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=777.407µs policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:55.354273635Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-01-26T11:36:55.3559245Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.650755ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:55.360896163Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-01-26T11:36:55.361922372Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.027459ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:55.367011877Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:55.368088776Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.077409ms policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:55.372130412Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-01-26T11:36:55.372870219Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=739.647µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:55.376010526Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-01-26T11:36:55.376033366Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=23.86µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:55.382854237Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:55.382921447Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=67.99µs policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:55.389856028Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-01-26T11:36:55.390301412Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=445.174µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:55.3946386Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-01-26T11:36:55.396728109Z level=info msg="Migration successfully executed" id="create data_keys table" duration=2.087899ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:55.400196429Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:55.400967806Z level=info msg="Migration successfully executed" id="create secrets table" duration=769.287µs policy-db-migrator | grafana | logger=migrator t=2024-01-26T11:36:55.405039712Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2024-01-26T11:36:55.457678695Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=52.636903ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:55.461426418Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2024-01-26T11:36:55.466504853Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.075125ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:55.46950119Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:55.469645601Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=144.451µs grafana | logger=migrator t=2024-01-26T11:36:55.472825449Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2024-01-26T11:36:55.521579698Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=48.751569ms grafana | logger=migrator t=2024-01-26T11:36:55.526086398Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2024-01-26T11:36:55.574680045Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=48.594097ms grafana | logger=migrator t=2024-01-26T11:36:55.577372469Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2024-01-26T11:36:55.577988675Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=616.256µs grafana | logger=migrator t=2024-01-26T11:36:55.58081763Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2024-01-26T11:36:55.581867789Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.049579ms grafana | logger=migrator t=2024-01-26T11:36:55.585611641Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2024-01-26T11:36:55.585971825Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=357.154µs grafana | logger=migrator t=2024-01-26T11:36:55.589205643Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2024-01-26T11:36:55.590545465Z level=info msg="Migration successfully executed" id="create permission table" duration=1.335982ms grafana | logger=migrator t=2024-01-26T11:36:55.595161236Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2024-01-26T11:36:55.596138814Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=977.788µs grafana | logger=migrator t=2024-01-26T11:36:55.607272173Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2024-01-26T11:36:55.608973207Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.700505ms grafana | logger=migrator t=2024-01-26T11:36:55.616977818Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2024-01-26T11:36:55.618192788Z level=info msg="Migration successfully executed" id="create role table" duration=1.21493ms grafana | logger=migrator t=2024-01-26T11:36:55.627639652Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2024-01-26T11:36:55.639435975Z level=info msg="Migration successfully executed" id="add column display_name" duration=11.797533ms grafana | logger=migrator t=2024-01-26T11:36:55.648865648Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2024-01-26T11:36:55.660029647Z level=info msg="Migration successfully executed" id="add column group_name" duration=11.165489ms grafana | logger=migrator t=2024-01-26T11:36:55.666006099Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2024-01-26T11:36:55.666766256Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=759.847µs grafana | logger=migrator t=2024-01-26T11:36:55.6706375Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2024-01-26T11:36:55.671658519Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.020569ms grafana | logger=migrator t=2024-01-26T11:36:55.676455651Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2024-01-26T11:36:55.678271097Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.814756ms grafana | logger=migrator t=2024-01-26T11:36:55.692119619Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2024-01-26T11:36:55.692981657Z level=info msg="Migration successfully executed" id="create team role table" duration=861.978µs grafana | logger=migrator t=2024-01-26T11:36:55.747967421Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2024-01-26T11:36:55.74900578Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.041229ms grafana | logger=migrator t=2024-01-26T11:36:55.751861915Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2024-01-26T11:36:55.752718403Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=856.228µs grafana | logger=migrator t=2024-01-26T11:36:55.75806939Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2024-01-26T11:36:55.75921745Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.14944ms grafana | logger=migrator t=2024-01-26T11:36:55.763551538Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2024-01-26T11:36:55.764290845Z level=info msg="Migration successfully executed" id="create user role table" duration=739.687µs grafana | logger=migrator t=2024-01-26T11:36:55.767356702Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2024-01-26T11:36:55.768391611Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.031469ms grafana | logger=migrator t=2024-01-26T11:36:55.772605688Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2024-01-26T11:36:55.773716288Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.10927ms grafana | logger=migrator t=2024-01-26T11:36:55.776849415Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2024-01-26T11:36:55.778014045Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.16551ms grafana | logger=migrator t=2024-01-26T11:36:55.782947559Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2024-01-26T11:36:55.783744926Z level=info msg="Migration successfully executed" id="create builtin role table" duration=797.257µs grafana | logger=migrator t=2024-01-26T11:36:55.790488535Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2024-01-26T11:36:55.79209865Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.609485ms grafana | logger=migrator t=2024-01-26T11:36:55.795411659Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2024-01-26T11:36:55.797046933Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.634424ms grafana | logger=migrator t=2024-01-26T11:36:55.80002727Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2024-01-26T11:36:55.808371013Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=8.343323ms grafana | logger=migrator t=2024-01-26T11:36:55.812795472Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdp.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE jpapdpstatistics_enginestats a policy-db-migrator | JOIN pdpstatistics b policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp policy-db-migrator | SET a.id = b.id policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-26T11:36:55.813804581Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.008989ms grafana | logger=migrator t=2024-01-26T11:36:55.816686606Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2024-01-26T11:36:55.817709405Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.022329ms grafana | logger=migrator t=2024-01-26T11:36:55.820706971Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2024-01-26T11:36:55.82168141Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=974.209µs grafana | logger=migrator t=2024-01-26T11:36:55.826640494Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2024-01-26T11:36:55.827647933Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.015519ms grafana | logger=migrator t=2024-01-26T11:36:55.830661289Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2024-01-26T11:36:55.831333725Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=669.456µs grafana | logger=migrator t=2024-01-26T11:36:55.834396312Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2024-01-26T11:36:55.835425071Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.028829ms grafana | logger=migrator t=2024-01-26T11:36:55.840312494Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2024-01-26T11:36:55.848606277Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.293193ms grafana | logger=migrator t=2024-01-26T11:36:55.851430392Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2024-01-26T11:36:55.85914076Z level=info msg="Migration successfully executed" id="permission kind migration" duration=7.705518ms grafana | logger=migrator t=2024-01-26T11:36:55.862490019Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2024-01-26T11:36:55.868035958Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=5.544529ms grafana | logger=migrator t=2024-01-26T11:36:55.870831983Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2024-01-26T11:36:55.878610231Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.776308ms grafana | logger=migrator t=2024-01-26T11:36:55.882505035Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2024-01-26T11:36:55.883520354Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.016279ms grafana | logger=migrator t=2024-01-26T11:36:55.887267907Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2024-01-26T11:36:55.888132335Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=847.428µs grafana | logger=migrator t=2024-01-26T11:36:55.892205641Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2024-01-26T11:36:55.89329366Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.087589ms grafana | logger=migrator t=2024-01-26T11:36:55.896488229Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2024-01-26T11:36:55.896572459Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=84.43µs grafana | logger=migrator t=2024-01-26T11:36:55.899375604Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2024-01-26T11:36:55.899405674Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=30.67µs grafana | logger=migrator t=2024-01-26T11:36:55.902227149Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2024-01-26T11:36:55.902716274Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=488.894µs grafana | logger=migrator t=2024-01-26T11:36:55.906713569Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2024-01-26T11:36:55.907256264Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=543.465µs grafana | logger=migrator t=2024-01-26T11:36:55.910139049Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2024-01-26T11:36:55.910727094Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=588.065µs grafana | logger=migrator t=2024-01-26T11:36:55.913010434Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2024-01-26T11:36:55.913195255Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=183.391µs grafana | logger=migrator t=2024-01-26T11:36:55.916220452Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2024-01-26T11:36:55.916501265Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=280.963µs grafana | logger=migrator t=2024-01-26T11:36:55.920326648Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2024-01-26T11:36:55.921070735Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=743.747µs grafana | logger=migrator t=2024-01-26T11:36:55.924066131Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2024-01-26T11:36:55.925128921Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.06256ms grafana | logger=migrator t=2024-01-26T11:36:55.928053637Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2024-01-26T11:36:55.935946456Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=7.892489ms grafana | logger=migrator t=2024-01-26T11:36:55.939600038Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2024-01-26T11:36:55.939661889Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=62.371µs grafana | logger=migrator t=2024-01-26T11:36:55.942541274Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2024-01-26T11:36:55.943615543Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.071659ms grafana | logger=migrator t=2024-01-26T11:36:55.946820812Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2024-01-26T11:36:55.948279334Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.458162ms grafana | logger=migrator t=2024-01-26T11:36:55.953789813Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-sequence.sql policy-db-migrator | -------------- policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscatrigger policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaparameter policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2024-01-26T11:36:55.95457962Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=789.667µs grafana | logger=migrator t=2024-01-26T11:36:55.957052362Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2024-01-26T11:36:55.964355566Z level=info msg="Migration successfully executed" id="add correlation config column" duration=7.302034ms grafana | logger=migrator t=2024-01-26T11:36:55.967363552Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2024-01-26T11:36:55.968118129Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=754.407µs grafana | logger=migrator t=2024-01-26T11:36:55.971824912Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2024-01-26T11:36:55.972599249Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=774.477µs grafana | logger=migrator t=2024-01-26T11:36:55.975531024Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-26T11:36:56.007403606Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=31.872842ms grafana | logger=migrator t=2024-01-26T11:36:56.010158947Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2024-01-26T11:36:56.010849174Z level=info msg="Migration successfully executed" id="create correlation v2" duration=689.067µs grafana | logger=migrator t=2024-01-26T11:36:56.014426163Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2024-01-26T11:36:56.015271153Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=844.87µs grafana | logger=migrator t=2024-01-26T11:36:56.018310516Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2024-01-26T11:36:56.019494609Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.184083ms grafana | logger=migrator t=2024-01-26T11:36:56.02331907Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2024-01-26T11:36:56.024369512Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.050172ms grafana | logger=migrator t=2024-01-26T11:36:56.027338994Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2024-01-26T11:36:56.027579506Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=240.442µs grafana | logger=migrator t=2024-01-26T11:36:56.030604079Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2024-01-26T11:36:56.031343987Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=739.628µs grafana | logger=migrator t=2024-01-26T11:36:56.035169029Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2024-01-26T11:36:56.043111035Z level=info msg="Migration successfully executed" id="add provisioning column" duration=7.942336ms grafana | logger=migrator t=2024-01-26T11:36:56.045811684Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2024-01-26T11:36:56.04633469Z level=info msg="Migration successfully executed" id="create entity_events table" duration=522.776µs grafana | logger=migrator t=2024-01-26T11:36:56.048368992Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2024-01-26T11:36:56.049041759Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=672.527µs grafana | logger=migrator t=2024-01-26T11:36:56.052673029Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-01-26T11:36:56.053109353Z 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-26T11:36:56.056118146Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-01-26T11:36:56.056568731Z 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-26T11:36:56.059564493Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2024-01-26T11:36:56.060312762Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=747.699µs grafana | logger=migrator t=2024-01-26T11:36:56.064224464Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2024-01-26T11:36:56.065134694Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=909.74µs grafana | logger=migrator t=2024-01-26T11:36:56.068039025Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-01-26T11:36:56.070148248Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=2.106783ms grafana | logger=migrator t=2024-01-26T11:36:56.07311261Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-01-26T11:36:56.074281773Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.170323ms grafana | logger=migrator t=2024-01-26T11:36:56.079118576Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-01-26T11:36:56.080165707Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.046661ms grafana | logger=migrator t=2024-01-26T11:36:56.083129679Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-01-26T11:36:56.08414143Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.011371ms grafana | logger=migrator t=2024-01-26T11:36:56.087197423Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-01-26T11:36:56.087958331Z level=info msg="Migration successfully executed" id="Drop public config table" duration=760.368µs grafana | logger=migrator t=2024-01-26T11:36:56.092838484Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2024-01-26T11:36:56.094418962Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.580077ms grafana | logger=migrator t=2024-01-26T11:36:56.097853929Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-01-26T11:36:56.099551827Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.697348ms grafana | logger=migrator t=2024-01-26T11:36:56.104503841Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-upgrade.sql policy-db-migrator | -------------- policy-db-migrator | select 'upgrade to 1100 completed' as msg policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | msg policy-db-migrator | upgrade to 1100 completed policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1200) policy-db-migrator | name version policy-db-migrator | policyadmin 1200 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:00 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:00 grafana | logger=migrator t=2024-01-26T11:36:56.105654543Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.149802ms grafana | logger=migrator t=2024-01-26T11:36:56.108577685Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2024-01-26T11:36:56.10996177Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.382835ms grafana | logger=migrator t=2024-01-26T11:36:56.112932602Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2024-01-26T11:36:56.147247295Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=34.313303ms grafana | logger=migrator t=2024-01-26T11:36:56.179824868Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2024-01-26T11:36:56.185975786Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.150718ms grafana | logger=migrator t=2024-01-26T11:36:56.188660185Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2024-01-26T11:36:56.197105687Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.447862ms grafana | logger=migrator t=2024-01-26T11:36:56.200187951Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2024-01-26T11:36:56.200584505Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=396.914µs grafana | logger=migrator t=2024-01-26T11:36:56.205943133Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2024-01-26T11:36:56.217725652Z level=info msg="Migration successfully executed" id="add share column" duration=11.784329ms grafana | logger=migrator t=2024-01-26T11:36:56.220557693Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2024-01-26T11:36:56.220713604Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=155.981µs grafana | logger=migrator t=2024-01-26T11:36:56.223582086Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2024-01-26T11:36:56.224408805Z level=info msg="Migration successfully executed" id="create file table" duration=826.548µs grafana | logger=migrator t=2024-01-26T11:36:56.227359717Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-01-26T11:36:56.228477589Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.117482ms grafana | logger=migrator t=2024-01-26T11:36:56.232963098Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-01-26T11:36:56.23406209Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.098672ms grafana | logger=migrator t=2024-01-26T11:36:56.236905751Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-01-26T11:36:56.237665039Z level=info msg="Migration successfully executed" id="create file_meta table" duration=758.988µs grafana | logger=migrator t=2024-01-26T11:36:56.240601341Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-01-26T11:36:56.242649184Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=2.047073ms grafana | logger=migrator t=2024-01-26T11:36:56.248347946Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-01-26T11:36:56.248457507Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=104.761µs grafana | logger=migrator t=2024-01-26T11:36:56.251840894Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-01-26T11:36:56.251907244Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=66.351µs grafana | logger=migrator t=2024-01-26T11:36:56.255254401Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-01-26T11:36:56.256332283Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=1.072512ms grafana | logger=migrator t=2024-01-26T11:36:56.261289167Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-01-26T11:36:56.261849943Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=560.716µs grafana | logger=migrator t=2024-01-26T11:36:56.265445402Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-01-26T11:36:56.266784167Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.337885ms grafana | logger=migrator t=2024-01-26T11:36:56.270497957Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-01-26T11:36:56.280097701Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=9.597994ms grafana | logger=migrator t=2024-01-26T11:36:56.283529519Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-01-26T11:36:56.283703241Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=173.712µs grafana | logger=migrator t=2024-01-26T11:36:56.287848546Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-01-26T11:36:56.289450574Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.599627ms grafana | logger=migrator t=2024-01-26T11:36:56.292942342Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-01-26T11:36:56.293653799Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=712.977µs grafana | logger=migrator t=2024-01-26T11:36:56.296971266Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-01-26T11:36:56.297234258Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=262.473µs grafana | logger=migrator t=2024-01-26T11:36:56.301515725Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-01-26T11:36:56.30198557Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=469.575µs grafana | logger=migrator t=2024-01-26T11:36:56.305107394Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-01-26T11:36:56.316479598Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=11.372764ms grafana | logger=migrator t=2024-01-26T11:36:56.319738394Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-01-26T11:36:56.326012182Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.271578ms policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:00 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:00 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:00 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:00 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:00 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:00 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:00 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:00 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:00 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:00 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:00 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:00 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:00 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:00 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:00 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:00 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:00 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:00 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:00 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:00 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:00 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:00 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:00 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:00 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:00 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:00 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:01 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:01 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:01 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:01 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:01 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:01 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:01 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:01 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:01 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:01 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:01 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:01 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:01 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:01 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:01 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:01 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:01 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:01 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:01 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:01 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:01 grafana | logger=migrator t=2024-01-26T11:36:56.328773222Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-01-26T11:36:56.329886554Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.112982ms grafana | logger=migrator t=2024-01-26T11:36:56.33402948Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-01-26T11:36:56.442646843Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=108.616663ms grafana | logger=migrator t=2024-01-26T11:36:56.446195562Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-01-26T11:36:56.447011651Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=816.419µs grafana | logger=migrator t=2024-01-26T11:36:56.450239726Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-01-26T11:36:56.451065035Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=825.129µs grafana | logger=migrator t=2024-01-26T11:36:56.455294731Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-01-26T11:36:56.492304324Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=37.009353ms grafana | logger=migrator t=2024-01-26T11:36:56.495829343Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-01-26T11:36:56.496035525Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=207.812µs grafana | logger=migrator t=2024-01-26T11:36:56.50012989Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-01-26T11:36:56.500376562Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=246.312µs grafana | logger=migrator t=2024-01-26T11:36:56.503855991Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-01-26T11:36:56.504187464Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=331.043µs grafana | logger=migrator t=2024-01-26T11:36:56.50745129Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-01-26T11:36:56.508467571Z level=info msg="Migration successfully executed" id="create folder table" duration=1.014141ms grafana | logger=migrator t=2024-01-26T11:36:56.513775289Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-01-26T11:36:56.515786961Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=2.011452ms grafana | logger=migrator t=2024-01-26T11:36:56.519338049Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-01-26T11:36:56.520566682Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.228723ms grafana | logger=migrator t=2024-01-26T11:36:56.524500266Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-01-26T11:36:56.524548076Z level=info msg="Migration successfully executed" id="Update folder title length" duration=48.55µs grafana | logger=migrator t=2024-01-26T11:36:56.528132025Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-01-26T11:36:56.529458139Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.325634ms grafana | logger=migrator t=2024-01-26T11:36:56.533641375Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-01-26T11:36:56.534798928Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.154313ms grafana | logger=migrator t=2024-01-26T11:36:56.538078944Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-01-26T11:36:56.539296397Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.217053ms grafana | logger=migrator t=2024-01-26T11:36:56.54328065Z level=info msg="Executing migration" id="Sync dashboard and folder table" grafana | logger=migrator t=2024-01-26T11:36:56.543771026Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=489.786µs grafana | logger=migrator t=2024-01-26T11:36:56.547327434Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" grafana | logger=migrator t=2024-01-26T11:36:56.54788706Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=557.766µs grafana | logger=migrator t=2024-01-26T11:36:56.551377898Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-01-26T11:36:56.552877635Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.501967ms grafana | logger=migrator t=2024-01-26T11:36:56.556339382Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-01-26T11:36:56.557685437Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.345735ms grafana | logger=migrator t=2024-01-26T11:36:56.59003759Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-01-26T11:36:56.591939571Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.9016ms grafana | logger=migrator t=2024-01-26T11:36:56.595417349Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-01-26T11:36:56.596953285Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.534816ms grafana | logger=migrator t=2024-01-26T11:36:56.601110621Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-01-26T11:36:56.602038341Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=927.39µs grafana | logger=migrator t=2024-01-26T11:36:56.605190845Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-01-26T11:36:56.607013845Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.82288ms grafana | logger=migrator t=2024-01-26T11:36:56.610357251Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-01-26T11:36:56.610920377Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=564.116µs grafana | logger=migrator t=2024-01-26T11:36:56.614425006Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-01-26T11:36:56.626336166Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=11.9117ms grafana | logger=migrator t=2024-01-26T11:36:56.630572532Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-01-26T11:36:56.631397781Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=826.129µs grafana | logger=migrator t=2024-01-26T11:36:56.634520795Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-01-26T11:36:56.635804649Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.283134ms grafana | logger=migrator t=2024-01-26T11:36:56.638927083Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-01-26T11:36:56.639966074Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.038151ms grafana | logger=migrator t=2024-01-26T11:36:56.645349793Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-01-26T11:36:56.646168522Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=818.899µs grafana | logger=migrator t=2024-01-26T11:36:56.649197795Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-01-26T11:36:56.649579129Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=381.764µs grafana | logger=migrator t=2024-01-26T11:36:56.652738333Z level=info msg="migrations completed" performed=526 skipped=0 duration=3.878589616s grafana | logger=sqlstore t=2024-01-26T11:36:56.661939174Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-01-26T11:36:56.662354018Z level=info msg="Created default organization" grafana | logger=secrets t=2024-01-26T11:36:56.667570675Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-01-26T11:36:56.683699511Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-01-26T11:36:56.723469394Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-01-26T11:36:56.723614236Z level=info msg="Plugins loaded" count=55 duration=39.915035ms grafana | logger=query_data t=2024-01-26T11:36:56.725731639Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-01-26T11:36:56.728376748Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-01-26T11:36:56.734339323Z level=info msg=Starting grafana | logger=ngalert.migration orgID=1 t=2024-01-26T11:36:56.735369664Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-01-26T11:36:56.736100362Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-01-26T11:36:56.738163564Z level=info msg="Completed legacy migration" grafana | logger=infra.usagestats.collector t=2024-01-26T11:36:56.771634459Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-01-26T11:36:56.773392798Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-01-26T11:36:56.784676691Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-01-26T11:36:56.784700132Z level=info msg="finished to provision alerting" grafana | logger=ngalert.state.manager t=2024-01-26T11:36:56.784878073Z level=info msg="Warming state cache for startup" grafana | logger=grafanaStorageLogger t=2024-01-26T11:36:56.785041105Z level=info msg="Storage starting" grafana | logger=ngalert.multiorg.alertmanager t=2024-01-26T11:36:56.784948564Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=ngalert.state.manager t=2024-01-26T11:36:56.785304468Z level=info msg="State cache has been initialized" states=0 duration=425.885µs grafana | logger=ngalert.scheduler t=2024-01-26T11:36:56.785336968Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2024-01-26T11:36:56.785410109Z level=info msg=starting first_tick=2024-01-26T11:37:00Z grafana | logger=http.server t=2024-01-26T11:36:56.789309312Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafana-apiserver t=2024-01-26T11:36:56.792124303Z level=info msg="Authentication is disabled" grafana | logger=grafana-apiserver t=2024-01-26T11:36:56.796151516Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=grafana.update.checker t=2024-01-26T11:36:56.833562404Z level=info msg="Update check succeeded" duration=48.272886ms grafana | logger=plugins.update.checker t=2024-01-26T11:36:56.883051024Z level=info msg="Update check succeeded" duration=97.603833ms grafana | logger=sqlstore.transactions t=2024-01-26T11:36:57.015454117Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=infra.usagestats t=2024-01-26T11:37:38.796325917Z level=info msg="Usage stats are ready to report" policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:01 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:01 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:01 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:02 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:02 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:02 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:02 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:02 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:02 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:02 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:02 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:02 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:02 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:02 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:02 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:02 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:02 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:02 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:02 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:02 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:02 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:02 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:02 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:02 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:02 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:02 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:02 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:02 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:03 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:03 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:03 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:03 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:03 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:03 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:03 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:03 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:03 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:03 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:03 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:03 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:03 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:03 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:03 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:03 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:03 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:03 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2601241136590800u 1 2024-01-26 11:37:03 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2601241136590900u 1 2024-01-26 11:37:03 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2601241136590900u 1 2024-01-26 11:37:03 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2601241136590900u 1 2024-01-26 11:37:04 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2601241136590900u 1 2024-01-26 11:37:04 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2601241136590900u 1 2024-01-26 11:37:04 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2601241136590900u 1 2024-01-26 11:37:04 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2601241136590900u 1 2024-01-26 11:37:04 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2601241136590900u 1 2024-01-26 11:37:04 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2601241136590900u 1 2024-01-26 11:37:04 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2601241136590900u 1 2024-01-26 11:37:04 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2601241136590900u 1 2024-01-26 11:37:04 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2601241136590900u 1 2024-01-26 11:37:04 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2601241136590900u 1 2024-01-26 11:37:04 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2601241136591000u 1 2024-01-26 11:37:04 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2601241136591000u 1 2024-01-26 11:37:04 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2601241136591000u 1 2024-01-26 11:37:04 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2601241136591000u 1 2024-01-26 11:37:04 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2601241136591000u 1 2024-01-26 11:37:04 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2601241136591000u 1 2024-01-26 11:37:04 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2601241136591000u 1 2024-01-26 11:37:04 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2601241136591000u 1 2024-01-26 11:37:04 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2601241136591000u 1 2024-01-26 11:37:05 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2601241136591100u 1 2024-01-26 11:37:05 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2601241136591200u 1 2024-01-26 11:37:05 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2601241136591200u 1 2024-01-26 11:37:05 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2601241136591200u 1 2024-01-26 11:37:05 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2601241136591200u 1 2024-01-26 11:37:05 policy-db-migrator | policyadmin: OK @ 1200 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing mariadb ... Removing prometheus ... Removing policy-api ... done Removing prometheus ... done Removing policy-db-migrator ... done Removing grafana ... done Removing mariadb ... 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.8PEs9rgFgx ]] + rsync -av /tmp/tmp.8PEs9rgFgx/ /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,606 bytes received 95 bytes 2,693,402.00 bytes/sec total size is 1,345,956 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 2122 killed; [ssh-agent] Stopped. Robot results publisher started... -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins7208379087368287720.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins10180691451300872404.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/jenkins9418644192299627988.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-X39u from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-X39u/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins7223373370921931504.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config6851138553609703970tmp 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/jenkins6060229334589159763.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins11767122588640101668.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-X39u from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-X39u/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins7977111210685279720.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins336868752469364554.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-X39u 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-X39u/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/jenkins15028378790755853528.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-X39u 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-X39u/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/252 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-15232 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2800.000 BogoMIPS: 5600.00 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 839 27439 0 3888 30872 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:d3:7b:62 brd ff:ff:ff:ff:ff:ff inet 10.30.107.224/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86055sec preferred_lft 86055sec inet6 fe80::f816:3eff:fed3:7b62/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:f2:c5:21:4a 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-15232) 01/26/24 _x86_64_ (8 CPU) 11:33:51 LINUX RESTART (8 CPU) 11:34:01 tps rtps wtps bread/s bwrtn/s 11:35:03 138.76 74.02 64.74 5292.85 56437.66 11:36:01 123.17 27.82 95.35 2150.80 30547.15 11:37:01 383.59 22.26 361.32 2457.02 83825.06 11:38:01 67.32 0.45 66.87 38.79 20300.45 11:39:01 45.98 0.95 45.03 57.72 21623.40 Average: 151.95 25.08 126.87 1998.42 42627.26 11:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:35:03 30319596 31685852 2619624 7.95 52812 1634264 1407868 4.14 859960 1489096 57740 11:36:01 29920564 31687508 3018656 9.16 79216 1989648 1402396 4.13 890428 1818004 137932 11:37:01 27968884 31508016 4970336 15.09 123400 3644972 3243716 9.54 1196180 3326740 1800 11:38:01 26681128 30253892 6258092 19.00 125788 3647136 4834916 14.23 2489228 3319736 20 11:39:01 28049396 31573540 4889824 14.84 127580 3633972 1513300 4.45 1206064 3257996 48424 Average: 28587914 31341762 4351306 13.21 101759 2909998 2480439 7.30 1328372 2642314 49183 11:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:35:03 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:03 lo 1.67 1.67 0.17 0.17 0.00 0.00 0.00 0.00 11:35:03 ens3 335.71 237.46 986.67 58.66 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 1.31 1.31 0.13 0.13 0.00 0.00 0.00 0.00 11:36:01 ens3 66.70 45.15 1244.21 8.38 0.00 0.00 0.00 0.00 11:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:37:01 lo 9.20 9.20 0.85 0.85 0.00 0.00 0.00 0.00 11:37:01 veth2517192 0.00 0.27 0.00 0.02 0.00 0.00 0.00 0.00 11:37:01 br-1e5e0936e5ba 0.47 0.45 0.05 0.30 0.00 0.00 0.00 0.00 11:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:01 lo 9.58 9.58 8.25 8.25 0.00 0.00 0.00 0.00 11:38:01 veth2517192 0.18 0.23 0.02 0.47 0.00 0.00 0.00 0.00 11:38:01 br-1e5e0936e5ba 3.20 3.68 5.89 2.23 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 8.78 8.78 0.72 0.72 0.00 0.00 0.00 0.00 11:39:01 ens3 758.77 518.40 11015.97 105.39 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.14 6.14 2.04 2.04 0.00 0.00 0.00 0.00 Average: ens3 151.81 103.32 2216.95 21.11 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-15232) 01/26/24 _x86_64_ (8 CPU) 11:33:51 LINUX RESTART (8 CPU) 11:34:01 CPU %user %nice %system %iowait %steal %idle 11:35:03 all 8.04 0.00 1.00 5.74 0.04 85.18 11:35:03 0 10.07 0.00 1.05 11.12 0.03 77.72 11:35:03 1 18.47 0.00 1.02 2.60 0.08 77.82 11:35:03 2 2.16 0.00 0.62 17.71 0.05 79.46 11:35:03 3 13.78 0.00 1.20 1.34 0.03 83.65 11:35:03 4 7.09 0.00 0.80 1.04 0.05 91.02 11:35:03 5 4.69 0.00 1.90 0.18 0.02 93.21 11:35:03 6 5.23 0.00 0.54 0.52 0.03 93.68 11:35:03 7 2.80 0.00 0.84 11.44 0.03 84.89 11:36:01 all 10.34 0.00 0.84 2.54 0.03 86.25 11:36:01 0 2.16 0.00 0.78 4.90 0.02 92.15 11:36:01 1 11.66 0.00 1.16 3.32 0.07 83.79 11:36:01 2 14.43 0.00 0.60 8.44 0.02 76.50 11:36:01 3 27.35 0.00 1.45 1.24 0.05 69.91 11:36:01 4 11.01 0.00 0.76 0.45 0.02 87.76 11:36:01 5 6.60 0.00 0.93 1.34 0.02 91.10 11:36:01 6 7.42 0.00 0.78 0.54 0.02 91.25 11:36:01 7 2.24 0.00 0.29 0.12 0.02 97.33 11:37:01 all 9.79 0.00 3.30 5.08 0.07 81.75 11:37:01 0 6.23 0.00 2.71 0.82 0.05 90.19 11:37:01 1 6.98 0.00 2.90 6.49 0.07 83.55 11:37:01 2 14.53 0.00 3.90 5.50 0.08 75.98 11:37:01 3 10.69 0.00 3.01 3.57 0.07 82.67 11:37:01 4 6.90 0.00 3.42 3.57 0.08 86.03 11:37:01 5 8.73 0.00 4.83 17.67 0.08 68.69 11:37:01 6 14.08 0.00 3.27 1.85 0.08 80.72 11:37:01 7 10.24 0.00 2.35 1.20 0.05 86.16 11:38:01 all 17.11 0.00 1.67 1.03 0.05 80.14 11:38:01 0 16.89 0.00 1.55 0.10 0.05 81.40 11:38:01 1 16.77 0.00 1.77 0.03 0.07 81.35 11:38:01 2 17.36 0.00 1.80 0.80 0.07 79.97 11:38:01 3 21.75 0.00 1.71 0.02 0.07 76.46 11:38:01 4 12.96 0.00 1.30 0.84 0.03 84.87 11:38:01 5 14.82 0.00 1.35 0.94 0.05 82.84 11:38:01 6 20.12 0.00 2.50 5.52 0.05 71.81 11:38:01 7 16.23 0.00 1.39 0.00 0.05 82.33 11:39:01 all 3.27 0.00 0.46 1.08 0.03 95.16 11:39:01 0 1.52 0.00 0.37 0.07 0.03 98.02 11:39:01 1 13.47 0.00 0.74 0.67 0.03 85.10 11:39:01 2 2.75 0.00 0.46 0.07 0.03 96.69 11:39:01 3 0.88 0.00 0.38 0.35 0.02 98.37 11:39:01 4 2.90 0.00 0.57 0.03 0.02 96.48 11:39:01 5 1.89 0.00 0.30 0.13 0.02 97.66 11:39:01 6 0.92 0.00 0.28 7.37 0.05 91.37 11:39:01 7 1.82 0.00 0.53 0.02 0.03 97.60 Average: all 9.70 0.00 1.46 3.09 0.05 85.70 Average: 0 7.41 0.00 1.29 3.39 0.04 87.87 Average: 1 13.49 0.00 1.52 2.62 0.06 82.31 Average: 2 10.20 0.00 1.48 6.47 0.05 81.80 Average: 3 14.80 0.00 1.55 1.30 0.05 82.30 Average: 4 8.16 0.00 1.37 1.19 0.04 89.25 Average: 5 7.34 0.00 1.86 4.04 0.04 86.71 Average: 6 9.56 0.00 1.47 3.18 0.05 85.75 Average: 7 6.68 0.00 1.08 2.56 0.04 89.64