Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-6001 (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-WbluK2yeeF35/agent.2083 SSH_AGENT_PID=2085 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_2058265734085602539.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_2058265734085602539.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/jenkins8538051246756234463.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-8Oqb 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-8Oqb/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.2 from /tmp/venv-8Oqb/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.1 aspy.yaml==1.3.0 attrs==23.1.0 autopage==0.5.2 Babel==2.14.0 beautifulsoup4==4.12.2 boto3==1.34.2 botocore==1.34.2 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.4.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.2.2 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.40 google-auth==2.25.2 httplib2==0.22.0 identify==2.5.33 idna==3.6 importlib-metadata==7.0.0 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.2 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.20.0 jsonschema-specifications==2023.11.2 keystoneauth1==5.4.0 kubernetes==28.1.0 lftools==0.37.8 lxml==4.9.3 MarkupSafe==2.1.3 msgpack==1.0.7 multi-key-dict==2.0.3 munch==4.0.0 netaddr==0.9.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==2.9.0 oslo.config==9.2.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.2.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==4.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.3.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.32.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.15.2 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.9.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.3 urllib3==1.26.18 virtualenv==20.25.0 wcwidth==0.2.12 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 zipp==3.17.0 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-london-project-csit-api] $ /bin/sh /tmp/jenkins16604373713149986600.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/jenkins3038024598889663596.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.sKlfzOvxP3 ++ echo ROBOT_VENV=/tmp/tmp.sKlfzOvxP3 +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.sKlfzOvxP3 ++ source /tmp/tmp.sKlfzOvxP3/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.sKlfzOvxP3 +++ 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.sKlfzOvxP3/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.sKlfzOvxP3) ' '!=' x ']' +++ PS1='(tmp.sKlfzOvxP3) ' +++ 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.2 bitarray==2.9.0 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==4.9.3 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.3.1 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.sKlfzOvxP3/src/onap ++ rm -rf /tmp/tmp.sKlfzOvxP3/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.9.0 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==4.9.3 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.3.1 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.sKlfzOvxP3/bin/activate + '[' -z /tmp/tmp.sKlfzOvxP3/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.sKlfzOvxP3/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.sKlfzOvxP3 ++ 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.sKlfzOvxP3/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.sKlfzOvxP3) ' ++ '[' 'x(tmp.sKlfzOvxP3) ' '!=' x ']' ++ PS1='(tmp.sKlfzOvxP3) (tmp.sKlfzOvxP3) ' ++ 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.vPyTNYKsN6 + cd /tmp/tmp.vPyTNYKsN6 + 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:a67e5e402ff5410b86ec48b39eab1a3c4df2a7e78a71bf025ec5e32e09090ad4 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... latest: Pulling from grafana/grafana Digest: sha256:e3e9c2b5776fe3657f4954dfa91579224f98a0316f51d431989b15425e95530f Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating prometheus ... Creating mariadb ... Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done Creating prometheus ... done Creating grafana ... Creating grafana ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-london-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS grafana Up 10 seconds policy-api Up 12 seconds mariadb Up 13 seconds prometheus Up 11 seconds NAMES STATUS grafana Up 15 seconds policy-api Up 17 seconds mariadb Up 19 seconds prometheus Up 16 seconds NAMES STATUS grafana Up 20 seconds policy-api Up 22 seconds mariadb Up 24 seconds prometheus Up 21 seconds NAMES STATUS grafana Up 25 seconds policy-api Up 27 seconds mariadb Up 29 seconds prometheus Up 26 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-london-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:36:47 up 3 min, 0 users, load average: 2.50, 1.04, 0.40 Tasks: 179 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.6 us, 2.1 sy, 0.0 ni, 81.9 id, 4.3 wa, 0.0 hi, 0.1 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 2.0G 25G 1.0M 3.9G 28G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up 25 seconds policy-api Up 27 seconds mariadb Up 29 seconds prometheus Up 26 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS e9d9ff0a4d5b grafana 0.02% 97.92MiB / 31.41GiB 0.30% 18.3kB / 3.23kB 0B / 23.4MB 21 21c8853089d8 policy-api 0.13% 1.03GiB / 31.41GiB 3.28% 1.04MB / 739kB 0B / 0B 50 4f616746d034 mariadb 0.01% 101MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11.2MB / 67.9MB 29 71de48f05e96 prometheus 0.00% 18.43MiB / 31.41GiB 0.06% 920B / 158B 0B / 0B 12 + echo + cd /tmp/tmp.vPyTNYKsN6 + 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.vPyTNYKsN6/output.xml Log: /tmp/tmp.vPyTNYKsN6/log.html Report: /tmp/tmp.vPyTNYKsN6/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-london-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:37:58 up 4 min, 0 users, load average: 0.95, 0.90, 0.40 Tasks: 177 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.7 us, 1.7 sy, 0.0 ni, 84.9 id, 3.7 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.9G 28G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS e9d9ff0a4d5b grafana 0.18% 98.34MiB / 31.41GiB 0.31% 19.5kB / 4.41kB 0B / 23.4MB 21 21c8853089d8 policy-api 0.10% 1.106GiB / 31.41GiB 3.52% 7.32MB / 2.87MB 0B / 0B 52 4f616746d034 mariadb 0.02% 101.8MiB / 31.41GiB 0.32% 2.75MB / 7.36MB 11.2MB / 68.1MB 19 71de48f05e96 prometheus 0.00% 25.01MiB / 31.41GiB 0.08% 37.6kB / 7.1kB 0B / 0B 13 + echo + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose ++ cd /w/workspace/policy-api-london-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to grafana, policy-api, policy-db-migrator, mariadb, prometheus grafana | logger=settings t=2023-12-18T11:36:22.387489419Z level=info msg="Starting Grafana" version=10.2.2 commit=161e3cac5075540918e3a39004f2364ad104d5bb branch=HEAD compiled=2023-11-20T12:28:00Z grafana | logger=settings t=2023-12-18T11:36:22.38771668Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2023-12-18T11:36:22.38772592Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2023-12-18T11:36:22.38772953Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2023-12-18T11:36:22.38773332Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2023-12-18T11:36:22.387736371Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2023-12-18T11:36:22.387739341Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2023-12-18T11:36:22.387742521Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2023-12-18T11:36:22.387745761Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2023-12-18T11:36:22.387749291Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2023-12-18T11:36:22.387752901Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2023-12-18T11:36:22.387755891Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2023-12-18T11:36:22.387758931Z level=info msg=Target target=[all] grafana | logger=settings t=2023-12-18T11:36:22.387763581Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2023-12-18T11:36:22.387767181Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2023-12-18T11:36:22.387770121Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2023-12-18T11:36:22.387772871Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2023-12-18T11:36:22.387775631Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2023-12-18T11:36:22.387778511Z level=info msg="App mode production" grafana | logger=sqlstore t=2023-12-18T11:36:22.388022182Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2023-12-18T11:36:22.388038523Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2023-12-18T11:36:22.388601627Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2023-12-18T11:36:22.389515533Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2023-12-18T11:36:22.390202288Z level=info msg="Migration successfully executed" id="create migration_log table" duration=686.865µs grafana | logger=migrator t=2023-12-18T11:36:22.520504721Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2023-12-18T11:36:22.521640939Z level=info msg="Migration successfully executed" id="create user table" duration=1.137358ms grafana | logger=migrator t=2023-12-18T11:36:22.528659279Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2023-12-18T11:36:22.530006397Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.347228ms grafana | logger=migrator t=2023-12-18T11:36:22.536811296Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2023-12-18T11:36:22.538316026Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.511141ms grafana | logger=migrator t=2023-12-18T11:36:22.542140582Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2023-12-18T11:36:22.542951319Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=810.366µs grafana | logger=migrator t=2023-12-18T11:36:22.547894252Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2023-12-18T11:36:22.549013001Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.118458ms grafana | logger=migrator t=2023-12-18T11:36:22.552835307Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2023-12-18T11:36:22.557226768Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.390591ms grafana | logger=migrator t=2023-12-18T11:36:22.560677322Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2023-12-18T11:36:22.561426167Z level=info msg="Migration successfully executed" id="create user table v2" duration=748.155µs grafana | logger=migrator t=2023-12-18T11:36:22.566819155Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2023-12-18T11:36:22.567683032Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=861.817µs grafana | logger=migrator t=2023-12-18T11:36:22.571207306Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2023-12-18T11:36:22.572451374Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.243848ms grafana | logger=migrator t=2023-12-18T11:36:22.5774938Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2023-12-18T11:36:22.578016354Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=521.814µs grafana | logger=migrator t=2023-12-18T11:36:22.583351511Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2023-12-18T11:36:22.583943285Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=591.194µs grafana | logger=migrator t=2023-12-18T11:36:22.588790309Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2023-12-18T11:36:22.590590832Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.799373ms grafana | logger=migrator t=2023-12-18T11:36:22.595208624Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2023-12-18T11:36:22.595271554Z level=info msg="Migration successfully executed" id="Update user table charset" duration=63.47µs grafana | logger=migrator t=2023-12-18T11:36:22.5988458Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2023-12-18T11:36:22.600584551Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.737631ms grafana | logger=migrator t=2023-12-18T11:36:22.60607556Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2023-12-18T11:36:22.606345732Z level=info msg="Migration successfully executed" id="Add missing user data" duration=269.592µs grafana | logger=migrator t=2023-12-18T11:36:22.609580394Z level=info msg="Executing migration" id="Add is_disabled column to user" mariadb | 2023-12-18 11:36:18+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-12-18 11:36:18+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2023-12-18 11:36:18+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-12-18 11:36:18+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2023-12-18 11:36:18 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-12-18 11:36:18 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-18 11:36:18 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2023-12-18 11:36:20+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2023-12-18 11:36:20+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2023-12-18 11:36:20+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2023-12-18 11:36:20 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 95 ... mariadb | 2023-12-18 11:36:20 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-12-18 11:36:20 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-12-18 11:36:20 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-12-18 11:36:20 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-12-18 11:36:20 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-12-18 11:36:20 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-18 11:36:20 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-12-18 11:36:20 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-12-18 11:36:20 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-12-18 11:36:20 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-12-18 11:36:20 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-12-18 11:36:20 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-12-18 11:36:20 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2023-12-18 11:36:20 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-12-18 11:36:20 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-12-18 11:36:20 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-12-18 11:36:20 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-12-18 11:36:20 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2023-12-18 11:36:21+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2023-12-18 11:36:22+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2023-12-18 11:36:22+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2023-12-18 11:36:22+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2023-12-18 11:36:22+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 grafana | logger=migrator t=2023-12-18T11:36:22.610731093Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.150339ms grafana | logger=migrator t=2023-12-18T11:36:22.614080486Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2023-12-18T11:36:22.615299666Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.2187ms grafana | logger=migrator t=2023-12-18T11:36:22.61884542Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2023-12-18T11:36:22.620272359Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.427279ms grafana | logger=migrator t=2023-12-18T11:36:22.625807948Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2023-12-18T11:36:22.635224065Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=9.415427ms grafana | logger=migrator t=2023-12-18T11:36:22.638749119Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2023-12-18T11:36:22.639521304Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=771.095µs grafana | logger=migrator t=2023-12-18T11:36:22.642734667Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2023-12-18T11:36:22.643518753Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=784.896µs grafana | logger=migrator t=2023-12-18T11:36:22.648796659Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2023-12-18T11:36:22.649605796Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=808.987µs grafana | logger=migrator t=2023-12-18T11:36:22.653785904Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2023-12-18T11:36:22.654988173Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.198679ms grafana | logger=migrator t=2023-12-18T11:36:22.658605738Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2023-12-18T11:36:22.659397204Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=790.786µs grafana | logger=migrator t=2023-12-18T11:36:22.724937933Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2023-12-18T11:36:22.724972994Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=37.301µs grafana | logger=migrator t=2023-12-18T11:36:22.728937411Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2023-12-18T11:36:22.73011Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.172909ms grafana | logger=migrator t=2023-12-18T11:36:22.733692384Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2023-12-18T11:36:22.73446143Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=769.566µs grafana | logger=migrator t=2023-12-18T11:36:22.739524775Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2023-12-18T11:36:22.74026956Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=744.975µs grafana | logger=migrator t=2023-12-18T11:36:22.743599194Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2023-12-18T11:36:22.74434802Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=749.847µs grafana | logger=migrator t=2023-12-18T11:36:22.747574012Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-18T11:36:22.751194237Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.619825ms grafana | logger=migrator t=2023-12-18T11:36:22.756476874Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2023-12-18T11:36:22.7573173Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=839.836µs grafana | logger=migrator t=2023-12-18T11:36:22.761698571Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2023-12-18T11:36:22.7630116Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.312669ms grafana | logger=migrator t=2023-12-18T11:36:22.792507597Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2023-12-18T11:36:22.793755395Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.247678ms grafana | logger=migrator t=2023-12-18T11:36:22.798254017Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2023-12-18T11:36:22.799480965Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.224418ms grafana | logger=migrator t=2023-12-18T11:36:22.817628803Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2023-12-18T11:36:22.818890721Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.262168ms grafana | logger=migrator t=2023-12-18T11:36:22.853820426Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2023-12-18T11:36:22.854528831Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=708.695µs grafana | logger=migrator t=2023-12-18T11:36:22.859700177Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2023-12-18T11:36:22.860563803Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=859.736µs grafana | logger=migrator t=2023-12-18T11:36:22.867449802Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2023-12-18T11:36:22.868086196Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=635.554µs grafana | logger=migrator t=2023-12-18T11:36:22.873800426Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2023-12-18T11:36:22.874883613Z level=info msg="Migration successfully executed" id="create star table" duration=1.081797ms grafana | logger=migrator t=2023-12-18T11:36:22.880923595Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2023-12-18T11:36:22.881787682Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=863.867µs grafana | logger=migrator t=2023-12-18T11:36:22.886963409Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2023-12-18T11:36:22.888169136Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.204487ms grafana | logger=migrator t=2023-12-18T11:36:22.893667235Z level=info msg="Executing migration" id="create index UQE_org_name - v1" policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.2:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.4: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 | [2023-12-18T11:36:32.576+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 32 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2023-12-18T11:36:32.579+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2023-12-18T11:36:33.932+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2023-12-18T11:36:34.054+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 111 ms. Found 6 JPA repository interfaces. policy-api | [2023-12-18T11:36:35.199+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2023-12-18T11:36:35.213+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2023-12-18T11:36:35.213+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2023-12-18T11:36:35.213+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2023-12-18T11:36:35.311+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2023-12-18T11:36:35.311+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2671 ms policy-api | [2023-12-18T11:36:35.898+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2023-12-18T11:36:36.039+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2023-12-18T11:36:36.296+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2023-12-18T11:36:36.439+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2023-12-18T11:36:36.551+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2023-12-18T11:36:36.584+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2023-12-18T11:36:38.097+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2023-12-18T11:36:38.111+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2023-12-18T11:36:39.347+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2023-12-18T11:36:40.116+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2023-12-18T11:36:41.181+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@2416378c, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@3c7b040f, org.springframework.security.web.context.SecurityContextPersistenceFilter@14c5625d, org.springframework.security.web.header.HeaderWriterFilter@3b48ffe8, org.springframework.security.web.authentication.logout.LogoutFilter@9af2a00, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@42d039ef, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@119b837, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@3d44f15d, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@7f2163d3, org.springframework.security.web.session.SessionManagementFilter@8dba70a, org.springframework.security.web.access.ExceptionTranslationFilter@efbc6a1, org.springframework.security.web.access.intercept.AuthorizationFilter@625439ba] policy-api | [2023-12-18T11:36:41.310+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 | [2023-12-18T11:36:44.896+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2023-12-18T11:36:44.926+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2023-12-18T11:36:44.965+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | 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 | 2023-12-18 11:36:23+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2023-12-18 11:36:23 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2023-12-18 11:36:23 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2023-12-18 11:36:23 0 [Note] InnoDB: Starting shutdown... mariadb | 2023-12-18 11:36:23 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2023-12-18 11:36:23 0 [Note] InnoDB: Buffer pool(s) dump completed at 231218 11:36:23 mariadb | 2023-12-18 11:36:24 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2023-12-18 11:36:24 0 [Note] InnoDB: Shutdown completed; log sequence number 332837; transaction id 298 mariadb | 2023-12-18 11:36:24 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2023-12-18 11:36:24+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2023-12-18 11:36:24+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2023-12-18 11:36:24 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2023-12-18 11:36:24 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-12-18 11:36:24 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-12-18 11:36:24 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-12-18 11:36:24 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-12-18 11:36:24 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-12-18 11:36:24 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-18 11:36:24 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-12-18 11:36:24 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-12-18 11:36:24 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-12-18 11:36:24 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-12-18 11:36:24 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-12-18 11:36:24 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-12-18 11:36:24 0 [Note] InnoDB: log sequence number 332837; transaction id 299 mariadb | 2023-12-18 11:36:24 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2023-12-18 11:36:24 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-12-18 11:36:24 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-12-18 11:36:24 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2023-12-18 11:36:24 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2023-12-18 11:36:24 0 [Note] Server socket created on IP: '::'. mariadb | 2023-12-18 11:36:24 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 | 2023-12-18 11:36:24 0 [Note] InnoDB: Buffer pool(s) load completed at 231218 11:36:24 mariadb | 2023-12-18 11:36:25 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) mariadb | 2023-12-18 11:36:25 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) policy-api | [2023-12-18T11:36:44.982+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 13.249 seconds (JVM running for 13.884) policy-api | [2023-12-18T11:36:50.706+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2023-12-18T11:36:50.707+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2023-12-18T11:36:50.709+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms policy-api | [2023-12-18T11:36:53.451+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2023-12-18T11:36:53.557+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes policy-api | [2023-12-18T11:36:53.788+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2023-12-18T11:36:54.852+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2023-12-18T11:36:56.909+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2023-12-18T11:36:57.329+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2023-12-18T11:36:57.545+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 | [2023-12-18T11:36:57.772+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2023-12-18T11:36:58.009+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2023-12-18T11:36:58.271+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2023-12-18T11:36:22.894945614Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.278249ms grafana | logger=migrator t=2023-12-18T11:36:22.898470309Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2023-12-18T11:36:22.899586277Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.113317ms grafana | logger=migrator t=2023-12-18T11:36:22.927127949Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2023-12-18T11:36:22.928399278Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.270999ms grafana | logger=migrator t=2023-12-18T11:36:22.935834621Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2023-12-18T11:36:22.93720209Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.367149ms grafana | logger=migrator t=2023-12-18T11:36:22.9443796Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2023-12-18T11:36:22.945637789Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.257949ms grafana | logger=migrator t=2023-12-18T11:36:22.95011978Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2023-12-18T11:36:22.950157351Z level=info msg="Migration successfully executed" id="Update org table charset" duration=39.361µs grafana | logger=migrator t=2023-12-18T11:36:22.95579854Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2023-12-18T11:36:22.955829651Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=32.671µs grafana | logger=migrator t=2023-12-18T11:36:22.961708101Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2023-12-18T11:36:22.962022043Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=312.752µs grafana | logger=migrator t=2023-12-18T11:36:22.965489989Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2023-12-18T11:36:22.966602906Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.112327ms grafana | logger=migrator t=2023-12-18T11:36:22.970883846Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2023-12-18T11:36:22.971705692Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=821.836µs grafana | logger=migrator t=2023-12-18T11:36:22.974810554Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2023-12-18T11:36:22.975704409Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=895.305µs grafana | logger=migrator t=2023-12-18T11:36:22.982351037Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2023-12-18T11:36:22.983121062Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=767.405µs grafana | logger=migrator t=2023-12-18T11:36:22.986796307Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2023-12-18T11:36:22.988338749Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.541532ms grafana | logger=migrator t=2023-12-18T11:36:22.991949434Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2023-12-18T11:36:22.993173782Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.224528ms grafana | logger=migrator t=2023-12-18T11:36:22.999797619Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2023-12-18T11:36:23.008446502Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=8.646853ms grafana | logger=migrator t=2023-12-18T11:36:23.013179701Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2023-12-18T11:36:23.013978599Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=798.448µs grafana | logger=migrator t=2023-12-18T11:36:23.017168272Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2023-12-18T11:36:23.01796808Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=799.668µs grafana | logger=migrator t=2023-12-18T11:36:23.022973753Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2023-12-18T11:36:23.024215405Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.241502ms grafana | logger=migrator t=2023-12-18T11:36:23.027800823Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2023-12-18T11:36:23.028394869Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=593.316µs grafana | logger=migrator t=2023-12-18T11:36:23.031883445Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2023-12-18T11:36:23.033455992Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.571826ms grafana | logger=migrator t=2023-12-18T11:36:23.081054085Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2023-12-18T11:36:23.081373738Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=324.343µs grafana | logger=migrator t=2023-12-18T11:36:23.085324649Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2023-12-18T11:36:23.088389481Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=3.064042ms grafana | logger=migrator t=2023-12-18T11:36:23.091949609Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2023-12-18T11:36:23.093697047Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.746678ms grafana | logger=migrator t=2023-12-18T11:36:23.098037883Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2023-12-18T11:36:23.099807481Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.769158ms grafana | logger=migrator t=2023-12-18T11:36:23.104783333Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2023-12-18T11:36:23.105730233Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=943.16µs grafana | logger=migrator t=2023-12-18T11:36:23.109311141Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2023-12-18T11:36:23.11111271Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.8008ms grafana | logger=migrator t=2023-12-18T11:36:23.11501241Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb 3306 port [tcp/mysql] succeeded! policy-db-migrator | 314 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 policy-db-migrator | upgrade: 0 -> 1200 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | 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 | 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 | -------------- grafana | logger=migrator t=2023-12-18T11:36:23.116125202Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.110722ms grafana | logger=migrator t=2023-12-18T11:36:23.121185435Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2023-12-18T11:36:23.12256311Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.376255ms grafana | logger=migrator t=2023-12-18T11:36:23.126122966Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2023-12-18T11:36:23.126151107Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=28.541µs grafana | logger=migrator t=2023-12-18T11:36:23.129268489Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2023-12-18T11:36:23.1292972Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=29.151µs grafana | logger=migrator t=2023-12-18T11:36:23.134888008Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2023-12-18T11:36:23.137875369Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.986451ms grafana | logger=migrator t=2023-12-18T11:36:23.142451597Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2023-12-18T11:36:23.144516038Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.063901ms grafana | logger=migrator t=2023-12-18T11:36:23.147850774Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2023-12-18T11:36:23.149680813Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.829989ms grafana | logger=migrator t=2023-12-18T11:36:23.155223951Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2023-12-18T11:36:23.157121821Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.89736ms grafana | logger=migrator t=2023-12-18T11:36:23.164031653Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2023-12-18T11:36:23.164317766Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=286.633µs grafana | logger=migrator t=2023-12-18T11:36:23.171276879Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2023-12-18T11:36:23.172741695Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.464096ms grafana | logger=migrator t=2023-12-18T11:36:23.17897839Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2023-12-18T11:36:23.18004294Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.0639ms grafana | logger=migrator t=2023-12-18T11:36:23.184670169Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2023-12-18T11:36:23.18470952Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=40.081µs grafana | logger=migrator t=2023-12-18T11:36:23.189140355Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2023-12-18T11:36:23.189908114Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=767.059µs grafana | logger=migrator t=2023-12-18T11:36:23.196792096Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2023-12-18T11:36:23.197805846Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.01333ms grafana | logger=migrator t=2023-12-18T11:36:23.203324214Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-18T11:36:23.214752494Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=11.42861ms grafana | logger=migrator t=2023-12-18T11:36:23.221790227Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2023-12-18T11:36:23.222292922Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=508.835µs grafana | logger=migrator t=2023-12-18T11:36:23.225340834Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2023-12-18T11:36:23.226654459Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.312935ms grafana | logger=migrator t=2023-12-18T11:36:23.236090657Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2023-12-18T11:36:23.237700534Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.609307ms grafana | logger=migrator t=2023-12-18T11:36:23.248262834Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2023-12-18T11:36:23.24874346Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=484.436µs grafana | logger=migrator t=2023-12-18T11:36:23.254418329Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2023-12-18T11:36:23.255253438Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=835.119µs grafana | logger=migrator t=2023-12-18T11:36:23.263006969Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2023-12-18T11:36:23.266290023Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.283104ms grafana | logger=migrator t=2023-12-18T11:36:23.271781141Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2023-12-18T11:36:23.273280376Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=1.498745ms grafana | logger=migrator t=2023-12-18T11:36:23.281547622Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2023-12-18T11:36:23.282000458Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=458.866µs grafana | logger=migrator t=2023-12-18T11:36:23.287123531Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2023-12-18T11:36:23.287427104Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=304.363µs grafana | logger=migrator t=2023-12-18T11:36:23.293248146Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2023-12-18T11:36:23.294578029Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.329814ms grafana | logger=migrator t=2023-12-18T11:36:23.300144597Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2023-12-18T11:36:23.30231787Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.173393ms grafana | logger=migrator t=2023-12-18T11:36:23.311233574Z level=info msg="Executing migration" id="create data_source table" 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 | -------------- 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)) prometheus | ts=2023-12-18T11:36:21.280Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2023-12-18T11:36:21.280Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.1, branch=HEAD, revision=63894216648f0d6be310c9d16fb48293c45c9310)" prometheus | ts=2023-12-18T11:36:21.280Z caller=main.go:588 level=info build_context="(go=go1.21.5, platform=linux/amd64, user=root@71f108ff5632, date=20231208-23:33:22, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2023-12-18T11:36:21.280Z caller=main.go:589 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" prometheus | ts=2023-12-18T11:36:21.280Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2023-12-18T11:36:21.280Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2023-12-18T11:36:21.282Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2023-12-18T11:36:21.283Z caller=main.go:1024 level=info msg="Starting TSDB ..." prometheus | ts=2023-12-18T11:36:21.285Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2023-12-18T11:36:21.285Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2023-12-18T11:36:21.289Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2023-12-18T11:36:21.289Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=3.37µs prometheus | ts=2023-12-18T11:36:21.289Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2023-12-18T11:36:21.290Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2023-12-18T11:36:21.290Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=51.64µs wal_replay_duration=585.555µs wbl_replay_duration=240ns total_replay_duration=685.226µs prometheus | ts=2023-12-18T11:36:21.294Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2023-12-18T11:36:21.294Z caller=main.go:1048 level=info msg="TSDB started" prometheus | ts=2023-12-18T11:36:21.294Z caller=main.go:1230 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2023-12-18T11:36:21.295Z caller=main.go:1267 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.092158ms db_storage=2.08µs remote_storage=2.49µs web_handler=950ns query_engine=1.19µs scrape=253.692µs scrape_sd=150.891µs notify=48.32µs notify_sd=21.161µs rules=2.12µs tracing=8.22µs prometheus | ts=2023-12-18T11:36:21.295Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." prometheus | ts=2023-12-18T11:36:21.295Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:23.312101312Z level=info msg="Migration successfully executed" id="create data_source table" duration=867.539µs grafana | logger=migrator t=2023-12-18T11:36:23.316964743Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2023-12-18T11:36:23.318190156Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.220493ms grafana | logger=migrator t=2023-12-18T11:36:23.325039648Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2023-12-18T11:36:23.326398622Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.355174ms grafana | logger=migrator t=2023-12-18T11:36:23.366224369Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2023-12-18T11:36:23.367446432Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.222003ms grafana | logger=migrator t=2023-12-18T11:36:23.373895529Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2023-12-18T11:36:23.375089612Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.194203ms grafana | logger=migrator t=2023-12-18T11:36:23.3805969Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2023-12-18T11:36:23.391719456Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=11.124486ms grafana | logger=migrator t=2023-12-18T11:36:23.398767459Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2023-12-18T11:36:23.399375766Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=605.486µs grafana | logger=migrator t=2023-12-18T11:36:23.404308187Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2023-12-18T11:36:23.405614921Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.306064ms grafana | logger=migrator t=2023-12-18T11:36:23.414908498Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2023-12-18T11:36:23.415706156Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=797.278µs grafana | logger=migrator t=2023-12-18T11:36:23.424405357Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2023-12-18T11:36:23.425314407Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=910.91µs grafana | logger=migrator t=2023-12-18T11:36:23.431545053Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2023-12-18T11:36:23.434351302Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.80856ms grafana | logger=migrator t=2023-12-18T11:36:23.439175003Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2023-12-18T11:36:23.441452816Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.277243ms grafana | logger=migrator t=2023-12-18T11:36:23.448264527Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2023-12-18T11:36:23.448284578Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=20.961µs grafana | logger=migrator t=2023-12-18T11:36:23.452663573Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2023-12-18T11:36:23.452921537Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=257.694µs grafana | logger=migrator t=2023-12-18T11:36:23.458870189Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2023-12-18T11:36:23.462150463Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.280654ms grafana | logger=migrator t=2023-12-18T11:36:23.467848292Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2023-12-18T11:36:23.468015644Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=167.582µs grafana | logger=migrator t=2023-12-18T11:36:23.477767536Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2023-12-18T11:36:23.478009218Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=243.782µs grafana | logger=migrator t=2023-12-18T11:36:23.489167825Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2023-12-18T11:36:23.492677063Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.508257ms grafana | logger=migrator t=2023-12-18T11:36:23.498485653Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2023-12-18T11:36:23.498678545Z level=info msg="Migration successfully executed" id="Update uid value" duration=194.272µs grafana | logger=migrator t=2023-12-18T11:36:23.505434875Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2023-12-18T11:36:23.506209544Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=772.539µs grafana | logger=migrator t=2023-12-18T11:36:23.511107325Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2023-12-18T11:36:23.512310238Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.202183ms grafana | logger=migrator t=2023-12-18T11:36:23.517107847Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2023-12-18T11:36:23.518174799Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.066402ms grafana | logger=migrator t=2023-12-18T11:36:23.524809658Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2023-12-18T11:36:23.525984811Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.175183ms grafana | logger=migrator t=2023-12-18T11:36:23.535222947Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2023-12-18T11:36:23.536428309Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.204812ms grafana | logger=migrator t=2023-12-18T11:36:23.545761758Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2023-12-18T11:36:23.547015681Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.253463ms grafana | logger=migrator t=2023-12-18T11:36:23.554799192Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2023-12-18T11:36:23.555897563Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.097991ms grafana | logger=migrator t=2023-12-18T11:36:23.559830765Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2023-12-18T11:36:23.560911276Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.080171ms policy-db-migrator | policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0690-toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0770-toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0780-toscarequirements.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:23.57083227Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2023-12-18T11:36:23.572002382Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.170032ms grafana | logger=migrator t=2023-12-18T11:36:23.579294709Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2023-12-18T11:36:23.58997796Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=10.683531ms grafana | logger=migrator t=2023-12-18T11:36:23.594670049Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2023-12-18T11:36:23.595795712Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=1.126212ms grafana | logger=migrator t=2023-12-18T11:36:23.60518648Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2023-12-18T11:36:23.606532943Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=1.347233ms grafana | logger=migrator t=2023-12-18T11:36:23.643318759Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2023-12-18T11:36:23.644528791Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.210203ms grafana | logger=migrator t=2023-12-18T11:36:23.649448403Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2023-12-18T11:36:23.650795657Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.347534ms grafana | logger=migrator t=2023-12-18T11:36:23.658097013Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2023-12-18T11:36:23.658461287Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=364.094µs grafana | logger=migrator t=2023-12-18T11:36:23.667164208Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2023-12-18T11:36:23.668003646Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=839.078µs grafana | logger=migrator t=2023-12-18T11:36:23.673230991Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2023-12-18T11:36:23.673269772Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=39.931µs grafana | logger=migrator t=2023-12-18T11:36:23.682242195Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2023-12-18T11:36:23.686123227Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=3.879902ms grafana | logger=migrator t=2023-12-18T11:36:23.692922678Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2023-12-18T11:36:23.695344883Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.421886ms grafana | logger=migrator t=2023-12-18T11:36:23.700258074Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2023-12-18T11:36:23.700434016Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=176.002µs grafana | logger=migrator t=2023-12-18T11:36:23.70550834Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2023-12-18T11:36:23.70942044Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=3.91214ms grafana | logger=migrator t=2023-12-18T11:36:23.714891537Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2023-12-18T11:36:23.717391903Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.499956ms grafana | logger=migrator t=2023-12-18T11:36:23.720711188Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2023-12-18T11:36:23.721377195Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=665.677µs grafana | logger=migrator t=2023-12-18T11:36:23.724736551Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2023-12-18T11:36:23.725263296Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=525.115µs grafana | logger=migrator t=2023-12-18T11:36:23.734823316Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2023-12-18T11:36:23.735976168Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.150692ms grafana | logger=migrator t=2023-12-18T11:36:23.744926082Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2023-12-18T11:36:23.746248365Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.321783ms grafana | logger=migrator t=2023-12-18T11:36:23.7533867Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2023-12-18T11:36:23.754656573Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.266933ms grafana | logger=migrator t=2023-12-18T11:36:23.758361133Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2023-12-18T11:36:23.759712556Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.351093ms grafana | logger=migrator t=2023-12-18T11:36:23.763962171Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2023-12-18T11:36:23.764086263Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=125.212µs grafana | logger=migrator t=2023-12-18T11:36:23.772860244Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2023-12-18T11:36:23.772884664Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=25.3µs grafana | logger=migrator t=2023-12-18T11:36:23.779344372Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2023-12-18T11:36:23.783534016Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.189044ms grafana | logger=migrator t=2023-12-18T11:36:23.788222915Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2023-12-18T11:36:23.790837852Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.614587ms grafana | logger=migrator t=2023-12-18T11:36:23.799159609Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2023-12-18T11:36:23.79924704Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=88.151µs grafana | logger=migrator t=2023-12-18T11:36:23.807292125Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2023-12-18T11:36:23.808319685Z level=info msg="Migration successfully executed" id="create quota table v1" duration=1.027201ms grafana | logger=migrator t=2023-12-18T11:36:23.815313378Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2023-12-18T11:36:23.816933785Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.618917ms grafana | logger=migrator t=2023-12-18T11:36:23.821635974Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2023-12-18T11:36:23.821675905Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=38.311µs grafana | logger=migrator t=2023-12-18T11:36:23.828127472Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2023-12-18T11:36:23.829223974Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.096002ms grafana | logger=migrator t=2023-12-18T11:36:23.835822323Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2023-12-18T11:36:23.837096497Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.273314ms grafana | logger=migrator t=2023-12-18T11:36:23.842862617Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2023-12-18T11:36:23.847792358Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.935701ms grafana | logger=migrator t=2023-12-18T11:36:23.854138295Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2023-12-18T11:36:23.854167615Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=33.94µs grafana | logger=migrator t=2023-12-18T11:36:23.859597232Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2023-12-18T11:36:23.860823224Z level=info msg="Migration successfully executed" id="create session table" duration=1.273972ms grafana | logger=migrator t=2023-12-18T11:36:23.867642986Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2023-12-18T11:36:23.867777398Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=135.162µs grafana | logger=migrator t=2023-12-18T11:36:23.872899Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2023-12-18T11:36:23.873101833Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=208.283µs grafana | logger=migrator t=2023-12-18T11:36:23.877168006Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2023-12-18T11:36:23.878259307Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.093011ms grafana | logger=migrator t=2023-12-18T11:36:23.882689113Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2023-12-18T11:36:23.883690733Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.00135ms grafana | logger=migrator t=2023-12-18T11:36:23.923782122Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2023-12-18T11:36:23.923820763Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=40.631µs grafana | logger=migrator t=2023-12-18T11:36:23.932509514Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2023-12-18T11:36:23.932546814Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=38.18µs grafana | logger=migrator t=2023-12-18T11:36:23.937454165Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2023-12-18T11:36:23.942253746Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.79885ms grafana | logger=migrator t=2023-12-18T11:36:23.950653234Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2023-12-18T11:36:23.953630695Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=2.977721ms grafana | logger=migrator t=2023-12-18T11:36:23.95883327Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2023-12-18T11:36:23.95891377Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=80.73µs grafana | logger=migrator t=2023-12-18T11:36:23.962854882Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2023-12-18T11:36:23.962941403Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=85.421µs grafana | logger=migrator t=2023-12-18T11:36:23.965550521Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2023-12-18T11:36:23.966733443Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.182522ms grafana | logger=migrator t=2023-12-18T11:36:23.971332141Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2023-12-18T11:36:23.971370942Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=39.951µs grafana | logger=migrator t=2023-12-18T11:36:23.974833468Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2023-12-18T11:36:23.9779638Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.127672ms grafana | logger=migrator t=2023-12-18T11:36:23.981690629Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2023-12-18T11:36:23.981883461Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=191.182µs grafana | logger=migrator t=2023-12-18T11:36:23.986268097Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2023-12-18T11:36:23.98944094Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.170583ms grafana | logger=migrator t=2023-12-18T11:36:23.99323691Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2023-12-18T11:36:23.996325263Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.087213ms grafana | logger=migrator t=2023-12-18T11:36:23.999762059Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2023-12-18T11:36:23.999828029Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=66.19µs grafana | logger=migrator t=2023-12-18T11:36:24.00369009Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2023-12-18T11:36:24.004704441Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.013891ms grafana | logger=migrator t=2023-12-18T11:36:24.009877586Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2023-12-18T11:36:24.011239157Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.362051ms grafana | logger=migrator t=2023-12-18T11:36:24.015182284Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2023-12-18T11:36:24.016692525Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.509401ms grafana | logger=migrator t=2023-12-18T11:36:24.021965462Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2023-12-18T11:36:24.022909109Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=943.907µs grafana | logger=migrator t=2023-12-18T11:36:24.026928687Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2023-12-18T11:36:24.028295147Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.3663ms grafana | logger=migrator t=2023-12-18T11:36:24.032059383Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2023-12-18T11:36:24.033446533Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.38661ms grafana | logger=migrator t=2023-12-18T11:36:24.038291426Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2023-12-18T11:36:24.038988532Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=695.576µs grafana | logger=migrator t=2023-12-18T11:36:24.042546697Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2023-12-18T11:36:24.043465033Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=918.836µs grafana | logger=migrator t=2023-12-18T11:36:24.047073619Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2023-12-18T11:36:24.048419058Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.345139ms grafana | logger=migrator t=2023-12-18T11:36:24.053204422Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2023-12-18T11:36:24.068360278Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=15.157766ms grafana | logger=migrator t=2023-12-18T11:36:24.071977964Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2023-12-18T11:36:24.072477008Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=498.894µs grafana | logger=migrator t=2023-12-18T11:36:24.076041702Z 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=2023-12-18T11:36:24.076718697Z 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=677.435µs grafana | logger=migrator t=2023-12-18T11:36:24.081108008Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2023-12-18T11:36:24.081483811Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=375.093µs grafana | logger=migrator t=2023-12-18T11:36:24.084793404Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2023-12-18T11:36:24.085434388Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=640.494µs grafana | logger=migrator t=2023-12-18T11:36:24.089262475Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2023-12-18T11:36:24.090412883Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.149388ms grafana | logger=migrator t=2023-12-18T11:36:24.095377718Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2023-12-18T11:36:24.098932332Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.553674ms grafana | logger=migrator t=2023-12-18T11:36:24.102565147Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2023-12-18T11:36:24.106141313Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.572636ms grafana | logger=migrator t=2023-12-18T11:36:24.109535786Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2023-12-18T11:36:24.113188211Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.651455ms grafana | logger=migrator t=2023-12-18T11:36:24.118102326Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2023-12-18T11:36:24.12166527Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.561944ms grafana | logger=migrator t=2023-12-18T11:36:24.125115344Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2023-12-18T11:36:24.126105012Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=989.598µs grafana | logger=migrator t=2023-12-18T11:36:24.129470895Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2023-12-18T11:36:24.129499965Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=27.94µs grafana | logger=migrator t=2023-12-18T11:36:24.134039777Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2023-12-18T11:36:24.134078367Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=40.35µs grafana | logger=migrator t=2023-12-18T11:36:24.137983904Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2023-12-18T11:36:24.139194773Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.209939ms grafana | logger=migrator t=2023-12-18T11:36:24.143018989Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-12-18T11:36:24.144037066Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.016957ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2023-12-18T11:36:24.147711892Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2023-12-18T11:36:24.148526507Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=812.515µs grafana | logger=migrator t=2023-12-18T11:36:24.152902337Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2023-12-18T11:36:24.153742224Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=839.077µs grafana | logger=migrator t=2023-12-18T11:36:24.157673201Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-12-18T11:36:24.159188161Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.51453ms grafana | logger=migrator t=2023-12-18T11:36:24.20505175Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2023-12-18T11:36:24.211532695Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=6.498695ms grafana | logger=migrator t=2023-12-18T11:36:24.223410668Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2023-12-18T11:36:24.22943771Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=6.026441ms grafana | logger=migrator t=2023-12-18T11:36:24.238784994Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2023-12-18T11:36:24.239062826Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=276.562µs grafana | logger=migrator t=2023-12-18T11:36:24.249782011Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2023-12-18T11:36:24.251565884Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.784723ms grafana | logger=migrator t=2023-12-18T11:36:24.263981719Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2023-12-18T11:36:24.264970936Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=986.467µs grafana | logger=migrator t=2023-12-18T11:36:24.276049123Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2023-12-18T11:36:24.282568589Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=6.520346ms grafana | logger=migrator t=2023-12-18T11:36:24.311058417Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2023-12-18T11:36:24.311347769Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=285.342µs grafana | logger=migrator t=2023-12-18T11:36:24.317210429Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2023-12-18T11:36:24.318206086Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=994.417µs grafana | logger=migrator t=2023-12-18T11:36:24.322121434Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2023-12-18T11:36:24.323192091Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.073058ms grafana | logger=migrator t=2023-12-18T11:36:24.328666759Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2023-12-18T11:36:24.32886921Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=202.321µs grafana | logger=migrator t=2023-12-18T11:36:24.333534873Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2023-12-18T11:36:24.334960472Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.423269ms grafana | logger=migrator t=2023-12-18T11:36:24.339935707Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2023-12-18T11:36:24.341507669Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.572422ms grafana | logger=migrator t=2023-12-18T11:36:24.345440015Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2023-12-18T11:36:24.346375091Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=934.936µs grafana | logger=migrator t=2023-12-18T11:36:24.351669288Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2023-12-18T11:36:24.353429161Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.755903ms grafana | logger=migrator t=2023-12-18T11:36:24.357305878Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2023-12-18T11:36:24.35910368Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.797292ms grafana | logger=migrator t=2023-12-18T11:36:24.364125975Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2023-12-18T11:36:24.365243013Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.116348ms grafana | logger=migrator t=2023-12-18T11:36:24.370771801Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2023-12-18T11:36:24.370797762Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=26.941µs grafana | logger=migrator t=2023-12-18T11:36:24.374663829Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2023-12-18T11:36:24.378736467Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.071958ms grafana | logger=migrator t=2023-12-18T11:36:24.382247261Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2023-12-18T11:36:24.383139068Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=891.717µs grafana | logger=migrator t=2023-12-18T11:36:24.387152195Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2023-12-18T11:36:24.391034652Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.881517ms grafana | logger=migrator t=2023-12-18T11:36:24.394294475Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2023-12-18T11:36:24.39498445Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=689.035µs grafana | logger=migrator t=2023-12-18T11:36:24.400490748Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2023-12-18T11:36:24.401399194Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=907.556µs grafana | logger=migrator t=2023-12-18T11:36:24.404911138Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2023-12-18T11:36:24.406290548Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.37888ms grafana | logger=migrator t=2023-12-18T11:36:24.409929804Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2023-12-18T11:36:24.428903925Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=18.974891ms grafana | logger=migrator t=2023-12-18T11:36:24.480339323Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2023-12-18T11:36:24.481542351Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=1.197958ms grafana | logger=migrator t=2023-12-18T11:36:24.485570139Z 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=2023-12-18T11:36:24.487160711Z 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.589902ms grafana | logger=migrator t=2023-12-18T11:36:24.492118914Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2023-12-18T11:36:24.492394097Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=274.573µs grafana | logger=migrator t=2023-12-18T11:36:24.496946718Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2023-12-18T11:36:24.497879335Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=932.567µs grafana | logger=migrator t=2023-12-18T11:36:24.503287252Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2023-12-18T11:36:24.503584925Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=299.443µs grafana | logger=migrator t=2023-12-18T11:36:24.507498352Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2023-12-18T11:36:24.511563049Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.065507ms grafana | logger=migrator t=2023-12-18T11:36:24.515797389Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2023-12-18T11:36:24.519835157Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.037478ms grafana | logger=migrator t=2023-12-18T11:36:24.52458266Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2023-12-18T11:36:24.525495996Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=913.236µs grafana | logger=migrator t=2023-12-18T11:36:24.53029474Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2023-12-18T11:36:24.531765291Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.4699ms grafana | logger=migrator t=2023-12-18T11:36:24.53613468Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2023-12-18T11:36:24.536503833Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=369.183µs grafana | logger=migrator t=2023-12-18T11:36:24.54183146Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2023-12-18T11:36:24.545902439Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.070079ms grafana | logger=migrator t=2023-12-18T11:36:24.549506873Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2023-12-18T11:36:24.550367579Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=859.876µs grafana | logger=migrator t=2023-12-18T11:36:24.555089622Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2023-12-18T11:36:24.555250793Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=162.831µs grafana | logger=migrator t=2023-12-18T11:36:24.560750472Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.561357666Z level=info msg="Migration successfully executed" id="Move region to single row" duration=607.044µs policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2023-12-18T11:36:24.566735783Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.567542578Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=806.615µs policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.572335362Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.573752682Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.41669ms policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2023-12-18T11:36:24.579473352Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.581000922Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.52589ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2023-12-18T11:36:24.585745306Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.586611701Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=866.056µs policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.591341254Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.592697233Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.355699ms policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2023-12-18T11:36:24.597524497Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.599070268Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.545261ms policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2023-12-18T11:36:24.602982655Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.603089376Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=106.891µs policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.609136737Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.610453247Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.31479ms policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2023-12-18T11:36:24.618438203Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.619205188Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=767.065µs policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2023-12-18T11:36:24.627462085Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.629187037Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.723532ms policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.632911673Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.633850809Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=938.756µs policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2023-12-18T11:36:24.638027459Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.63823351Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=205.721µs policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2023-12-18T11:36:24.641766865Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.642118147Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=351.422µs policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.645780632Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.645844042Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=61.91µs policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2023-12-18T11:36:24.649349447Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2023-12-18T11:36:24.650508055Z level=info msg="Migration successfully executed" id="create team table" duration=1.158638ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.655368659Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.656798319Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.42908ms policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.660901128Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2023-12-18T11:36:24.662500238Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.59863ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.666492007Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-12-18T11:36:24.670947417Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.45454ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.675436578Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.67561925Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=180.812µs policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.679089074Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2023-12-18T11:36:24.680023901Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=934.637µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.683520795Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-12-18T11:36:24.68424668Z level=info msg="Migration successfully executed" id="create team member table" duration=725.885µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.688746771Z level=info msg="Executing migration" id="add index team_member.org_id" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.689746198Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.000787ms policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.693378213Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2023-12-18T11:36:24.694882904Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.504531ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.698485868Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-12-18T11:36:24.699517026Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.031618ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.703957217Z level=info msg="Executing migration" id="Add column email to team table" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.708576999Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.619102ms policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.711946162Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2023-12-18T11:36:24.716453664Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.507722ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.719865577Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-12-18T11:36:24.724304108Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.438171ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.758958759Z level=info msg="Executing migration" id="create dashboard acl table" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.7606409Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.678701ms policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.765893377Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2023-12-18T11:36:24.766834554Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=943.397µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.77055229Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-12-18T11:36:24.771606577Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.054197ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.776830943Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.77784071Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.010547ms policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.781480456Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2023-12-18T11:36:24.782917185Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.435419ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.787129635Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-12-18T11:36:24.788828146Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.697321ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.793585099Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.794533956Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=946.527µs policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.798184712Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2023-12-18T11:36:24.799161178Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=976.226µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.802695883Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-12-18T11:36:24.803272597Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=576.344µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.807876809Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.80810951Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=232.822µs policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.811576625Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2023-12-18T11:36:24.812229429Z level=info msg="Migration successfully executed" id="create tag table" duration=652.684µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.817459336Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-12-18T11:36:24.819305418Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.845502ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.823261196Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.82392588Z level=info msg="Migration successfully executed" id="create login attempt table" duration=664.284µs policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.827561795Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-12-18T11:36:24.828432842Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=870.537µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.831790395Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.832618271Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=827.746µs policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.837144222Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2023-12-18T11:36:24.856425977Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=19.283795ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.859932401Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-12-18T11:36:24.860405924Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=473.393µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.864879055Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.865773501Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=894.076µs policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.869503277Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2023-12-18T11:36:24.869780199Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=276.622µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.873195823Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2023-12-18T11:36:24.873776017Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=579.464µs grafana | logger=migrator t=2023-12-18T11:36:24.87716066Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-12-18T11:36:24.877828665Z level=info msg="Migration successfully executed" id="create user auth table" duration=667.375µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.882736909Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.883624345Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=884.756µs policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.887255601Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2023-12-18T11:36:24.887316451Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=60.99µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.891029327Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2023-12-18T11:36:24.895945001Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=4.914844ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.900258101Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.905119044Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=4.860063ms policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.90877983Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2023-12-18T11:36:24.913673054Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=4.892484ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.917636481Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2023-12-18T11:36:24.922487785Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=4.850464ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.927349679Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.928209925Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=857.476µs policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.93191099Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2023-12-18T11:36:24.936820085Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=4.910165ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.940777833Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2023-12-18T11:36:24.941524888Z level=info msg="Migration successfully executed" id="create server_lock table" duration=746.985µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.946474482Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.947351548Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=877.066µs policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.950887212Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2023-12-18T11:36:24.951627098Z level=info msg="Migration successfully executed" id="create user auth token table" duration=739.546µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.955469544Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL grafana | logger=migrator t=2023-12-18T11:36:24.95636007Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=890.366µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.961394496Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.962304602Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=909.466µs policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.965800107Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2023-12-18T11:36:24.966763133Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.017507ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.971230394Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num grafana | logger=migrator t=2023-12-18T11:36:24.97641947Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.188076ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.981281854Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.98220614Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=921.686µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.986171788Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2023-12-18T11:36:24.986892963Z level=info msg="Migration successfully executed" id="create cache_data table" duration=720.775µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:24.991013942Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.991910778Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=895.056µs policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:24.996299688Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | > upgrade 0150-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2023-12-18T11:36:24.997097384Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=798.696µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.001158732Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:25.002086639Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=927.157µs policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:25.040547076Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2023-12-18T11:36:25.040618406Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=71.21µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.045527791Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2023-12-18T11:36:25.045605461Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=77.77µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.049159805Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:25.049944442Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=784.067µs policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:25.053665007Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2023-12-18T11:36:25.054587443Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=921.986µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.059624088Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2023-12-18T11:36:25.060535694Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=911.186µs policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2023-12-18T11:36:25.063948328Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2023-12-18T11:36:25.064009429Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=61.281µs policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2023-12-18T11:36:25.067453182Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.068322768Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=869.676µs policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:25.072064995Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:25.072924781Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=857.066µs policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2023-12-18T11:36:25.078313818Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.080362201Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=2.048983ms policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2023-12-18T11:36:25.084151309Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.08591818Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.765711ms policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:25.091286788Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:25.096864386Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.576758ms policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2023-12-18T11:36:25.100781944Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.101793581Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.011177ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) grafana | logger=migrator t=2023-12-18T11:36:25.105342295Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.105442986Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=96.021µs policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:25.110127019Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:25.111569909Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.44395ms policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2023-12-18T11:36:25.115985299Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.116963947Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=978.278µs policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2023-12-18T11:36:25.120881014Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.12190518Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.023976ms policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:25.126744934Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:25.126828205Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=82.051µs policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2023-12-18T11:36:25.129463133Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.130402669Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=938.966µs policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2023-12-18T11:36:25.134947941Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.136425881Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.4761ms policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:25.14054039Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:25.141619667Z 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.079427ms policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2023-12-18T11:36:25.145313274Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.14629371Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=980.056µs policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2023-12-18T11:36:25.151101924Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.156845473Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.742759ms policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:25.16206303Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2023-12-18T11:36:25.163252828Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.189288ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.168395743Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) grafana | logger=migrator t=2023-12-18T11:36:25.169570671Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.174648ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.17512361Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:25.211032759Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=35.903199ms policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:25.216256986Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2023-12-18T11:36:25.253860737Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=37.609291ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.260903336Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) grafana | logger=migrator t=2023-12-18T11:36:25.261941973Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.037697ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.265526179Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:25.266447825Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=921.226µs policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:25.272092194Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2023-12-18T11:36:25.277672472Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.579878ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.28169529Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2023-12-18T11:36:25.282499506Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=801.086µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.322290672Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:25.32479107Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=2.498888ms policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:25.3335275Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2023-12-18T11:36:25.335297452Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.764482ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.339968795Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2023-12-18T11:36:25.341901829Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.931654ms 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 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 | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.348462584Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2023-12-18T11:36:25.348530404Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=67.93µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.352901025Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:25.359170428Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=6.268143ms policy-db-migrator | msg grafana | logger=migrator t=2023-12-18T11:36:25.363298167Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2023-12-18T11:36:25.36932099Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.020963ms policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:25.375378311Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2023-12-18T11:36:25.381366403Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.984271ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.385166359Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2023-12-18T11:36:25.386113306Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=949.587µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.389267728Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:25.390818418Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.5485ms policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:25.397218053Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2023-12-18T11:36:25.404790285Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=7.572592ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.408369821Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2023-12-18T11:36:25.414504173Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.133423ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.417981397Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:25.419031104Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.049127ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.425711741Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2023-12-18T11:36:25.431636802Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=5.925711ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.435624029Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:25.441763351Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.138862ms policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:25.445302227Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=migrator t=2023-12-18T11:36:25.445417188Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=114.231µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.448803761Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2023-12-18T11:36:25.449823958Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.020327ms policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.455449977Z 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 | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) grafana | logger=migrator t=2023-12-18T11:36:25.456556145Z 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.105568ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.460009459Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:25.462005143Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" duration=1.993384ms policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:25.469374713Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2023-12-18T11:36:25.469525524Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=152.791µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.474340148Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2023-12-18T11:36:25.48180273Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=7.463452ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.486612194Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:25.492759297Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.146643ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.496266821Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2023-12-18T11:36:25.502431343Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.164072ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-18T11:36:25.5090395Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2023-12-18T11:36:25.515187792Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.147252ms policy-db-migrator | policyadmin: OK: upgrade (1200) grafana | logger=migrator t=2023-12-18T11:36:25.523035647Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | name version grafana | logger=migrator t=2023-12-18T11:36:25.533450679Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=10.415252ms policy-db-migrator | policyadmin 1200 grafana | logger=migrator t=2023-12-18T11:36:25.536723341Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | ID script operation from_version to_version tag success atTime grafana | logger=migrator t=2023-12-18T11:36:25.536807512Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=84.511µs policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:25 grafana | logger=migrator t=2023-12-18T11:36:25.546693081Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:25 grafana | logger=migrator t=2023-12-18T11:36:25.547886069Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.195518ms policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:25 grafana | logger=migrator t=2023-12-18T11:36:25.552014328Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:25 grafana | logger=migrator t=2023-12-18T11:36:25.562020707Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=10.006839ms policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:25 grafana | logger=migrator t=2023-12-18T11:36:25.599599809Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:25 grafana | logger=migrator t=2023-12-18T11:36:25.59975264Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=153.021µs policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:25 grafana | logger=migrator t=2023-12-18T11:36:25.605942792Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:25 grafana | logger=migrator t=2023-12-18T11:36:25.616731867Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=10.776395ms policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:25 grafana | logger=migrator t=2023-12-18T11:36:25.621040877Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:25 grafana | logger=migrator t=2023-12-18T11:36:25.622251006Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.210339ms policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:25 grafana | logger=migrator t=2023-12-18T11:36:25.62577788Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:25 grafana | logger=migrator t=2023-12-18T11:36:25.632132074Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.353994ms policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:26 grafana | logger=migrator t=2023-12-18T11:36:25.637737173Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:26 grafana | logger=migrator t=2023-12-18T11:36:25.638475749Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=738.006µs policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:26 grafana | logger=migrator t=2023-12-18T11:36:25.643574214Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:26 grafana | logger=migrator t=2023-12-18T11:36:25.644552681Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=980.237µs policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:26 grafana | logger=migrator t=2023-12-18T11:36:25.648441337Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:26 grafana | logger=migrator t=2023-12-18T11:36:25.656777255Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=8.339248ms policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:26 grafana | logger=migrator t=2023-12-18T11:36:25.660515842Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:26 grafana | logger=migrator t=2023-12-18T11:36:25.661281357Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=766.375µs policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:26 grafana | logger=migrator t=2023-12-18T11:36:25.67178859Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:26 grafana | logger=migrator t=2023-12-18T11:36:25.672951618Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.161658ms policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:26 grafana | logger=migrator t=2023-12-18T11:36:25.679962607Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:26 grafana | logger=migrator t=2023-12-18T11:36:25.681154255Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.190698ms policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:26 grafana | logger=migrator t=2023-12-18T11:36:25.684716649Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:26 grafana | logger=migrator t=2023-12-18T11:36:25.686258321Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.541202ms policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:26 grafana | logger=migrator t=2023-12-18T11:36:25.69198217Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:26 grafana | logger=migrator t=2023-12-18T11:36:25.692051331Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=69.101µs policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:26 grafana | logger=migrator t=2023-12-18T11:36:25.695438414Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:26 grafana | logger=migrator t=2023-12-18T11:36:25.69629826Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=859.006µs policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:26 grafana | logger=migrator t=2023-12-18T11:36:25.702974597Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:26 grafana | logger=migrator t=2023-12-18T11:36:25.704858829Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.883872ms policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:26 grafana | logger=migrator t=2023-12-18T11:36:25.711583286Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:26 grafana | logger=migrator t=2023-12-18T11:36:25.712215441Z 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 | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:26 grafana | logger=migrator t=2023-12-18T11:36:25.715663614Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:26 grafana | logger=migrator t=2023-12-18T11:36:25.716239438Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=575.234µs policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:26 grafana | logger=migrator t=2023-12-18T11:36:25.719812453Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:26 grafana | logger=migrator t=2023-12-18T11:36:25.721424364Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.611181ms policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:26 grafana | logger=migrator t=2023-12-18T11:36:25.726868602Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:27 grafana | logger=migrator t=2023-12-18T11:36:25.733354068Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.483606ms policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:27 grafana | logger=migrator t=2023-12-18T11:36:25.736940962Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:27 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:27 grafana | logger=migrator t=2023-12-18T11:36:25.737789528Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=855.786µs policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:27 grafana | logger=migrator t=2023-12-18T11:36:25.743137065Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:27 grafana | logger=migrator t=2023-12-18T11:36:25.744693837Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.555422ms policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:27 grafana | logger=migrator t=2023-12-18T11:36:25.750431096Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:27 grafana | logger=migrator t=2023-12-18T11:36:25.751695934Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.263658ms grafana | logger=migrator t=2023-12-18T11:36:25.755139158Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:27 grafana | logger=migrator t=2023-12-18T11:36:25.756359657Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.220489ms policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:27 grafana | logger=migrator t=2023-12-18T11:36:25.75966564Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:27 grafana | logger=migrator t=2023-12-18T11:36:25.760817738Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.148948ms policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:27 grafana | logger=migrator t=2023-12-18T11:36:25.764468164Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:27 grafana | logger=migrator t=2023-12-18T11:36:25.764496784Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=29.25µs policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:27 grafana | logger=migrator t=2023-12-18T11:36:25.768714623Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:27 grafana | logger=migrator t=2023-12-18T11:36:25.768793773Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=81.72µs policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:27 grafana | logger=migrator t=2023-12-18T11:36:25.772068676Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:27 grafana | logger=migrator t=2023-12-18T11:36:25.77260634Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=540.524µs policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:27 grafana | logger=migrator t=2023-12-18T11:36:25.77830468Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:27 grafana | logger=migrator t=2023-12-18T11:36:25.77978409Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.47872ms policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:27 grafana | logger=migrator t=2023-12-18T11:36:25.785434799Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:27 grafana | logger=migrator t=2023-12-18T11:36:25.786323815Z level=info msg="Migration successfully executed" id="create secrets table" duration=889.486µs policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:27 grafana | logger=migrator t=2023-12-18T11:36:25.789691559Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:27 grafana | logger=migrator t=2023-12-18T11:36:25.836778776Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=47.087287ms policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:27 grafana | logger=migrator t=2023-12-18T11:36:25.839850057Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:27 grafana | logger=migrator t=2023-12-18T11:36:25.845499687Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.64844ms policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:27 grafana | logger=migrator t=2023-12-18T11:36:25.89213696Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:27 grafana | logger=migrator t=2023-12-18T11:36:25.892480262Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=339.262µs policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:27 grafana | logger=migrator t=2023-12-18T11:36:25.898943548Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:28 grafana | logger=migrator t=2023-12-18T11:36:25.945981864Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=47.038716ms policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:28 grafana | logger=migrator t=2023-12-18T11:36:25.949172017Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:28 grafana | logger=migrator t=2023-12-18T11:36:25.995206896Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=46.034059ms policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:28 grafana | logger=migrator t=2023-12-18T11:36:26.002014123Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:28 grafana | logger=migrator t=2023-12-18T11:36:26.002858589Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=845.726µs policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:28 grafana | logger=migrator t=2023-12-18T11:36:26.007557621Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:28 grafana | logger=migrator t=2023-12-18T11:36:26.00865514Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.096829ms policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:28 grafana | logger=migrator t=2023-12-18T11:36:26.012281185Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:28 grafana | logger=migrator t=2023-12-18T11:36:26.012600597Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=318.882µs policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:28 grafana | logger=migrator t=2023-12-18T11:36:26.016163772Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:28 grafana | logger=migrator t=2023-12-18T11:36:26.016996367Z level=info msg="Migration successfully executed" id="create permission table" duration=831.515µs policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:28 grafana | logger=migrator t=2023-12-18T11:36:26.023009909Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:28 grafana | logger=migrator t=2023-12-18T11:36:26.024995693Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.984714ms policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:28 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:28 grafana | logger=migrator t=2023-12-18T11:36:26.028644818Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:28 grafana | logger=migrator t=2023-12-18T11:36:26.029906197Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.261279ms policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:28 grafana | logger=migrator t=2023-12-18T11:36:26.036177861Z level=info msg="Executing migration" id="create role table" policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:28 grafana | logger=migrator t=2023-12-18T11:36:26.037334018Z level=info msg="Migration successfully executed" id="create role table" duration=1.153807ms policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:28 grafana | logger=migrator t=2023-12-18T11:36:26.042712266Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:28 grafana | logger=migrator t=2023-12-18T11:36:26.052364192Z level=info msg="Migration successfully executed" id="add column display_name" duration=9.652006ms policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:28 grafana | logger=migrator t=2023-12-18T11:36:26.056920604Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:29 grafana | logger=migrator t=2023-12-18T11:36:26.064533678Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.612304ms policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:29 grafana | logger=migrator t=2023-12-18T11:36:26.068564545Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:29 grafana | logger=migrator t=2023-12-18T11:36:26.069334401Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=769.316µs policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:29 grafana | logger=migrator t=2023-12-18T11:36:26.074191844Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:29 grafana | logger=migrator t=2023-12-18T11:36:26.075979317Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.790573ms policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:29 grafana | logger=migrator t=2023-12-18T11:36:26.080788201Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:29 grafana | logger=migrator t=2023-12-18T11:36:26.082738763Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.949972ms policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1812231136250800u 1 2023-12-18 11:36:29 grafana | logger=migrator t=2023-12-18T11:36:26.08643774Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1812231136250900u 1 2023-12-18 11:36:29 grafana | logger=migrator t=2023-12-18T11:36:26.087275595Z level=info msg="Migration successfully executed" id="create team role table" duration=836.965µs policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1812231136250900u 1 2023-12-18 11:36:29 grafana | logger=migrator t=2023-12-18T11:36:26.091794447Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1812231136250900u 1 2023-12-18 11:36:29 grafana | logger=migrator t=2023-12-18T11:36:26.092852144Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.057697ms policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1812231136250900u 1 2023-12-18 11:36:29 grafana | logger=migrator t=2023-12-18T11:36:26.09659009Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1812231136250900u 1 2023-12-18 11:36:29 grafana | logger=migrator t=2023-12-18T11:36:26.097778209Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.187869ms policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1812231136250900u 1 2023-12-18 11:36:29 grafana | logger=migrator t=2023-12-18T11:36:26.101394633Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1812231136250900u 1 2023-12-18 11:36:29 grafana | logger=migrator t=2023-12-18T11:36:26.10245993Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.064977ms policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1812231136250900u 1 2023-12-18 11:36:29 grafana | logger=migrator t=2023-12-18T11:36:26.106417788Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1812231136250900u 1 2023-12-18 11:36:29 grafana | logger=migrator t=2023-12-18T11:36:26.107373005Z level=info msg="Migration successfully executed" id="create user role table" duration=954.557µs policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1812231136250900u 1 2023-12-18 11:36:29 grafana | logger=migrator t=2023-12-18T11:36:26.114233393Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1812231136250900u 1 2023-12-18 11:36:29 grafana | logger=migrator t=2023-12-18T11:36:26.11529134Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.059657ms policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1812231136250900u 1 2023-12-18 11:36:30 grafana | logger=migrator t=2023-12-18T11:36:26.118675553Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1812231136250900u 1 2023-12-18 11:36:30 grafana | logger=migrator t=2023-12-18T11:36:26.120279635Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.602152ms policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1812231136251000u 1 2023-12-18 11:36:30 grafana | logger=migrator t=2023-12-18T11:36:26.123752498Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1812231136251000u 1 2023-12-18 11:36:30 grafana | logger=migrator t=2023-12-18T11:36:26.125465531Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.713303ms policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1812231136251000u 1 2023-12-18 11:36:30 grafana | logger=migrator t=2023-12-18T11:36:26.166136873Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1812231136251000u 1 2023-12-18 11:36:30 grafana | logger=migrator t=2023-12-18T11:36:26.167468332Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.330299ms policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1812231136251000u 1 2023-12-18 11:36:30 grafana | logger=migrator t=2023-12-18T11:36:26.174896023Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1812231136251000u 1 2023-12-18 11:36:30 grafana | logger=migrator t=2023-12-18T11:36:26.177044448Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=2.147595ms policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1812231136251000u 1 2023-12-18 11:36:30 grafana | logger=migrator t=2023-12-18T11:36:26.180840054Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1812231136251000u 1 2023-12-18 11:36:30 grafana | logger=migrator t=2023-12-18T11:36:26.182197004Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.35389ms policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1812231136251000u 1 2023-12-18 11:36:30 grafana | logger=migrator t=2023-12-18T11:36:26.186146342Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1812231136251100u 1 2023-12-18 11:36:30 grafana | logger=migrator t=2023-12-18T11:36:26.195273604Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=9.125872ms policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1812231136251200u 1 2023-12-18 11:36:30 grafana | logger=migrator t=2023-12-18T11:36:26.198784819Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1812231136251200u 1 2023-12-18 11:36:30 grafana | logger=migrator t=2023-12-18T11:36:26.200063648Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.279189ms policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1812231136251200u 1 2023-12-18 11:36:30 grafana | logger=migrator t=2023-12-18T11:36:26.204153637Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1812231136251200u 1 2023-12-18 11:36:30 grafana | logger=migrator t=2023-12-18T11:36:26.205308415Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.151928ms grafana | logger=migrator t=2023-12-18T11:36:26.210206219Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | policyadmin: OK @ 1200 grafana | logger=migrator t=2023-12-18T11:36:26.21189231Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.689061ms grafana | logger=migrator t=2023-12-18T11:36:26.215714447Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2023-12-18T11:36:26.217464918Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.751011ms grafana | logger=migrator t=2023-12-18T11:36:26.221299306Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2023-12-18T11:36:26.222083231Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=780.395µs grafana | logger=migrator t=2023-12-18T11:36:26.225788296Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2023-12-18T11:36:26.227310217Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.520771ms grafana | logger=migrator t=2023-12-18T11:36:26.231018313Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2023-12-18T11:36:26.23920834Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.189217ms grafana | logger=migrator t=2023-12-18T11:36:26.242651393Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2023-12-18T11:36:26.25086026Z level=info msg="Migration successfully executed" id="permission kind migration" duration=8.208207ms grafana | logger=migrator t=2023-12-18T11:36:26.254385856Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2023-12-18T11:36:26.260105285Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=5.719099ms grafana | logger=migrator t=2023-12-18T11:36:26.263596959Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2023-12-18T11:36:26.271444464Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.847105ms grafana | logger=migrator t=2023-12-18T11:36:26.27528603Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2023-12-18T11:36:26.276372918Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.086467ms grafana | logger=migrator t=2023-12-18T11:36:26.280018403Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2023-12-18T11:36:26.28108274Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.063657ms grafana | logger=migrator t=2023-12-18T11:36:26.284667105Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2023-12-18T11:36:26.285808104Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.140809ms grafana | logger=migrator t=2023-12-18T11:36:26.289422619Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2023-12-18T11:36:26.289486829Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=65.04µs grafana | logger=migrator t=2023-12-18T11:36:26.292792562Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2023-12-18T11:36:26.292825882Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=34.49µs grafana | logger=migrator t=2023-12-18T11:36:26.296130275Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2023-12-18T11:36:26.296601179Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=470.504µs grafana | logger=migrator t=2023-12-18T11:36:26.300264994Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2023-12-18T11:36:26.30124617Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=983.086µs grafana | logger=migrator t=2023-12-18T11:36:26.305841763Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2023-12-18T11:36:26.30692386Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.082087ms grafana | logger=migrator t=2023-12-18T11:36:26.310589656Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2023-12-18T11:36:26.310845657Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=255.481µs grafana | logger=migrator t=2023-12-18T11:36:26.314286041Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2023-12-18T11:36:26.314643513Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=357.242µs grafana | logger=migrator t=2023-12-18T11:36:26.318003027Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2023-12-18T11:36:26.319474267Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.470061ms grafana | logger=migrator t=2023-12-18T11:36:26.323495465Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2023-12-18T11:36:26.325442449Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.946334ms grafana | logger=migrator t=2023-12-18T11:36:26.330059681Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2023-12-18T11:36:26.338288538Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.228367ms grafana | logger=migrator t=2023-12-18T11:36:26.344134459Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2023-12-18T11:36:26.344206559Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=64.05µs grafana | logger=migrator t=2023-12-18T11:36:26.347694183Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2023-12-18T11:36:26.349412785Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.717222ms grafana | logger=migrator t=2023-12-18T11:36:26.353178641Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2023-12-18T11:36:26.355072955Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.893684ms grafana | logger=migrator t=2023-12-18T11:36:26.36021295Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2023-12-18T11:36:26.361406948Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.193398ms grafana | logger=migrator t=2023-12-18T11:36:26.364756021Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2023-12-18T11:36:26.376631084Z level=info msg="Migration successfully executed" id="add correlation config column" duration=11.872533ms grafana | logger=migrator t=2023-12-18T11:36:26.380004127Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2023-12-18T11:36:26.380806243Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=803.706µs grafana | logger=migrator t=2023-12-18T11:36:26.384510489Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2023-12-18T11:36:26.385432135Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=921.186µs grafana | logger=migrator t=2023-12-18T11:36:26.39049047Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-18T11:36:26.449018666Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=58.527966ms grafana | logger=migrator t=2023-12-18T11:36:26.452873543Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2023-12-18T11:36:26.453616869Z level=info msg="Migration successfully executed" id="create correlation v2" duration=742.426µs grafana | logger=migrator t=2023-12-18T11:36:26.457674786Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2023-12-18T11:36:26.459004886Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.32945ms grafana | logger=migrator t=2023-12-18T11:36:26.463390366Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2023-12-18T11:36:26.464623025Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.232639ms grafana | logger=migrator t=2023-12-18T11:36:26.468589072Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2023-12-18T11:36:26.46977593Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.186588ms grafana | logger=migrator t=2023-12-18T11:36:26.474605284Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2023-12-18T11:36:26.475152578Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=546.644µs grafana | logger=migrator t=2023-12-18T11:36:26.479068225Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2023-12-18T11:36:26.480438474Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.370209ms grafana | logger=migrator t=2023-12-18T11:36:26.484166031Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2023-12-18T11:36:26.492512289Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.345498ms grafana | logger=migrator t=2023-12-18T11:36:26.495914942Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2023-12-18T11:36:26.496721937Z level=info msg="Migration successfully executed" id="create entity_events table" duration=806.615µs grafana | logger=migrator t=2023-12-18T11:36:26.501770333Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2023-12-18T11:36:26.502770799Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=997.836µs grafana | logger=migrator t=2023-12-18T11:36:26.509149344Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-12-18T11:36:26.509924229Z 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=2023-12-18T11:36:26.513710565Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-12-18T11:36:26.514612571Z 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=2023-12-18T11:36:26.518087356Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2023-12-18T11:36:26.518952412Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=864.206µs grafana | logger=migrator t=2023-12-18T11:36:26.522363825Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2023-12-18T11:36:26.523329703Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=965.248µs grafana | logger=migrator t=2023-12-18T11:36:26.526736066Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-12-18T11:36:26.527929264Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.192298ms grafana | logger=migrator t=2023-12-18T11:36:26.532105683Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-12-18T11:36:26.533260841Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.154548ms grafana | logger=migrator t=2023-12-18T11:36:26.539849417Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-12-18T11:36:26.540927235Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.077878ms grafana | logger=migrator t=2023-12-18T11:36:26.544171347Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-12-18T11:36:26.54600188Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.832723ms grafana | logger=migrator t=2023-12-18T11:36:26.550515991Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2023-12-18T11:36:26.551870381Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.35456ms grafana | logger=migrator t=2023-12-18T11:36:26.555181534Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2023-12-18T11:36:26.55620105Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.019426ms grafana | logger=migrator t=2023-12-18T11:36:26.559558734Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-12-18T11:36:26.560748392Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.188228ms grafana | logger=migrator t=2023-12-18T11:36:26.564972691Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-12-18T11:36:26.566732884Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.759333ms grafana | logger=migrator t=2023-12-18T11:36:26.57197632Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2023-12-18T11:36:26.573225138Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.249238ms grafana | logger=migrator t=2023-12-18T11:36:26.578206853Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2023-12-18T11:36:26.611839817Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=33.636064ms grafana | logger=migrator t=2023-12-18T11:36:26.61663233Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2023-12-18T11:36:26.62530462Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=8.6719ms grafana | logger=migrator t=2023-12-18T11:36:26.630094464Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2023-12-18T11:36:26.636533478Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=6.437904ms grafana | logger=migrator t=2023-12-18T11:36:26.643271745Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2023-12-18T11:36:26.643521776Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=248.121µs grafana | logger=migrator t=2023-12-18T11:36:26.647151872Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2023-12-18T11:36:26.655650551Z level=info msg="Migration successfully executed" id="add share column" duration=8.497719ms grafana | logger=migrator t=2023-12-18T11:36:26.659686299Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2023-12-18T11:36:26.660009981Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=322.862µs grafana | logger=migrator t=2023-12-18T11:36:26.663918918Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2023-12-18T11:36:26.664964245Z level=info msg="Migration successfully executed" id="create file table" duration=1.044597ms grafana | logger=migrator t=2023-12-18T11:36:26.671121478Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2023-12-18T11:36:26.672185796Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.064348ms grafana | logger=migrator t=2023-12-18T11:36:26.678993493Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2023-12-18T11:36:26.680786515Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.792832ms grafana | logger=migrator t=2023-12-18T11:36:26.685029454Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2023-12-18T11:36:26.686179743Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.149819ms grafana | logger=migrator t=2023-12-18T11:36:26.69151667Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2023-12-18T11:36:26.693563934Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=2.047154ms grafana | logger=migrator t=2023-12-18T11:36:26.734217676Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2023-12-18T11:36:26.734337877Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=119.131µs grafana | logger=migrator t=2023-12-18T11:36:26.739157181Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2023-12-18T11:36:26.739400093Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=241.972µs grafana | logger=migrator t=2023-12-18T11:36:26.745211783Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2023-12-18T11:36:26.746163849Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=951.196µs grafana | logger=migrator t=2023-12-18T11:36:26.751175294Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2023-12-18T11:36:26.751608487Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=432.763µs grafana | logger=migrator t=2023-12-18T11:36:26.755839117Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2023-12-18T11:36:26.757135945Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.296208ms grafana | logger=migrator t=2023-12-18T11:36:26.761263215Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2023-12-18T11:36:26.772420662Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=11.157948ms grafana | logger=migrator t=2023-12-18T11:36:26.780628598Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2023-12-18T11:36:26.780790139Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=161.551µs grafana | logger=migrator t=2023-12-18T11:36:26.784852398Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2023-12-18T11:36:26.786295477Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.437249ms grafana | logger=migrator t=2023-12-18T11:36:26.790541187Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2023-12-18T11:36:26.791115341Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=575.044µs grafana | logger=migrator t=2023-12-18T11:36:26.796306487Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2023-12-18T11:36:26.796510469Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=204.132µs grafana | logger=migrator t=2023-12-18T11:36:26.801382023Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2023-12-18T11:36:26.802006377Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=623.454µs grafana | logger=migrator t=2023-12-18T11:36:26.807476835Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2023-12-18T11:36:26.817332454Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=9.855979ms grafana | logger=migrator t=2023-12-18T11:36:26.821969835Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2023-12-18T11:36:26.830808296Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.837581ms grafana | logger=migrator t=2023-12-18T11:36:26.836697137Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2023-12-18T11:36:26.837740935Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.043468ms grafana | logger=migrator t=2023-12-18T11:36:26.841680532Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2023-12-18T11:36:26.949757043Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=108.076741ms grafana | logger=migrator t=2023-12-18T11:36:26.954845028Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2023-12-18T11:36:26.955883865Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.038177ms grafana | logger=migrator t=2023-12-18T11:36:26.960968391Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2023-12-18T11:36:26.96235502Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.386219ms grafana | logger=migrator t=2023-12-18T11:36:26.967102023Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2023-12-18T11:36:27.00411804Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=37.016377ms grafana | logger=migrator t=2023-12-18T11:36:27.010688296Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2023-12-18T11:36:27.010926258Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=237.282µs grafana | logger=migrator t=2023-12-18T11:36:27.014811974Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2023-12-18T11:36:27.015201897Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=389.683µs grafana | logger=migrator t=2023-12-18T11:36:27.020721565Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2023-12-18T11:36:27.021136858Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=423.273µs grafana | logger=migrator t=2023-12-18T11:36:27.030660754Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2023-12-18T11:36:27.032136894Z level=info msg="Migration successfully executed" id="create folder table" duration=1.47551ms grafana | logger=migrator t=2023-12-18T11:36:27.037720733Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2023-12-18T11:36:27.039641477Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.920154ms grafana | logger=migrator t=2023-12-18T11:36:27.044841513Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2023-12-18T11:36:27.046226142Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.383889ms grafana | logger=migrator t=2023-12-18T11:36:27.049811167Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2023-12-18T11:36:27.049842698Z level=info msg="Migration successfully executed" id="Update folder title length" duration=31.891µs grafana | logger=migrator t=2023-12-18T11:36:27.054869522Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-12-18T11:36:27.057297649Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=2.420326ms grafana | logger=migrator t=2023-12-18T11:36:27.062268734Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-12-18T11:36:27.063946146Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.678152ms grafana | logger=migrator t=2023-12-18T11:36:27.068811209Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2023-12-18T11:36:27.070042828Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.23094ms grafana | logger=migrator t=2023-12-18T11:36:27.07334632Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2023-12-18T11:36:27.074211106Z level=info msg="Migration successfully executed" id="create anon_device table" duration=866.416µs grafana | logger=migrator t=2023-12-18T11:36:27.077298367Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2023-12-18T11:36:27.078491966Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.192549ms grafana | logger=migrator t=2023-12-18T11:36:27.082112581Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2023-12-18T11:36:27.083192448Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.079477ms grafana | logger=migrator t=2023-12-18T11:36:27.086463152Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2023-12-18T11:36:27.087229417Z level=info msg="Migration successfully executed" id="create signing_key table" duration=766.175µs grafana | logger=migrator t=2023-12-18T11:36:27.092856196Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2023-12-18T11:36:27.093997093Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.140157ms grafana | logger=migrator t=2023-12-18T11:36:27.099727843Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2023-12-18T11:36:27.101483816Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.737393ms grafana | logger=migrator t=2023-12-18T11:36:27.106031897Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2023-12-18T11:36:27.106331689Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=300.232µs grafana | logger=migrator t=2023-12-18T11:36:27.109421571Z level=info msg="migrations completed" performed=517 skipped=0 duration=4.719945158s grafana | logger=sqlstore t=2023-12-18T11:36:27.118403953Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2023-12-18T11:36:27.118686365Z level=info msg="Created default organization" grafana | logger=secrets t=2023-12-18T11:36:27.122099778Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=local.finder t=2023-12-18T11:36:27.193792856Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=query_data t=2023-12-18T11:36:27.196472575Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2023-12-18T11:36:27.200781134Z level=info msg="Live Push Gateway initialization" grafana | logger=infra.usagestats.collector t=2023-12-18T11:36:29.405761808Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2023-12-18T11:36:29.407603201Z level=info msg="inserting datasource from configuration " name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2023-12-18T11:36:29.421039574Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2023-12-18T11:36:29.421053644Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2023-12-18T11:36:29.421453986Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2023-12-18T11:36:29.422184401Z level=info msg="Warming state cache for startup" grafana | logger=ngalert.state.manager t=2023-12-18T11:36:29.423193939Z level=info msg="State cache has been initialized" states=0 duration=1.007188ms grafana | logger=ngalert.multiorg.alertmanager t=2023-12-18T11:36:29.433770503Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=ngalert.scheduler t=2023-12-18T11:36:29.433768923Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2023-12-18T11:36:29.434521227Z level=info msg=starting first_tick=2023-12-18T11:36:30Z grafana | logger=http.server t=2023-12-18T11:36:29.449119599Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafana.update.checker t=2023-12-18T11:36:29.468314572Z level=info msg="Update check succeeded" duration=46.214051ms grafana | logger=ngalert.migration t=2023-12-18T11:36:29.501778744Z level=info msg=Starting grafana | logger=ngalert.migration t=2023-12-18T11:36:29.502595119Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-12-18T11:36:29.502917741Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-12-18T11:36:29.503613336Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-12-18T11:36:29.504225411Z level=warn msg="No available receivers" grafana | logger=ngalert.migration t=2023-12-18T11:36:29.507595414Z level=info msg="Completed legacy migration" grafana | logger=plugins.update.checker t=2023-12-18T11:36:29.513409694Z level=info msg="Update check succeeded" duration=80.582449ms grafana | logger=sqlstore.transactions t=2023-12-18T11:36:29.550152439Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2023-12-18T11:36:29.572936916Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2023-12-18T11:36:29.580471919Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2023-12-18T11:36:29.587283506Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" grafana | logger=sqlstore.transactions t=2023-12-18T11:36:29.599896364Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" grafana | logger=sqlstore.transactions t=2023-12-18T11:36:29.619639361Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=2 code="database is locked" grafana | logger=sqlstore.transactions t=2023-12-18T11:36:29.630381005Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2023-12-18T11:36:29.661537271Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=3 code="database is locked" grafana | logger=infra.usagestats t=2023-12-18T11:37:53.433378347Z level=info msg="Usage stats are ready to report" ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping grafana ... Stopping policy-api ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing grafana ... Removing policy-api ... Removing policy-db-migrator ... Removing mariadb ... Removing prometheus ... Removing policy-api ... done Removing grafana ... done Removing policy-db-migrator ... done Removing mariadb ... done Removing prometheus ... done Removing network compose_default ++ cd /w/workspace/policy-api-london-project-csit-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.vPyTNYKsN6 ]] + rsync -av /tmp/tmp.vPyTNYKsN6/ /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,345,450 bytes received 95 bytes 2,691,090.00 bytes/sec total size is 1,344,800 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 2085 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/jenkins12673678793090938200.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins2413251971854180818.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/jenkins3470313391208091458.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-8Oqb from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-8Oqb/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins8917759830088258225.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config6094469400636075080tmp 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/jenkins5167990323664959658.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins13189466167750384163.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-8Oqb from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-8Oqb/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins17430134968314785308.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins4694501443557207006.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-8Oqb from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-8Oqb/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/jenkins16035919500589650150.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-8Oqb 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-8Oqb/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/213 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-6001 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 834 27412 0 3920 30877 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:e4:6a:09 brd ff:ff:ff:ff:ff:ff inet 10.30.107.230/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86057sec preferred_lft 86057sec inet6 fe80::f816:3eff:fee4:6a09/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:cd:f2:79:83 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-6001) 12/18/23 _x86_64_ (8 CPU) 11:33:21 LINUX RESTART (8 CPU) 11:34:02 tps rtps wtps bread/s bwrtn/s 11:35:01 105.05 19.06 85.99 1090.61 35741.24 11:36:01 149.19 23.15 126.05 2789.40 42160.57 11:37:01 369.96 12.50 357.46 800.73 86794.08 11:38:01 19.38 0.00 19.38 0.00 27851.76 11:39:01 61.91 2.43 59.47 136.64 26112.20 Average: 141.22 11.40 129.81 963.06 43758.42 11:34:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:35:01 30081832 31700628 2857388 8.67 71064 1856820 1432948 4.22 872836 1690184 176792 11:36:01 28441720 31658744 4497500 13.65 105604 3369992 1520268 4.47 996700 3109024 1316816 11:37:01 26666700 30270232 6272520 19.04 126672 3678040 4932336 14.51 2470524 3347860 216 11:38:01 26673304 30276832 6265916 19.02 126748 3678740 5005844 14.73 2466140 3346672 884 11:39:01 28109256 31656812 4829964 14.66 132000 3651344 1439836 4.24 1130684 3273256 56908 Average: 27994562 31112650 4944658 15.01 112418 3246987 2866246 8.43 1587377 2953399 310323 11:34:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:35:01 ens3 64.71 45.70 998.70 8.47 0.00 0.00 0.00 0.00 11:35:01 lo 1.49 1.49 0.16 0.16 0.00 0.00 0.00 0.00 11:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 ens3 312.01 201.27 9284.66 18.97 0.00 0.00 0.00 0.00 11:36:01 br-bfe457d0eae0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 lo 9.33 9.33 0.86 0.86 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:37:01 veth7ba4f4f 0.05 0.25 0.00 0.02 0.00 0.00 0.00 0.00 11:37:01 ens3 6.58 5.95 1.51 1.45 0.00 0.00 0.00 0.00 11:37:01 vethe1bd1a2 119.88 149.33 119.70 44.71 0.00 0.00 0.00 0.01 11:37:01 br-bfe457d0eae0 3.60 4.08 5.93 2.52 0.00 0.00 0.00 0.00 11:38:01 veth7ba4f4f 0.80 1.10 0.11 0.59 0.00 0.00 0.00 0.00 11:38:01 ens3 4.08 2.75 0.81 0.78 0.00 0.00 0.00 0.00 11:38:01 vethe1bd1a2 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 11:38:01 br-bfe457d0eae0 1.78 2.10 0.15 0.20 0.00 0.00 0.00 0.00 11:39:01 ens3 68.71 55.01 126.38 27.95 0.00 0.00 0.00 0.00 11:39:01 lo 33.99 33.99 10.42 10.42 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 Average: ens3 91.31 62.19 2086.00 11.53 0.00 0.00 0.00 0.00 Average: lo 6.03 6.03 2.02 2.02 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-6001) 12/18/23 _x86_64_ (8 CPU) 11:33:21 LINUX RESTART (8 CPU) 11:34:02 CPU %user %nice %system %iowait %steal %idle 11:35:01 all 10.18 0.00 0.73 2.96 0.03 86.09 11:35:01 0 0.10 0.00 0.10 0.00 0.08 99.71 11:35:01 1 37.12 0.00 1.77 2.87 0.07 58.17 11:35:01 2 30.00 0.00 1.71 0.88 0.03 67.37 11:35:01 3 0.17 0.00 0.32 15.29 0.03 84.18 11:35:01 4 5.05 0.00 0.42 0.41 0.02 94.10 11:35:01 5 1.98 0.00 0.54 0.41 0.02 97.05 11:35:01 6 0.95 0.00 0.39 3.27 0.02 95.37 11:35:01 7 6.22 0.00 0.64 0.59 0.02 92.54 11:36:01 all 11.55 0.00 2.29 2.96 0.05 83.15 11:36:01 0 10.10 0.00 2.29 0.55 0.05 87.01 11:36:01 1 16.54 0.00 2.60 6.20 0.07 74.59 11:36:01 2 7.80 0.00 1.99 0.20 0.03 89.97 11:36:01 3 8.69 0.00 1.98 10.74 0.07 78.52 11:36:01 4 24.60 0.00 2.53 1.53 0.05 71.29 11:36:01 5 12.00 0.00 2.47 2.08 0.05 83.40 11:36:01 6 5.76 0.00 2.38 0.74 0.05 91.07 11:36:01 7 6.88 0.00 2.10 1.71 0.05 89.27 11:37:01 all 19.77 0.00 2.88 5.28 0.06 72.01 11:37:01 0 15.13 0.00 2.68 5.10 0.05 77.03 11:37:01 1 25.47 0.00 3.34 4.36 0.05 66.78 11:37:01 2 20.98 0.00 3.38 21.10 0.05 54.48 11:37:01 3 23.32 0.00 4.09 2.82 0.05 69.72 11:37:01 4 18.92 0.00 2.34 1.78 0.05 76.91 11:37:01 5 16.17 0.00 2.55 1.51 0.08 79.69 11:37:01 6 26.04 0.00 2.70 0.86 0.03 70.37 11:37:01 7 12.11 0.00 1.93 4.77 0.05 81.14 11:38:01 all 0.19 0.00 0.07 1.92 0.03 97.80 11:38:01 0 0.17 0.00 0.05 0.00 0.02 99.77 11:38:01 1 0.13 0.00 0.08 0.00 0.05 99.73 11:38:01 2 0.05 0.00 0.05 0.00 0.02 99.88 11:38:01 3 0.10 0.00 0.02 0.00 0.00 99.88 11:38:01 4 0.20 0.00 0.07 0.05 0.03 99.65 11:38:01 5 0.18 0.00 0.10 0.00 0.07 99.65 11:38:01 6 0.50 0.00 0.12 0.00 0.03 99.35 11:38:01 7 0.15 0.00 0.05 15.32 0.02 84.47 11:39:01 all 8.85 0.00 0.79 1.80 0.04 88.52 11:39:01 0 29.73 0.00 1.52 1.02 0.05 67.68 11:39:01 1 5.67 0.00 0.70 0.10 0.03 93.49 11:39:01 2 16.08 0.00 0.75 0.79 0.07 82.31 11:39:01 3 2.15 0.00 0.63 0.15 0.02 97.05 11:39:01 4 0.62 0.00 0.57 0.12 0.03 98.67 11:39:01 5 14.28 0.00 1.03 1.84 0.05 82.80 11:39:01 6 1.69 0.00 0.62 0.07 0.02 97.61 11:39:01 7 0.63 0.00 0.50 10.34 0.05 88.47 Average: all 10.09 0.00 1.35 2.98 0.04 85.53 Average: 0 11.07 0.00 1.33 1.34 0.05 86.21 Average: 1 16.91 0.00 1.69 2.70 0.05 78.65 Average: 2 14.92 0.00 1.58 4.58 0.04 78.88 Average: 3 6.88 0.00 1.41 5.76 0.03 85.92 Average: 4 9.86 0.00 1.18 0.77 0.04 88.14 Average: 5 8.93 0.00 1.34 1.17 0.05 88.51 Average: 6 6.99 0.00 1.24 0.98 0.03 90.75 Average: 7 5.19 0.00 1.04 6.55 0.04 87.18