Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-3825 (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-vNIUwjJPQqCs/agent.2142 SSH_AGENT_PID=2143 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_5765673307419822976.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_5765673307419822976.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/jenkins6242631817607749275.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-2RAW 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-2RAW/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-2RAW/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.1.6 aspy.yaml==1.3.0 attrs==23.1.0 autopage==0.5.2 Babel==2.13.1 beautifulsoup4==4.12.2 boto3==1.29.6 botocore==1.32.6 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.4.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.7 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.2.2 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.40 google-auth==2.23.4 httplib2==0.22.0 identify==2.5.32 idna==3.4 importlib-metadata==6.8.0 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.2 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.20.0 jsonschema-specifications==2023.11.1 keystoneauth1==5.4.0 kubernetes==28.1.0 lftools==0.37.8 lxml==4.9.3 MarkupSafe==2.1.3 msgpack==1.0.7 multi-key-dict==2.0.3 munch==4.0.0 netaddr==0.9.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==2.9.0 oslo.config==9.2.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.2.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==4.0.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.3.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.31.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.13.1 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.7.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.8.0 tzdata==2023.3 urllib3==1.26.18 virtualenv==20.24.7 wcwidth==0.2.12 websocket-client==1.6.4 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 zipp==3.17.0 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-london-project-csit-api] $ /bin/sh /tmp/jenkins17411685427250273727.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/jenkins8930783738218032733.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.LQW8UCBEKz ++ echo ROBOT_VENV=/tmp/tmp.LQW8UCBEKz +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.LQW8UCBEKz ++ source /tmp/tmp.LQW8UCBEKz/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.LQW8UCBEKz +++ 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.LQW8UCBEKz/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.LQW8UCBEKz) ' '!=' x ']' +++ PS1='(tmp.LQW8UCBEKz) ' +++ export PS1 +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ set -exu ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' ++ echo 'Installing Python Requirements' Installing Python Requirements ++ python3 -m pip install -qq -r /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.8.3 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.4 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==4.9.3 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.3.1 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.LQW8UCBEKz/src/onap ++ rm -rf /tmp/tmp.LQW8UCBEKz/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.8.3 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==0.18.3 idna==3.4 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==4.9.3 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.3.1 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.LQW8UCBEKz/bin/activate + '[' -z /tmp/tmp.LQW8UCBEKz/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.LQW8UCBEKz/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.LQW8UCBEKz ++ 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.LQW8UCBEKz/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.LQW8UCBEKz) ' ++ '[' 'x(tmp.LQW8UCBEKz) ' '!=' x ']' ++ PS1='(tmp.LQW8UCBEKz) (tmp.LQW8UCBEKz) ' ++ 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.rjjsgKHZLG + cd /tmp/tmp.rjjsgKHZLG + 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:b440bc0e8aa5bab44a782952c09516b6a50f9d7b2325c1ffafac7bc833298e2e Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... latest: Pulling from grafana/grafana Digest: sha256:e3e9c2b5776fe3657f4954dfa91579224f98a0316f51d431989b15425e95530f Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating prometheus ... Creating mariadb ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-london-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds policy-db-migrator Up 11 seconds grafana Up 13 seconds mariadb Up 12 seconds prometheus Up 14 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds mariadb Up 17 seconds prometheus Up 19 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds mariadb Up 22 seconds prometheus Up 24 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-london-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:37:49 up 3 min, 0 users, load average: 1.66, 0.81, 0.33 Tasks: 182 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.0 us, 2.0 sy, 0.0 ni, 82.8 id, 4.1 wa, 0.0 hi, 0.0 si, 0.1 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 2.0G 25G 1.0M 3.8G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS bac4d99dd54b policy-api 1.47% 905.9MiB / 31.41GiB 2.82% 1.04MB / 740kB 0B / 0B 52 d4eb6816096d grafana 0.03% 95.26MiB / 31.41GiB 0.30% 18.8kB / 3.09kB 0B / 23.4MB 20 6b42a2af7264 mariadb 0.02% 99.97MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11MB / 67.7MB 29 1d67ddfaeec7 prometheus 0.05% 18.65MiB / 31.41GiB 0.06% 1.45kB / 158B 229kB / 0B 11 + echo + cd /tmp/tmp.rjjsgKHZLG + 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.rjjsgKHZLG/output.xml Log: /tmp/tmp.rjjsgKHZLG/log.html Report: /tmp/tmp.rjjsgKHZLG/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-london-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:39:00 up 4 min, 0 users, load average: 0.62, 0.68, 0.32 Tasks: 180 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.3 us, 1.6 sy, 0.0 ni, 85.5 id, 3.5 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 2.1G 25G 1.0M 3.9G 28G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS bac4d99dd54b policy-api 0.14% 1.1GiB / 31.41GiB 3.50% 7.32MB / 2.87MB 0B / 0B 52 d4eb6816096d grafana 0.03% 95.75MiB / 31.41GiB 0.30% 20.6kB / 5.07kB 0B / 23.4MB 20 6b42a2af7264 mariadb 0.02% 100.7MiB / 31.41GiB 0.31% 2.75MB / 7.36MB 11MB / 67.9MB 18 1d67ddfaeec7 prometheus 0.28% 23.92MiB / 31.41GiB 0.07% 38kB / 7.1kB 229kB / 0B 13 + echo + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose ++ cd /w/workspace/policy-api-london-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, policy-db-migrator, grafana, mariadb, prometheus grafana | logger=settings t=2023-11-24T11:37:21.031494245Z level=info msg="Starting Grafana" version=10.2.2 commit=161e3cac5075540918e3a39004f2364ad104d5bb branch=HEAD compiled=2023-11-20T12:28:00Z grafana | logger=settings t=2023-11-24T11:37:21.031813828Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2023-11-24T11:37:21.031922186Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2023-11-24T11:37:21.031957958Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2023-11-24T11:37:21.03198476Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2023-11-24T11:37:21.032089308Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-24T11:37:21.03212297Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-24T11:37:21.032175804Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2023-11-24T11:37:21.032240969Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2023-11-24T11:37:21.032271791Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2023-11-24T11:37:21.032328415Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-24T11:37:21.03239974Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-24T11:37:21.032431602Z level=info msg=Target target=[all] grafana | logger=settings t=2023-11-24T11:37:21.032491876Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2023-11-24T11:37:21.032553371Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2023-11-24T11:37:21.032585033Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2023-11-24T11:37:21.032636527Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2023-11-24T11:37:21.03267648Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2023-11-24T11:37:21.032716602Z level=info msg="App mode production" grafana | logger=sqlstore t=2023-11-24T11:37:21.03309947Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2023-11-24T11:37:21.033146943Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2023-11-24T11:37:21.033906798Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2023-11-24T11:37:21.034837185Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2023-11-24T11:37:21.035656363Z level=info msg="Migration successfully executed" id="create migration_log table" duration=818.738µs grafana | logger=migrator t=2023-11-24T11:37:21.042697039Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2023-11-24T11:37:21.043518868Z level=info msg="Migration successfully executed" id="create user table" duration=821.699µs grafana | logger=migrator t=2023-11-24T11:37:21.047046831Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2023-11-24T11:37:21.047913984Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=866.472µs grafana | logger=migrator t=2023-11-24T11:37:21.051051169Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2023-11-24T11:37:21.052621431Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.568112ms grafana | logger=migrator t=2023-11-24T11:37:21.058022828Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2023-11-24T11:37:21.059124068Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.10138ms grafana | logger=migrator t=2023-11-24T11:37:21.062627189Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2023-11-24T11:37:21.06333899Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=709.811µs grafana | logger=migrator t=2023-11-24T11:37:21.066476025Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2023-11-24T11:37:21.069201811Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.725045ms grafana | logger=migrator t=2023-11-24T11:37:21.074528363Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2023-11-24T11:37:21.075299618Z level=info msg="Migration successfully executed" id="create user table v2" duration=771.925µs grafana | logger=migrator t=2023-11-24T11:37:21.078373518Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2023-11-24T11:37:21.079131414Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=757.715µs grafana | logger=migrator t=2023-11-24T11:37:21.082466993Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2023-11-24T11:37:21.083714692Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.247449ms grafana | logger=migrator t=2023-11-24T11:37:21.08954567Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2023-11-24T11:37:21.089982522Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=436.172µs grafana | logger=migrator t=2023-11-24T11:37:21.092967446Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2023-11-24T11:37:21.093565919Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=646.786µs grafana | logger=migrator t=2023-11-24T11:37:21.096710985Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2023-11-24T11:37:21.098517775Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.8075ms grafana | logger=migrator t=2023-11-24T11:37:21.102006795Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2023-11-24T11:37:21.102046718Z level=info msg="Migration successfully executed" id="Update user table charset" duration=41.323µs grafana | logger=migrator t=2023-11-24T11:37:21.107397372Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2023-11-24T11:37:21.108528013Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.12985ms grafana | logger=migrator t=2023-11-24T11:37:21.111829959Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2023-11-24T11:37:21.1121055Z level=info msg="Migration successfully executed" id="Add missing user data" duration=275.241µs grafana | logger=migrator t=2023-11-24T11:37:21.115399106Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2023-11-24T11:37:21.117195894Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.796238ms grafana | logger=migrator t=2023-11-24T11:37:21.120710377Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2023-11-24T11:37:21.12200331Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.295672ms grafana | logger=migrator t=2023-11-24T11:37:21.127882421Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2023-11-24T11:37:21.129891856Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=2.008995ms grafana | logger=migrator t=2023-11-24T11:37:21.13315829Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2023-11-24T11:37:21.145705321Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=12.547581ms grafana | logger=migrator t=2023-11-24T11:37:21.148837896Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2023-11-24T11:37:21.14960372Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=765.494µs grafana | logger=migrator t=2023-11-24T11:37:21.1526635Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2023-11-24T11:37:21.153447806Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=784.026µs grafana | logger=migrator t=2023-11-24T11:37:21.158387761Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2023-11-24T11:37:21.159174127Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=791.277µs grafana | logger=migrator t=2023-11-24T11:37:21.192767447Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2023-11-24T11:37:21.194158648Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.39365ms grafana | logger=migrator t=2023-11-24T11:37:21.200340431Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2023-11-24T11:37:21.201644674Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.307743ms grafana | logger=migrator t=2023-11-24T11:37:21.204993695Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2023-11-24T11:37:21.205031798Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=39.803µs grafana | logger=migrator t=2023-11-24T11:37:21.207804617Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2023-11-24T11:37:21.209011263Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.205636ms grafana | logger=migrator t=2023-11-24T11:37:21.212304609Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2023-11-24T11:37:21.213456363Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.152193ms grafana | logger=migrator t=2023-11-24T11:37:21.216415095Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2023-11-24T11:37:21.2174751Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.059625ms grafana | logger=migrator t=2023-11-24T11:37:21.220841392Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2023-11-24T11:37:21.221692094Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=852.011µs grafana | logger=migrator t=2023-11-24T11:37:21.226316735Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-24T11:37:21.23000842Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.692265ms grafana | logger=migrator t=2023-11-24T11:37:21.233218181Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2023-11-24T11:37:21.233953833Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=735.523µs grafana | logger=migrator t=2023-11-24T11:37:21.23697338Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2023-11-24T11:37:21.23768055Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=706.78µs grafana | logger=migrator t=2023-11-24T11:37:21.242313483Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2023-11-24T11:37:21.243510198Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.197175ms grafana | logger=migrator t=2023-11-24T11:37:21.246709159Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2023-11-24T11:37:21.24784431Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.134511ms grafana | logger=migrator t=2023-11-24T11:37:21.250922691Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2023-11-24T11:37:21.251630531Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=707.47µs grafana | logger=migrator t=2023-11-24T11:37:21.255799551Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2023-11-24T11:37:21.256185498Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=385.147µs grafana | logger=migrator t=2023-11-24T11:37:21.259075856Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2023-11-24T11:37:21.259865032Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=788.846µs grafana | logger=migrator t=2023-11-24T11:37:21.263193961Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2023-11-24T11:37:21.263787724Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=551.38µs grafana | logger=migrator t=2023-11-24T11:37:21.273509691Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2023-11-24T11:37:21.274376303Z level=info msg="Migration successfully executed" id="create star table" duration=867.952µs grafana | logger=migrator t=2023-11-24T11:37:21.280086013Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2023-11-24T11:37:21.281264468Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.177425ms grafana | logger=migrator t=2023-11-24T11:37:21.284662402Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2023-11-24T11:37:21.285685845Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.022983ms grafana | logger=migrator t=2023-11-24T11:37:21.290440716Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2023-11-24T11:37:21.291574518Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.133082ms grafana | logger=migrator t=2023-11-24T11:37:21.29607327Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2023-11-24T11:37:21.296669313Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=596.183µs grafana | logger=migrator t=2023-11-24T11:37:21.299520118Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2023-11-24T11:37:21.300261132Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=747.674µs grafana | logger=migrator t=2023-11-24T11:37:21.303066963Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2023-11-24T11:37:21.304275859Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.208096ms grafana | logger=migrator t=2023-11-24T11:37:21.307408534Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2023-11-24T11:37:21.308579718Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.170294ms grafana | logger=migrator t=2023-11-24T11:37:21.313451767Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2023-11-24T11:37:21.313477489Z level=info msg="Migration successfully executed" id="Update org table charset" duration=25.222µs grafana | logger=migrator t=2023-11-24T11:37:21.315723661Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2023-11-24T11:37:21.315745972Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=22.832µs grafana | logger=migrator t=2023-11-24T11:37:21.318475738Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2023-11-24T11:37:21.318725506Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=249.688µs grafana | logger=migrator t=2023-11-24T11:37:21.32156453Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2023-11-24T11:37:21.32254091Z level=info msg="Migration successfully executed" id="create dashboard table" duration=976.011µs grafana | logger=migrator t=2023-11-24T11:37:21.327464413Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2023-11-24T11:37:21.328682751Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.217778ms grafana | logger=migrator t=2023-11-24T11:37:21.331963346Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2023-11-24T11:37:21.333198504Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.234208ms grafana | logger=migrator t=2023-11-24T11:37:21.33646988Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2023-11-24T11:37:21.337159009Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=689.839µs grafana | logger=migrator t=2023-11-24T11:37:21.340006173Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2023-11-24T11:37:21.340755807Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=749.264µs grafana | logger=migrator t=2023-11-24T11:37:21.344985771Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2023-11-24T11:37:21.346025245Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.038884ms grafana | logger=migrator t=2023-11-24T11:37:21.349459291Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2023-11-24T11:37:21.356866683Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=7.406802ms grafana | logger=migrator t=2023-11-24T11:37:21.407816289Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2023-11-24T11:37:21.408548891Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=731.402µs grafana | logger=migrator t=2023-11-24T11:37:21.413106049Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2023-11-24T11:37:21.414124091Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.016422ms grafana | logger=migrator t=2023-11-24T11:37:21.417363065Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2023-11-24T11:37:21.418269389Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=905.815µs grafana | logger=migrator t=2023-11-24T11:37:21.421558535Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2023-11-24T11:37:21.421852936Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=293.901µs grafana | logger=migrator t=2023-11-24T11:37:21.425785859Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2023-11-24T11:37:21.426534363Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=747.903µs grafana | logger=migrator t=2023-11-24T11:37:21.429884623Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2023-11-24T11:37:21.429938427Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=54.374µs grafana | logger=migrator t=2023-11-24T11:37:21.433149827Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2023-11-24T11:37:21.434813467Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.66285ms grafana | logger=migrator t=2023-11-24T11:37:21.438927861Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2023-11-24T11:37:21.440617853Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.689482ms grafana | logger=migrator t=2023-11-24T11:37:21.443952782Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2023-11-24T11:37:21.445600891Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.647359ms grafana | logger=migrator t=2023-11-24T11:37:21.449088271Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2023-11-24T11:37:21.449749588Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=661.327µs grafana | logger=migrator t=2023-11-24T11:37:21.453624916Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2023-11-24T11:37:21.454880837Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.255ms grafana | logger=migrator t=2023-11-24T11:37:21.458353836Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" mariadb | 2023-11-24 11:37:21+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-24 11:37:22+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2023-11-24 11:37:22+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-24 11:37:22+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2023-11-24 11:37:22 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-11-24 11:37:22 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-24 11:37:22 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2023-11-24 11:37:24+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2023-11-24 11:37:24+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2023-11-24 11:37:24+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2023-11-24 11:37:24 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 95 ... mariadb | 2023-11-24 11:37:24 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-11-24 11:37:24 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-11-24 11:37:24 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-11-24 11:37:24 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-11-24 11:37:24 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-11-24 11:37:24 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-24 11:37:24 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-11-24 11:37:24 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-11-24 11:37:24 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-11-24 11:37:24 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-11-24 11:37:24 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-11-24 11:37:24 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-11-24 11:37:24 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2023-11-24 11:37:24 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-11-24 11:37:24 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-11-24 11:37:24 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-24 11:37:24 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-24 11:37:24 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2023-11-24 11:37:25+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2023-11-24 11:37:26+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2023-11-24 11:37:26+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2023-11-24 11:37:26+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2023-11-24 11:37:26+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2023-11-24 11:37:27+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2023-11-24 11:37:27 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2023-11-24 11:37:27 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2023-11-24 11:37:27 0 [Note] InnoDB: Starting shutdown... mariadb | 2023-11-24 11:37:27 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2023-11-24 11:37:27 0 [Note] InnoDB: Buffer pool(s) dump completed at 231124 11:37:27 mariadb | 2023-11-24 11:37:28 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2023-11-24 11:37:28 0 [Note] InnoDB: Shutdown completed; log sequence number 331904; transaction id 298 mariadb | 2023-11-24 11:37:28 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2023-11-24 11:37:28+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2023-11-24 11:37:28+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2023-11-24 11:37:28 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2023-11-24 11:37:28 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-11-24 11:37:28 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-11-24 11:37:28 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-11-24 11:37:28 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-11-24 11:37:28 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-11-24 11:37:28 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-24 11:37:28 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-11-24 11:37:28 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-11-24 11:37:28 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-11-24 11:37:28 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-11-24 11:37:28 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-11-24 11:37:28 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-11-24 11:37:28 0 [Note] InnoDB: log sequence number 331904; transaction id 299 mariadb | 2023-11-24 11:37:28 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-11-24 11:37:28 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2023-11-24 11:37:28 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-11-24 11:37:28 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2023-11-24 11:37:28 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2023-11-24 11:37:28 0 [Note] Server socket created on IP: '::'. mariadb | 2023-11-24 11:37:28 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2023-11-24 11:37:28 0 [Note] InnoDB: Buffer pool(s) load completed at 231124 11:37:28 mariadb | 2023-11-24 11:37:28 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) mariadb | 2023-11-24 11:37:29 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) grafana | logger=migrator t=2023-11-24T11:37:21.459151532Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=797.177µs grafana | logger=migrator t=2023-11-24T11:37:21.462335232Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2023-11-24T11:37:21.463124598Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=788.676µs grafana | logger=migrator t=2023-11-24T11:37:21.467297607Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2023-11-24T11:37:21.467323239Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=23.642µs grafana | logger=migrator t=2023-11-24T11:37:21.470620806Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2023-11-24T11:37:21.470657119Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=41.073µs grafana | logger=migrator t=2023-11-24T11:37:21.474179341Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2023-11-24T11:37:21.477188567Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.008086ms grafana | logger=migrator t=2023-11-24T11:37:21.483306256Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2023-11-24T11:37:21.485122807Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.816611ms grafana | logger=migrator t=2023-11-24T11:37:21.488503129Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2023-11-24T11:37:21.491461731Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.958042ms grafana | logger=migrator t=2023-11-24T11:37:21.495138735Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2023-11-24T11:37:21.498124309Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.984134ms grafana | logger=migrator t=2023-11-24T11:37:21.50259026Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2023-11-24T11:37:21.502766123Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=175.832µs grafana | logger=migrator t=2023-11-24T11:37:21.50593838Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2023-11-24T11:37:21.506658972Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=719.841µs grafana | logger=migrator t=2023-11-24T11:37:21.511222219Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2023-11-24T11:37:21.512425425Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.202286ms grafana | logger=migrator t=2023-11-24T11:37:21.51666865Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2023-11-24T11:37:21.516707173Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=37.403µs grafana | logger=migrator t=2023-11-24T11:37:21.519334012Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2023-11-24T11:37:21.520504435Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.171674ms grafana | logger=migrator t=2023-11-24T11:37:21.52418525Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2023-11-24T11:37:21.524869149Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=684.609µs grafana | logger=migrator t=2023-11-24T11:37:21.528444735Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-24T11:37:21.535736729Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=7.291314ms grafana | logger=migrator t=2023-11-24T11:37:21.539818261Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2023-11-24T11:37:21.540450016Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=631.205µs grafana | logger=migrator t=2023-11-24T11:37:21.573999524Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2023-11-24T11:37:21.575417276Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.419013ms grafana | logger=migrator t=2023-11-24T11:37:21.579935071Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2023-11-24T11:37:21.581267906Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.332336ms grafana | logger=migrator t=2023-11-24T11:37:21.586426746Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2023-11-24T11:37:21.586729788Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=300.491µs grafana | logger=migrator t=2023-11-24T11:37:21.589889124Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2023-11-24T11:37:21.590417972Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=527.498µs grafana | logger=migrator t=2023-11-24T11:37:21.593828887Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2023-11-24T11:37:21.599799796Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=5.96789ms grafana | logger=migrator t=2023-11-24T11:37:21.604074612Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2023-11-24T11:37:21.604840757Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=768.025µs grafana | logger=migrator t=2023-11-24T11:37:21.608034897Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2023-11-24T11:37:21.608205289Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=167.282µs grafana | logger=migrator t=2023-11-24T11:37:21.611556389Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2023-11-24T11:37:21.611719301Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=163.272µs grafana | logger=migrator t=2023-11-24T11:37:21.616070763Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2023-11-24T11:37:21.617241287Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.171095ms grafana | logger=migrator t=2023-11-24T11:37:21.620747609Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2023-11-24T11:37:21.62411622Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.367832ms grafana | logger=migrator t=2023-11-24T11:37:21.627434958Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2023-11-24T11:37:21.628279529Z level=info msg="Migration successfully executed" id="create data_source table" duration=843.881µs grafana | logger=migrator t=2023-11-24T11:37:21.632579067Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2023-11-24T11:37:21.63329989Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=721.093µs grafana | logger=migrator t=2023-11-24T11:37:21.636778589Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2023-11-24T11:37:21.638011247Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.232618ms grafana | logger=migrator t=2023-11-24T11:37:21.641488458Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2023-11-24T11:37:21.642680373Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.189235ms grafana | logger=migrator t=2023-11-24T11:37:21.64668338Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2023-11-24T11:37:21.647393961Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=710.772µs grafana | logger=migrator t=2023-11-24T11:37:21.650548027Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2023-11-24T11:37:21.658204276Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=7.655259ms grafana | logger=migrator t=2023-11-24T11:37:21.661860329Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2023-11-24T11:37:21.662722151Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=861.462µs grafana | logger=migrator t=2023-11-24T11:37:21.666723698Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2023-11-24T11:37:21.667545627Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=821.319µs grafana | logger=migrator t=2023-11-24T11:37:21.670560473Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2023-11-24T11:37:21.67135905Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=797.987µs grafana | logger=migrator t=2023-11-24T11:37:21.674812698Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2023-11-24T11:37:21.675735245Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=921.957µs grafana | logger=migrator t=2023-11-24T11:37:21.680444632Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2023-11-24T11:37:21.682691164Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.245991ms grafana | logger=migrator t=2023-11-24T11:37:21.686162452Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2023-11-24T11:37:21.688410644Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.247712ms grafana | logger=migrator t=2023-11-24T11:37:21.691524167Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2023-11-24T11:37:21.691545689Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=22.242µs grafana | logger=migrator t=2023-11-24T11:37:21.695565668Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2023-11-24T11:37:21.69573646Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=170.802µs grafana | logger=migrator t=2023-11-24T11:37:21.69922439Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2023-11-24T11:37:21.702784055Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.558305ms grafana | logger=migrator t=2023-11-24T11:37:21.706571538Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2023-11-24T11:37:21.706736509Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=165.002µs grafana | logger=migrator t=2023-11-24T11:37:21.709867254Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2023-11-24T11:37:21.710017255Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=150.23µs grafana | logger=migrator t=2023-11-24T11:37:21.713990319Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2023-11-24T11:37:21.71623106Z level=info msg="Migration successfully executed" id="Add uid column" duration=2.240301ms grafana | logger=migrator t=2023-11-24T11:37:21.719395347Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2023-11-24T11:37:21.719560859Z level=info msg="Migration successfully executed" id="Update uid value" duration=165.682µs grafana | logger=migrator t=2023-11-24T11:37:21.722892669Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2023-11-24T11:37:21.723696586Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=803.287µs grafana | logger=migrator t=2023-11-24T11:37:21.727833143Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2023-11-24T11:37:21.72904073Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.207228ms grafana | logger=migrator t=2023-11-24T11:37:21.732363588Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2023-11-24T11:37:21.733397062Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.032824ms grafana | logger=migrator t=2023-11-24T11:37:21.736858461Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2023-11-24T11:37:21.737614965Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=754.624µs grafana | logger=migrator t=2023-11-24T11:37:21.741767173Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2023-11-24T11:37:21.742541419Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=774.537µs grafana | logger=migrator t=2023-11-24T11:37:21.745855847Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2023-11-24T11:37:21.747296179Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.440503ms grafana | logger=migrator t=2023-11-24T11:37:21.752203382Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2023-11-24T11:37:21.753007769Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=805.177µs grafana | logger=migrator t=2023-11-24T11:37:21.75691129Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2023-11-24T11:37:21.75761606Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=704.22µs policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.3:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.5:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v2.7.8) policy-api | policy-api | [2023-11-24T11:37:37.558+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 34 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2023-11-24T11:37:37.561+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2023-11-24T11:37:38.843+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2023-11-24T11:37:38.928+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 73 ms. Found 6 JPA repository interfaces. policy-api | [2023-11-24T11:37:39.980+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2023-11-24T11:37:39.992+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-24T11:37:39.993+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2023-11-24T11:37:39.993+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2023-11-24T11:37:40.091+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2023-11-24T11:37:40.091+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2470 ms policy-api | [2023-11-24T11:37:40.622+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2023-11-24T11:37:40.700+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2023-11-24T11:37:40.983+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2023-11-24T11:37:41.145+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2023-11-24T11:37:41.241+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2023-11-24T11:37:41.262+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2023-11-24T11:37:42.656+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] grafana | logger=migrator t=2023-11-24T11:37:21.760856443Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2023-11-24T11:37:21.761993755Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.137223ms grafana | logger=migrator t=2023-11-24T11:37:21.766787678Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2023-11-24T11:37:21.77670668Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=9.918842ms grafana | logger=migrator t=2023-11-24T11:37:21.780175699Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2023-11-24T11:37:21.780788663Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=612.794µs grafana | logger=migrator t=2023-11-24T11:37:21.783879144Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2023-11-24T11:37:21.784596597Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=717.183µs grafana | logger=migrator t=2023-11-24T11:37:21.788784007Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2023-11-24T11:37:21.78994935Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.164684ms grafana | logger=migrator t=2023-11-24T11:37:21.793381937Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2023-11-24T11:37:21.794616765Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.234258ms grafana | logger=migrator t=2023-11-24T11:37:21.79803225Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2023-11-24T11:37:21.798341942Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=309.612µs grafana | logger=migrator t=2023-11-24T11:37:21.801440045Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2023-11-24T11:37:21.801918049Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=478.124µs grafana | logger=migrator t=2023-11-24T11:37:21.805945948Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2023-11-24T11:37:21.805981361Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=37.092µs grafana | logger=migrator t=2023-11-24T11:37:21.809946036Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2023-11-24T11:37:21.814246534Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.299058ms grafana | logger=migrator t=2023-11-24T11:37:21.818421254Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2023-11-24T11:37:21.823386399Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=4.961355ms grafana | logger=migrator t=2023-11-24T11:37:21.827103327Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2023-11-24T11:37:21.827308711Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=205.154µs grafana | logger=migrator t=2023-11-24T11:37:21.830099412Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2023-11-24T11:37:21.832454531Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.353289ms grafana | logger=migrator t=2023-11-24T11:37:21.836291366Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2023-11-24T11:37:21.841554974Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=5.263147ms grafana | logger=migrator t=2023-11-24T11:37:21.846080779Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2023-11-24T11:37:21.846838473Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=754.833µs grafana | logger=migrator t=2023-11-24T11:37:21.850109717Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2023-11-24T11:37:21.850759654Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=649.847µs grafana | logger=migrator t=2023-11-24T11:37:21.856099617Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2023-11-24T11:37:21.857741715Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.641968ms grafana | logger=migrator t=2023-11-24T11:37:21.863124562Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2023-11-24T11:37:21.864089061Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=964.799µs grafana | logger=migrator t=2023-11-24T11:37:21.867211695Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2023-11-24T11:37:21.868172413Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=960.959µs grafana | logger=migrator t=2023-11-24T11:37:21.871437988Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2023-11-24T11:37:21.872485753Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.047835ms grafana | logger=migrator t=2023-11-24T11:37:21.876403994Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2023-11-24T11:37:21.87649309Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=86.336µs grafana | logger=migrator t=2023-11-24T11:37:21.879762076Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2023-11-24T11:37:21.879810219Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=50.084µs grafana | logger=migrator t=2023-11-24T11:37:21.883702308Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2023-11-24T11:37:21.888104044Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.401336ms grafana | logger=migrator t=2023-11-24T11:37:21.891463315Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2023-11-24T11:37:21.894144468Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.681012ms grafana | logger=migrator t=2023-11-24T11:37:21.898025476Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2023-11-24T11:37:21.898152045Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=125.879µs grafana | logger=migrator t=2023-11-24T11:37:21.901353244Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2023-11-24T11:37:21.902107759Z level=info msg="Migration successfully executed" id="create quota table v1" duration=754.425µs policy-api | [2023-11-24T11:37:42.668+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2023-11-24T11:37:43.754+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2023-11-24T11:37:44.398+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2023-11-24T11:37:45.591+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@359ae83a, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@4fddd42b, org.springframework.security.web.context.SecurityContextPersistenceFilter@4d19ddeb, org.springframework.security.web.header.HeaderWriterFilter@b1fccca, org.springframework.security.web.authentication.logout.LogoutFilter@5bee88e3, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@65ff1e6d, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@625439ba, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@2416378c, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@7473cf13, org.springframework.security.web.session.SessionManagementFilter@190a5f74, org.springframework.security.web.access.ExceptionTranslationFilter@9af2a00, org.springframework.security.web.access.intercept.AuthorizationFilter@66abb7d4] policy-api | [2023-11-24T11:37:45.723+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2023-11-24T11:37:49.045+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2023-11-24T11:37:49.070+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-24T11:37:49.103+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2023-11-24T11:37:49.119+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 12.384 seconds (JVM running for 13.163) policy-api | [2023-11-24T11:37:52.382+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2023-11-24T11:37:52.382+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2023-11-24T11:37:52.384+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms policy-api | [2023-11-24T11:37:54.546+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2023-11-24T11:37:54.671+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2023-11-24T11:37:54.962+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2023-11-24T11:37:56.162+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2023-11-24T11:37:58.098+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2023-11-24T11:37:58.498+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2023-11-24T11:37:58.718+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2023-11-24T11:37:58.944+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2023-11-24T11:37:59.165+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2023-11-24T11:37:59.405+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2023-11-24T11:37:21.904953313Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2023-11-24T11:37:21.906283808Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.328825ms grafana | logger=migrator t=2023-11-24T11:37:21.910938493Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2023-11-24T11:37:21.910986816Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=49.024µs grafana | logger=migrator t=2023-11-24T11:37:21.915117112Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2023-11-24T11:37:21.915920849Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=803.657µs grafana | logger=migrator t=2023-11-24T11:37:21.919045665Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2023-11-24T11:37:21.919986652Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=939.657µs grafana | logger=migrator t=2023-11-24T11:37:21.957250335Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2023-11-24T11:37:21.962488701Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=5.237986ms grafana | logger=migrator t=2023-11-24T11:37:21.966304765Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2023-11-24T11:37:21.96637851Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=73.575µs grafana | logger=migrator t=2023-11-24T11:37:21.969933816Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2023-11-24T11:37:21.970731063Z level=info msg="Migration successfully executed" id="create session table" duration=797.527µs grafana | logger=migrator t=2023-11-24T11:37:21.974783383Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2023-11-24T11:37:21.974890452Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=111.509µs grafana | logger=migrator t=2023-11-24T11:37:21.978161586Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2023-11-24T11:37:21.978254083Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=93.297µs grafana | logger=migrator t=2023-11-24T11:37:21.981505036Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2023-11-24T11:37:21.982472985Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=967.859µs grafana | logger=migrator t=2023-11-24T11:37:21.986805347Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2023-11-24T11:37:21.987715462Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=911.615µs grafana | logger=migrator t=2023-11-24T11:37:21.992084436Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2023-11-24T11:37:21.992119758Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=37.693µs grafana | logger=migrator t=2023-11-24T11:37:21.99563445Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2023-11-24T11:37:21.995683234Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=50.443µs grafana | logger=migrator t=2023-11-24T11:37:21.999453054Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2023-11-24T11:37:22.004590478Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=5.138984ms grafana | logger=migrator t=2023-11-24T11:37:22.054373055Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2023-11-24T11:37:22.058937539Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=4.568154ms grafana | logger=migrator t=2023-11-24T11:37:22.062448639Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2023-11-24T11:37:22.06260133Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=152.381µs grafana | logger=migrator t=2023-11-24T11:37:22.065846483Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2023-11-24T11:37:22.066011494Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=164.422µs grafana | logger=migrator t=2023-11-24T11:37:22.069409287Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2023-11-24T11:37:22.070157119Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=747.402µs grafana | logger=migrator t=2023-11-24T11:37:22.076242647Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2023-11-24T11:37:22.07628624Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=45.063µs grafana | logger=migrator t=2023-11-24T11:37:22.080939488Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2023-11-24T11:37:22.087716614Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=6.747534ms grafana | logger=migrator t=2023-11-24T11:37:22.093312589Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2023-11-24T11:37:22.093880617Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=572.259µs grafana | logger=migrator t=2023-11-24T11:37:22.098971267Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2023-11-24T11:37:22.104178505Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=5.207367ms grafana | logger=migrator t=2023-11-24T11:37:22.110343788Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2023-11-24T11:37:22.113837127Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.493499ms grafana | logger=migrator t=2023-11-24T11:37:22.119219637Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2023-11-24T11:37:22.119321504Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=103.467µs grafana | logger=migrator t=2023-11-24T11:37:22.124564854Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2023-11-24T11:37:22.126033594Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.47253ms grafana | logger=migrator t=2023-11-24T11:37:22.130739448Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2023-11-24T11:37:22.13135992Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=620.482µs grafana | logger=migrator t=2023-11-24T11:37:22.137283147Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2023-11-24T11:37:22.137983546Z level=info msg="Migration successfully executed" id="create alert table v1" duration=702.969µs grafana | logger=migrator t=2023-11-24T11:37:22.142939225Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2023-11-24T11:37:22.144809804Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.872539ms grafana | logger=migrator t=2023-11-24T11:37:22.148701082Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2023-11-24T11:37:22.1495507Z level=info msg="Migration successfully executed" id="add index alert state" duration=849.308µs grafana | logger=migrator t=2023-11-24T11:37:22.154380762Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2023-11-24T11:37:22.155221859Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=841.018µs grafana | logger=migrator t=2023-11-24T11:37:22.158136589Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2023-11-24T11:37:22.158757882Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=621.432µs grafana | logger=migrator t=2023-11-24T11:37:22.161829312Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2023-11-24T11:37:22.162608057Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=776.224µs grafana | logger=migrator t=2023-11-24T11:37:22.166631472Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2023-11-24T11:37:22.167593818Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=966.716µs grafana | logger=migrator t=2023-11-24T11:37:22.172367846Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2023-11-24T11:37:22.186512697Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=14.149481ms grafana | logger=migrator t=2023-11-24T11:37:22.191100843Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2023-11-24T11:37:22.191722585Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=621.132µs grafana | logger=migrator t=2023-11-24T11:37:22.194649076Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2023-11-24T11:37:22.195543757Z 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=894.151µs grafana | logger=migrator t=2023-11-24T11:37:22.198459777Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2023-11-24T11:37:22.198722675Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=262.958µs grafana | logger=migrator t=2023-11-24T11:37:22.203183332Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2023-11-24T11:37:22.203732039Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=548.657µs grafana | logger=migrator t=2023-11-24T11:37:22.206435225Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2023-11-24T11:37:22.207076379Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=640.864µs grafana | logger=migrator t=2023-11-24T11:37:22.210208535Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2023-11-24T11:37:22.213615018Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.405883ms grafana | logger=migrator t=2023-11-24T11:37:22.218511284Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2023-11-24T11:37:22.221914358Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.405734ms grafana | logger=migrator t=2023-11-24T11:37:22.224839629Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2023-11-24T11:37:22.228265114Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.425395ms grafana | logger=migrator t=2023-11-24T11:37:22.230600145Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2023-11-24T11:37:22.234049261Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.446617ms grafana | logger=migrator t=2023-11-24T11:37:22.238867382Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2023-11-24T11:37:22.239771164Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=903.812µs grafana | logger=migrator t=2023-11-24T11:37:22.242421376Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2023-11-24T11:37:22.242444058Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=23.521µs grafana | logger=migrator t=2023-11-24T11:37:22.246459323Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2023-11-24T11:37:22.246485455Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=27.061µs grafana | logger=migrator t=2023-11-24T11:37:22.24918555Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2023-11-24T11:37:22.249856087Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=670.287µs grafana | logger=migrator t=2023-11-24T11:37:22.257965114Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-11-24T11:37:22.259909066Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.945463ms grafana | logger=migrator t=2023-11-24T11:37:22.265013657Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2023-11-24T11:37:22.265748367Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=734.77µs grafana | logger=migrator t=2023-11-24T11:37:22.270160441Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2023-11-24T11:37:22.27176707Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.60797ms grafana | logger=migrator t=2023-11-24T11:37:22.275944388Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-11-24T11:37:22.277012891Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.067862ms grafana | logger=migrator t=2023-11-24T11:37:22.280009416Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2023-11-24T11:37:22.284010182Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.997915ms grafana | logger=migrator t=2023-11-24T11:37:22.287963833Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2023-11-24T11:37:22.292006281Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=4.041829ms grafana | logger=migrator t=2023-11-24T11:37:22.296059169Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2023-11-24T11:37:22.296431494Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=373.066µs grafana | logger=migrator t=2023-11-24T11:37:22.299766143Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2023-11-24T11:37:22.301231504Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.465391ms grafana | logger=migrator t=2023-11-24T11:37:22.307375686Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2023-11-24T11:37:22.308572188Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.196173ms grafana | logger=migrator t=2023-11-24T11:37:22.367077795Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2023-11-24T11:37:22.373294542Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=6.219078ms grafana | logger=migrator t=2023-11-24T11:37:22.37662384Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2023-11-24T11:37:22.376701286Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=79.656µs grafana | logger=migrator t=2023-11-24T11:37:22.379643128Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2023-11-24T11:37:22.380304473Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=661.516µs grafana | logger=migrator t=2023-11-24T11:37:22.384714316Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2023-11-24T11:37:22.386548421Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.835425ms grafana | logger=migrator t=2023-11-24T11:37:22.397043432Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2023-11-24T11:37:22.397168641Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=127.018µs grafana | logger=migrator t=2023-11-24T11:37:22.400963142Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2023-11-24T11:37:22.401699402Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=737.07µs grafana | logger=migrator t=2023-11-24T11:37:22.40750132Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2023-11-24T11:37:22.408613756Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.115806ms grafana | logger=migrator t=2023-11-24T11:37:22.414814413Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2023-11-24T11:37:22.415761918Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=947.544µs grafana | logger=migrator t=2023-11-24T11:37:22.419835077Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2023-11-24T11:37:22.421348311Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.516815ms grafana | logger=migrator t=2023-11-24T11:37:22.42556031Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2023-11-24T11:37:22.427030471Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.469731ms grafana | logger=migrator t=2023-11-24T11:37:22.432348736Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2023-11-24T11:37:22.433252708Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=903.472µs grafana | logger=migrator t=2023-11-24T11:37:22.437022277Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2023-11-24T11:37:22.437061319Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=43.033µs grafana | logger=migrator t=2023-11-24T11:37:22.441303331Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2023-11-24T11:37:22.44770216Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.402729ms grafana | logger=migrator t=2023-11-24T11:37:22.452188439Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2023-11-24T11:37:22.452999024Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=810.546µs grafana | logger=migrator t=2023-11-24T11:37:22.457531255Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2023-11-24T11:37:22.461373049Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.841354ms grafana | logger=migrator t=2023-11-24T11:37:22.465788382Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2023-11-24T11:37:22.466440607Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=651.895µs grafana | logger=migrator t=2023-11-24T11:37:22.47085142Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2023-11-24T11:37:22.47172392Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=872.18µs grafana | logger=migrator t=2023-11-24T11:37:22.475491218Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2023-11-24T11:37:22.476723993Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.232925ms grafana | logger=migrator t=2023-11-24T11:37:22.480212313Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2023-11-24T11:37:22.497912468Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=17.696875ms grafana | logger=migrator t=2023-11-24T11:37:22.503661992Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2023-11-24T11:37:22.504154466Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=492.684µs grafana | logger=migrator t=2023-11-24T11:37:22.507572581Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" grafana | logger=migrator t=2023-11-24T11:37:22.508225336Z 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=652.485µs grafana | logger=migrator t=2023-11-24T11:37:22.51266343Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2023-11-24T11:37:22.513123983Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=460.132µs prometheus | ts=2023-11-24T11:37:20.003Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2023-11-24T11:37:20.003Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.0, branch=HEAD, revision=6d80b30990bc297d95b5c844e118c4011fad8054)" prometheus | ts=2023-11-24T11:37:20.004Z caller=main.go:588 level=info build_context="(go=go1.21.4, platform=linux/amd64, user=root@26117804242c, date=20231116-04:35:21, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2023-11-24T11:37:20.004Z caller=main.go:589 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" prometheus | ts=2023-11-24T11:37:20.004Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2023-11-24T11:37:20.004Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2023-11-24T11:37:20.010Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2023-11-24T11:37:20.011Z caller=main.go:1024 level=info msg="Starting TSDB ..." prometheus | ts=2023-11-24T11:37:20.014Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2023-11-24T11:37:20.014Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=1.66µs prometheus | ts=2023-11-24T11:37:20.014Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2023-11-24T11:37:20.015Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2023-11-24T11:37:20.015Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=20.891µs wal_replay_duration=366.412µs wbl_replay_duration=170ns total_replay_duration=407.314µs prometheus | ts=2023-11-24T11:37:20.015Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2023-11-24T11:37:20.015Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2023-11-24T11:37:20.020Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2023-11-24T11:37:20.020Z caller=main.go:1048 level=info msg="TSDB started" prometheus | ts=2023-11-24T11:37:20.020Z caller=main.go:1229 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2023-11-24T11:37:20.021Z caller=main.go:1266 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=937.554µs db_storage=1.57µs remote_storage=1.691µs web_handler=820ns query_engine=680ns scrape=256.924µs scrape_sd=109.476µs notify=52.463µs notify_sd=13.031µs rules=1.63µs tracing=5.66µs prometheus | ts=2023-11-24T11:37:20.021Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." prometheus | ts=2023-11-24T11:37:20.021Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb 3306 port [tcp/mysql] succeeded! policy-db-migrator | 314 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 policy-db-migrator | upgrade: 0 -> 1200 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-24T11:37:22.519263574Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2023-11-24T11:37:22.52008046Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=847.438µs grafana | logger=migrator t=2023-11-24T11:37:22.524314171Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2023-11-24T11:37:22.524583539Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=266.058µs grafana | logger=migrator t=2023-11-24T11:37:22.528477386Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2023-11-24T11:37:22.532811404Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.333158ms grafana | logger=migrator t=2023-11-24T11:37:22.538054434Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2023-11-24T11:37:22.542066099Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.011315ms grafana | logger=migrator t=2023-11-24T11:37:22.546602371Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2023-11-24T11:37:22.54746853Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=865.729µs grafana | logger=migrator t=2023-11-24T11:37:22.55184463Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2023-11-24T11:37:22.553243037Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.397727ms grafana | logger=migrator t=2023-11-24T11:37:22.55984536Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2023-11-24T11:37:22.560212115Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=363.724µs grafana | logger=migrator t=2023-11-24T11:37:22.564575505Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2023-11-24T11:37:22.570867497Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.292351ms grafana | logger=migrator t=2023-11-24T11:37:22.574629416Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2023-11-24T11:37:22.575517896Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=887.931µs grafana | logger=migrator t=2023-11-24T11:37:22.578853255Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2023-11-24T11:37:22.579015606Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=162.201µs grafana | logger=migrator t=2023-11-24T11:37:22.584336592Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2023-11-24T11:37:22.584683255Z level=info msg="Migration successfully executed" id="Move region to single row" duration=346.384µs grafana | logger=migrator t=2023-11-24T11:37:22.588146493Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2023-11-24T11:37:22.589417031Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.269377ms grafana | logger=migrator t=2023-11-24T11:37:22.593745237Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2023-11-24T11:37:22.594993523Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.247596ms grafana | logger=migrator t=2023-11-24T11:37:22.599407976Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-11-24T11:37:22.600639501Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.230815ms grafana | logger=migrator t=2023-11-24T11:37:22.603178426Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-11-24T11:37:22.60455825Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.371344ms grafana | logger=migrator t=2023-11-24T11:37:22.611531489Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2023-11-24T11:37:22.612372576Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=839.077µs grafana | logger=migrator t=2023-11-24T11:37:22.616264733Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2023-11-24T11:37:22.6170784Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=814.927µs grafana | logger=migrator t=2023-11-24T11:37:22.620950345Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2023-11-24T11:37:22.62101496Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=65.345µs grafana | logger=migrator t=2023-11-24T11:37:22.627332993Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2023-11-24T11:37:22.628854698Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.521895ms grafana | logger=migrator t=2023-11-24T11:37:22.634085288Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2023-11-24T11:37:22.635269608Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.183451ms grafana | logger=migrator t=2023-11-24T11:37:22.736832981Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2023-11-24T11:37:22.738233958Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.401187ms grafana | logger=migrator t=2023-11-24T11:37:22.864125452Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2023-11-24T11:37:22.866075316Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.951845ms grafana | logger=migrator t=2023-11-24T11:37:22.871071518Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2023-11-24T11:37:22.871431074Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=363.146µs grafana | logger=migrator t=2023-11-24T11:37:22.875175881Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2023-11-24T11:37:22.875555696Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=380.186µs grafana | logger=migrator t=2023-11-24T11:37:22.880216627Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-24T11:37:22.880278101Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=61.574µs grafana | logger=migrator t=2023-11-24T11:37:22.885593966Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2023-11-24T11:37:22.886753945Z level=info msg="Migration successfully executed" id="create team table" duration=1.160039ms grafana | logger=migrator t=2023-11-24T11:37:22.890145628Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2023-11-24T11:37:22.891206361Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.058973ms grafana | logger=migrator t=2023-11-24T11:37:22.89497138Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2023-11-24T11:37:22.89585683Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=884.781µs grafana | logger=migrator t=2023-11-24T11:37:22.90139633Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2023-11-24T11:37:22.905890319Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.493139ms grafana | logger=migrator t=2023-11-24T11:37:22.909705061Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2023-11-24T11:37:22.909871812Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=167.121µs grafana | logger=migrator t=2023-11-24T11:37:22.913567727Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2023-11-24T11:37:22.914426675Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=860.048µs grafana | logger=migrator t=2023-11-24T11:37:22.918688018Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2023-11-24T11:37:22.920184221Z level=info msg="Migration successfully executed" id="create team member table" duration=1.495773ms grafana | logger=migrator t=2023-11-24T11:37:22.925670907Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2023-11-24T11:37:22.927116656Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.444729ms grafana | logger=migrator t=2023-11-24T11:37:22.930282604Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2023-11-24T11:37:22.931794488Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.510993ms grafana | logger=migrator t=2023-11-24T11:37:22.935495762Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2023-11-24T11:37:22.936346741Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=850.639µs grafana | logger=migrator t=2023-11-24T11:37:22.94186512Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2023-11-24T11:37:22.9519244Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=10.05541ms grafana | logger=migrator t=2023-11-24T11:37:22.970194925Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2023-11-24T11:37:22.974008186Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=3.814272ms grafana | logger=migrator t=2023-11-24T11:37:22.978480974Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2023-11-24T11:37:22.985000701Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=6.515747ms grafana | logger=migrator t=2023-11-24T11:37:22.99052626Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2023-11-24T11:37:22.991499727Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=973.757µs grafana | logger=migrator t=2023-11-24T11:37:22.995873337Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2023-11-24T11:37:22.996801091Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=927.514µs grafana | logger=migrator t=2023-11-24T11:37:22.999659507Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2023-11-24T11:37:23.000802496Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.142879ms grafana | logger=migrator t=2023-11-24T11:37:23.014869169Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2023-11-24T11:37:23.016104313Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.233574ms grafana | logger=migrator t=2023-11-24T11:37:23.023333478Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2023-11-24T11:37:23.025058986Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.724097ms grafana | logger=migrator t=2023-11-24T11:37:23.067901458Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2023-11-24T11:37:23.069872412Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.974565ms grafana | logger=migrator t=2023-11-24T11:37:23.075773266Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2023-11-24T11:37:23.076652966Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=879.931µs grafana | logger=migrator t=2023-11-24T11:37:23.079964073Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2023-11-24T11:37:23.081329576Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.365552ms grafana | logger=migrator t=2023-11-24T11:37:23.085467089Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2023-11-24T11:37:23.086242962Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=775.243µs grafana | logger=migrator t=2023-11-24T11:37:23.091421327Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2023-11-24T11:37:23.091635731Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=214.375µs grafana | logger=migrator t=2023-11-24T11:37:23.095822498Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2023-11-24T11:37:23.097088894Z level=info msg="Migration successfully executed" id="create tag table" duration=1.267396ms grafana | logger=migrator t=2023-11-24T11:37:23.103373114Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2023-11-24T11:37:23.104885688Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.512354ms grafana | logger=migrator t=2023-11-24T11:37:23.112938549Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2023-11-24T11:37:23.114257069Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.31761ms grafana | logger=migrator t=2023-11-24T11:37:23.118988783Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2023-11-24T11:37:23.119900165Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=912.362µs grafana | logger=migrator t=2023-11-24T11:37:23.124703024Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2023-11-24T11:37:23.12626751Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.563886ms grafana | logger=migrator t=2023-11-24T11:37:23.13049558Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-24T11:37:23.149548674Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=19.052554ms grafana | logger=migrator t=2023-11-24T11:37:23.155595518Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2023-11-24T11:37:23.156559503Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=928.123µs grafana | logger=migrator t=2023-11-24T11:37:23.162619658Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2023-11-24T11:37:23.163866093Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.246036ms grafana | logger=migrator t=2023-11-24T11:37:23.167926951Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2023-11-24T11:37:23.168430786Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=502.685µs grafana | logger=migrator t=2023-11-24T11:37:23.173886308Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2023-11-24T11:37:23.174490021Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=603.882µs grafana | logger=migrator t=2023-11-24T11:37:23.179510164Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2023-11-24T11:37:23.180371143Z level=info msg="Migration successfully executed" id="create user auth table" duration=860.83µs grafana | logger=migrator t=2023-11-24T11:37:23.185180002Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2023-11-24T11:37:23.186272106Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.091384ms grafana | logger=migrator t=2023-11-24T11:37:23.193264844Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2023-11-24T11:37:23.193354201Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=91.156µs grafana | logger=migrator t=2023-11-24T11:37:23.19758171Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2023-11-24T11:37:23.202943807Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.361507ms grafana | logger=migrator t=2023-11-24T11:37:23.248452011Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2023-11-24T11:37:23.256843595Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=8.390605ms grafana | logger=migrator t=2023-11-24T11:37:23.262458119Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2023-11-24T11:37:23.268588348Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=6.128199ms grafana | logger=migrator t=2023-11-24T11:37:23.274176351Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2023-11-24T11:37:23.281436628Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=7.265228ms grafana | logger=migrator t=2023-11-24T11:37:23.287979525Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2023-11-24T11:37:23.28877538Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=795.795µs grafana | logger=migrator t=2023-11-24T11:37:23.294728007Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2023-11-24T11:37:23.301836013Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=7.109116ms grafana | logger=migrator t=2023-11-24T11:37:23.30749561Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2023-11-24T11:37:23.308283084Z level=info msg="Migration successfully executed" id="create server_lock table" duration=787.324µs grafana | logger=migrator t=2023-11-24T11:37:23.311206185Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2023-11-24T11:37:23.312186332Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=979.707µs grafana | logger=migrator t=2023-11-24T11:37:23.316967099Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2023-11-24T11:37:23.317738992Z level=info msg="Migration successfully executed" id="create user auth token table" duration=771.702µs grafana | logger=migrator t=2023-11-24T11:37:23.322992811Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2023-11-24T11:37:23.324130169Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.138238ms grafana | logger=migrator t=2023-11-24T11:37:23.329073307Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2023-11-24T11:37:23.330505245Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.432797ms grafana | logger=migrator t=2023-11-24T11:37:23.334974561Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2023-11-24T11:37:23.336032023Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.057462ms grafana | logger=migrator t=2023-11-24T11:37:23.341474035Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2023-11-24T11:37:23.347107211Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.632375ms grafana | logger=migrator t=2023-11-24T11:37:23.35103771Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2023-11-24T11:37:23.352337679Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.299198ms grafana | logger=migrator t=2023-11-24T11:37:23.35790705Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2023-11-24T11:37:23.358856295Z level=info msg="Migration successfully executed" id="create cache_data table" duration=947.826µs grafana | logger=migrator t=2023-11-24T11:37:23.363489872Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2023-11-24T11:37:23.364752139Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.262047ms grafana | logger=migrator t=2023-11-24T11:37:23.370489711Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0450-pdpgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) grafana | logger=migrator t=2023-11-24T11:37:23.371614348Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.126536ms grafana | logger=migrator t=2023-11-24T11:37:23.375037012Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2023-11-24T11:37:23.377248243Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=2.209812ms grafana | logger=migrator t=2023-11-24T11:37:23.38201726Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2023-11-24T11:37:23.382138698Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=121.769µs grafana | logger=migrator t=2023-11-24T11:37:23.388554937Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2023-11-24T11:37:23.388663754Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=106.178µs grafana | logger=migrator t=2023-11-24T11:37:23.392044345Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2023-11-24T11:37:23.39283112Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=784.544µs grafana | logger=migrator t=2023-11-24T11:37:23.395990176Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-24T11:37:23.397686341Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.695345ms grafana | logger=migrator t=2023-11-24T11:37:23.402194Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-24T11:37:23.403265103Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.082864ms grafana | logger=migrator t=2023-11-24T11:37:23.408250174Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-24T11:37:23.408324269Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=76.565µs grafana | logger=migrator t=2023-11-24T11:37:23.41256584Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-24T11:37:23.414304018Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.736058ms grafana | logger=migrator t=2023-11-24T11:37:23.419175932Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-24T11:37:23.421157308Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.980965ms grafana | logger=migrator t=2023-11-24T11:37:23.427439397Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-24T11:37:23.428459327Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.01963ms grafana | logger=migrator t=2023-11-24T11:37:23.432453941Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-24T11:37:23.434007256Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.553256ms grafana | logger=migrator t=2023-11-24T11:37:23.439295808Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2023-11-24T11:37:23.445258026Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.962458ms grafana | logger=migrator t=2023-11-24T11:37:23.44983907Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2023-11-24T11:37:23.450508635Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=669.465µs grafana | logger=migrator t=2023-11-24T11:37:23.453598737Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2023-11-24T11:37:23.453681512Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=82.395µs grafana | logger=migrator t=2023-11-24T11:37:23.458621941Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2023-11-24T11:37:23.459512631Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=890.67µs grafana | logger=migrator t=2023-11-24T11:37:23.462378687Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" grafana | logger=migrator t=2023-11-24T11:37:23.463444791Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.066084ms grafana | logger=migrator t=2023-11-24T11:37:23.46635622Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" grafana | logger=migrator t=2023-11-24T11:37:23.467471046Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.114816ms grafana | logger=migrator t=2023-11-24T11:37:23.473564893Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-24T11:37:23.473700643Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=135.881µs grafana | logger=migrator t=2023-11-24T11:37:23.477933972Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2023-11-24T11:37:23.479544643Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.6107ms grafana | logger=migrator t=2023-11-24T11:37:23.484494491Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2023-11-24T11:37:23.48550138Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.006309ms grafana | logger=migrator t=2023-11-24T11:37:23.490915221Z 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=2023-11-24T11:37:23.491954281Z 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.03868ms grafana | logger=migrator t=2023-11-24T11:37:23.495042783Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2023-11-24T11:37:23.496147199Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.103597ms grafana | logger=migrator t=2023-11-24T11:37:23.501038333Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2023-11-24T11:37:23.507181683Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=6.142611ms policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-24T11:37:23.528639211Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2023-11-24T11:37:23.530188178Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.548746ms grafana | logger=migrator t=2023-11-24T11:37:23.547342591Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-11-24T11:37:23.549186667Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.840045ms grafana | logger=migrator t=2023-11-24T11:37:23.555097982Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2023-11-24T11:37:23.5945352Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=39.436048ms grafana | logger=migrator t=2023-11-24T11:37:23.598536464Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2023-11-24T11:37:23.634472463Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=35.936059ms grafana | logger=migrator t=2023-11-24T11:37:23.677861231Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2023-11-24T11:37:23.67945377Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.59728ms grafana | logger=migrator t=2023-11-24T11:37:23.685611831Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-11-24T11:37:23.686559286Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=947.145µs grafana | logger=migrator t=2023-11-24T11:37:23.691271749Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2023-11-24T11:37:23.696913945Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.641766ms grafana | logger=migrator t=2023-11-24T11:37:23.72651267Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2023-11-24T11:37:23.727651938Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.141888ms grafana | logger=migrator t=2023-11-24T11:37:23.73337649Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2023-11-24T11:37:23.734406691Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.032232ms grafana | logger=migrator t=2023-11-24T11:37:23.737605109Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2023-11-24T11:37:23.738718055Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.112496ms grafana | logger=migrator t=2023-11-24T11:37:23.747140981Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2023-11-24T11:37:23.749067744Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.924812ms grafana | logger=migrator t=2023-11-24T11:37:23.754430271Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-24T11:37:23.754644295Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=213.525µs grafana | logger=migrator t=2023-11-24T11:37:23.757831863Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2023-11-24T11:37:23.763856875Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=6.024052ms grafana | logger=migrator t=2023-11-24T11:37:23.769613909Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2023-11-24T11:37:23.776870186Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=7.260837ms grafana | logger=migrator t=2023-11-24T11:37:23.782991855Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2023-11-24T11:37:23.78891835Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.928486ms grafana | logger=migrator t=2023-11-24T11:37:23.793030951Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2023-11-24T11:37:23.794288377Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.257526ms grafana | logger=migrator t=2023-11-24T11:37:23.797490126Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2023-11-24T11:37:23.799036443Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.545926ms grafana | logger=migrator t=2023-11-24T11:37:23.803434103Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2023-11-24T11:37:23.810201027Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.767243ms grafana | logger=migrator t=2023-11-24T11:37:23.814259574Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2023-11-24T11:37:23.820716265Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.456111ms grafana | logger=migrator t=2023-11-24T11:37:23.825567757Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" grafana | logger=migrator t=2023-11-24T11:37:23.826677764Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.112857ms grafana | logger=migrator t=2023-11-24T11:37:23.832372714Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2023-11-24T11:37:23.841218149Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=8.846796ms grafana | logger=migrator t=2023-11-24T11:37:23.846125204Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2023-11-24T11:37:23.850420588Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=4.294884ms grafana | logger=migrator t=2023-11-24T11:37:23.854523848Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2023-11-24T11:37:23.854669378Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=145.31µs grafana | logger=migrator t=2023-11-24T11:37:23.858908009Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2023-11-24T11:37:23.85995301Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.042511ms grafana | logger=migrator t=2023-11-24T11:37:23.863496693Z 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=2023-11-24T11:37:23.865233261Z 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.735998ms grafana | logger=migrator t=2023-11-24T11:37:23.868844399Z 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=2023-11-24T11:37:23.870667133Z 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.821964ms grafana | logger=migrator t=2023-11-24T11:37:23.875071255Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-24T11:37:23.875227035Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=154.86µs grafana | logger=migrator t=2023-11-24T11:37:23.879493807Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2023-11-24T11:37:23.88566665Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.172373ms grafana | logger=migrator t=2023-11-24T11:37:23.889044481Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2023-11-24T11:37:23.898762305Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=9.718364ms grafana | logger=migrator t=2023-11-24T11:37:23.9037901Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2023-11-24T11:37:23.910926148Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=7.133179ms grafana | logger=migrator t=2023-11-24T11:37:23.914201252Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2023-11-24T11:37:23.920618191Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.416699ms grafana | logger=migrator t=2023-11-24T11:37:23.924720952Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2023-11-24T11:37:23.930928667Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.207544ms grafana | logger=migrator t=2023-11-24T11:37:23.935355849Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2023-11-24T11:37:23.935545502Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=189.023µs grafana | logger=migrator t=2023-11-24T11:37:23.938679706Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2023-11-24T11:37:23.939711938Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.033391ms grafana | logger=migrator t=2023-11-24T11:37:23.943308383Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2023-11-24T11:37:23.953347841Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=10.036417ms grafana | logger=migrator t=2023-11-24T11:37:23.958464241Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2023-11-24T11:37:23.958610101Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=149.641µs grafana | logger=migrator t=2023-11-24T11:37:23.962418341Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2023-11-24T11:37:23.969459982Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=7.037931ms 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 | -------------- grafana | logger=migrator t=2023-11-24T11:37:23.973080011Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2023-11-24T11:37:23.973966711Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=889.321µs grafana | logger=migrator t=2023-11-24T11:37:23.976850748Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2023-11-24T11:37:23.981918655Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=5.067037ms grafana | logger=migrator t=2023-11-24T11:37:23.988103468Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2023-11-24T11:37:23.988938225Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=834.587µs grafana | logger=migrator t=2023-11-24T11:37:23.992323087Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2023-11-24T11:37:23.993375399Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.051922ms grafana | logger=migrator t=2023-11-24T11:37:23.996583258Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2023-11-24T11:37:24.00289944Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.315652ms grafana | logger=migrator t=2023-11-24T11:37:24.007352601Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2023-11-24T11:37:24.008164989Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=813.927µs grafana | logger=migrator t=2023-11-24T11:37:24.011773987Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2023-11-24T11:37:24.012928549Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.154272ms grafana | logger=migrator t=2023-11-24T11:37:24.018059347Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2023-11-24T11:37:24.018907247Z level=info msg="Migration successfully executed" id="create alert_image table" duration=847.62µs grafana | logger=migrator t=2023-11-24T11:37:24.024037674Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2023-11-24T11:37:24.025710714Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.67294ms grafana | logger=migrator t=2023-11-24T11:37:24.029499575Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2023-11-24T11:37:24.029672887Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=138.65µs grafana | logger=migrator t=2023-11-24T11:37:24.033504061Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2023-11-24T11:37:24.034951115Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.446584ms 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 | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-24T11:37:24.081683048Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2023-11-24T11:37:24.083569102Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.888175ms grafana | logger=migrator t=2023-11-24T11:37:24.094104205Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2023-11-24T11:37:24.09459499Z 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=2023-11-24T11:37:24.103689151Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2023-11-24T11:37:24.104520381Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=830.91µs grafana | logger=migrator t=2023-11-24T11:37:24.114290709Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2023-11-24T11:37:24.116210617Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.919647ms grafana | logger=migrator t=2023-11-24T11:37:24.125808153Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2023-11-24T11:37:24.13458314Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=8.775578ms grafana | logger=migrator t=2023-11-24T11:37:24.142593463Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2023-11-24T11:37:24.144304436Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.710843ms grafana | logger=migrator t=2023-11-24T11:37:24.152803404Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2023-11-24T11:37:24.154603793Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.79964ms grafana | logger=migrator t=2023-11-24T11:37:24.159067521Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2023-11-24T11:37:24.159902021Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=835.71µs grafana | logger=migrator t=2023-11-24T11:37:24.164137884Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2023-11-24T11:37:24.165364992Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.226417ms grafana | logger=migrator t=2023-11-24T11:37:24.169510629Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2023-11-24T11:37:24.170595236Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.086038ms grafana | logger=migrator t=2023-11-24T11:37:24.174784036Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2023-11-24T11:37:24.174808608Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=25.462µs grafana | logger=migrator t=2023-11-24T11:37:24.178863327Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2023-11-24T11:37:24.179004617Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=139.49µs grafana | logger=migrator t=2023-11-24T11:37:24.182284762Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2023-11-24T11:37:24.182900426Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=612.745µs grafana | logger=migrator t=2023-11-24T11:37:24.187365955Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2023-11-24T11:37:24.188754135Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.38707ms grafana | logger=migrator t=2023-11-24T11:37:24.192375074Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2023-11-24T11:37:24.193151919Z level=info msg="Migration successfully executed" id="create secrets table" duration=776.375µs grafana | logger=migrator t=2023-11-24T11:37:24.199787304Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2023-11-24T11:37:24.249213849Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=49.428074ms grafana | logger=migrator t=2023-11-24T11:37:24.256427885Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2023-11-24T11:37:24.263388812Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=6.960297ms grafana | logger=migrator t=2023-11-24T11:37:24.269210789Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2023-11-24T11:37:24.269473028Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=262.06µs grafana | logger=migrator t=2023-11-24T11:37:24.275722905Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2023-11-24T11:37:24.324516114Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=48.793669ms grafana | logger=migrator t=2023-11-24T11:37:24.328208329Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2023-11-24T11:37:24.372761655Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=44.553425ms grafana | logger=migrator t=2023-11-24T11:37:24.377140228Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2023-11-24T11:37:24.37772237Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=581.891µs grafana | logger=migrator t=2023-11-24T11:37:24.381184627Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2023-11-24T11:37:24.382326429Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.139592ms grafana | logger=migrator t=2023-11-24T11:37:24.386064476Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2023-11-24T11:37:24.386433632Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=369.106µs grafana | logger=migrator t=2023-11-24T11:37:24.391211615Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2023-11-24T11:37:24.392084027Z level=info msg="Migration successfully executed" id="create permission table" duration=872.142µs grafana | logger=migrator t=2023-11-24T11:37:24.396894041Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2023-11-24T11:37:24.397952756Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.058485ms 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=2023-11-24T11:37:24.401322528Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2023-11-24T11:37:24.402440878Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.117669ms grafana | logger=migrator t=2023-11-24T11:37:24.406830552Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2023-11-24T11:37:24.407658951Z level=info msg="Migration successfully executed" id="create role table" duration=826.939µs grafana | logger=migrator t=2023-11-24T11:37:24.411077275Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2023-11-24T11:37:24.421189959Z level=info msg="Migration successfully executed" id="add column display_name" duration=10.113644ms grafana | logger=migrator t=2023-11-24T11:37:24.461984486Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2023-11-24T11:37:24.469349563Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.361977ms grafana | logger=migrator t=2023-11-24T11:37:24.473951843Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2023-11-24T11:37:24.474977616Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.027323ms grafana | logger=migrator t=2023-11-24T11:37:24.478795068Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2023-11-24T11:37:24.479883187Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.087518ms grafana | logger=migrator t=2023-11-24T11:37:24.483052493Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2023-11-24T11:37:24.484162242Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.109069ms grafana | logger=migrator t=2023-11-24T11:37:24.48832013Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2023-11-24T11:37:24.489088015Z level=info msg="Migration successfully executed" id="create team role table" duration=767.685µs grafana | logger=migrator t=2023-11-24T11:37:24.492344837Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2023-11-24T11:37:24.493401653Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.054565ms grafana | logger=migrator t=2023-11-24T11:37:24.496881652Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2023-11-24T11:37:24.498071637Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.189405ms grafana | logger=migrator t=2023-11-24T11:37:24.502208833Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2023-11-24T11:37:24.503273539Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.064386ms grafana | logger=migrator t=2023-11-24T11:37:24.506592596Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2023-11-24T11:37:24.50735057Z level=info msg="Migration successfully executed" id="create user role table" duration=757.864µs grafana | logger=migrator t=2023-11-24T11:37:24.510517038Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2023-11-24T11:37:24.511579683Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.062176ms grafana | logger=migrator t=2023-11-24T11:37:24.515609841Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2023-11-24T11:37:24.516686369Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.077987ms grafana | logger=migrator t=2023-11-24T11:37:24.520056339Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2023-11-24T11:37:24.521111435Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.054855ms grafana | logger=migrator t=2023-11-24T11:37:24.525723945Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2023-11-24T11:37:24.526906789Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.182304ms grafana | logger=migrator t=2023-11-24T11:37:24.531447074Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2023-11-24T11:37:24.533121654Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.67385ms grafana | logger=migrator t=2023-11-24T11:37:24.536659717Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2023-11-24T11:37:24.537734964Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.074916ms grafana | logger=migrator t=2023-11-24T11:37:24.541116446Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2023-11-24T11:37:24.548700388Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.583472ms grafana | logger=migrator t=2023-11-24T11:37:24.551774388Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2023-11-24T11:37:24.552823143Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.048626ms grafana | logger=migrator t=2023-11-24T11:37:24.55683238Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2023-11-24T11:37:24.557936499Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.10393ms grafana | logger=migrator t=2023-11-24T11:37:24.561184971Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2023-11-24T11:37:24.562212544Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.027563ms grafana | logger=migrator t=2023-11-24T11:37:24.565330447Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2023-11-24T11:37:24.566400344Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.069807ms grafana | logger=migrator t=2023-11-24T11:37:24.570725553Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2023-11-24T11:37:24.571483797Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=758.104µs grafana | logger=migrator t=2023-11-24T11:37:24.574852749Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2023-11-24T11:37:24.576587592Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.733873ms grafana | logger=migrator t=2023-11-24T11:37:24.580147187Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2023-11-24T11:37:24.588060923Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=7.914357ms grafana | logger=migrator t=2023-11-24T11:37:24.592568566Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2023-11-24T11:37:24.598515301Z level=info msg="Migration successfully executed" id="permission kind migration" duration=5.947166ms 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 | -------------- grafana | logger=migrator t=2023-11-24T11:37:24.601964367Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2023-11-24T11:37:24.609736063Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=7.773446ms grafana | logger=migrator t=2023-11-24T11:37:24.612975125Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2023-11-24T11:37:24.620743261Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.782436ms grafana | logger=migrator t=2023-11-24T11:37:24.624824652Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2023-11-24T11:37:24.625915441Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.090399ms grafana | logger=migrator t=2023-11-24T11:37:24.629324594Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2023-11-24T11:37:24.630228159Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=903.104µs grafana | logger=migrator t=2023-11-24T11:37:24.633679976Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2023-11-24T11:37:24.634788885Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.108479ms grafana | logger=migrator t=2023-11-24T11:37:24.638933361Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2023-11-24T11:37:24.639018287Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=85.236µs grafana | logger=migrator t=2023-11-24T11:37:24.642500607Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2023-11-24T11:37:24.642574692Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=73.805µs grafana | logger=migrator t=2023-11-24T11:37:24.646236614Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2023-11-24T11:37:24.646990047Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=751.853µs grafana | logger=migrator t=2023-11-24T11:37:24.651685074Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2023-11-24T11:37:24.652251234Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=566.891µs grafana | logger=migrator t=2023-11-24T11:37:24.655675419Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2023-11-24T11:37:24.656307474Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=631.916µs grafana | logger=migrator t=2023-11-24T11:37:24.659733059Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2023-11-24T11:37:24.660049622Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=317.913µs grafana | logger=migrator t=2023-11-24T11:37:24.663593095Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2023-11-24T11:37:24.664116692Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=523.687µs grafana | logger=migrator t=2023-11-24T11:37:24.668851391Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2023-11-24T11:37:24.669585563Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=733.872µs grafana | logger=migrator t=2023-11-24T11:37:24.673090605Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2023-11-24T11:37:24.674483054Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.390919ms grafana | logger=migrator t=2023-11-24T11:37:24.678138685Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2023-11-24T11:37:24.688805288Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=10.667113ms grafana | logger=migrator t=2023-11-24T11:37:24.692060591Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2023-11-24T11:37:24.692144967Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=84.856µs grafana | logger=migrator t=2023-11-24T11:37:24.696563583Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2023-11-24T11:37:24.697423104Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=859.041µs grafana | logger=migrator t=2023-11-24T11:37:24.701251449Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2023-11-24T11:37:24.702405021Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.153402ms grafana | logger=migrator t=2023-11-24T11:37:24.707468153Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2023-11-24T11:37:24.708560431Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.092128ms grafana | logger=migrator t=2023-11-24T11:37:24.712556547Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2023-11-24T11:37:24.723444706Z level=info msg="Migration successfully executed" id="add correlation config column" duration=10.889469ms grafana | logger=migrator t=2023-11-24T11:37:24.726464922Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2023-11-24T11:37:24.727257158Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=778.075µs grafana | logger=migrator t=2023-11-24T11:37:24.730196049Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2023-11-24T11:37:24.731070221Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=873.292µs grafana | logger=migrator t=2023-11-24T11:37:24.735408602Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-24T11:37:24.76685006Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=31.442479ms grafana | logger=migrator t=2023-11-24T11:37:24.769934731Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2023-11-24T11:37:24.770597468Z level=info msg="Migration successfully executed" id="create correlation v2" duration=662.618µs grafana | logger=migrator t=2023-11-24T11:37:24.77482169Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2023-11-24T11:37:24.775998514Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.175044ms grafana | logger=migrator t=2023-11-24T11:37:24.779463463Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2023-11-24T11:37:24.780670939Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.205956ms 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 | -------------- grafana | logger=migrator t=2023-11-24T11:37:24.784005357Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2023-11-24T11:37:24.785125758Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.12ms grafana | logger=migrator t=2023-11-24T11:37:24.789118763Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2023-11-24T11:37:24.789397963Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=279.089µs grafana | logger=migrator t=2023-11-24T11:37:24.793061744Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2023-11-24T11:37:24.794221108Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.159234ms grafana | logger=migrator t=2023-11-24T11:37:24.797730219Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2023-11-24T11:37:24.807017022Z level=info msg="Migration successfully executed" id="add provisioning column" duration=9.286444ms grafana | logger=migrator t=2023-11-24T11:37:24.811004578Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2023-11-24T11:37:24.811757532Z level=info msg="Migration successfully executed" id="create entity_events table" duration=752.744µs grafana | logger=migrator t=2023-11-24T11:37:24.814861244Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2023-11-24T11:37:24.815754808Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=893.144µs grafana | logger=migrator t=2023-11-24T11:37:24.820094008Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-24T11:37:24.820796458Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-24T11:37:24.82431516Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-24T11:37:24.824994829Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-24T11:37:24.828729856Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2023-11-24T11:37:24.829452897Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=722.962µs grafana | logger=migrator t=2023-11-24T11:37:24.832769715Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2023-11-24T11:37:24.833638487Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=868.302µs grafana | logger=migrator t=2023-11-24T11:37:24.870938224Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-24T11:37:24.872663908Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.721924ms grafana | logger=migrator t=2023-11-24T11:37:24.876351171Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-24T11:37:24.877527666Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.176575ms grafana | logger=migrator t=2023-11-24T11:37:24.880888846Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-11-24T11:37:24.881886527Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=997.251µs grafana | logger=migrator t=2023-11-24T11:37:24.885902325Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-11-24T11:37:24.886898676Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=996.151µs grafana | logger=migrator t=2023-11-24T11:37:24.890232344Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2023-11-24T11:37:24.890958406Z level=info msg="Migration successfully executed" id="Drop public config table" duration=725.842µs grafana | logger=migrator t=2023-11-24T11:37:24.895432276Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2023-11-24T11:37:24.896973507Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.541131ms grafana | logger=migrator t=2023-11-24T11:37:24.900338867Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-11-24T11:37:24.901990055Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.650638ms grafana | logger=migrator t=2023-11-24T11:37:24.906337906Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-11-24T11:37:24.907411233Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.072837ms grafana | logger=migrator t=2023-11-24T11:37:24.91058685Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2023-11-24T11:37:24.91225933Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.67061ms grafana | logger=migrator t=2023-11-24T11:37:24.91576588Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2023-11-24T11:37:24.949285308Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=33.518857ms grafana | logger=migrator t=2023-11-24T11:37:24.953614748Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2023-11-24T11:37:24.961938683Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=8.323625ms grafana | logger=migrator t=2023-11-24T11:37:24.973003735Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2023-11-24T11:37:24.984475705Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=11.472591ms grafana | logger=migrator t=2023-11-24T11:37:25.017283501Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2023-11-24T11:37:25.017655028Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=372.578µs grafana | logger=migrator t=2023-11-24T11:37:25.021684206Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2023-11-24T11:37:25.032912469Z level=info msg="Migration successfully executed" id="add share column" duration=11.237224ms grafana | logger=migrator t=2023-11-24T11:37:25.037553341Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2023-11-24T11:37:25.037762916Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=209.565µs 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 2411231137290800u 1 2023-11-24 11:37:29 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:29 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:29 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:29 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:29 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:29 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:29 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:29 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:29 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:29 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:29 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:29 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:29 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:29 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:29 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:29 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:29 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:29 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:30 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:30 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:30 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:30 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:30 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:30 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:30 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:30 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:30 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:30 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:30 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:30 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:30 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:30 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:30 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:30 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:30 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:30 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:30 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:31 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:31 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:31 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:31 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:31 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:31 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:31 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:31 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:31 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:31 grafana | logger=migrator t=2023-11-24T11:37:25.041165769Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2023-11-24T11:37:25.041982127Z level=info msg="Migration successfully executed" id="create file table" duration=816.068µs grafana | logger=migrator t=2023-11-24T11:37:25.04565054Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2023-11-24T11:37:25.047550425Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.896175ms grafana | logger=migrator t=2023-11-24T11:37:25.05165512Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2023-11-24T11:37:25.053317248Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.661059ms grafana | logger=migrator t=2023-11-24T11:37:25.05682861Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2023-11-24T11:37:25.057546681Z level=info msg="Migration successfully executed" id="create file_meta table" duration=718.241µs grafana | logger=migrator t=2023-11-24T11:37:25.061247465Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2023-11-24T11:37:25.062407759Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.160094ms grafana | logger=migrator t=2023-11-24T11:37:25.068199443Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2023-11-24T11:37:25.0682971Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=98.307µs grafana | logger=migrator t=2023-11-24T11:37:25.072001504Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2023-11-24T11:37:25.072098521Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=97.897µs grafana | logger=migrator t=2023-11-24T11:37:25.076037233Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2023-11-24T11:37:25.076907546Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=869.173µs grafana | logger=migrator t=2023-11-24T11:37:25.080856128Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2023-11-24T11:37:25.081346492Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=494.285µs grafana | logger=migrator t=2023-11-24T11:37:25.08634045Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2023-11-24T11:37:25.087682436Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.338926ms grafana | logger=migrator t=2023-11-24T11:37:25.091640149Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2023-11-24T11:37:25.105119583Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=13.478804ms grafana | logger=migrator t=2023-11-24T11:37:25.108662506Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2023-11-24T11:37:25.108786135Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=123.519µs grafana | logger=migrator t=2023-11-24T11:37:25.112403494Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2023-11-24T11:37:25.113861218Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.455234ms grafana | logger=migrator t=2023-11-24T11:37:25.118375522Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2023-11-24T11:37:25.119097183Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=723.082µs grafana | logger=migrator t=2023-11-24T11:37:25.122790737Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2023-11-24T11:37:25.123085588Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=294.481µs grafana | logger=migrator t=2023-11-24T11:37:25.126236723Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2023-11-24T11:37:25.126782493Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=545.53µs grafana | logger=migrator t=2023-11-24T11:37:25.130989203Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2023-11-24T11:37:25.142303632Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=11.315139ms grafana | logger=migrator t=2023-11-24T11:37:25.145843685Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2023-11-24T11:37:25.153789504Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=7.943939ms grafana | logger=migrator t=2023-11-24T11:37:25.157086719Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2023-11-24T11:37:25.158145326Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.057507ms grafana | logger=migrator t=2023-11-24T11:37:25.162215106Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2023-11-24T11:37:25.275806751Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=113.591205ms grafana | logger=migrator t=2023-11-24T11:37:25.280410229Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2023-11-24T11:37:25.281375959Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=965.79µs grafana | logger=migrator t=2023-11-24T11:37:25.285685817Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2023-11-24T11:37:25.286644636Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=958.199µs grafana | logger=migrator t=2023-11-24T11:37:25.291722968Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2023-11-24T11:37:25.329364531Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=37.641843ms grafana | logger=migrator t=2023-11-24T11:37:25.333101448Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2023-11-24T11:37:25.333300452Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=199.214µs grafana | logger=migrator t=2023-11-24T11:37:25.336933283Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2023-11-24T11:37:25.337149758Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=216.335µs grafana | logger=migrator t=2023-11-24T11:37:25.341406982Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:31 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:31 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:31 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:31 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:31 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:31 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:31 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:31 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:31 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:31 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:31 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:31 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:32 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:32 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:32 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:32 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:32 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:32 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:32 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:32 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:32 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:32 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:32 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:32 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:32 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:32 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:32 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:32 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:32 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:32 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:32 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:32 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:32 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:32 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:32 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:32 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:33 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:33 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:33 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:33 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:33 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:33 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:33 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:33 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:33 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:33 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:33 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:33 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2411231137290800u 1 2023-11-24 11:37:33 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2411231137290900u 1 2023-11-24 11:37:33 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2411231137290900u 1 2023-11-24 11:37:33 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2411231137290900u 1 2023-11-24 11:37:33 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2411231137290900u 1 2023-11-24 11:37:33 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2411231137290900u 1 2023-11-24 11:37:33 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2411231137290900u 1 2023-11-24 11:37:34 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2411231137290900u 1 2023-11-24 11:37:34 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2411231137290900u 1 2023-11-24 11:37:34 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2411231137290900u 1 2023-11-24 11:37:34 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2411231137290900u 1 2023-11-24 11:37:34 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2411231137290900u 1 2023-11-24 11:37:34 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2411231137290900u 1 2023-11-24 11:37:34 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2411231137290900u 1 2023-11-24 11:37:34 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2411231137291000u 1 2023-11-24 11:37:34 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2411231137291000u 1 2023-11-24 11:37:34 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2411231137291000u 1 2023-11-24 11:37:34 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2411231137291000u 1 2023-11-24 11:37:34 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2411231137291000u 1 2023-11-24 11:37:34 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2411231137291000u 1 2023-11-24 11:37:34 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2411231137291000u 1 2023-11-24 11:37:34 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2411231137291000u 1 2023-11-24 11:37:34 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2411231137291000u 1 2023-11-24 11:37:34 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2411231137291100u 1 2023-11-24 11:37:34 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2411231137291200u 1 2023-11-24 11:37:34 grafana | logger=migrator t=2023-11-24T11:37:25.34180319Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=396.318µs grafana | logger=migrator t=2023-11-24T11:37:25.345654786Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2023-11-24T11:37:25.347093129Z level=info msg="Migration successfully executed" id="create folder table" duration=1.438563ms grafana | logger=migrator t=2023-11-24T11:37:25.350753271Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2023-11-24T11:37:25.352663177Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.909626ms grafana | logger=migrator t=2023-11-24T11:37:25.357441779Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2023-11-24T11:37:25.358792065Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.350876ms grafana | logger=migrator t=2023-11-24T11:37:25.362176198Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2023-11-24T11:37:25.36220403Z level=info msg="Migration successfully executed" id="Update folder title length" duration=31.232µs grafana | logger=migrator t=2023-11-24T11:37:25.366336225Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-11-24T11:37:25.367579445Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.241869ms grafana | logger=migrator t=2023-11-24T11:37:25.371937916Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-11-24T11:37:25.373023233Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.085417ms grafana | logger=migrator t=2023-11-24T11:37:25.37618082Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2023-11-24T11:37:25.377363454Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.182034ms grafana | logger=migrator t=2023-11-24T11:37:25.381033446Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2023-11-24T11:37:25.381907919Z level=info msg="Migration successfully executed" id="create anon_device table" duration=873.923µs grafana | logger=migrator t=2023-11-24T11:37:25.385863312Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2023-11-24T11:37:25.387101441Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.237979ms grafana | logger=migrator t=2023-11-24T11:37:25.390657505Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2023-11-24T11:37:25.391879922Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.220917ms grafana | logger=migrator t=2023-11-24T11:37:25.395334339Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2023-11-24T11:37:25.396584009Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.249319ms grafana | logger=migrator t=2023-11-24T11:37:25.40108816Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2023-11-24T11:37:25.402319089Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.230479ms grafana | logger=migrator t=2023-11-24T11:37:25.406104339Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2023-11-24T11:37:25.407279074Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.174855ms grafana | logger=migrator t=2023-11-24T11:37:25.410749772Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2023-11-24T11:37:25.411065764Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=317.672µs grafana | logger=migrator t=2023-11-24T11:37:25.415383384Z level=info msg="migrations completed" performed=517 skipped=0 duration=4.38057711s grafana | logger=sqlstore t=2023-11-24T11:37:25.424469563Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2023-11-24T11:37:25.424734452Z level=info msg="Created default organization" grafana | logger=secrets t=2023-11-24T11:37:25.428840315Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=local.finder t=2023-11-24T11:37:25.489142378Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=query_data t=2023-11-24T11:37:25.491456394Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2023-11-24T11:37:25.49433623Z level=info msg="Live Push Gateway initialization" grafana | logger=infra.usagestats.collector t=2023-11-24T11:37:27.697492395Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2023-11-24T11:37:27.699395191Z level=info msg="inserting datasource from configuration " name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2023-11-24T11:37:27.71411306Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2023-11-24T11:37:27.714134411Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2023-11-24T11:37:27.714433293Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2023-11-24T11:37:27.715636199Z level=info msg="Warming state cache for startup" grafana | logger=http.server t=2023-11-24T11:37:27.719418448Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafana.update.checker t=2023-11-24T11:37:27.755681823Z level=info msg="Update check succeeded" duration=40.197305ms grafana | logger=plugins.update.checker t=2023-11-24T11:37:27.842245774Z level=info msg="Update check succeeded" duration=127.641719ms grafana | logger=ngalert.state.manager t=2023-11-24T11:37:27.873557515Z level=info msg="State cache has been initialized" states=0 duration=157.917816ms grafana | logger=ngalert.multiorg.alertmanager t=2023-11-24T11:37:27.873662243Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=ngalert.scheduler t=2023-11-24T11:37:27.873690485Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2023-11-24T11:37:27.873930712Z level=info msg=starting first_tick=2023-11-24T11:37:30Z grafana | logger=sqlstore.transactions t=2023-11-24T11:37:27.875313181Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=ngalert.migration t=2023-11-24T11:37:27.880261043Z level=info msg=Starting grafana | logger=ngalert.migration t=2023-11-24T11:37:27.880719086Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-11-24T11:37:27.880935062Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-11-24T11:37:27.881311358Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-11-24T11:37:27.881668734Z level=warn msg="No available receivers" policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2411231137291200u 1 2023-11-24 11:37:34 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2411231137291200u 1 2023-11-24 11:37:34 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2411231137291200u 1 2023-11-24 11:37:35 policy-db-migrator | policyadmin: OK @ 1200 grafana | logger=ngalert.migration t=2023-11-24T11:37:27.883894243Z level=info msg="Completed legacy migration" grafana | logger=sqlstore.transactions t=2023-11-24T11:37:28.073149311Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=infra.usagestats t=2023-11-24T11:38:24.77174864Z level=info msg="Usage stats are ready to report" ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing mariadb ... Removing prometheus ... Removing policy-api ... done Removing grafana ... done Removing policy-db-migrator ... done Removing prometheus ... done Removing mariadb ... done Removing network compose_default ++ cd /w/workspace/policy-api-london-project-csit-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.rjjsgKHZLG ]] + rsync -av /tmp/tmp.rjjsgKHZLG/ /w/workspace/policy-api-london-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,347,201 bytes received 95 bytes 2,694,592.00 bytes/sec total size is 1,346,552 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 2143 killed; [ssh-agent] Stopped. Robot results publisher started... -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins11960701047034486850.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins8166773928940169624.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/policy-api-london-project-csit-api + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/policy-api-london-project-csit-api ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/policy-api-london-project-csit-api ']' + mkdir -p /w/workspace/policy-api-london-project-csit-api/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-london-project-csit-api/archives/ [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins3191344524132154911.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-2RAW from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-2RAW/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins18262393324344059094.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config5532350137228625315tmp 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/jenkins225594204441676201.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins2247239228276533288.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-2RAW from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-2RAW/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins16595440243187376008.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins16430058435258097946.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-2RAW from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-2RAW/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/jenkins9850008249576261583.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-2RAW from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-2RAW/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/189 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-3825 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 824 27431 0 3911 30886 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 fq_codel state UP group default qlen 1000 link/ether fa:16:3e:6e:c6:31 brd ff:ff:ff:ff:ff:ff inet 10.30.106.136/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86038sec preferred_lft 86038sec inet6 fe80::f816:3eff:fe6e:c631/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:47:17:2e:ce 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-3825) 11/24/23 _x86_64_ (8 CPU) 11:34:12 LINUX RESTART (8 CPU) 11:35:01 tps rtps wtps bread/s bwrtn/s 11:36:01 99.55 14.26 85.29 993.50 28419.12 11:37:01 135.00 22.98 112.02 2759.47 32860.67 11:38:01 362.32 13.51 348.81 816.00 77961.72 11:39:01 14.78 0.02 14.76 4.27 19533.22 11:40:01 73.12 1.95 71.17 113.85 23257.62 Average: 136.95 10.54 126.40 937.33 36405.50 11:35:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:36:01 30066424 31712716 2872796 8.72 71256 1883392 1417440 4.17 864864 1716576 143324 11:37:01 28596980 31679036 4342240 13.18 103748 3244084 1520784 4.47 980032 2981020 1177432 11:38:01 26698068 30295212 6241152 18.95 125736 3671020 4856180 14.29 2451348 3343792 692 11:39:01 26706224 30303528 6232996 18.92 125808 3671848 4954724 14.58 2444520 3342612 804 11:40:01 28090804 31627588 4848416 14.72 129700 3644356 1465888 4.31 1155684 3273020 31624 Average: 28031700 31123616 4907520 14.90 111250 3222940 2843003 8.36 1579290 2931404 270775 11:35:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:36:01 ens3 63.88 41.83 1088.41 7.88 0.00 0.00 0.00 0.00 11:36:01 lo 1.13 1.13 0.12 0.12 0.00 0.00 0.00 0.00 11:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:37:01 ens3 254.43 163.95 7342.40 16.13 0.00 0.00 0.00 0.00 11:37:01 lo 9.13 9.13 0.84 0.84 0.00 0.00 0.00 0.00 11:37:01 br-c4e2517faf8a 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:01 vetha2fadbe 0.05 0.37 0.00 0.02 0.00 0.00 0.00 0.00 11:38:01 ens3 60.62 37.21 1697.46 3.95 0.00 0.00 0.00 0.00 11:38:01 lo 7.25 7.25 8.13 8.13 0.00 0.00 0.00 0.00 11:38:01 veth738ebec 0.47 0.77 0.05 0.31 0.00 0.00 0.00 0.00 11:39:01 vetha2fadbe 0.80 1.10 0.11 0.59 0.00 0.00 0.00 0.00 11:39:01 ens3 3.08 2.85 0.56 0.73 0.00 0.00 0.00 0.00 11:39:01 lo 8.38 8.38 0.59 0.59 0.00 0.00 0.00 0.00 11:39:01 veth738ebec 0.43 0.38 0.03 0.02 0.00 0.00 0.00 0.00 11:40:01 ens3 76.82 56.24 127.65 26.24 0.00 0.00 0.00 0.00 11:40:01 lo 3.80 3.80 0.36 0.36 0.00 0.00 0.00 0.00 11:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: ens3 91.76 60.41 2050.99 10.98 0.00 0.00 0.00 0.00 Average: lo 5.94 5.94 2.01 2.01 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-3825) 11/24/23 _x86_64_ (8 CPU) 11:34:12 LINUX RESTART (8 CPU) 11:35:01 CPU %user %nice %system %iowait %steal %idle 11:36:01 all 9.24 0.00 0.67 3.55 0.03 86.50 11:36:01 0 1.12 0.00 0.17 0.00 0.02 98.70 11:36:01 1 1.37 0.00 0.53 17.22 0.05 80.83 11:36:01 2 2.30 0.00 0.27 1.08 0.02 96.33 11:36:01 3 7.08 0.00 0.62 0.72 0.03 91.55 11:36:01 4 34.33 0.00 1.66 4.53 0.07 59.41 11:36:01 5 18.93 0.00 1.22 0.55 0.05 79.25 11:36:01 6 4.84 0.00 0.52 0.07 0.03 94.54 11:36:01 7 4.04 0.00 0.38 4.24 0.03 91.30 11:37:01 all 11.18 0.00 2.21 2.96 0.05 83.60 11:37:01 0 6.35 0.00 1.96 2.08 0.05 89.56 11:37:01 1 13.15 0.00 3.15 12.15 0.05 71.50 11:37:01 2 10.24 0.00 2.18 2.75 0.03 84.80 11:37:01 3 12.32 0.00 1.53 0.72 0.05 85.38 11:37:01 4 5.76 0.00 1.85 0.18 0.03 92.18 11:37:01 5 17.42 0.00 2.44 4.06 0.07 76.01 11:37:01 6 14.37 0.00 1.94 1.57 0.07 82.06 11:37:01 7 9.85 0.00 2.64 0.17 0.05 87.29 11:38:01 all 19.23 0.00 2.78 5.12 0.08 72.79 11:38:01 0 22.86 0.00 3.79 23.97 0.08 49.30 11:38:01 1 24.05 0.00 3.43 3.11 0.12 69.30 11:38:01 2 20.92 0.00 2.66 1.38 0.10 74.94 11:38:01 3 21.31 0.00 2.70 0.79 0.07 75.13 11:38:01 4 14.71 0.00 2.42 2.52 0.08 80.28 11:38:01 5 23.89 0.00 3.53 4.95 0.08 67.54 11:38:01 6 14.25 0.00 1.97 2.68 0.05 81.05 11:38:01 7 11.87 0.00 1.74 1.66 0.07 84.67 11:39:01 all 0.23 0.00 0.07 1.72 0.02 97.97 11:39:01 0 0.07 0.00 0.05 0.00 0.02 99.87 11:39:01 1 0.10 0.00 0.07 0.00 0.02 99.82 11:39:01 2 0.63 0.00 0.05 0.02 0.02 99.28 11:39:01 3 0.17 0.00 0.07 0.00 0.00 99.77 11:39:01 4 0.12 0.00 0.07 0.00 0.03 99.78 11:39:01 5 0.03 0.00 0.07 12.52 0.02 87.36 11:39:01 6 0.05 0.00 0.07 0.20 0.03 99.65 11:39:01 7 0.63 0.00 0.10 1.05 0.05 98.16 11:40:01 all 7.60 0.00 0.69 3.35 0.03 88.33 11:40:01 0 20.36 0.00 1.24 0.57 0.03 77.80 11:40:01 1 4.56 0.00 0.77 4.98 0.03 89.66 11:40:01 2 13.78 0.00 0.65 5.81 0.03 79.72 11:40:01 3 1.87 0.00 0.48 0.25 0.02 97.39 11:40:01 4 0.80 0.00 0.45 0.02 0.02 98.72 11:40:01 5 8.89 0.00 0.65 9.20 0.03 81.22 11:40:01 6 8.01 0.00 0.73 5.69 0.05 85.52 11:40:01 7 2.60 0.00 0.55 0.35 0.03 96.46 Average: all 9.48 0.00 1.28 3.34 0.04 85.86 Average: 0 10.12 0.00 1.44 5.29 0.04 83.11 Average: 1 8.62 0.00 1.59 7.49 0.05 82.25 Average: 2 9.55 0.00 1.16 2.21 0.04 87.04 Average: 3 8.53 0.00 1.08 0.49 0.03 89.87 Average: 4 11.13 0.00 1.28 1.45 0.05 86.09 Average: 5 13.81 0.00 1.58 6.26 0.05 78.30 Average: 6 8.28 0.00 1.04 2.04 0.05 88.59 Average: 7 5.79 0.00 1.08 1.49 0.05 91.59