Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-11290 (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-YDgWqyODRq0E/agent.2055 SSH_AGENT_PID=2057 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_14200198668363676247.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_14200198668363676247.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/jenkins16192367926055091200.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-RyGI 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-RyGI/bin to PATH Generating Requirements File 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.9 requires openstacksdk>=2.1.0, but you have openstacksdk 0.62.0 which is incompatible. Python 3.10.6 pip 24.0 from /tmp/venv-RyGI/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.2 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.56 botocore==1.34.56 bs4==0.0.2 cachetools==5.3.3 certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.6.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.6.1 docker==4.2.2 dogpile.cache==1.3.2 email_validator==2.1.1 filelock==3.13.1 future==1.0.0 gitdb==4.0.11 GitPython==3.1.42 google-auth==2.28.1 httplib2==0.22.0 identify==2.5.35 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.6.0 kubernetes==29.0.0 lftools==0.37.9 lxml==5.1.0 MarkupSafe==2.1.5 msgpack==1.0.8 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.2.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.1 oslo.config==9.4.0 oslo.context==5.5.0 oslo.i18n==6.3.0 oslo.log==5.5.0 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==23.2 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.10.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.2.0 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.5.0 python-dateutil==2.9.0.post0 python-heatclient==3.5.0 python-jenkins==1.8.2 python-keystoneclient==5.4.0 python-magnumclient==4.4.0 python-novaclient==18.5.0 python-openstackclient==6.0.1 python-swiftclient==4.5.0 PyYAML==6.0.1 referencing==0.33.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.2.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.4 tqdm==4.66.2 typing_extensions==4.10.0 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.25.1 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-london-project-csit-api] $ /bin/sh /tmp/jenkins3823778484950181357.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/jenkins12992920968449200237.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.S9hKgHdUnD ++ echo ROBOT_VENV=/tmp/tmp.S9hKgHdUnD +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.S9hKgHdUnD ++ source /tmp/tmp.S9hKgHdUnD/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.S9hKgHdUnD +++ 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.S9hKgHdUnD/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.S9hKgHdUnD) ' '!=' x ']' +++ PS1='(tmp.S9hKgHdUnD) ' +++ export PS1 +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ set -exu ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' ++ echo 'Installing Python Requirements' Installing Python Requirements ++ python3 -m pip install -qq -r /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==5.1.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.2 python-dateutil==2.9.0.post0 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.S9hKgHdUnD/src/onap ++ rm -rf /tmp/tmp.S9hKgHdUnD/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.2.2 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==1.0.0 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==5.1.0 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.2 python-dateutil==2.9.0.post0 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 ++ grep -q Linux ++ uname ++ 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.S9hKgHdUnD/bin/activate + '[' -z /tmp/tmp.S9hKgHdUnD/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.S9hKgHdUnD/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.S9hKgHdUnD ++ 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.S9hKgHdUnD/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.S9hKgHdUnD) ' ++ '[' 'x(tmp.S9hKgHdUnD) ' '!=' x ']' ++ PS1='(tmp.S9hKgHdUnD) (tmp.S9hKgHdUnD) ' ++ 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.CFwczfRTtp + cd /tmp/tmp.CFwczfRTtp + 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:bc1794e85c9e00293351b967efa267ce6af1c824ac875a9d0c7ac84700a8b53e 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:8640e5038e83ca4554ed56b9d76375158bcd51580238c6f5d8adaf3f20dd5379 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done Creating prometheus ... done Creating grafana ... Creating grafana ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-london-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS grafana Up 10 seconds policy-api Up 11 seconds mariadb Up 12 seconds prometheus Up 10 seconds NAMES STATUS grafana Up 15 seconds policy-api Up 16 seconds mariadb Up 17 seconds prometheus Up 15 seconds NAMES STATUS grafana Up 20 seconds policy-api Up 21 seconds mariadb Up 22 seconds prometheus Up 21 seconds NAMES STATUS grafana Up 25 seconds policy-api Up 26 seconds mariadb Up 28 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 ++ sed 's/./& /g' ++ echo hxB + 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:12 up 3 min, 0 users, load average: 1.60, 0.67, 0.26 Tasks: 178 total, 1 running, 101 sleeping, 0 stopped, 0 zombie %Cpu(s): 12.0 us, 2.2 sy, 0.0 ni, 83.5 id, 2.3 wa, 0.0 hi, 0.1 si, 0.1 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.7G 25G 1.0M 3.8G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up 25 seconds policy-api Up 26 seconds mariadb Up 28 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 482e29781379 grafana 0.02% 50.57MiB / 31.41GiB 0.16% 18kB / 3.12kB 0B / 23.8MB 17 e6736841e6f4 policy-api 0.10% 833.7MiB / 31.41GiB 2.59% 1.04MB / 739kB 0B / 0B 50 271cd0f741ac mariadb 0.01% 99.94MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 10.9MB / 67.7MB 27 70a821e3077e prometheus 0.00% 19.15MiB / 31.41GiB 0.06% 782B / 0B 225kB / 0B 13 + echo + cd /tmp/tmp.CFwczfRTtp + 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.CFwczfRTtp/output.xml Log: /tmp/tmp.CFwczfRTtp/log.html Report: /tmp/tmp.CFwczfRTtp/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:22 up 4 min, 0 users, load average: 0.53, 0.54, 0.25 Tasks: 176 total, 1 running, 99 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.8 us, 1.7 sy, 0.0 ni, 86.7 id, 1.7 wa, 0.0 hi, 0.1 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.8G 25G 1.0M 3.8G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up 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 482e29781379 grafana 0.03% 54.04MiB / 31.41GiB 0.17% 19kB / 4.3kB 0B / 23.8MB 17 e6736841e6f4 policy-api 0.11% 859.1MiB / 31.41GiB 2.67% 7.32MB / 2.87MB 0B / 0B 52 271cd0f741ac mariadb 0.02% 100.7MiB / 31.41GiB 0.31% 2.75MB / 7.36MB 10.9MB / 67.9MB 18 70a821e3077e prometheus 0.00% 25.68MiB / 31.41GiB 0.08% 37.5kB / 7.04kB 225kB / 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=2024-03-06T11:35:46.922041223Z level=info msg="Starting Grafana" version=10.3.3 commit=252761264e22ece57204b327f9130d3b44592c01 branch=HEAD compiled=2024-03-06T11:35:46Z grafana | logger=settings t=2024-03-06T11:35:46.922233124Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-03-06T11:35:46.922246944Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-03-06T11:35:46.922251074Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-03-06T11:35:46.922255154Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-03-06T11:35:46.922258314Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-03-06T11:35:46.922261104Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-03-06T11:35:46.922265164Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-03-06T11:35:46.922268455Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-03-06T11:35:46.922272545Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-03-06T11:35:46.922278235Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-03-06T11:35:46.922281095Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-03-06T11:35:46.922284675Z level=info msg=Target target=[all] grafana | logger=settings t=2024-03-06T11:35:46.922292925Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-03-06T11:35:46.922296245Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-03-06T11:35:46.922299795Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-03-06T11:35:46.922305265Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-03-06T11:35:46.922308445Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-03-06T11:35:46.922311695Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-03-06T11:35:46.922599817Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-03-06T11:35:46.922616827Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-03-06T11:35:46.923224772Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-03-06T11:35:46.924095138Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-03-06T11:35:46.924820764Z level=info msg="Migration successfully executed" id="create migration_log table" duration=725.146µs grafana | logger=migrator t=2024-03-06T11:35:46.928982515Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-03-06T11:35:46.929477709Z level=info msg="Migration successfully executed" id="create user table" duration=495.094µs grafana | logger=migrator t=2024-03-06T11:35:46.932667643Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-03-06T11:35:46.933355138Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=686.855µs grafana | logger=migrator t=2024-03-06T11:35:46.938643118Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-03-06T11:35:46.939331124Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=687.536µs grafana | logger=migrator t=2024-03-06T11:35:46.942616638Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-03-06T11:35:46.943609596Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=990.908µs grafana | logger=migrator t=2024-03-06T11:35:46.94683984Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-03-06T11:35:46.947792407Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=952.437µs grafana | logger=migrator t=2024-03-06T11:35:46.953052237Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-03-06T11:35:46.955693507Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.64083ms grafana | logger=migrator t=2024-03-06T11:35:46.95871491Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-03-06T11:35:46.959380235Z level=info msg="Migration successfully executed" id="create user table v2" duration=662.645µs grafana | logger=migrator t=2024-03-06T11:35:46.962551949Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-03-06T11:35:46.963231614Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=679.265µs grafana | logger=migrator t=2024-03-06T11:35:46.968153802Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-03-06T11:35:46.968864367Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=709.756µs grafana | logger=migrator t=2024-03-06T11:35:46.971998291Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-03-06T11:35:46.972384264Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=380.823µs grafana | logger=migrator t=2024-03-06T11:35:46.975591168Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-03-06T11:35:46.976358164Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=766.156µs grafana | logger=migrator t=2024-03-06T11:35:46.979761389Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-03-06T11:35:46.981422952Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.654213ms grafana | logger=migrator t=2024-03-06T11:35:46.986742602Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-03-06T11:35:46.986767302Z level=info msg="Migration successfully executed" id="Update user table charset" duration=25.25µs grafana | logger=migrator t=2024-03-06T11:35:46.990003597Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-03-06T11:35:46.991037645Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.031437ms grafana | logger=migrator t=2024-03-06T11:35:46.994752573Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-03-06T11:35:46.995112435Z level=info msg="Migration successfully executed" id="Add missing user data" duration=360.082µs grafana | logger=migrator t=2024-03-06T11:35:46.998972375Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-03-06T11:35:47.000715428Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.742933ms grafana | logger=migrator t=2024-03-06T11:35:47.005309142Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-03-06T11:35:47.006021508Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=711.636µs grafana | logger=migrator t=2024-03-06T11:35:47.009264303Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-03-06T11:35:47.010950245Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.688822ms grafana | logger=migrator t=2024-03-06T11:35:47.014760794Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-03-06T11:35:47.026297881Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=11.537287ms grafana | logger=migrator t=2024-03-06T11:35:47.030882646Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-03-06T11:35:47.031558411Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=668.885µs grafana | logger=migrator t=2024-03-06T11:35:47.0353565Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-03-06T11:35:47.036049595Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=692.695µs grafana | logger=migrator t=2024-03-06T11:35:47.040129146Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-03-06T11:35:47.041236474Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.106698ms grafana | logger=migrator t=2024-03-06T11:35:47.046469584Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-03-06T11:35:47.047545012Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.074598ms grafana | logger=migrator t=2024-03-06T11:35:47.051927165Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-03-06T11:35:47.053049033Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.121528ms grafana | logger=migrator t=2024-03-06T11:35:47.058067472Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-03-06T11:35:47.058093742Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=27.08µs grafana | logger=migrator t=2024-03-06T11:35:47.061332406Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-03-06T11:35:47.061970141Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=637.585µs grafana | logger=migrator t=2024-03-06T11:35:47.066356194Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-03-06T11:35:47.067348152Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=996.138µs grafana | logger=migrator t=2024-03-06T11:35:47.071183561Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-03-06T11:35:47.072146688Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=963.017µs grafana | logger=migrator t=2024-03-06T11:35:47.076573281Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-03-06T11:35:47.077179666Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=606.005µs grafana | logger=migrator t=2024-03-06T11:35:47.081047025Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-03-06T11:35:47.086670158Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=5.616013ms grafana | logger=migrator t=2024-03-06T11:35:47.090115374Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-03-06T11:35:47.090833129Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=717.355µs grafana | logger=migrator t=2024-03-06T11:35:47.094269845Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-03-06T11:35:47.094976621Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=706.396µs grafana | logger=migrator t=2024-03-06T11:35:47.099372104Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-03-06T11:35:47.100063209Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=686.035µs grafana | logger=migrator t=2024-03-06T11:35:47.103510745Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-03-06T11:35:47.104240841Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=729.696µs grafana | logger=migrator t=2024-03-06T11:35:47.107633226Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-03-06T11:35:47.108335892Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=702.346µs grafana | logger=migrator t=2024-03-06T11:35:47.11338323Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-03-06T11:35:47.113779993Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=396.533µs grafana | logger=migrator t=2024-03-06T11:35:47.117607862Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-03-06T11:35:47.118367287Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=759.045µs grafana | logger=migrator t=2024-03-06T11:35:47.121903494Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-03-06T11:35:47.122510019Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=606.465µs grafana | logger=migrator t=2024-03-06T11:35:47.127143434Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-03-06T11:35:47.127710288Z level=info msg="Migration successfully executed" id="create star table" duration=566.694µs grafana | logger=migrator t=2024-03-06T11:35:47.131444616Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-03-06T11:35:47.132157362Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=717.376µs grafana | logger=migrator t=2024-03-06T11:35:47.136356104Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-03-06T11:35:47.137374401Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.017827ms grafana | logger=migrator t=2024-03-06T11:35:47.143694899Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-03-06T11:35:47.144513655Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=821.426µs grafana | logger=migrator t=2024-03-06T11:35:47.149012259Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-03-06T11:35:47.149635324Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=624.465µs grafana | logger=migrator t=2024-03-06T11:35:47.153602174Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-03-06T11:35:47.154718232Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.115538ms grafana | logger=migrator t=2024-03-06T11:35:47.158636442Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-03-06T11:35:47.159794441Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.158429ms grafana | logger=migrator t=2024-03-06T11:35:47.163263977Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-03-06T11:35:47.163971402Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=707.315µs grafana | logger=migrator t=2024-03-06T11:35:47.168324095Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-03-06T11:35:47.168349896Z level=info msg="Migration successfully executed" id="Update org table charset" duration=27.82µs grafana | logger=migrator t=2024-03-06T11:35:47.172642118Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-03-06T11:35:47.172677458Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=36.62µs grafana | logger=migrator t=2024-03-06T11:35:47.176461607Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-03-06T11:35:47.176713609Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=252.082µs grafana | logger=migrator t=2024-03-06T11:35:47.180148135Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-03-06T11:35:47.18078148Z level=info msg="Migration successfully executed" id="create dashboard table" duration=632.735µs grafana | logger=migrator t=2024-03-06T11:35:47.185162063Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-03-06T11:35:47.185956699Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=794.006µs grafana | logger=migrator t=2024-03-06T11:35:47.189423315Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-03-06T11:35:47.190687344Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.264089ms grafana | logger=migrator t=2024-03-06T11:35:47.194446063Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-03-06T11:35:47.19544825Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.001777ms grafana | logger=migrator t=2024-03-06T11:35:47.198685905Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-03-06T11:35:47.199435161Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=748.686µs grafana | logger=migrator t=2024-03-06T11:35:47.20466721Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-03-06T11:35:47.205836709Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.168369ms grafana | logger=migrator t=2024-03-06T11:35:47.209211085Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-03-06T11:35:47.216750022Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=7.539377ms grafana | logger=migrator t=2024-03-06T11:35:47.220184738Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-03-06T11:35:47.220846943Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=662.035µs grafana | logger=migrator t=2024-03-06T11:35:47.225064144Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-03-06T11:35:47.22582532Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=760.496µs grafana | logger=migrator t=2024-03-06T11:35:47.229118455Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-03-06T11:35:47.230267604Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.148139ms grafana | logger=migrator t=2024-03-06T11:35:47.233627859Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-03-06T11:35:47.234111323Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=483.054µs grafana | logger=migrator t=2024-03-06T11:35:47.238324725Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-03-06T11:35:47.23907673Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=751.535µs grafana | logger=migrator t=2024-03-06T11:35:47.242230794Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-03-06T11:35:47.242293425Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=63.361µs grafana | logger=migrator t=2024-03-06T11:35:47.24564754Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-03-06T11:35:47.247336053Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.688043ms grafana | logger=migrator t=2024-03-06T11:35:47.251668096Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-03-06T11:35:47.253373559Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.705203ms grafana | logger=migrator t=2024-03-06T11:35:47.256597283Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-03-06T11:35:47.258307256Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.709533ms grafana | logger=migrator t=2024-03-06T11:35:47.26148105Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-03-06T11:35:47.262246746Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=765.176µs grafana | logger=migrator t=2024-03-06T11:35:47.266391017Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-03-06T11:35:47.26810157Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.712993ms grafana | logger=migrator t=2024-03-06T11:35:47.271326034Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-03-06T11:35:47.27209654Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=769.956µs grafana | logger=migrator t=2024-03-06T11:35:47.275328945Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-03-06T11:35:47.27609663Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=767.155µs grafana | logger=migrator t=2024-03-06T11:35:47.28004334Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-03-06T11:35:47.280066791Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=24.091µs grafana | logger=migrator t=2024-03-06T11:35:47.283559437Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-03-06T11:35:47.283583497Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=28.1µs grafana | logger=migrator t=2024-03-06T11:35:47.286066926Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-03-06T11:35:47.2879103Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=1.842884ms grafana | logger=migrator t=2024-03-06T11:35:47.293374761Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-03-06T11:35:47.295201615Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.826524ms grafana | logger=migrator t=2024-03-06T11:35:47.298443509Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-03-06T11:35:47.300294933Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.848074ms grafana | logger=migrator t=2024-03-06T11:35:47.303630779Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-03-06T11:35:47.305528153Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.896594ms grafana | logger=migrator t=2024-03-06T11:35:47.309661654Z level=info msg="Executing migration" id="Update uid column values 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 | 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 grafana | logger=migrator t=2024-03-06T11:35:47.309841806Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=180.052µs grafana | logger=migrator t=2024-03-06T11:35:47.313201061Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-03-06T11:35:47.314231089Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.028058ms grafana | logger=migrator t=2024-03-06T11:35:47.317714915Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-03-06T11:35:47.318788863Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.071128ms grafana | logger=migrator t=2024-03-06T11:35:47.323375038Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-03-06T11:35:47.323399958Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=25.2µs grafana | logger=migrator t=2024-03-06T11:35:47.326059359Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-03-06T11:35:47.326800084Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=740.686µs grafana | logger=migrator t=2024-03-06T11:35:47.33025872Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-03-06T11:35:47.330870415Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=609.865µs grafana | logger=migrator t=2024-03-06T11:35:47.334331721Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-03-06T11:35:47.341150712Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=6.818451ms grafana | logger=migrator t=2024-03-06T11:35:47.345456865Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-03-06T11:35:47.34610163Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=644.175µs grafana | logger=migrator t=2024-03-06T11:35:47.349273994Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-03-06T11:35:47.350020049Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=747.565µs grafana | logger=migrator t=2024-03-06T11:35:47.353254584Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-03-06T11:35:47.35405746Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=802.176µs grafana | logger=migrator t=2024-03-06T11:35:47.358933307Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-03-06T11:35:47.359215219Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=279.652µs grafana | logger=migrator t=2024-03-06T11:35:47.36200645Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-03-06T11:35:47.362613805Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=606.305µs grafana | logger=migrator t=2024-03-06T11:35:47.366506154Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-03-06T11:35:47.368485419Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=1.976715ms grafana | logger=migrator t=2024-03-06T11:35:47.372665461Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-03-06T11:35:47.373427347Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=760.406µs grafana | logger=migrator t=2024-03-06T11:35:47.37650546Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-03-06T11:35:47.376669741Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=166.541µs grafana | logger=migrator t=2024-03-06T11:35:47.379597483Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-03-06T11:35:47.379756764Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=159.281µs grafana | logger=migrator t=2024-03-06T11:35:47.383914036Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-03-06T11:35:47.384693232Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=778.706µs grafana | logger=migrator t=2024-03-06T11:35:47.387911996Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-03-06T11:35:47.390144423Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.231487ms grafana | logger=migrator t=2024-03-06T11:35:47.393442458Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-03-06T11:35:47.394292074Z level=info msg="Migration successfully executed" id="create data_source table" duration=848.346µs grafana | logger=migrator t=2024-03-06T11:35:47.398255105Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-03-06T11:35:47.39903968Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=784.115µs grafana | logger=migrator t=2024-03-06T11:35:47.402602147Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" 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 | mariadb | 2024-03-06 11:35:44+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-03-06 11:35:44+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-03-06 11:35:44+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-03-06 11:35:44+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-03-06 11:35:44 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-03-06 11:35:44 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-03-06 11:35:44 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2024-03-06 11:35:45+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-03-06 11:35:45+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-03-06 11:35:45+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-03-06 11:35:45 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 96 ... mariadb | 2024-03-06 11:35:45 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-03-06 11:35:45 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-03-06 11:35:45 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-03-06 11:35:45 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-03-06 11:35:45 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-03-06 11:35:45 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-03-06 11:35:45 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-03-06 11:35:45 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-03-06 11:35:45 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-03-06 11:35:45 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-03-06 11:35:45 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-03-06 11:35:45 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-03-06 11:35:45 0 [Note] InnoDB: log sequence number 45452; transaction id 14 mariadb | 2024-03-06 11:35:45 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-03-06 11:35:45 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-03-06 11:35:45 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-03-06 11:35:45 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-03-06 11:35:45 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2024-03-06 11:35:46+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-03-06 11:35:47+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-03-06 11:35:47+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2024-03-06 11:35:48+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2024-03-06 11:35:48+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=2024-03-06T11:35:47.403444463Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=841.326µs grafana | logger=migrator t=2024-03-06T11:35:47.407035931Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-03-06T11:35:47.407592805Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=558.154µs grafana | logger=migrator t=2024-03-06T11:35:47.411523095Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-03-06T11:35:47.412058689Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=535.374µs grafana | logger=migrator t=2024-03-06T11:35:47.415024381Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-03-06T11:35:47.424411242Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=9.385691ms grafana | logger=migrator t=2024-03-06T11:35:47.427682857Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-03-06T11:35:47.428284461Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=601.304µs grafana | logger=migrator t=2024-03-06T11:35:47.432306752Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-03-06T11:35:47.432941667Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=634.675µs 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 | policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.3:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.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 | [2024-03-06T11:35:57.153+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 30 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-03-06T11:35:57.156+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-03-06T11:35:58.447+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-03-06T11:35:58.552+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 73 ms. Found 6 JPA repository interfaces. policy-api | [2024-03-06T11:35:59.566+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-03-06T11:35:59.581+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-03-06T11:35:59.582+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-03-06T11:35:59.582+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2024-03-06T11:35:59.666+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-03-06T11:35:59.666+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2452 ms policy-api | [2024-03-06T11:36:00.107+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-03-06T11:36:00.169+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2024-03-06T11:36:00.387+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2024-03-06T11:36:00.517+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-03-06T11:36:00.626+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-03-06T11:36:00.652+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2024-03-06T11:36:02.080+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2024-03-06T11:36:02.096+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-03-06T11:36:03.212+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-03-06T11:36:03.831+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-03-06T11:36:04.764+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@44cd3ea9, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@352df548, org.springframework.security.web.context.SecurityContextPersistenceFilter@5e4874ae, org.springframework.security.web.header.HeaderWriterFilter@fa200ab, org.springframework.security.web.authentication.logout.LogoutFilter@6434d49e, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@3a07afe6, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@13b666b4, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@644a12be, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@45dc4d1a, org.springframework.security.web.session.SessionManagementFilter@312eb, org.springframework.security.web.access.ExceptionTranslationFilter@1638fa8b, org.springframework.security.web.access.intercept.AuthorizationFilter@2b7b6f58] policy-api | [2024-03-06T11:36:04.901+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2024-03-06T11:36:07.889+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-03-06T11:36:07.916+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] 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 | -------------- grafana | logger=migrator t=2024-03-06T11:35:47.436114131Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-03-06T11:35:47.437000207Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=885.336µs grafana | logger=migrator t=2024-03-06T11:35:47.440204601Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-03-06T11:35:47.440775426Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=570.745µs grafana | logger=migrator t=2024-03-06T11:35:47.444752116Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-03-06T11:35:47.447034683Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.279227ms grafana | logger=migrator t=2024-03-06T11:35:47.450215667Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-03-06T11:35:47.452494215Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.276388ms grafana | logger=migrator t=2024-03-06T11:35:47.455618478Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-03-06T11:35:47.455645978Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=27.43µs grafana | logger=migrator t=2024-03-06T11:35:47.459705409Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-03-06T11:35:47.459940741Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=234.362µs grafana | logger=migrator t=2024-03-06T11:35:47.462963844Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-03-06T11:35:47.465237181Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.272887ms grafana | logger=migrator t=2024-03-06T11:35:47.468551046Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-03-06T11:35:47.468744428Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=194.572µs grafana | logger=migrator t=2024-03-06T11:35:47.471813541Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-03-06T11:35:47.471998672Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=184.931µs grafana | logger=migrator t=2024-03-06T11:35:47.476073393Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-03-06T11:35:47.479536849Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.461616ms grafana | logger=migrator t=2024-03-06T11:35:47.483025255Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-03-06T11:35:47.483332288Z level=info msg="Migration successfully executed" id="Update uid value" duration=306.893µs grafana | logger=migrator t=2024-03-06T11:35:47.485937737Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-03-06T11:35:47.486775614Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=837.077µs grafana | logger=migrator t=2024-03-06T11:35:47.490717174Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-03-06T11:35:47.49153379Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=814.506µs grafana | logger=migrator t=2024-03-06T11:35:47.494816135Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-03-06T11:35:47.49553268Z level=info msg="Migration successfully executed" id="create api_key table" duration=716.015µs grafana | logger=migrator t=2024-03-06T11:35:47.498785255Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-03-06T11:35:47.499554691Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=767.486µs grafana | logger=migrator t=2024-03-06T11:35:47.503731112Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-03-06T11:35:47.504556488Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=824.486µs grafana | logger=migrator t=2024-03-06T11:35:47.508131125Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-03-06T11:35:47.508986242Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=854.767µs grafana | logger=migrator t=2024-03-06T11:35:47.513575366Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-03-06T11:35:47.514311692Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=736.196µs grafana | logger=migrator t=2024-03-06T11:35:47.518345323Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-03-06T11:35:47.519458711Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.113688ms grafana | logger=migrator t=2024-03-06T11:35:47.523163179Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-03-06T11:35:47.524378628Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.215199ms grafana | logger=migrator t=2024-03-06T11:35:47.528775831Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-03-06T11:35:47.537173665Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=8.397184ms grafana | logger=migrator t=2024-03-06T11:35:47.540371229Z level=info msg="Executing migration" id="create api_key table v2" 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 | -------------- 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 | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2024-03-06 11:35:48+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-03-06 11:35:48 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-03-06 11:35:48 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-03-06 11:35:48 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-03-06 11:35:48 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-03-06 11:35:48 0 [Note] InnoDB: Buffer pool(s) dump completed at 240306 11:35:48 mariadb | 2024-03-06 11:35:49 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-03-06 11:35:49 0 [Note] InnoDB: Shutdown completed; log sequence number 380887; transaction id 298 mariadb | 2024-03-06 11:35:49 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-03-06 11:35:49+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-03-06 11:35:49+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-03-06 11:35:49 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-03-06 11:35:49 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-03-06 11:35:49 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-03-06 11:35:49 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-03-06 11:35:49 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-03-06 11:35:49 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-03-06 11:35:49 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-03-06 11:35:49 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-03-06 11:35:49 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-03-06 11:35:49 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-03-06 11:35:49 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-03-06 11:35:49 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-03-06 11:35:49 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-03-06 11:35:49 0 [Note] InnoDB: log sequence number 380887; transaction id 299 mariadb | 2024-03-06 11:35:49 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-03-06 11:35:49 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-03-06 11:35:49 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-03-06 11:35:49 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-03-06 11:35:49 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-03-06 11:35:49 0 [Note] Server socket created on IP: '::'. mariadb | 2024-03-06 11:35:49 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2024-03-06 11:35:49 0 [Note] InnoDB: Buffer pool(s) load completed at 240306 11:35:49 mariadb | 2024-03-06 11:35:49 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) mariadb | 2024-03-06 11:35:49 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) 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)) 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 | prometheus | ts=2024-03-06T11:35:46.003Z caller=main.go:564 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2024-03-06T11:35:46.003Z caller=main.go:608 level=info msg="Starting Prometheus Server" mode=server version="(version=2.50.1, branch=HEAD, revision=8c9b0285360a0b6288d76214a75ce3025bce4050)" prometheus | ts=2024-03-06T11:35:46.003Z caller=main.go:613 level=info build_context="(go=go1.21.7, platform=linux/amd64, user=root@6213bb3ee580, date=20240226-11:36:26, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2024-03-06T11:35:46.003Z caller=main.go:614 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" prometheus | ts=2024-03-06T11:35:46.003Z caller=main.go:615 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-03-06T11:35:46.003Z caller=main.go:616 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-03-06T11:35:46.005Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-03-06T11:35:46.005Z caller=main.go:1118 level=info msg="Starting TSDB ..." prometheus | ts=2024-03-06T11:35:46.010Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-03-06T11:35:46.010Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-03-06T11:35:46.013Z caller=head.go:610 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-03-06T11:35:46.013Z caller=head.go:692 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=3.07µs prometheus | ts=2024-03-06T11:35:46.013Z caller=head.go:700 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-03-06T11:35:46.014Z caller=head.go:771 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-03-06T11:35:46.014Z caller=head.go:808 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=49.401µs wal_replay_duration=662.815µs wbl_replay_duration=220ns total_replay_duration=759.356µs prometheus | ts=2024-03-06T11:35:46.019Z caller=main.go:1139 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-03-06T11:35:46.019Z caller=main.go:1142 level=info msg="TSDB started" prometheus | ts=2024-03-06T11:35:46.019Z caller=main.go:1324 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-03-06T11:35:46.021Z caller=main.go:1361 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.393401ms db_storage=1.4µs remote_storage=1.78µs web_handler=730ns query_engine=1.53µs scrape=597.654µs scrape_sd=124.451µs notify=27.8µs notify_sd=56.391µs rules=1.99µs tracing=3.94µs prometheus | ts=2024-03-06T11:35:46.021Z caller=main.go:1103 level=info msg="Server is ready to receive web requests." prometheus | ts=2024-03-06T11:35:46.021Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." 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-api | [2024-03-06T11:36:07.946+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-03-06T11:36:07.963+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.617 seconds (JVM running for 12.216) policy-api | [2024-03-06T11:36:15.226+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-03-06T11:36:15.226+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-03-06T11:36:15.227+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-api | [2024-03-06T11:36:17.493+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-03-06T11:36:17.595+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2024-03-06T11:36:17.853+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2024-03-06T11:36:18.921+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2024-03-06T11:36:20.748+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-03-06T11:36:21.226+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-03-06T11:36:21.446+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2024-03-06T11:36:21.676+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-03-06T11:36:21.899+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-03-06T11:36:22.121+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0690-toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0770-toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0780-toscarequirements.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-06T11:35:47.541043334Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=671.315µs grafana | logger=migrator t=2024-03-06T11:35:47.544820063Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-03-06T11:35:47.545597119Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=776.766µs grafana | logger=migrator t=2024-03-06T11:35:47.549660959Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-03-06T11:35:47.550412785Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=751.026µs grafana | logger=migrator t=2024-03-06T11:35:47.55364097Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-03-06T11:35:47.554470006Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=828.566µs grafana | logger=migrator t=2024-03-06T11:35:47.55763946Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-03-06T11:35:47.558001292Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=361.522µs grafana | logger=migrator t=2024-03-06T11:35:47.562340495Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-03-06T11:35:47.563137171Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=794.636µs grafana | logger=migrator t=2024-03-06T11:35:47.566533037Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-03-06T11:35:47.566575297Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=42.57µs grafana | logger=migrator t=2024-03-06T11:35:47.570065434Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-03-06T11:35:47.572601603Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.536659ms grafana | logger=migrator t=2024-03-06T11:35:47.576658004Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-03-06T11:35:47.579107252Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.439788ms grafana | logger=migrator t=2024-03-06T11:35:47.582216026Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-03-06T11:35:47.582399927Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=182.931µs grafana | logger=migrator t=2024-03-06T11:35:47.585613651Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-03-06T11:35:47.58806918Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.454749ms grafana | logger=migrator t=2024-03-06T11:35:47.591488346Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-03-06T11:35:47.593964144Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.475468ms grafana | logger=migrator t=2024-03-06T11:35:47.598251597Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-03-06T11:35:47.598940752Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=688.555µs grafana | logger=migrator t=2024-03-06T11:35:47.602197577Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-03-06T11:35:47.602774291Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=576.544µs grafana | logger=migrator t=2024-03-06T11:35:47.607159234Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-03-06T11:35:47.60790321Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=743.556µs grafana | logger=migrator t=2024-03-06T11:35:47.611488357Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-03-06T11:35:47.612285293Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=796.756µs grafana | logger=migrator t=2024-03-06T11:35:47.615473407Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-03-06T11:35:47.616293583Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=820.506µs grafana | logger=migrator t=2024-03-06T11:35:47.620500215Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-03-06T11:35:47.621341131Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=840.416µs grafana | logger=migrator t=2024-03-06T11:35:47.624605666Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-03-06T11:35:47.624681787Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=75.691µs grafana | logger=migrator t=2024-03-06T11:35:47.627983532Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-03-06T11:35:47.628011222Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=28.46µs grafana | logger=migrator t=2024-03-06T11:35:47.631223016Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-03-06T11:35:47.635316217Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.091761ms grafana | logger=migrator t=2024-03-06T11:35:47.63967672Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-03-06T11:35:47.64233489Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.65776ms grafana | logger=migrator t=2024-03-06T11:35:47.645764406Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-03-06T11:35:47.645841167Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=76.241µs grafana | logger=migrator t=2024-03-06T11:35:47.649090272Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-03-06T11:35:47.649811897Z level=info msg="Migration successfully executed" id="create quota table v1" duration=721.005µs grafana | logger=migrator t=2024-03-06T11:35:47.686069631Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-03-06T11:35:47.687635273Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.564982ms grafana | logger=migrator t=2024-03-06T11:35:47.690992278Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-03-06T11:35:47.691020718Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=28.18µs grafana | logger=migrator t=2024-03-06T11:35:47.695404842Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-03-06T11:35:47.696177558Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=770.375µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-06T11:35:47.702056182Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-03-06T11:35:47.703524803Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.472741ms grafana | logger=migrator t=2024-03-06T11:35:47.706712577Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-03-06T11:35:47.710203514Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=3.491327ms grafana | logger=migrator t=2024-03-06T11:35:47.71360271Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-03-06T11:35:47.71364584Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=44.021µs grafana | logger=migrator t=2024-03-06T11:35:47.71903103Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-03-06T11:35:47.720212569Z level=info msg="Migration successfully executed" id="create session table" duration=1.177409ms grafana | logger=migrator t=2024-03-06T11:35:47.723813157Z level=info msg="Executing migration" id="Drop old table playlist table" policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-06T11:35:47.723947438Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=134.891µs grafana | logger=migrator t=2024-03-06T11:35:47.727295343Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-03-06T11:35:47.727372253Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=79.99µs grafana | logger=migrator t=2024-03-06T11:35:47.732540653Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-03-06T11:35:47.733127417Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=586.444µs grafana | logger=migrator t=2024-03-06T11:35:47.736295911Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-03-06T11:35:47.737268938Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=972.437µs grafana | logger=migrator t=2024-03-06T11:35:47.740899756Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-03-06T11:35:47.740939816Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=46.5µs grafana | logger=migrator t=2024-03-06T11:35:47.744512103Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-03-06T11:35:47.744539543Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=27.87µs grafana | logger=migrator t=2024-03-06T11:35:47.749929824Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-03-06T11:35:47.752859256Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=2.928782ms grafana | logger=migrator t=2024-03-06T11:35:47.75594028Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-03-06T11:35:47.758879902Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=2.938132ms grafana | logger=migrator t=2024-03-06T11:35:47.761912365Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-03-06T11:35:47.761994335Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=79.65µs grafana | logger=migrator t=2024-03-06T11:35:47.767748509Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-03-06T11:35:47.767830709Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=82.19µs grafana | logger=migrator t=2024-03-06T11:35:47.771183445Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-03-06T11:35:47.772294973Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.108068ms grafana | logger=migrator t=2024-03-06T11:35:47.777216081Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-03-06T11:35:47.777254481Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=39.11µs grafana | logger=migrator t=2024-03-06T11:35:47.780453405Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-03-06T11:35:47.785545334Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=5.091349ms grafana | logger=migrator t=2024-03-06T11:35:47.791404418Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-03-06T11:35:47.791556059Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=149.361µs grafana | logger=migrator t=2024-03-06T11:35:47.793937987Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-03-06T11:35:47.797570374Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.630977ms grafana | logger=migrator t=2024-03-06T11:35:47.801249302Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2024-03-06T11:35:47.805622625Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=4.373623ms grafana | logger=migrator t=2024-03-06T11:35:47.811026206Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-03-06T11:35:47.811092117Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=65.731µs grafana | logger=migrator t=2024-03-06T11:35:47.813527925Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-03-06T11:35:47.814936916Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.408301ms grafana | logger=migrator t=2024-03-06T11:35:47.818785775Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-03-06T11:35:47.820076735Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.28991ms grafana | logger=migrator t=2024-03-06T11:35:47.838231192Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2024-03-06T11:35:47.839717933Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.486811ms grafana | logger=migrator t=2024-03-06T11:35:47.843363151Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-03-06T11:35:47.844792881Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.42901ms grafana | logger=migrator t=2024-03-06T11:35:47.848259558Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-03-06T11:35:47.849577378Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.31741ms grafana | logger=migrator t=2024-03-06T11:35:47.854765957Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-03-06T11:35:47.855596603Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=830.116µs grafana | logger=migrator t=2024-03-06T11:35:47.858897838Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-03-06T11:35:47.859506433Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=606.785µs grafana | logger=migrator t=2024-03-06T11:35:47.862877558Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-03-06T11:35:47.864311789Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.433461ms grafana | logger=migrator t=2024-03-06T11:35:47.869934132Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-03-06T11:35:47.871502114Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.568412ms grafana | logger=migrator t=2024-03-06T11:35:47.875999348Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-03-06T11:35:47.889747751Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=13.748643ms grafana | logger=migrator t=2024-03-06T11:35:47.893346609Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-03-06T11:35:47.893800352Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=453.693µs grafana | logger=migrator t=2024-03-06T11:35:47.910935542Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2024-03-06T11:35:47.912437373Z level=info msg="Migration successfully executed" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" duration=1.501261ms grafana | logger=migrator t=2024-03-06T11:35:47.916510754Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-03-06T11:35:47.917134829Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=624.225µs grafana | logger=migrator t=2024-03-06T11:35:47.920808477Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-03-06T11:35:47.921664033Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=855.096µs grafana | logger=migrator t=2024-03-06T11:35:47.927132324Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2024-03-06T11:35:47.927781719Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=649.525µs grafana | logger=migrator t=2024-03-06T11:35:47.932076412Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-03-06T11:35:47.938163868Z level=info msg="Migration successfully executed" id="Add column is_default" duration=6.083146ms grafana | logger=migrator t=2024-03-06T11:35:47.941397492Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-03-06T11:35:47.944820618Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.422826ms grafana | logger=migrator t=2024-03-06T11:35:47.95042092Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-03-06T11:35:47.953883256Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.461856ms grafana | logger=migrator t=2024-03-06T11:35:47.958205239Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-03-06T11:35:47.961660075Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.450156ms grafana | logger=migrator t=2024-03-06T11:35:47.966875215Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-03-06T11:35:47.967737391Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=861.446µs grafana | logger=migrator t=2024-03-06T11:35:47.973259473Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-03-06T11:35:47.973289314Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=30.461µs grafana | logger=migrator t=2024-03-06T11:35:47.975949324Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-03-06T11:35:47.975986494Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=37.75µs grafana | logger=migrator t=2024-03-06T11:35:47.979157898Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-03-06T11:35:47.980214336Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.056288ms grafana | logger=migrator t=2024-03-06T11:35:47.983504511Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-03-06T11:35:47.984519388Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.011957ms grafana | logger=migrator t=2024-03-06T11:35:47.990656965Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2024-03-06T11:35:47.99136957Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=712.275µs grafana | logger=migrator t=2024-03-06T11:35:47.994572684Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2024-03-06T11:35:47.995763923Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.190849ms grafana | logger=migrator t=2024-03-06T11:35:48.002535525Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-03-06T11:35:48.003524122Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=988.427µs grafana | logger=migrator t=2024-03-06T11:35:48.006875108Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2024-03-06T11:35:48.010822068Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.94463ms grafana | logger=migrator t=2024-03-06T11:35:48.013988372Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2024-03-06T11:35:48.017737541Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.744449ms grafana | logger=migrator t=2024-03-06T11:35:48.024327692Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-03-06T11:35:48.024710324Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=380.932µs grafana | logger=migrator t=2024-03-06T11:35:48.028252172Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2024-03-06T11:35:48.029915255Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.662323ms grafana | logger=migrator t=2024-03-06T11:35:48.034877913Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2024-03-06T11:35:48.03579798Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=919.947µs grafana | logger=migrator t=2024-03-06T11:35:48.040364045Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2024-03-06T11:35:48.044055493Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.690738ms grafana | logger=migrator t=2024-03-06T11:35:48.050223321Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2024-03-06T11:35:48.050312861Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=90.29µs grafana | logger=migrator t=2024-03-06T11:35:48.053884749Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-03-06T11:35:48.055502451Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.617382ms grafana | logger=migrator t=2024-03-06T11:35:48.059137519Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2024-03-06T11:35:48.060754162Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.617623ms grafana | logger=migrator t=2024-03-06T11:35:48.066547216Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2024-03-06T11:35:48.066685427Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=139.721µs grafana | logger=migrator t=2024-03-06T11:35:48.06966331Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2024-03-06T11:35:48.070584857Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=918.767µs grafana | logger=migrator t=2024-03-06T11:35:48.074117234Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2024-03-06T11:35:48.075786907Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.663963ms grafana | logger=migrator t=2024-03-06T11:35:48.082268777Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2024-03-06T11:35:48.083270945Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.002108ms grafana | logger=migrator t=2024-03-06T11:35:48.08654164Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2024-03-06T11:35:48.087589788Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.044138ms grafana | logger=migrator t=2024-03-06T11:35:48.091021424Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2024-03-06T11:35:48.092798418Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.775384ms grafana | logger=migrator t=2024-03-06T11:35:48.098434101Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2024-03-06T11:35:48.099497209Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.062408ms grafana | logger=migrator t=2024-03-06T11:35:48.103790821Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2024-03-06T11:35:48.103822372Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=30.021µs grafana | logger=migrator t=2024-03-06T11:35:48.107363629Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2024-03-06T11:35:48.113845459Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.48213ms grafana | logger=migrator t=2024-03-06T11:35:48.120844033Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2024-03-06T11:35:48.122138162Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=1.295219ms grafana | logger=migrator t=2024-03-06T11:35:48.12570931Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2024-03-06T11:35:48.132493492Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=6.785482ms grafana | logger=migrator t=2024-03-06T11:35:48.135682157Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-03-06T11:35:48.136389852Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=706.615µs grafana | logger=migrator t=2024-03-06T11:35:48.141793413Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2024-03-06T11:35:48.143335845Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.535432ms grafana | logger=migrator t=2024-03-06T11:35:48.149077759Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2024-03-06T11:35:48.150817383Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.738854ms grafana | logger=migrator t=2024-03-06T11:35:48.158857355Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2024-03-06T11:35:48.175821265Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=16.96488ms grafana | logger=migrator t=2024-03-06T11:35:48.184186599Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2024-03-06T11:35:48.184729313Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=556.884µs grafana | logger=migrator t=2024-03-06T11:35:48.189548831Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" grafana | logger=migrator t=2024-03-06T11:35:48.191184003Z 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.633442ms grafana | logger=migrator t=2024-03-06T11:35:48.197756844Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2024-03-06T11:35:48.198329128Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=571.444µs grafana | logger=migrator t=2024-03-06T11:35:48.203651699Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2024-03-06T11:35:48.204698857Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=1.037628ms grafana | logger=migrator t=2024-03-06T11:35:48.210963915Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2024-03-06T11:35:48.211219647Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=255.112µs grafana | logger=migrator t=2024-03-06T11:35:48.219248829Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2024-03-06T11:35:48.225612238Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.364329ms grafana | logger=migrator t=2024-03-06T11:35:48.235167321Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2024-03-06T11:35:48.242124215Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=6.955664ms grafana | logger=migrator t=2024-03-06T11:35:48.24930197Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2024-03-06T11:35:48.251077644Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.775704ms grafana | logger=migrator t=2024-03-06T11:35:48.255972251Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2024-03-06T11:35:48.257568573Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.595712ms grafana | logger=migrator t=2024-03-06T11:35:48.265979208Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2024-03-06T11:35:48.26628817Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=308.572µs policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdp.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE jpapdpstatistics_enginestats a policy-db-migrator | JOIN pdpstatistics b policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp policy-db-migrator | SET a.id = b.id policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-sequence.sql policy-db-migrator | -------------- policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscatrigger policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaparameter policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-upgrade.sql policy-db-migrator | -------------- policy-db-migrator | select 'upgrade to 1100 completed' as msg policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | msg policy-db-migrator | upgrade to 1100 completed policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1200) policy-db-migrator | name version policy-db-migrator | policyadmin 1200 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:50 grafana | logger=migrator t=2024-03-06T11:35:48.271880933Z level=info msg="Executing migration" id="Add epoch_end column" policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:50 grafana | logger=migrator t=2024-03-06T11:35:48.277851169Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=5.973226ms policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:50 grafana | logger=migrator t=2024-03-06T11:35:48.28702266Z level=info msg="Executing migration" id="Add index for epoch_end" policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:50 grafana | logger=migrator t=2024-03-06T11:35:48.288592362Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.566732ms policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:50 grafana | logger=migrator t=2024-03-06T11:35:48.296669974Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:50 grafana | logger=migrator t=2024-03-06T11:35:48.296905906Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=233.852µs policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:50 grafana | logger=migrator t=2024-03-06T11:35:48.303218354Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:50 grafana | logger=migrator t=2024-03-06T11:35:48.303865769Z level=info msg="Migration successfully executed" id="Move region to single row" duration=646.815µs policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:50 grafana | logger=migrator t=2024-03-06T11:35:48.311904641Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:50 grafana | logger=migrator t=2024-03-06T11:35:48.313373662Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.468691ms policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:50 grafana | logger=migrator t=2024-03-06T11:35:48.322028949Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:50 grafana | logger=migrator t=2024-03-06T11:35:48.32341813Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.388791ms policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:50 grafana | logger=migrator t=2024-03-06T11:35:48.330030991Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:50 grafana | logger=migrator t=2024-03-06T11:35:48.331661283Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.629493ms policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:50 grafana | logger=migrator t=2024-03-06T11:35:48.337024984Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:50 grafana | logger=migrator t=2024-03-06T11:35:48.338949189Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.923445ms policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:50 grafana | logger=migrator t=2024-03-06T11:35:48.349920803Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:50 grafana | logger=migrator t=2024-03-06T11:35:48.351482935Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.561382ms policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:50 grafana | logger=migrator t=2024-03-06T11:35:48.362919383Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:50 grafana | logger=migrator t=2024-03-06T11:35:48.364065322Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.151909ms policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:50 grafana | logger=migrator t=2024-03-06T11:35:48.371898482Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:50 grafana | logger=migrator t=2024-03-06T11:35:48.372001253Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=103.781µs policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:50 grafana | logger=migrator t=2024-03-06T11:35:48.377854138Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:50 grafana | logger=migrator t=2024-03-06T11:35:48.379186888Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.3318ms policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:51 grafana | logger=migrator t=2024-03-06T11:35:48.386365213Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:51 grafana | logger=migrator t=2024-03-06T11:35:48.38720785Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=842.117µs policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:51 grafana | logger=migrator t=2024-03-06T11:35:48.397132346Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:51 grafana | logger=migrator t=2024-03-06T11:35:48.398694538Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.562972ms policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:51 grafana | logger=migrator t=2024-03-06T11:35:48.405592421Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:51 grafana | logger=migrator t=2024-03-06T11:35:48.406646199Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.053978ms policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:51 grafana | logger=migrator t=2024-03-06T11:35:48.415366226Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:51 grafana | logger=migrator t=2024-03-06T11:35:48.41584867Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=481.444µs policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:51 grafana | logger=migrator t=2024-03-06T11:35:48.427910973Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:51 grafana | logger=migrator t=2024-03-06T11:35:48.428925081Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=1.019798ms policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:51 grafana | logger=migrator t=2024-03-06T11:35:48.43797238Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:51 grafana | logger=migrator t=2024-03-06T11:35:48.438136501Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=163.451µs policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:51 grafana | logger=migrator t=2024-03-06T11:35:48.442021991Z level=info msg="Executing migration" id="create team table" policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:51 grafana | logger=migrator t=2024-03-06T11:35:48.442943728Z level=info msg="Migration successfully executed" id="create team table" duration=923.717µs policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:51 grafana | logger=migrator t=2024-03-06T11:35:48.447652064Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:51 grafana | logger=migrator t=2024-03-06T11:35:48.448843194Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.19094ms policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:51 grafana | logger=migrator t=2024-03-06T11:35:48.461587671Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:51 grafana | logger=migrator t=2024-03-06T11:35:48.463277374Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.689743ms policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:51 grafana | logger=migrator t=2024-03-06T11:35:48.475470048Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:51 grafana | logger=migrator t=2024-03-06T11:35:48.484006334Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=8.534926ms policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:51 grafana | logger=migrator t=2024-03-06T11:35:48.490819666Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:51 grafana | logger=migrator t=2024-03-06T11:35:48.49126262Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=443.044µs policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:51 grafana | logger=migrator t=2024-03-06T11:35:48.499691444Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:51 grafana | logger=migrator t=2024-03-06T11:35:48.501581959Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.888035ms grafana | logger=migrator t=2024-03-06T11:35:48.508526612Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2024-03-06T11:35:48.509914983Z level=info msg="Migration successfully executed" id="create team member table" duration=1.387751ms policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:51 grafana | logger=migrator t=2024-03-06T11:35:48.51475204Z level=info msg="Executing migration" id="add index team_member.org_id" policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:51 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:51 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:51 grafana | logger=migrator t=2024-03-06T11:35:48.516188931Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.417481ms policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:52 grafana | logger=migrator t=2024-03-06T11:35:48.523184965Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:52 grafana | logger=migrator t=2024-03-06T11:35:48.525002649Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.816174ms policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:52 grafana | logger=migrator t=2024-03-06T11:35:48.534816164Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:52 grafana | logger=migrator t=2024-03-06T11:35:48.535925913Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.109639ms policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:52 grafana | logger=migrator t=2024-03-06T11:35:48.541281964Z level=info msg="Executing migration" id="Add column email to team table" policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:52 grafana | logger=migrator t=2024-03-06T11:35:48.547954035Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=6.672871ms policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:52 grafana | logger=migrator t=2024-03-06T11:35:48.55120747Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:52 grafana | logger=migrator t=2024-03-06T11:35:48.554627417Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=3.417647ms policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:52 grafana | logger=migrator t=2024-03-06T11:35:48.562056514Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:52 grafana | logger=migrator t=2024-03-06T11:35:48.567164193Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=5.107279ms policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:52 grafana | logger=migrator t=2024-03-06T11:35:48.570824851Z level=info msg="Executing migration" id="create dashboard acl table" policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:52 grafana | logger=migrator t=2024-03-06T11:35:48.571820939Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=995.438µs policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:52 grafana | logger=migrator t=2024-03-06T11:35:48.576507195Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:52 grafana | logger=migrator t=2024-03-06T11:35:48.578050947Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.543532ms policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:52 grafana | logger=migrator t=2024-03-06T11:35:48.583346417Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:52 grafana | logger=migrator t=2024-03-06T11:35:48.585097281Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.749934ms policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:52 grafana | logger=migrator t=2024-03-06T11:35:48.594564344Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:52 grafana | logger=migrator t=2024-03-06T11:35:48.595765373Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.199249ms policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:52 grafana | logger=migrator t=2024-03-06T11:35:48.603632783Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:52 grafana | logger=migrator t=2024-03-06T11:35:48.605344987Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.714224ms policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:52 grafana | logger=migrator t=2024-03-06T11:35:48.612615872Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:52 grafana | logger=migrator t=2024-03-06T11:35:48.61362078Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.004798ms policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:52 grafana | logger=migrator t=2024-03-06T11:35:48.621000637Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:52 grafana | logger=migrator t=2024-03-06T11:35:48.62273189Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.731383ms policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:52 grafana | logger=migrator t=2024-03-06T11:35:48.62924303Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:52 grafana | logger=migrator t=2024-03-06T11:35:48.631171535Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.928165ms policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:52 grafana | logger=migrator t=2024-03-06T11:35:48.636787178Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:52 grafana | logger=migrator t=2024-03-06T11:35:48.637760035Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=971.977µs policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:52 grafana | logger=migrator t=2024-03-06T11:35:48.644766209Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:53 grafana | logger=migrator t=2024-03-06T11:35:48.645049642Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=283.403µs policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:53 grafana | logger=migrator t=2024-03-06T11:35:48.650763966Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:53 grafana | logger=migrator t=2024-03-06T11:35:48.651959255Z level=info msg="Migration successfully executed" id="create tag table" duration=1.194049ms policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:53 grafana | logger=migrator t=2024-03-06T11:35:48.657717409Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:53 grafana | logger=migrator t=2024-03-06T11:35:48.659284111Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.566272ms policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:53 grafana | logger=migrator t=2024-03-06T11:35:48.668720794Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:53 grafana | logger=migrator t=2024-03-06T11:35:48.669939573Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.218349ms policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:53 grafana | logger=migrator t=2024-03-06T11:35:48.680436434Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:53 grafana | logger=migrator t=2024-03-06T11:35:48.682012606Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.574372ms policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:53 grafana | logger=migrator t=2024-03-06T11:35:48.688010892Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:53 grafana | logger=migrator t=2024-03-06T11:35:48.689670515Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.658243ms policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:53 grafana | logger=migrator t=2024-03-06T11:35:48.694824584Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:53 grafana | logger=migrator t=2024-03-06T11:35:48.714445365Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=19.620791ms policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:53 grafana | logger=migrator t=2024-03-06T11:35:48.719194152Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0603241135500800u 1 2024-03-06 11:35:53 grafana | logger=migrator t=2024-03-06T11:35:48.719751436Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=556.945µs policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 0603241135500900u 1 2024-03-06 11:35:53 grafana | logger=migrator t=2024-03-06T11:35:48.729827023Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 0603241135500900u 1 2024-03-06 11:35:53 grafana | logger=migrator t=2024-03-06T11:35:48.730778711Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=951.597µs policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 0603241135500900u 1 2024-03-06 11:35:53 grafana | logger=migrator t=2024-03-06T11:35:48.741529553Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 0603241135500900u 1 2024-03-06 11:35:53 grafana | logger=migrator t=2024-03-06T11:35:48.742313009Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=784.466µs policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 0603241135500900u 1 2024-03-06 11:35:53 grafana | logger=migrator t=2024-03-06T11:35:48.749270563Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 0603241135500900u 1 2024-03-06 11:35:53 grafana | logger=migrator t=2024-03-06T11:35:48.750474302Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.205669ms policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0603241135500900u 1 2024-03-06 11:35:54 grafana | logger=migrator t=2024-03-06T11:35:48.753888698Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0603241135500900u 1 2024-03-06 11:35:54 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0603241135500900u 1 2024-03-06 11:35:54 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 0603241135500900u 1 2024-03-06 11:35:54 grafana | logger=migrator t=2024-03-06T11:35:48.755111568Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.22263ms policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 0603241135500900u 1 2024-03-06 11:35:54 grafana | logger=migrator t=2024-03-06T11:35:48.76057975Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 0603241135500900u 1 2024-03-06 11:35:54 grafana | logger=migrator t=2024-03-06T11:35:48.761585617Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.008447ms policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 0603241135500900u 1 2024-03-06 11:35:54 grafana | logger=migrator t=2024-03-06T11:35:48.766950489Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 0603241135501000u 1 2024-03-06 11:35:54 grafana | logger=migrator t=2024-03-06T11:35:48.76709844Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=147.771µs policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 0603241135501000u 1 2024-03-06 11:35:54 grafana | logger=migrator t=2024-03-06T11:35:48.772768433Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 0603241135501000u 1 2024-03-06 11:35:54 grafana | logger=migrator t=2024-03-06T11:35:48.781715802Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=8.947009ms policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 0603241135501000u 1 2024-03-06 11:35:54 grafana | logger=migrator t=2024-03-06T11:35:48.786918672Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 0603241135501000u 1 2024-03-06 11:35:54 grafana | logger=migrator t=2024-03-06T11:35:48.79050148Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=3.582838ms policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 0603241135501000u 1 2024-03-06 11:35:54 grafana | logger=migrator t=2024-03-06T11:35:48.794693152Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 0603241135501000u 1 2024-03-06 11:35:54 grafana | logger=migrator t=2024-03-06T11:35:48.799931442Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.23736ms policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 0603241135501000u 1 2024-03-06 11:35:54 grafana | logger=migrator t=2024-03-06T11:35:48.806575143Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 0603241135501000u 1 2024-03-06 11:35:54 grafana | logger=migrator t=2024-03-06T11:35:48.814325633Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=7.7485ms policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 0603241135501100u 1 2024-03-06 11:35:54 grafana | logger=migrator t=2024-03-06T11:35:48.820889253Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 0603241135501200u 1 2024-03-06 11:35:54 grafana | logger=migrator t=2024-03-06T11:35:48.82183151Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=943.257µs policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 0603241135501200u 1 2024-03-06 11:35:54 grafana | logger=migrator t=2024-03-06T11:35:48.82825405Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 0603241135501200u 1 2024-03-06 11:35:54 grafana | logger=migrator t=2024-03-06T11:35:48.836518763Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=8.264973ms policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 0603241135501200u 1 2024-03-06 11:35:54 grafana | logger=migrator t=2024-03-06T11:35:48.840450444Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | policyadmin: OK @ 1200 grafana | logger=migrator t=2024-03-06T11:35:48.84125571Z level=info msg="Migration successfully executed" id="create server_lock table" duration=805.146µs grafana | logger=migrator t=2024-03-06T11:35:48.844389164Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2024-03-06T11:35:48.845800485Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.410151ms grafana | logger=migrator t=2024-03-06T11:35:48.851541709Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2024-03-06T11:35:48.85296496Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.423561ms grafana | logger=migrator t=2024-03-06T11:35:48.858710244Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2024-03-06T11:35:48.859629481Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=918.407µs grafana | logger=migrator t=2024-03-06T11:35:48.869599788Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2024-03-06T11:35:48.871134739Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.537191ms grafana | logger=migrator t=2024-03-06T11:35:48.878220824Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2024-03-06T11:35:48.879588125Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.36672ms grafana | logger=migrator t=2024-03-06T11:35:48.886705549Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2024-03-06T11:35:48.895291595Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=8.583596ms grafana | logger=migrator t=2024-03-06T11:35:48.899381287Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2024-03-06T11:35:48.900373394Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=991.707µs grafana | logger=migrator t=2024-03-06T11:35:48.905183521Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2024-03-06T11:35:48.905963777Z level=info msg="Migration successfully executed" id="create cache_data table" duration=778.666µs grafana | logger=migrator t=2024-03-06T11:35:48.909343973Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2024-03-06T11:35:48.910328721Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=984.358µs grafana | logger=migrator t=2024-03-06T11:35:48.913770957Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2024-03-06T11:35:48.914576433Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=805.126µs grafana | logger=migrator t=2024-03-06T11:35:48.919084758Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2024-03-06T11:35:48.920136076Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.049298ms grafana | logger=migrator t=2024-03-06T11:35:48.923628013Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2024-03-06T11:35:48.923715064Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=87.461µs grafana | logger=migrator t=2024-03-06T11:35:48.92714428Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2024-03-06T11:35:48.927322341Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=178.151µs grafana | logger=migrator t=2024-03-06T11:35:48.930189263Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2024-03-06T11:35:48.931480583Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.28954ms grafana | logger=migrator t=2024-03-06T11:35:48.936773594Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-03-06T11:35:48.937854612Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.080628ms grafana | logger=migrator t=2024-03-06T11:35:48.941664572Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-03-06T11:35:48.943295764Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.631232ms grafana | logger=migrator t=2024-03-06T11:35:48.947163744Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2024-03-06T11:35:48.947301925Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=139.021µs grafana | logger=migrator t=2024-03-06T11:35:48.95183034Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-03-06T11:35:48.953476282Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.646272ms grafana | logger=migrator t=2024-03-06T11:35:48.957258772Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-03-06T11:35:48.958278059Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.020267ms grafana | logger=migrator t=2024-03-06T11:35:48.961750866Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-03-06T11:35:48.962725323Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=974.427µs grafana | logger=migrator t=2024-03-06T11:35:48.967263338Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-03-06T11:35:48.968262266Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=998.388µs grafana | logger=migrator t=2024-03-06T11:35:48.971736633Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2024-03-06T11:35:48.977382756Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.645603ms grafana | logger=migrator t=2024-03-06T11:35:48.981948031Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2024-03-06T11:35:48.982840878Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=892.177µs grafana | logger=migrator t=2024-03-06T11:35:48.986326445Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2024-03-06T11:35:48.986403825Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=77.81µs grafana | logger=migrator t=2024-03-06T11:35:48.989914803Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2024-03-06T11:35:48.990722069Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=806.736µs grafana | logger=migrator t=2024-03-06T11:35:48.995222873Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" grafana | logger=migrator t=2024-03-06T11:35:48.996739825Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.514492ms grafana | logger=migrator t=2024-03-06T11:35:49.000743156Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" grafana | logger=migrator t=2024-03-06T11:35:49.002305098Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.561012ms grafana | logger=migrator t=2024-03-06T11:35:49.006004546Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-03-06T11:35:49.006062917Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=58.651µs grafana | logger=migrator t=2024-03-06T11:35:49.009048682Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2024-03-06T11:35:49.00993426Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=884.798µs grafana | logger=migrator t=2024-03-06T11:35:49.014595068Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2024-03-06T11:35:49.015905088Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.30886ms grafana | logger=migrator t=2024-03-06T11:35:49.01979233Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" grafana | logger=migrator t=2024-03-06T11:35:49.021311952Z 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.519152ms grafana | logger=migrator t=2024-03-06T11:35:49.026404093Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2024-03-06T11:35:49.027325181Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=920.948µs grafana | logger=migrator t=2024-03-06T11:35:49.030793659Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2024-03-06T11:35:49.040223156Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=9.427097ms grafana | logger=migrator t=2024-03-06T11:35:49.043600844Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2024-03-06T11:35:49.044277479Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=676.475µs grafana | logger=migrator t=2024-03-06T11:35:49.048462663Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-03-06T11:35:49.049118208Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=655.255µs grafana | logger=migrator t=2024-03-06T11:35:49.052814399Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2024-03-06T11:35:49.094101356Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=41.291937ms grafana | logger=migrator t=2024-03-06T11:35:49.10426296Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2024-03-06T11:35:49.145613778Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=41.352298ms grafana | logger=migrator t=2024-03-06T11:35:49.154082057Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2024-03-06T11:35:49.155137996Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.055369ms grafana | logger=migrator t=2024-03-06T11:35:49.159646003Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-03-06T11:35:49.160909213Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.25909ms grafana | logger=migrator t=2024-03-06T11:35:49.167392796Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2024-03-06T11:35:49.174266802Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=6.876146ms grafana | logger=migrator t=2024-03-06T11:35:49.17888266Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" grafana | logger=migrator t=2024-03-06T11:35:49.185140541Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=6.257171ms grafana | logger=migrator t=2024-03-06T11:35:49.190245523Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2024-03-06T11:35:49.19109252Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=847.337µs grafana | logger=migrator t=2024-03-06T11:35:49.197903686Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2024-03-06T11:35:49.199777911Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.873176ms grafana | logger=migrator t=2024-03-06T11:35:49.204364118Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2024-03-06T11:35:49.205427007Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.060019ms grafana | logger=migrator t=2024-03-06T11:35:49.209218748Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2024-03-06T11:35:49.210321787Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.102089ms grafana | logger=migrator t=2024-03-06T11:35:49.21557083Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2024-03-06T11:35:49.21563465Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=62.83µs grafana | logger=migrator t=2024-03-06T11:35:49.219319761Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2024-03-06T11:35:49.228690067Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=9.370196ms grafana | logger=migrator t=2024-03-06T11:35:49.231987374Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2024-03-06T11:35:49.236218399Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=4.230695ms grafana | logger=migrator t=2024-03-06T11:35:49.240357683Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2024-03-06T11:35:49.246539283Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.18109ms grafana | logger=migrator t=2024-03-06T11:35:49.251398583Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2024-03-06T11:35:49.252384151Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=985.288µs grafana | logger=migrator t=2024-03-06T11:35:49.257464263Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2024-03-06T11:35:49.259123916Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.650253ms grafana | logger=migrator t=2024-03-06T11:35:49.269234199Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2024-03-06T11:35:49.276475198Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=7.24637ms grafana | logger=migrator t=2024-03-06T11:35:49.281308317Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2024-03-06T11:35:49.287212616Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.903479ms grafana | logger=migrator t=2024-03-06T11:35:49.292261167Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" grafana | logger=migrator t=2024-03-06T11:35:49.293301485Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.039628ms grafana | logger=migrator t=2024-03-06T11:35:49.297237788Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2024-03-06T11:35:49.303258107Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=6.019909ms grafana | logger=migrator t=2024-03-06T11:35:49.307963966Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2024-03-06T11:35:49.313917914Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=5.953368ms grafana | logger=migrator t=2024-03-06T11:35:49.31829249Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2024-03-06T11:35:49.318382701Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=92.161µs grafana | logger=migrator t=2024-03-06T11:35:49.322561025Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2024-03-06T11:35:49.323572663Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.011128ms grafana | logger=migrator t=2024-03-06T11:35:49.32931345Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" grafana | logger=migrator t=2024-03-06T11:35:49.331001284Z 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.686474ms grafana | logger=migrator t=2024-03-06T11:35:49.335347539Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" grafana | logger=migrator t=2024-03-06T11:35:49.337215225Z 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.866746ms grafana | logger=migrator t=2024-03-06T11:35:49.341646521Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-03-06T11:35:49.341736901Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=90.7µs grafana | logger=migrator t=2024-03-06T11:35:49.347474469Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2024-03-06T11:35:49.356828775Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=9.354606ms grafana | logger=migrator t=2024-03-06T11:35:49.361550514Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2024-03-06T11:35:49.366550495Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=4.999051ms grafana | logger=migrator t=2024-03-06T11:35:49.371749757Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2024-03-06T11:35:49.377889137Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.13948ms grafana | logger=migrator t=2024-03-06T11:35:49.38306324Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2024-03-06T11:35:49.389271391Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.207912ms grafana | logger=migrator t=2024-03-06T11:35:49.395456031Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2024-03-06T11:35:49.402004424Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.548073ms grafana | logger=migrator t=2024-03-06T11:35:49.409650107Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2024-03-06T11:35:49.409742188Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=92.641µs grafana | logger=migrator t=2024-03-06T11:35:49.420739948Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2024-03-06T11:35:49.421947357Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.207239ms grafana | logger=migrator t=2024-03-06T11:35:49.425835929Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2024-03-06T11:35:49.432209922Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=6.359152ms grafana | logger=migrator t=2024-03-06T11:35:49.435574069Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2024-03-06T11:35:49.43564223Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=68.591µs grafana | logger=migrator t=2024-03-06T11:35:49.438855296Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2024-03-06T11:35:49.443330472Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=4.474886ms grafana | logger=migrator t=2024-03-06T11:35:49.447693578Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2024-03-06T11:35:49.448999429Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.304571ms grafana | logger=migrator t=2024-03-06T11:35:49.452535428Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2024-03-06T11:35:49.459065791Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.527673ms grafana | logger=migrator t=2024-03-06T11:35:49.463102044Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2024-03-06T11:35:49.463644339Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=540.534µs grafana | logger=migrator t=2024-03-06T11:35:49.467783833Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2024-03-06T11:35:49.468587729Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=803.386µs grafana | logger=migrator t=2024-03-06T11:35:49.471980817Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2024-03-06T11:35:49.481587526Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=9.607409ms grafana | logger=migrator t=2024-03-06T11:35:49.485171135Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2024-03-06T11:35:49.486039452Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=867.057µs grafana | logger=migrator t=2024-03-06T11:35:49.491057013Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2024-03-06T11:35:49.49312819Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=2.070307ms grafana | logger=migrator t=2024-03-06T11:35:49.498741576Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2024-03-06T11:35:49.499540092Z level=info msg="Migration successfully executed" id="create alert_image table" duration=799.706µs grafana | logger=migrator t=2024-03-06T11:35:49.508388875Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2024-03-06T11:35:49.509927367Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.538882ms grafana | logger=migrator t=2024-03-06T11:35:49.514341383Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2024-03-06T11:35:49.514521135Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=180.322µs grafana | logger=migrator t=2024-03-06T11:35:49.517799362Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2024-03-06T11:35:49.51883553Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.036278ms grafana | logger=migrator t=2024-03-06T11:35:49.521773814Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2024-03-06T11:35:49.522879963Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.106179ms grafana | logger=migrator t=2024-03-06T11:35:49.526852146Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-03-06T11:35:49.527306579Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-03-06T11:35:49.530382934Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2024-03-06T11:35:49.530869688Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=488.194µs grafana | logger=migrator t=2024-03-06T11:35:49.534049854Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2024-03-06T11:35:49.535169593Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.115499ms grafana | logger=migrator t=2024-03-06T11:35:49.539228517Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2024-03-06T11:35:49.546514556Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=7.285459ms grafana | logger=migrator t=2024-03-06T11:35:49.549987625Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2024-03-06T11:35:49.55066988Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=681.635µs grafana | logger=migrator t=2024-03-06T11:35:49.554039328Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2024-03-06T11:35:49.554865185Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=825.437µs grafana | logger=migrator t=2024-03-06T11:35:49.559009989Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2024-03-06T11:35:49.560146388Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.136049ms grafana | logger=migrator t=2024-03-06T11:35:49.563692787Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2024-03-06T11:35:49.56529813Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.604523ms grafana | logger=migrator t=2024-03-06T11:35:49.568895959Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2024-03-06T11:35:49.570469522Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.572753ms grafana | logger=migrator t=2024-03-06T11:35:49.574918249Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2024-03-06T11:35:49.574943859Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=26.271µs grafana | logger=migrator t=2024-03-06T11:35:49.578154015Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2024-03-06T11:35:49.578220706Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=67.011µs grafana | logger=migrator t=2024-03-06T11:35:49.581704814Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2024-03-06T11:35:49.582100308Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=395.763µs grafana | logger=migrator t=2024-03-06T11:35:49.585960909Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2024-03-06T11:35:49.58728948Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.328131ms grafana | logger=migrator t=2024-03-06T11:35:49.591931318Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2024-03-06T11:35:49.592876515Z level=info msg="Migration successfully executed" id="create secrets table" duration=947.837µs grafana | logger=migrator t=2024-03-06T11:35:49.596097062Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2024-03-06T11:35:49.642054098Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=45.957056ms grafana | logger=migrator t=2024-03-06T11:35:49.646163281Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2024-03-06T11:35:49.651104992Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=4.941531ms grafana | logger=migrator t=2024-03-06T11:35:49.656350405Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2024-03-06T11:35:49.656511966Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=161.281µs grafana | logger=migrator t=2024-03-06T11:35:49.660879482Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2024-03-06T11:35:49.706629256Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=45.750724ms grafana | logger=migrator t=2024-03-06T11:35:49.712503074Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2024-03-06T11:35:49.757428041Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=44.924887ms grafana | logger=migrator t=2024-03-06T11:35:49.761305883Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2024-03-06T11:35:49.762063849Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=757.126µs grafana | logger=migrator t=2024-03-06T11:35:49.768019968Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2024-03-06T11:35:49.769083467Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.062899ms grafana | logger=migrator t=2024-03-06T11:35:49.773053219Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2024-03-06T11:35:49.773244821Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=191.612µs grafana | logger=migrator t=2024-03-06T11:35:49.777747687Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2024-03-06T11:35:49.778526544Z level=info msg="Migration successfully executed" id="create permission table" duration=777.077µs grafana | logger=migrator t=2024-03-06T11:35:49.785007987Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2024-03-06T11:35:49.78658246Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.575733ms grafana | logger=migrator t=2024-03-06T11:35:49.790783654Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2024-03-06T11:35:49.792445678Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.661494ms grafana | logger=migrator t=2024-03-06T11:35:49.796665822Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2024-03-06T11:35:49.797430518Z level=info msg="Migration successfully executed" id="create role table" duration=763.956µs grafana | logger=migrator t=2024-03-06T11:35:49.802203808Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2024-03-06T11:35:49.809242705Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.038377ms grafana | logger=migrator t=2024-03-06T11:35:49.814604489Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2024-03-06T11:35:49.821957899Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.35276ms grafana | logger=migrator t=2024-03-06T11:35:49.825871641Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2024-03-06T11:35:49.826840579Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=968.168µs grafana | logger=migrator t=2024-03-06T11:35:49.832815048Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2024-03-06T11:35:49.834475041Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.659203ms grafana | logger=migrator t=2024-03-06T11:35:49.838392273Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2024-03-06T11:35:49.840067427Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.659094ms grafana | logger=migrator t=2024-03-06T11:35:49.843830508Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2024-03-06T11:35:49.844610384Z level=info msg="Migration successfully executed" id="create team role table" duration=778.946µs grafana | logger=migrator t=2024-03-06T11:35:49.849628795Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2024-03-06T11:35:49.851321779Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.692494ms grafana | logger=migrator t=2024-03-06T11:35:49.855719355Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2024-03-06T11:35:49.857126956Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.407531ms grafana | logger=migrator t=2024-03-06T11:35:49.861630443Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2024-03-06T11:35:49.862642622Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.011909ms grafana | logger=migrator t=2024-03-06T11:35:49.86972929Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2024-03-06T11:35:49.871110071Z level=info msg="Migration successfully executed" id="create user role table" duration=1.384641ms grafana | logger=migrator t=2024-03-06T11:35:49.877848246Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2024-03-06T11:35:49.879678451Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.830725ms grafana | logger=migrator t=2024-03-06T11:35:49.884674912Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2024-03-06T11:35:49.885764381Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.090789ms grafana | logger=migrator t=2024-03-06T11:35:49.888925517Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2024-03-06T11:35:49.890022206Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.096409ms grafana | logger=migrator t=2024-03-06T11:35:49.896598329Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2024-03-06T11:35:49.897409346Z level=info msg="Migration successfully executed" id="create builtin role table" duration=808.007µs grafana | logger=migrator t=2024-03-06T11:35:49.900917795Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2024-03-06T11:35:49.902593699Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.675033ms grafana | logger=migrator t=2024-03-06T11:35:49.906111637Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2024-03-06T11:35:49.907190326Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.078119ms grafana | logger=migrator t=2024-03-06T11:35:49.912361638Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2024-03-06T11:35:49.920092861Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.730823ms grafana | logger=migrator t=2024-03-06T11:35:49.92481517Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2024-03-06T11:35:49.926189852Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.374352ms grafana | logger=migrator t=2024-03-06T11:35:49.930399416Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2024-03-06T11:35:49.931490605Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.090599ms grafana | logger=migrator t=2024-03-06T11:35:49.936495856Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2024-03-06T11:35:49.937551124Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.054828ms grafana | logger=migrator t=2024-03-06T11:35:49.940867371Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2024-03-06T11:35:49.94195621Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.087509ms grafana | logger=migrator t=2024-03-06T11:35:49.945392969Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2024-03-06T11:35:49.946217015Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=823.656µs grafana | logger=migrator t=2024-03-06T11:35:49.951979332Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2024-03-06T11:35:49.953802867Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.822095ms grafana | logger=migrator t=2024-03-06T11:35:49.958080982Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2024-03-06T11:35:49.967251147Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=9.170775ms grafana | logger=migrator t=2024-03-06T11:35:49.970260552Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2024-03-06T11:35:49.975871918Z level=info msg="Migration successfully executed" id="permission kind migration" duration=5.611126ms grafana | logger=migrator t=2024-03-06T11:35:49.980774818Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2024-03-06T11:35:49.988718093Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=7.942325ms grafana | logger=migrator t=2024-03-06T11:35:49.992773286Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2024-03-06T11:35:50.002329954Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=9.557988ms grafana | logger=migrator t=2024-03-06T11:35:50.006037365Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2024-03-06T11:35:50.007116523Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.078158ms grafana | logger=migrator t=2024-03-06T11:35:50.012029293Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2024-03-06T11:35:50.012916501Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=886.948µs grafana | logger=migrator t=2024-03-06T11:35:50.016753412Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2024-03-06T11:35:50.017888551Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.134969ms grafana | logger=migrator t=2024-03-06T11:35:50.021070617Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2024-03-06T11:35:50.021134838Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=64.551µs grafana | logger=migrator t=2024-03-06T11:35:50.027213508Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2024-03-06T11:35:50.027324199Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=113.01µs grafana | logger=migrator t=2024-03-06T11:35:50.030192862Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2024-03-06T11:35:50.031035269Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=842.667µs grafana | logger=migrator t=2024-03-06T11:35:50.034769359Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2024-03-06T11:35:50.035847418Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.079629ms grafana | logger=migrator t=2024-03-06T11:35:50.039465988Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2024-03-06T11:35:50.040084083Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=617.165µs grafana | logger=migrator t=2024-03-06T11:35:50.045027693Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2024-03-06T11:35:50.045283795Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=256.022µs grafana | logger=migrator t=2024-03-06T11:35:50.04834685Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2024-03-06T11:35:50.048654963Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=309.933µs grafana | logger=migrator t=2024-03-06T11:35:50.05193736Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2024-03-06T11:35:50.052751466Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=813.886µs grafana | logger=migrator t=2024-03-06T11:35:50.056098134Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2024-03-06T11:35:50.056988021Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=889.577µs grafana | logger=migrator t=2024-03-06T11:35:50.061915441Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2024-03-06T11:35:50.068228023Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=6.308842ms grafana | logger=migrator t=2024-03-06T11:35:50.071489609Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2024-03-06T11:35:50.07155674Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=67.641µs grafana | logger=migrator t=2024-03-06T11:35:50.074317302Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2024-03-06T11:35:50.07529578Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=980.678µs grafana | logger=migrator t=2024-03-06T11:35:50.080480003Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2024-03-06T11:35:50.081667132Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.186659ms grafana | logger=migrator t=2024-03-06T11:35:50.086515242Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2024-03-06T11:35:50.087595641Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.080729ms grafana | logger=migrator t=2024-03-06T11:35:50.090825668Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2024-03-06T11:35:50.101869828Z level=info msg="Migration successfully executed" id="add correlation config column" duration=11.04428ms grafana | logger=migrator t=2024-03-06T11:35:50.106527746Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2024-03-06T11:35:50.107323732Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=795.426µs grafana | logger=migrator t=2024-03-06T11:35:50.11072791Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2024-03-06T11:35:50.111738788Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.010078ms grafana | logger=migrator t=2024-03-06T11:35:50.116593868Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2024-03-06T11:35:50.148189036Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=31.591328ms grafana | logger=migrator t=2024-03-06T11:35:50.153347359Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2024-03-06T11:35:50.154431937Z level=info msg="Migration successfully executed" id="create correlation v2" duration=1.084698ms grafana | logger=migrator t=2024-03-06T11:35:50.161062932Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2024-03-06T11:35:50.162694505Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.630193ms grafana | logger=migrator t=2024-03-06T11:35:50.167665595Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2024-03-06T11:35:50.169562711Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.896406ms grafana | logger=migrator t=2024-03-06T11:35:50.173236091Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2024-03-06T11:35:50.174478301Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.24222ms grafana | logger=migrator t=2024-03-06T11:35:50.177908869Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2024-03-06T11:35:50.178175161Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=268.292µs grafana | logger=migrator t=2024-03-06T11:35:50.185659033Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2024-03-06T11:35:50.18652814Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=868.908µs grafana | logger=migrator t=2024-03-06T11:35:50.192455238Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2024-03-06T11:35:50.20254896Z level=info msg="Migration successfully executed" id="add provisioning column" duration=10.094372ms grafana | logger=migrator t=2024-03-06T11:35:50.208757751Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2024-03-06T11:35:50.209608088Z level=info msg="Migration successfully executed" id="create entity_events table" duration=849.847µs grafana | logger=migrator t=2024-03-06T11:35:50.214904382Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2024-03-06T11:35:50.216455864Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.550743ms grafana | logger=migrator t=2024-03-06T11:35:50.220205225Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-03-06T11:35:50.221020862Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-03-06T11:35:50.227602675Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-03-06T11:35:50.228046519Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-03-06T11:35:50.235208008Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2024-03-06T11:35:50.236432257Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.224399ms grafana | logger=migrator t=2024-03-06T11:35:50.240109418Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2024-03-06T11:35:50.24162788Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.517292ms grafana | logger=migrator t=2024-03-06T11:35:50.24771009Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-03-06T11:35:50.249212822Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.506012ms grafana | logger=migrator t=2024-03-06T11:35:50.252931672Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-03-06T11:35:50.254064611Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.132679ms grafana | logger=migrator t=2024-03-06T11:35:50.257685941Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-03-06T11:35:50.25875376Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.067969ms grafana | logger=migrator t=2024-03-06T11:35:50.266831556Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-03-06T11:35:50.268457279Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.622203ms grafana | logger=migrator t=2024-03-06T11:35:50.273361829Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-03-06T11:35:50.27464768Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.285491ms grafana | logger=migrator t=2024-03-06T11:35:50.278897995Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2024-03-06T11:35:50.280517848Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.620323ms grafana | logger=migrator t=2024-03-06T11:35:50.284687112Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-03-06T11:35:50.285777411Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.089929ms grafana | logger=migrator t=2024-03-06T11:35:50.289050677Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-03-06T11:35:50.290205807Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.15491ms grafana | logger=migrator t=2024-03-06T11:35:50.29673227Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2024-03-06T11:35:50.29783909Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.10706ms grafana | logger=migrator t=2024-03-06T11:35:50.30768296Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2024-03-06T11:35:50.345468948Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=37.784838ms grafana | logger=migrator t=2024-03-06T11:35:50.348692465Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2024-03-06T11:35:50.354878505Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.186ms grafana | logger=migrator t=2024-03-06T11:35:50.36026804Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2024-03-06T11:35:50.369408764Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=9.140424ms grafana | logger=migrator t=2024-03-06T11:35:50.378103755Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2024-03-06T11:35:50.378341097Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=240.822µs grafana | logger=migrator t=2024-03-06T11:35:50.382029257Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2024-03-06T11:35:50.394175767Z level=info msg="Migration successfully executed" id="add share column" duration=12.15013ms grafana | logger=migrator t=2024-03-06T11:35:50.397547264Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2024-03-06T11:35:50.397731756Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=182.772µs grafana | logger=migrator t=2024-03-06T11:35:50.402539195Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2024-03-06T11:35:50.403509623Z level=info msg="Migration successfully executed" id="create file table" duration=969.918µs grafana | logger=migrator t=2024-03-06T11:35:50.407453905Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-03-06T11:35:50.408625345Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.17216ms grafana | logger=migrator t=2024-03-06T11:35:50.413567025Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-03-06T11:35:50.414802785Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.2356ms grafana | logger=migrator t=2024-03-06T11:35:50.41904305Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-03-06T11:35:50.419786786Z level=info msg="Migration successfully executed" id="create file_meta table" duration=743.026µs grafana | logger=migrator t=2024-03-06T11:35:50.424202532Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-03-06T11:35:50.425447103Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.244191ms grafana | logger=migrator t=2024-03-06T11:35:50.431014868Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-03-06T11:35:50.431082808Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=68.74µs grafana | logger=migrator t=2024-03-06T11:35:50.435821667Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-03-06T11:35:50.435931718Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=110.141µs grafana | logger=migrator t=2024-03-06T11:35:50.442545042Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-03-06T11:35:50.443458359Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=913.767µs grafana | logger=migrator t=2024-03-06T11:35:50.452999707Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-03-06T11:35:50.4533546Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=355.203µs grafana | logger=migrator t=2024-03-06T11:35:50.457680656Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-03-06T11:35:50.458881956Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.2016ms grafana | logger=migrator t=2024-03-06T11:35:50.464617742Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-03-06T11:35:50.473114382Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.4951ms grafana | logger=migrator t=2024-03-06T11:35:50.478786548Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-03-06T11:35:50.47895454Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=165.772µs grafana | logger=migrator t=2024-03-06T11:35:50.486135358Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-03-06T11:35:50.488324716Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=2.192148ms grafana | logger=migrator t=2024-03-06T11:35:50.491955646Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-03-06T11:35:50.492395189Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=440.123µs grafana | logger=migrator t=2024-03-06T11:35:50.496481993Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-03-06T11:35:50.496869346Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=388.293µs grafana | logger=migrator t=2024-03-06T11:35:50.500666027Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-03-06T11:35:50.501549604Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=880.577µs grafana | logger=migrator t=2024-03-06T11:35:50.505145554Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-03-06T11:35:50.515360447Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=10.214943ms grafana | logger=migrator t=2024-03-06T11:35:50.524116389Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-03-06T11:35:50.533009982Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.893083ms grafana | logger=migrator t=2024-03-06T11:35:50.536707982Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-03-06T11:35:50.537973282Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.26519ms grafana | logger=migrator t=2024-03-06T11:35:50.541611482Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-03-06T11:35:50.653123533Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=111.498071ms grafana | logger=migrator t=2024-03-06T11:35:50.659570806Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-03-06T11:35:50.660731035Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.160259ms grafana | logger=migrator t=2024-03-06T11:35:50.664251554Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-03-06T11:35:50.665570055Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.318001ms grafana | logger=migrator t=2024-03-06T11:35:50.669696539Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-03-06T11:35:50.705037587Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=35.340598ms grafana | logger=migrator t=2024-03-06T11:35:50.71031021Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-03-06T11:35:50.710661633Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=351.233µs grafana | logger=migrator t=2024-03-06T11:35:50.715001609Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-03-06T11:35:50.71520126Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=198.991µs grafana | logger=migrator t=2024-03-06T11:35:50.721843385Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-03-06T11:35:50.722281088Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=437.273µs grafana | logger=migrator t=2024-03-06T11:35:50.729605948Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-03-06T11:35:50.731547324Z level=info msg="Migration successfully executed" id="create folder table" duration=1.944046ms grafana | logger=migrator t=2024-03-06T11:35:50.735570097Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-03-06T11:35:50.736935938Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.367441ms grafana | logger=migrator t=2024-03-06T11:35:50.742173761Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-03-06T11:35:50.743568772Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.394121ms grafana | logger=migrator t=2024-03-06T11:35:50.746620957Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-03-06T11:35:50.746696158Z level=info msg="Migration successfully executed" id="Update folder title length" duration=72.691µs grafana | logger=migrator t=2024-03-06T11:35:50.750197106Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-03-06T11:35:50.751470477Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.272971ms grafana | logger=migrator t=2024-03-06T11:35:50.758943638Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-03-06T11:35:50.760267119Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.325771ms grafana | logger=migrator t=2024-03-06T11:35:50.765872375Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-03-06T11:35:50.767941112Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=2.068197ms grafana | logger=migrator t=2024-03-06T11:35:50.771495951Z level=info msg="Executing migration" id="Sync dashboard and folder table" grafana | logger=migrator t=2024-03-06T11:35:50.772054495Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=558.174µs grafana | logger=migrator t=2024-03-06T11:35:50.777720571Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" grafana | logger=migrator t=2024-03-06T11:35:50.778100855Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=378.874µs grafana | logger=migrator t=2024-03-06T11:35:50.781934356Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-03-06T11:35:50.783774851Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.840735ms grafana | logger=migrator t=2024-03-06T11:35:50.787563822Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-03-06T11:35:50.789271156Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.707004ms grafana | logger=migrator t=2024-03-06T11:35:50.796186272Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-03-06T11:35:50.797411153Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.22476ms grafana | logger=migrator t=2024-03-06T11:35:50.806810439Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-03-06T11:35:50.808435992Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.625763ms grafana | logger=migrator t=2024-03-06T11:35:50.812404085Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-03-06T11:35:50.814480672Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=2.077097ms grafana | logger=migrator t=2024-03-06T11:35:50.82154919Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-03-06T11:35:50.82275186Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.202599ms grafana | logger=migrator t=2024-03-06T11:35:50.825988046Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-03-06T11:35:50.826374569Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=387.823µs grafana | logger=migrator t=2024-03-06T11:35:50.830711375Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-03-06T11:35:50.840426524Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=9.71485ms grafana | logger=migrator t=2024-03-06T11:35:50.845790058Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-03-06T11:35:50.846561404Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=772.806µs grafana | logger=migrator t=2024-03-06T11:35:50.849921122Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-03-06T11:35:50.851196402Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.275061ms grafana | logger=migrator t=2024-03-06T11:35:50.854550349Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-03-06T11:35:50.855561007Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.010008ms grafana | logger=migrator t=2024-03-06T11:35:50.860602229Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-03-06T11:35:50.861436526Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=835.697µs grafana | logger=migrator t=2024-03-06T11:35:50.866019063Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-03-06T11:35:50.866382306Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=363.533µs grafana | logger=migrator t=2024-03-06T11:35:50.87538872Z level=info msg="migrations completed" performed=526 skipped=0 duration=3.951316762s grafana | logger=sqlstore t=2024-03-06T11:35:50.888610578Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-03-06T11:35:50.888994051Z level=info msg="Created default organization" grafana | logger=secrets t=2024-03-06T11:35:50.898604859Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-03-06T11:35:50.917121791Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-03-06T11:35:50.953554748Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-03-06T11:35:50.953697719Z level=info msg="Plugins loaded" count=55 duration=36.576718ms grafana | logger=query_data t=2024-03-06T11:35:50.962026648Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-03-06T11:35:50.967107389Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-03-06T11:35:50.971724307Z level=info msg=Starting grafana | logger=ngalert.migration orgID=1 t=2024-03-06T11:35:50.972959977Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-03-06T11:35:50.974055336Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-03-06T11:35:50.976854929Z level=info msg="Completed legacy migration" grafana | logger=infra.usagestats.collector t=2024-03-06T11:35:51.008314076Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-03-06T11:35:51.010753456Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-03-06T11:35:51.025027212Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-03-06T11:35:51.025053283Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2024-03-06T11:35:51.025270854Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2024-03-06T11:35:51.025481156Z level=info msg="Warming state cache for startup" grafana | logger=ngalert.multiorg.alertmanager t=2024-03-06T11:35:51.026566105Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=grafana-apiserver t=2024-03-06T11:35:51.030553228Z level=info msg="Authentication is disabled" grafana | logger=http.server t=2024-03-06T11:35:51.031428345Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafana-apiserver t=2024-03-06T11:35:51.034285398Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=sqlstore.transactions t=2024-03-06T11:35:51.037969018Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=ngalert.state.manager t=2024-03-06T11:35:51.06636862Z level=info msg="State cache has been initialized" states=0 duration=40.886344ms grafana | logger=ngalert.scheduler t=2024-03-06T11:35:51.066428891Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2024-03-06T11:35:51.066560702Z level=info msg=starting first_tick=2024-03-06T11:36:00Z grafana | logger=plugins.update.checker t=2024-03-06T11:35:51.131619503Z level=info msg="Update check succeeded" duration=104.452383ms grafana | logger=grafana.update.checker t=2024-03-06T11:35:51.17526465Z level=info msg="Update check succeeded" duration=148.890026ms grafana | logger=sqlstore.transactions t=2024-03-06T11:35:51.183150254Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping grafana ... Stopping policy-api ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing grafana ... Removing policy-api ... Removing policy-db-migrator ... Removing mariadb ... Removing prometheus ... Removing policy-api ... done Removing policy-db-migrator ... done Removing grafana ... 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.CFwczfRTtp ]] + rsync -av /tmp/tmp.CFwczfRTtp/ /w/workspace/policy-api-london-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,347,481 bytes received 95 bytes 2,695,152.00 bytes/sec total size is 1,346,831 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 2057 killed; [ssh-agent] Stopped. Robot results publisher started... INFO: Checking test criticality is deprecated and will be dropped in a future release! -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins5898168240371858430.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins16596491490502302894.sh ---> package-listing.sh ++ tr '[:upper:]' '[:lower:]' ++ facter osfamily + OS_FAMILY=debian + workspace=/w/workspace/policy-api-london-project-csit-api + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/policy-api-london-project-csit-api ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/policy-api-london-project-csit-api ']' + mkdir -p /w/workspace/policy-api-london-project-csit-api/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-london-project-csit-api/archives/ [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins15430722802628483439.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-RyGI from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-RyGI/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins6456933642582045676.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config10651524753824271461tmp 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/jenkins8021299576849572399.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins9837346998521829578.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-RyGI from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-RyGI/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins14306537604295521815.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins16171969819641829483.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-RyGI from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 lf-activate-venv(): INFO: Adding /tmp/venv-RyGI/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/jenkins15569619711593678519.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-RyGI from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-RyGI/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/292 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-11290 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2800.000 BogoMIPS: 5600.00 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 822 27463 0 3881 30888 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:63:89:4b brd ff:ff:ff:ff:ff:ff inet 10.30.106.166/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86084sec preferred_lft 86084sec inet6 fe80::f816:3eff:fe63:894b/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:5f:46:72:96 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-11290) 03/06/24 _x86_64_ (8 CPU) 11:33:09 LINUX RESTART (8 CPU) 11:34:01 tps rtps wtps bread/s bwrtn/s 11:35:01 160.81 26.91 133.89 2081.39 90271.35 11:36:01 421.86 21.53 400.33 2456.76 66566.42 11:37:01 5.65 0.52 5.13 37.06 120.68 11:38:01 41.64 1.37 40.27 106.90 2996.97 Average: 157.48 12.58 144.90 1170.48 39987.32 11:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:35:01 29955692 31712112 2983528 9.06 79576 1978992 1431188 4.21 865288 1808052 136172 11:36:01 27361492 30940216 5577728 16.93 125968 3642800 4114196 12.10 1793688 3339288 224 11:37:01 27043208 30612216 5896012 17.90 126268 3644620 4459532 13.12 2132024 3316220 88 11:38:01 28086980 31590416 4852240 14.73 128848 3614236 1499012 4.41 1187976 3242792 40424 Average: 28111843 31213740 4827377 14.66 115165 3220162 2875982 8.46 1494744 2926588 44227 11:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 ens3 69.92 45.41 1169.56 8.63 0.00 0.00 0.00 0.00 11:35:01 lo 1.13 1.13 0.12 0.12 0.00 0.00 0.00 0.00 11:36:01 veth5bea0a6 29.45 38.54 2.93 4.53 0.00 0.00 0.00 0.00 11:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 ens3 295.95 190.92 8810.30 17.02 0.00 0.00 0.00 0.00 11:36:01 lo 9.50 9.50 0.86 0.86 0.00 0.00 0.00 0.00 11:37:01 veth5bea0a6 90.38 110.70 116.76 40.18 0.00 0.00 0.00 0.01 11:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:37:01 ens3 9.22 6.67 2.24 2.46 0.00 0.00 0.00 0.00 11:37:01 lo 9.43 9.43 8.24 8.24 0.00 0.00 0.00 0.00 11:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:01 ens3 83.64 57.06 80.23 24.66 0.00 0.00 0.00 0.00 11:38:01 lo 8.93 8.93 0.73 0.73 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: ens3 114.68 75.01 2515.48 13.19 0.00 0.00 0.00 0.00 Average: lo 7.25 7.25 2.49 2.49 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-11290) 03/06/24 _x86_64_ (8 CPU) 11:33:09 LINUX RESTART (8 CPU) 11:34:01 CPU %user %nice %system %iowait %steal %idle 11:35:01 all 10.53 0.00 0.80 1.67 0.03 86.97 11:35:01 0 2.74 0.00 0.52 0.38 0.00 96.36 11:35:01 1 1.14 0.00 0.35 10.54 0.03 87.94 11:35:01 2 26.84 0.00 1.88 0.67 0.03 70.57 11:35:01 3 6.83 0.00 0.52 0.02 0.02 92.62 11:35:01 4 1.00 0.00 0.28 0.23 0.02 98.47 11:35:01 5 8.31 0.00 0.67 0.25 0.03 90.74 11:35:01 6 30.43 0.00 1.43 0.67 0.07 67.40 11:35:01 7 6.89 0.00 0.73 0.67 0.02 91.69 11:36:01 all 14.67 0.00 3.82 2.23 0.06 79.23 11:36:01 0 10.73 0.00 4.20 3.38 0.07 81.62 11:36:01 1 11.88 0.00 5.16 0.34 0.05 82.57 11:36:01 2 23.82 0.00 4.70 5.90 0.08 65.50 11:36:01 3 11.54 0.00 2.39 0.71 0.05 85.31 11:36:01 4 16.10 0.00 3.77 1.13 0.07 78.92 11:36:01 5 12.33 0.00 3.23 3.03 0.07 81.34 11:36:01 6 15.27 0.00 3.33 1.39 0.07 79.94 11:36:01 7 15.80 0.00 3.73 1.92 0.07 78.49 11:37:01 all 10.51 0.00 0.78 0.02 0.03 88.65 11:37:01 0 9.78 0.00 0.58 0.03 0.08 89.52 11:37:01 1 7.83 0.00 0.68 0.02 0.03 91.44 11:37:01 2 14.35 0.00 1.19 0.00 0.02 84.45 11:37:01 3 7.80 0.00 0.36 0.00 0.03 91.81 11:37:01 4 11.49 0.00 1.10 0.03 0.02 87.36 11:37:01 5 10.70 0.00 0.78 0.00 0.02 88.50 11:37:01 6 11.22 0.00 0.75 0.00 0.02 88.02 11:37:01 7 10.98 0.00 0.84 0.10 0.03 88.06 11:38:01 all 5.08 0.00 0.53 0.42 0.03 93.95 11:38:01 0 1.34 0.00 0.40 0.07 0.08 98.11 11:38:01 1 1.47 0.00 0.48 0.75 0.03 97.26 11:38:01 2 1.57 0.00 0.50 0.48 0.02 97.43 11:38:01 3 2.48 0.00 0.71 0.08 0.05 96.67 11:38:01 4 17.88 0.00 0.85 0.15 0.03 81.08 11:38:01 5 2.60 0.00 0.33 0.65 0.02 96.40 11:38:01 6 2.74 0.00 0.42 0.08 0.03 96.73 11:38:01 7 10.57 0.00 0.48 1.05 0.03 87.86 Average: all 10.19 0.00 1.47 1.08 0.04 87.21 Average: 0 6.14 0.00 1.42 0.96 0.06 91.41 Average: 1 5.56 0.00 1.66 2.91 0.04 89.82 Average: 2 16.62 0.00 2.06 1.75 0.04 79.53 Average: 3 7.16 0.00 0.99 0.20 0.04 91.60 Average: 4 11.60 0.00 1.49 0.38 0.03 86.48 Average: 5 8.48 0.00 1.25 0.98 0.03 89.26 Average: 6 14.92 0.00 1.48 0.54 0.05 83.02 Average: 7 11.05 0.00 1.44 0.93 0.04 86.54