Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-75130 (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-oO1SXim99p3o/agent.2085 SSH_AGENT_PID=2087 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_16618797302475838600.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_16618797302475838600.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/jenkins16365697684405399263.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-gdYr 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-gdYr/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-gdYr/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.28.85 botocore==1.31.85 bs4==0.0.1 cachetools==5.3.2 certifi==2023.7.22 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.31 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.19.2 jsonschema-specifications==2023.7.1 keystoneauth1==5.3.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==3.11.0 prettytable==3.9.0 pyasn1==0.5.0 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.2.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.30.2 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.12.0 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.2 tqdm==4.66.1 typing_extensions==4.8.0 tzdata==2023.3 urllib3==1.26.18 virtualenv==20.24.6 wcwidth==0.2.10 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/jenkins9609961062465297580.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/jenkins11883190975357731566.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.EqpsjPoIxd ++ echo ROBOT_VENV=/tmp/tmp.EqpsjPoIxd +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.EqpsjPoIxd ++ source /tmp/tmp.EqpsjPoIxd/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.EqpsjPoIxd +++ 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.EqpsjPoIxd/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.EqpsjPoIxd) ' '!=' x ']' +++ PS1='(tmp.EqpsjPoIxd) ' +++ 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.7.22 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.EqpsjPoIxd/src/onap ++ rm -rf /tmp/tmp.EqpsjPoIxd/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.7.22 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.EqpsjPoIxd/bin/activate + '[' -z /tmp/tmp.EqpsjPoIxd/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.EqpsjPoIxd/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.EqpsjPoIxd ++ 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.EqpsjPoIxd/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.EqpsjPoIxd) ' ++ '[' 'x(tmp.EqpsjPoIxd) ' '!=' x ']' ++ PS1='(tmp.EqpsjPoIxd) (tmp.EqpsjPoIxd) ' ++ 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.uLRuKx6k2n + cd /tmp/tmp.uLRuKx6k2n + 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:3002935850ea69a59816825d4cb718fafcdb9b124e4e6153ebc6894627525f7f 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:1ee0c54286b8ca09a3dd1419ff8653e7780a148a006ac088544203bb0affe550 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-london-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds policy-db-migrator Up 11 seconds grafana Up 13 seconds mariadb Up 12 seconds prometheus Up 14 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds mariadb Up 17 seconds prometheus Up 19 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds mariadb Up 22 seconds prometheus Up 24 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds NAMES STATUS policy-api Up 30 seconds grafana Up 33 seconds mariadb Up 32 seconds prometheus Up 34 seconds NAMES STATUS policy-api Up 35 seconds grafana Up 38 seconds mariadb Up 37 seconds prometheus Up 39 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:54 up 4 min, 0 users, load average: 3.44, 1.31, 0.50 Tasks: 178 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.5 us, 2.2 sy, 0.0 ni, 82.1 id, 4.0 wa, 0.0 hi, 0.0 si, 0.1 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.9G 25G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 35 seconds grafana Up 39 seconds mariadb Up 37 seconds prometheus Up 40 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 6b6f8a06087b policy-api 0.16% 879.3MiB / 31.41GiB 2.73% 1.04MB / 740kB 0B / 0B 50 6973e90c7a1d grafana 0.03% 96.85MiB / 31.41GiB 0.30% 19kB / 3.35kB 0B / 22.8MB 18 4137edd8aa66 mariadb 0.02% 100.3MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11MB / 67.7MB 27 b32c9624b203 prometheus 0.36% 18.5MiB / 31.41GiB 0.06% 1.52kB / 158B 102kB / 0B 13 + echo + cd /tmp/tmp.uLRuKx6k2n + 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.uLRuKx6k2n/output.xml Log: /tmp/tmp.uLRuKx6k2n/log.html Report: /tmp/tmp.uLRuKx6k2n/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:05 up 5 min, 0 users, load average: 1.36, 1.15, 0.51 Tasks: 176 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.8 us, 1.8 sy, 0.0 ni, 85.0 id, 3.3 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.8G 25G 1.0M 3.9G 29G 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 6b6f8a06087b policy-api 0.14% 895MiB / 31.41GiB 2.78% 7.32MB / 2.87MB 0B / 0B 53 6973e90c7a1d grafana 0.05% 97.27MiB / 31.41GiB 0.30% 19.9kB / 4.42kB 0B / 22.8MB 18 4137edd8aa66 mariadb 0.04% 101.1MiB / 31.41GiB 0.31% 2.75MB / 7.36MB 11MB / 67.8MB 18 b32c9624b203 prometheus 0.30% 25.05MiB / 31.41GiB 0.08% 38.1kB / 7.09kB 102kB / 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-14T11:37:15.36353431Z level=info msg="Starting Grafana" version=10.2.0 commit=895fbafb7a branch=HEAD compiled=2023-10-23T13:40:35Z grafana | logger=settings t=2023-11-14T11:37:15.363802143Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2023-11-14T11:37:15.363816373Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2023-11-14T11:37:15.363820913Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2023-11-14T11:37:15.363825243Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2023-11-14T11:37:15.363829173Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-14T11:37:15.363833753Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-14T11:37:15.363837503Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2023-11-14T11:37:15.363842563Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2023-11-14T11:37:15.363846953Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2023-11-14T11:37:15.363850584Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-14T11:37:15.363856104Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-14T11:37:15.363861434Z level=info msg=Target target=[all] grafana | logger=settings t=2023-11-14T11:37:15.363868824Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2023-11-14T11:37:15.363873524Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2023-11-14T11:37:15.363879234Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2023-11-14T11:37:15.363883424Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2023-11-14T11:37:15.363887784Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2023-11-14T11:37:15.363894064Z level=info msg="App mode production" grafana | logger=sqlstore t=2023-11-14T11:37:15.364284117Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2023-11-14T11:37:15.364304057Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2023-11-14T11:37:15.365232745Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2023-11-14T11:37:15.366380184Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2023-11-14T11:37:15.367214192Z level=info msg="Migration successfully executed" id="create migration_log table" duration=833.678µs grafana | logger=migrator t=2023-11-14T11:37:15.371298346Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2023-11-14T11:37:15.37179502Z level=info msg="Migration successfully executed" id="create user table" duration=496.504µs grafana | logger=migrator t=2023-11-14T11:37:15.378011963Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2023-11-14T11:37:15.379419795Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.403772ms grafana | logger=migrator t=2023-11-14T11:37:15.383083575Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2023-11-14T11:37:15.384188045Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.10427ms grafana | logger=migrator t=2023-11-14T11:37:15.387533543Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2023-11-14T11:37:15.388186769Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=652.826µs grafana | logger=migrator t=2023-11-14T11:37:15.393929237Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2023-11-14T11:37:15.394879896Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=949.369µs grafana | logger=migrator t=2023-11-14T11:37:15.398430376Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2023-11-14T11:37:15.402738002Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.309036ms grafana | logger=migrator t=2023-11-14T11:37:15.406395813Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2023-11-14T11:37:15.40716792Z level=info msg="Migration successfully executed" id="create user table v2" duration=771.737µs grafana | logger=migrator t=2023-11-14T11:37:15.412993619Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2023-11-14T11:37:15.414164309Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.16439ms grafana | logger=migrator t=2023-11-14T11:37:15.417517648Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2023-11-14T11:37:15.418713487Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.196359ms grafana | logger=migrator t=2023-11-14T11:37:15.421901544Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2023-11-14T11:37:15.422291457Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=390.143µs grafana | logger=migrator t=2023-11-14T11:37:15.425159671Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2023-11-14T11:37:15.425704467Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=544.246µs grafana | logger=migrator t=2023-11-14T11:37:15.431294704Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2023-11-14T11:37:15.433103099Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.807535ms grafana | logger=migrator t=2023-11-14T11:37:15.436024554Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2023-11-14T11:37:15.436071474Z level=info msg="Migration successfully executed" id="Update user table charset" duration=46.73µs grafana | logger=migrator t=2023-11-14T11:37:15.438658186Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2023-11-14T11:37:15.439759596Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.10145ms grafana | logger=migrator t=2023-11-14T11:37:15.441834873Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2023-11-14T11:37:15.442056354Z level=info msg="Migration successfully executed" id="Add missing user data" duration=217.661µs grafana | logger=migrator t=2023-11-14T11:37:15.447137458Z level=info msg="Executing migration" id="Add is_disabled column to user" mariadb | 2023-11-14 11:37:16+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-14 11:37:16+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2023-11-14 11:37:16+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-14 11:37:16+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2023-11-14 11:37:16 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-14 11:37:16 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-14 11:37:16 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-14 11:37:18+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2023-11-14 11:37:18+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2023-11-14 11:37:18+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2023-11-14 11:37:18 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 97 ... mariadb | 2023-11-14 11:37:18 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-11-14 11:37:18 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-11-14 11:37:18 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-11-14 11:37:18 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-11-14 11:37:18 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-11-14 11:37:18 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-14 11:37:18 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-11-14 11:37:18 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-11-14 11:37:18 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-11-14 11:37:18 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-11-14 11:37:18 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-11-14 11:37:18 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-11-14 11:37:18 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2023-11-14 11:37:18 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-11-14 11:37:18 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-11-14 11:37:18 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-14 11:37:18 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-14 11:37:18 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-14 11:37:19+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2023-11-14 11:37:21+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2023-11-14 11:37:21+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2023-11-14 11:37:21+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2023-11-14 11:37:21+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-14 11:37:22+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2023-11-14 11:37:22 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2023-11-14 11:37:22 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2023-11-14 11:37:22 0 [Note] InnoDB: Starting shutdown... mariadb | 2023-11-14 11:37:22 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2023-11-14 11:37:22 0 [Note] InnoDB: Buffer pool(s) dump completed at 231114 11:37:22 mariadb | 2023-11-14 11:37:22 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2023-11-14 11:37:22 0 [Note] InnoDB: Shutdown completed; log sequence number 328003; transaction id 298 mariadb | 2023-11-14 11:37:22 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2023-11-14 11:37:22+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2023-11-14 11:37:22+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2023-11-14 11:37:22 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2023-11-14 11:37:22 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-11-14 11:37:22 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-11-14 11:37:22 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-11-14 11:37:22 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-11-14 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-14 11:37:22 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-14 11:37:22 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-11-14 11:37:22 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-11-14 11:37:22 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-11-14 11:37:22 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-11-14 11:37:22 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-11-14 11:37:22 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-11-14 11:37:22 0 [Note] InnoDB: log sequence number 328003; transaction id 299 mariadb | 2023-11-14 11:37:22 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2023-11-14 11:37:22 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-11-14 11:37:22 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-11-14 11:37:22 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2023-11-14 11:37:22 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2023-11-14 11:37:22 0 [Note] Server socket created on IP: '::'. mariadb | 2023-11-14 11:37:22 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-14 11:37:22 0 [Note] InnoDB: Buffer pool(s) load completed at 231114 11:37:22 mariadb | 2023-11-14 11:37:23 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) mariadb | 2023-11-14 11:37:23 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) grafana | logger=migrator t=2023-11-14T11:37:15.448286498Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.14825ms grafana | logger=migrator t=2023-11-14T11:37:15.450998021Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2023-11-14T11:37:15.451767617Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=774.546µs grafana | logger=migrator t=2023-11-14T11:37:15.454618241Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2023-11-14T11:37:15.456404467Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.785476ms grafana | logger=migrator t=2023-11-14T11:37:15.46165745Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2023-11-14T11:37:15.471700126Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=10.044306ms grafana | logger=migrator t=2023-11-14T11:37:15.474450519Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2023-11-14T11:37:15.475147595Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=695.506µs grafana | logger=migrator t=2023-11-14T11:37:15.478227751Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2023-11-14T11:37:15.478950658Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=721.576µs grafana | logger=migrator t=2023-11-14T11:37:15.4851497Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2023-11-14T11:37:15.486323719Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.173429ms grafana | logger=migrator t=2023-11-14T11:37:15.489679967Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2023-11-14T11:37:15.491449293Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.767346ms grafana | logger=migrator t=2023-11-14T11:37:15.494939342Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2023-11-14T11:37:15.496180953Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.242241ms grafana | logger=migrator t=2023-11-14T11:37:15.499587152Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2023-11-14T11:37:15.499632162Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=45.82µs grafana | logger=migrator t=2023-11-14T11:37:15.502658498Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2023-11-14T11:37:15.503510505Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=851.627µs grafana | logger=migrator t=2023-11-14T11:37:15.508052883Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2023-11-14T11:37:15.509026711Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=969.378µs grafana | logger=migrator t=2023-11-14T11:37:15.51226689Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2023-11-14T11:37:15.513210487Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=942.787µs grafana | logger=migrator t=2023-11-14T11:37:15.516293343Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2023-11-14T11:37:15.517860767Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.567754ms grafana | logger=migrator t=2023-11-14T11:37:15.522088862Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-14T11:37:15.525783513Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.693971ms grafana | logger=migrator t=2023-11-14T11:37:15.528684178Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2023-11-14T11:37:15.529682287Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=997.739µs grafana | logger=migrator t=2023-11-14T11:37:15.532502141Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2023-11-14T11:37:15.533231957Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=729.256µs grafana | logger=migrator t=2023-11-14T11:37:15.536971288Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2023-11-14T11:37:15.537729555Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=758.187µs grafana | logger=migrator t=2023-11-14T11:37:15.54072395Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2023-11-14T11:37:15.541498327Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=773.397µs grafana | logger=migrator t=2023-11-14T11:37:15.544340521Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2023-11-14T11:37:15.545060786Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=719.555µs grafana | logger=migrator t=2023-11-14T11:37:15.548332434Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2023-11-14T11:37:15.548722058Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=392.824µs grafana | logger=migrator t=2023-11-14T11:37:15.552303958Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2023-11-14T11:37:15.552812622Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=505.514µs grafana | logger=migrator t=2023-11-14T11:37:15.555659276Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2023-11-14T11:37:15.556012059Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=352.563µs grafana | logger=migrator t=2023-11-14T11:37:15.559103125Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2023-11-14T11:37:15.55966616Z level=info msg="Migration successfully executed" id="create star table" duration=562.775µs grafana | logger=migrator t=2023-11-14T11:37:15.563590904Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2023-11-14T11:37:15.56441395Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=822.696µs grafana | logger=migrator t=2023-11-14T11:37:15.568192793Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2023-11-14T11:37:15.568906389Z level=info msg="Migration successfully executed" id="create org table v1" duration=713.096µs grafana | logger=migrator t=2023-11-14T11:37:15.573400496Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2023-11-14T11:37:15.574127213Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=726.427µs grafana | logger=migrator t=2023-11-14T11:37:15.614205242Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2023-11-14T11:37:15.615455742Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.2497ms grafana | logger=migrator t=2023-11-14T11:37:15.620326394Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2023-11-14T11:37:15.621480044Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.156541ms grafana | logger=migrator t=2023-11-14T11:37:15.624407619Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2023-11-14T11:37:15.625025864Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=613.885µs grafana | logger=migrator t=2023-11-14T11:37:15.627742617Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2023-11-14T11:37:15.628287121Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=544.134µs grafana | logger=migrator t=2023-11-14T11:37:15.631072185Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2023-11-14T11:37:15.631102015Z level=info msg="Migration successfully executed" id="Update org table charset" duration=30.18µs grafana | logger=migrator t=2023-11-14T11:37:15.635024668Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2023-11-14T11:37:15.635054918Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=30.7µs grafana | logger=migrator t=2023-11-14T11:37:15.637386758Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2023-11-14T11:37:15.637563299Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=178.081µs grafana | logger=migrator t=2023-11-14T11:37:15.640416343Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2023-11-14T11:37:15.64111586Z level=info msg="Migration successfully executed" id="create dashboard table" duration=699.067µs grafana | logger=migrator t=2023-11-14T11:37:15.643893424Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2023-11-14T11:37:15.64472401Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=829.376µs grafana | logger=migrator t=2023-11-14T11:37:15.648510502Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2023-11-14T11:37:15.649437071Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=925.998µs grafana | logger=migrator t=2023-11-14T11:37:15.652318605Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2023-11-14T11:37:15.6529847Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=665.575µs grafana | logger=migrator t=2023-11-14T11:37:15.655902965Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2023-11-14T11:37:15.656725672Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=822.597µs grafana | logger=migrator t=2023-11-14T11:37:15.660392672Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2023-11-14T11:37:15.661146139Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=752.717µs grafana | logger=migrator t=2023-11-14T11:37:15.663784692Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2023-11-14T11:37:15.67069154Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=6.906398ms grafana | logger=migrator t=2023-11-14T11:37:15.673616255Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2023-11-14T11:37:15.67428268Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=666.256µs grafana | logger=migrator t=2023-11-14T11:37:15.677957722Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2023-11-14T11:37:15.678687938Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=729.616µs grafana | logger=migrator t=2023-11-14T11:37:15.681705303Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2023-11-14T11:37:15.682445539Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=740.026µs grafana | logger=migrator t=2023-11-14T11:37:15.685352934Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2023-11-14T11:37:15.685674086Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=321.112µs grafana | logger=migrator t=2023-11-14T11:37:15.688560201Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2023-11-14T11:37:15.689425269Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=864.818µs grafana | logger=migrator t=2023-11-14T11:37:15.693014429Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2023-11-14T11:37:15.693084429Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=68.3µs grafana | logger=migrator t=2023-11-14T11:37:15.696038474Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2023-11-14T11:37:15.69787082Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.831076ms grafana | logger=migrator t=2023-11-14T11:37:15.701787493Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb 3306 port [tcp/mysql] succeeded! policy-db-migrator | 314 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 policy-db-migrator | upgrade: 0 -> 1200 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T11:37:15.703469648Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.681574ms grafana | logger=migrator t=2023-11-14T11:37:15.706466033Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2023-11-14T11:37:15.708189147Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.722594ms grafana | logger=migrator t=2023-11-14T11:37:15.711161523Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2023-11-14T11:37:15.711912389Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=750.576µs grafana | logger=migrator t=2023-11-14T11:37:15.715699771Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2023-11-14T11:37:15.717478666Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.778325ms grafana | logger=migrator t=2023-11-14T11:37:15.720448151Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2023-11-14T11:37:15.721240558Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=790.167µs grafana | logger=migrator t=2023-11-14T11:37:15.724183372Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2023-11-14T11:37:15.724965839Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=781.997µs grafana | logger=migrator t=2023-11-14T11:37:15.728640221Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2023-11-14T11:37:15.728668031Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=28.53µs grafana | logger=migrator t=2023-11-14T11:37:15.731558425Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2023-11-14T11:37:15.731586375Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=30.71µs grafana | logger=migrator t=2023-11-14T11:37:15.733903305Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2023-11-14T11:37:15.73572125Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=1.818965ms grafana | logger=migrator t=2023-11-14T11:37:15.739956136Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2023-11-14T11:37:15.741879763Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.922847ms grafana | logger=migrator t=2023-11-14T11:37:15.745569204Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2023-11-14T11:37:15.747436979Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.867465ms grafana | logger=migrator t=2023-11-14T11:37:15.750465705Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2023-11-14T11:37:15.752340591Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.874626ms grafana | logger=migrator t=2023-11-14T11:37:15.755373186Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2023-11-14T11:37:15.755563118Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=189.882µs grafana | logger=migrator t=2023-11-14T11:37:15.759545372Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2023-11-14T11:37:15.760271778Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=725.886µs grafana | logger=migrator t=2023-11-14T11:37:15.763153672Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2023-11-14T11:37:15.763854198Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=700.076µs grafana | logger=migrator t=2023-11-14T11:37:15.766755963Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2023-11-14T11:37:15.766781643Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=26.08µs grafana | logger=migrator t=2023-11-14T11:37:15.770677066Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2023-11-14T11:37:15.771431202Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=753.956µs grafana | logger=migrator t=2023-11-14T11:37:15.775169104Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2023-11-14T11:37:15.77576889Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=599.996µs grafana | logger=migrator t=2023-11-14T11:37:15.77938882Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-14T11:37:15.786344188Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=6.930268ms grafana | logger=migrator t=2023-11-14T11:37:15.80183867Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2023-11-14T11:37:15.803404743Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=1.567583ms grafana | logger=migrator t=2023-11-14T11:37:15.807868641Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2023-11-14T11:37:15.808745678Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=877.017µs grafana | logger=migrator t=2023-11-14T11:37:15.811974276Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2023-11-14T11:37:15.812796883Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=825.897µs grafana | logger=migrator t=2023-11-14T11:37:15.815919429Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2023-11-14T11:37:15.816231802Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=312.413µs grafana | logger=migrator t=2023-11-14T11:37:15.820151344Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2023-11-14T11:37:15.82076052Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=608.426µs grafana | logger=migrator t=2023-11-14T11:37:15.823978757Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2023-11-14T11:37:15.826175496Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.196589ms grafana | logger=migrator t=2023-11-14T11:37:15.829238922Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2023-11-14T11:37:15.830125059Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=885.637µs grafana | logger=migrator t=2023-11-14T11:37:15.833932791Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2023-11-14T11:37:15.834109833Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=176.681µs grafana | logger=migrator t=2023-11-14T11:37:15.83724857Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2023-11-14T11:37:15.837568173Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=320.033µs grafana | logger=migrator t=2023-11-14T11:37:15.840937271Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2023-11-14T11:37:15.842219581Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.28201ms grafana | logger=migrator t=2023-11-14T11:37:15.847378375Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2023-11-14T11:37:15.85148232Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=4.109325ms grafana | logger=migrator t=2023-11-14T11:37:15.85502327Z level=info msg="Executing migration" id="create data_source table" prometheus | ts=2023-11-14T11:37:14.213Z 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-14T11:37:14.213Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.47.2, branch=HEAD, revision=3f3172cde1ee37f1c7b3a5f3d9b031190509b3ad)" prometheus | ts=2023-11-14T11:37:14.213Z caller=main.go:588 level=info build_context="(go=go1.21.3, platform=linux/amd64, user=root@79f2ad339b75, date=20231012-16:07:10, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2023-11-14T11:37:14.213Z 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-14T11:37:14.213Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2023-11-14T11:37:14.213Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2023-11-14T11:37:14.216Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2023-11-14T11:37:14.216Z caller=main.go:1024 level=info msg="Starting TSDB ..." prometheus | ts=2023-11-14T11:37:14.218Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2023-11-14T11:37:14.218Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2023-11-14T11:37:14.225Z caller=head.go:600 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2023-11-14T11:37:14.225Z caller=head.go:681 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=6.06µs prometheus | ts=2023-11-14T11:37:14.225Z caller=head.go:689 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2023-11-14T11:37:14.226Z caller=head.go:760 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2023-11-14T11:37:14.226Z caller=head.go:797 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=68.221µs wal_replay_duration=572.212µs wbl_replay_duration=370ns total_replay_duration=930.719µs prometheus | ts=2023-11-14T11:37:14.230Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2023-11-14T11:37:14.230Z caller=main.go:1048 level=info msg="TSDB started" prometheus | ts=2023-11-14T11:37:14.230Z caller=main.go:1229 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2023-11-14T11:37:14.232Z caller=main.go:1266 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.813306ms db_storage=1.82µs remote_storage=3.17µs web_handler=910ns query_engine=2.08µs scrape=370.968µs scrape_sd=197.974µs notify=62.801µs notify_sd=47.551µs rules=2.07µs tracing=8.55µs prometheus | ts=2023-11-14T11:37:14.232Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." prometheus | ts=2023-11-14T11:37:14.232Z caller=manager.go:1009 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2023-11-14T11:37:15.855958178Z level=info msg="Migration successfully executed" id="create data_source table" duration=934.718µs grafana | logger=migrator t=2023-11-14T11:37:15.859413767Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2023-11-14T11:37:15.860745208Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.330981ms grafana | logger=migrator t=2023-11-14T11:37:15.864898343Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2023-11-14T11:37:15.865793921Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=894.578µs grafana | logger=migrator t=2023-11-14T11:37:15.869054599Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2023-11-14T11:37:15.869877065Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=822.196µs grafana | logger=migrator t=2023-11-14T11:37:15.873207523Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2023-11-14T11:37:15.874133442Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=927.149µs grafana | logger=migrator t=2023-11-14T11:37:15.878348857Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2023-11-14T11:37:15.887487994Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=9.134877ms grafana | logger=migrator t=2023-11-14T11:37:15.890549571Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2023-11-14T11:37:15.891182536Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=634.005µs grafana | logger=migrator t=2023-11-14T11:37:15.894141761Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2023-11-14T11:37:15.894816477Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=674.026µs grafana | logger=migrator t=2023-11-14T11:37:15.8987516Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2023-11-14T11:37:15.899599997Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=847.397µs grafana | logger=migrator t=2023-11-14T11:37:15.902951426Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2023-11-14T11:37:15.903643181Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=690.795µs grafana | logger=migrator t=2023-11-14T11:37:15.906888318Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2023-11-14T11:37:15.911084164Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=4.194316ms grafana | logger=migrator t=2023-11-14T11:37:15.915281149Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2023-11-14T11:37:15.91771099Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.429641ms grafana | logger=migrator t=2023-11-14T11:37:15.920938777Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2023-11-14T11:37:15.921018308Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=84.501µs grafana | logger=migrator t=2023-11-14T11:37:15.923992944Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2023-11-14T11:37:15.924199696Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=208.562µs grafana | logger=migrator t=2023-11-14T11:37:15.928044058Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2023-11-14T11:37:15.930477659Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.429811ms grafana | logger=migrator t=2023-11-14T11:37:15.933772246Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2023-11-14T11:37:15.933968098Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=196.722µs grafana | logger=migrator t=2023-11-14T11:37:15.937233655Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2023-11-14T11:37:15.937435077Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=202.322µs grafana | logger=migrator t=2023-11-14T11:37:15.940655804Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2023-11-14T11:37:15.943155725Z level=info msg="Migration successfully executed" id="Add uid column" duration=2.499091ms grafana | logger=migrator t=2023-11-14T11:37:15.946957098Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2023-11-14T11:37:15.9472212Z level=info msg="Migration successfully executed" id="Update uid value" duration=264.092µs grafana | logger=migrator t=2023-11-14T11:37:15.949639871Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2023-11-14T11:37:15.950542938Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=903.297µs grafana | logger=migrator t=2023-11-14T11:37:15.953770305Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2023-11-14T11:37:15.954617702Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=846.457µs grafana | logger=migrator t=2023-11-14T11:37:15.958735448Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2023-11-14T11:37:15.959461214Z level=info msg="Migration successfully executed" id="create api_key table" duration=725.726µs grafana | logger=migrator t=2023-11-14T11:37:15.962785262Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2023-11-14T11:37:15.9637248Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=938.208µs grafana | logger=migrator t=2023-11-14T11:37:15.967019338Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2023-11-14T11:37:15.967895265Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=874.727µs grafana | logger=migrator t=2023-11-14T11:37:15.971592767Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2023-11-14T11:37:15.972543855Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=949.748µs grafana | logger=migrator t=2023-11-14T11:37:15.977054542Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2023-11-14T11:37:15.97791818Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=862.298µs grafana | logger=migrator t=2023-11-14T11:37:15.982055605Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2023-11-14T11:37:15.982785692Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=726.917µs grafana | logger=migrator t=2023-11-14T11:37:15.985685856Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2023-11-14T11:37:15.986408912Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=722.486µs grafana | logger=migrator t=2023-11-14T11:37:15.989362657Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2023-11-14T11:37:15.99801311Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=8.649843ms grafana | logger=migrator t=2023-11-14T11:37:16.002098584Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2023-11-14T11:37:16.00274007Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=642.856µs grafana | logger=migrator t=2023-11-14T11:37:16.005675865Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2023-11-14T11:37:16.006412372Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=736.657µs grafana | logger=migrator t=2023-11-14T11:37:16.009415019Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2023-11-14T11:37:16.010144355Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=729.026µs grafana | logger=migrator t=2023-11-14T11:37:16.013861238Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2023-11-14T11:37:16.014660295Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=802.287µs grafana | logger=migrator t=2023-11-14T11:37:16.017781622Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2023-11-14T11:37:16.018312967Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=532.095µs grafana | logger=migrator t=2023-11-14T11:37:16.021661516Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2023-11-14T11:37:16.022568785Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=899.149µs grafana | logger=migrator t=2023-11-14T11:37:16.02665374Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2023-11-14T11:37:16.026712651Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=56.731µs grafana | logger=migrator t=2023-11-14T11:37:16.029211803Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2023-11-14T11:37:16.031694955Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.493902ms grafana | logger=migrator t=2023-11-14T11:37:16.034705042Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2023-11-14T11:37:16.037450536Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.744464ms grafana | logger=migrator t=2023-11-14T11:37:16.042248868Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2023-11-14T11:37:16.04245855Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=208.902µs grafana | logger=migrator t=2023-11-14T11:37:16.045459307Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2023-11-14T11:37:16.047878748Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.422841ms grafana | logger=migrator t=2023-11-14T11:37:16.050613272Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2023-11-14T11:37:16.053222645Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.608643ms grafana | logger=migrator t=2023-11-14T11:37:16.086943783Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2023-11-14T11:37:16.089127281Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=2.183048ms grafana | logger=migrator t=2023-11-14T11:37:16.093989964Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2023-11-14T11:37:16.094553439Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=563.655µs grafana | logger=migrator t=2023-11-14T11:37:16.097622487Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2023-11-14T11:37:16.098411394Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=789.077µs grafana | logger=migrator t=2023-11-14T11:37:16.102030725Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2023-11-14T11:37:16.102907113Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=876.168µs grafana | logger=migrator t=2023-11-14T11:37:16.105704547Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2023-11-14T11:37:16.106491125Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=786.088µs grafana | logger=migrator t=2023-11-14T11:37:16.109468901Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2023-11-14T11:37:16.110302228Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=832.347µs grafana | logger=migrator t=2023-11-14T11:37:16.113997071Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2023-11-14T11:37:16.114062321Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=65.57µs grafana | logger=migrator t=2023-11-14T11:37:16.117141138Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2023-11-14T11:37:16.117169279Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=31.441µs grafana | logger=migrator t=2023-11-14T11:37:16.119998873Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2023-11-14T11:37:16.122767018Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=2.767635ms grafana | logger=migrator t=2023-11-14T11:37:16.125649244Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2023-11-14T11:37:16.128236286Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.581552ms grafana | logger=migrator t=2023-11-14T11:37:16.131855499Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2023-11-14T11:37:16.131922309Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=67.18µs grafana | logger=migrator t=2023-11-14T11:37:16.134715374Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2023-11-14T11:37:16.13537129Z level=info msg="Migration successfully executed" id="create quota table v1" duration=655.936µ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-14T11:37:31.301+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 32 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2023-11-14T11:37:31.306+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2023-11-14T11:37:34.341+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2023-11-14T11:37:34.504+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 140 ms. Found 6 JPA repository interfaces. policy-api | [2023-11-14T11:37:36.868+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2023-11-14T11:37:36.881+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-14T11:37:36.882+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2023-11-14T11:37:36.882+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2023-11-14T11:37:37.373+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2023-11-14T11:37:37.373+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 5898 ms policy-api | [2023-11-14T11:37:38.817+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2023-11-14T11:37:38.894+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2023-11-14T11:37:39.132+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2023-11-14T11:37:39.328+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... 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 grafana | logger=migrator t=2023-11-14T11:37:16.138293515Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2023-11-14T11:37:16.139084692Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=790.227µs grafana | logger=migrator t=2023-11-14T11:37:16.142911076Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2023-11-14T11:37:16.142942027Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=33.411µs grafana | logger=migrator t=2023-11-14T11:37:16.145379888Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2023-11-14T11:37:16.146035314Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=655.086µs grafana | logger=migrator t=2023-11-14T11:37:16.149111211Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2023-11-14T11:37:16.149956988Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=844.927µs grafana | logger=migrator t=2023-11-14T11:37:16.153967264Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2023-11-14T11:37:16.156828459Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.861295ms grafana | logger=migrator t=2023-11-14T11:37:16.160649633Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2023-11-14T11:37:16.160692793Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=38.66µs grafana | logger=migrator t=2023-11-14T11:37:16.16373671Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2023-11-14T11:37:16.164471366Z level=info msg="Migration successfully executed" id="create session table" duration=734.086µs grafana | logger=migrator t=2023-11-14T11:37:16.167825016Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2023-11-14T11:37:16.167931937Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=106.941µs grafana | logger=migrator t=2023-11-14T11:37:16.17173436Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2023-11-14T11:37:16.171913302Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=177.992µs grafana | logger=migrator t=2023-11-14T11:37:16.176075269Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2023-11-14T11:37:16.176740385Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=665.036µs grafana | logger=migrator t=2023-11-14T11:37:16.179722671Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2023-11-14T11:37:16.180342516Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=619.885µs grafana | logger=migrator t=2023-11-14T11:37:16.18420681Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2023-11-14T11:37:16.18423102Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=24.92µs grafana | logger=migrator t=2023-11-14T11:37:16.187611361Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2023-11-14T11:37:16.187635901Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=28.84µs grafana | logger=migrator t=2023-11-14T11:37:16.191036401Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2023-11-14T11:37:16.195943694Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.904083ms grafana | logger=migrator t=2023-11-14T11:37:16.200309932Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2023-11-14T11:37:16.205648409Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=5.338047ms grafana | logger=migrator t=2023-11-14T11:37:16.210793465Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2023-11-14T11:37:16.210875656Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=84.831µs grafana | logger=migrator t=2023-11-14T11:37:16.213513079Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2023-11-14T11:37:16.21359427Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=79.041µs grafana | logger=migrator t=2023-11-14T11:37:16.2170894Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2023-11-14T11:37:16.217816836Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=726.956µs grafana | logger=migrator t=2023-11-14T11:37:16.22277825Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2023-11-14T11:37:16.222826811Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=50.091µs grafana | logger=migrator t=2023-11-14T11:37:16.227131409Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2023-11-14T11:37:16.231275715Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=4.144616ms grafana | logger=migrator t=2023-11-14T11:37:16.234298702Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2023-11-14T11:37:16.234442543Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=143.911µs grafana | logger=migrator t=2023-11-14T11:37:16.237312448Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2023-11-14T11:37:16.240328195Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.015277ms grafana | logger=migrator t=2023-11-14T11:37:16.24538476Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2023-11-14T11:37:16.248387076Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.001706ms grafana | logger=migrator t=2023-11-14T11:37:16.251320742Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2023-11-14T11:37:16.251384683Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=64.27µs grafana | logger=migrator t=2023-11-14T11:37:16.253750984Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2023-11-14T11:37:16.254639672Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=885.258µs grafana | logger=migrator t=2023-11-14T11:37:16.258402485Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2023-11-14T11:37:16.259199552Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=795.907µs grafana | logger=migrator t=2023-11-14T11:37:16.262000766Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2023-11-14T11:37:16.262904555Z level=info msg="Migration successfully executed" id="create alert table v1" duration=903.319µs policy-api | [2023-11-14T11:37:39.830+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2023-11-14T11:37:39.870+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2023-11-14T11:37:41.631+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2023-11-14T11:37:41.644+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2023-11-14T11:37:43.149+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2023-11-14T11:37:44.158+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2023-11-14T11:37:45.618+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@65ff1e6d, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@7a12cb2c, org.springframework.security.web.context.SecurityContextPersistenceFilter@b1fccca, org.springframework.security.web.header.HeaderWriterFilter@3c79071e, org.springframework.security.web.authentication.logout.LogoutFilter@427faf19, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@73e4ecb, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@a555005, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@42d039ef, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@10ac5a14, org.springframework.security.web.session.SessionManagementFilter@9af2a00, org.springframework.security.web.access.ExceptionTranslationFilter@4cf5cf47, org.springframework.security.web.access.intercept.AuthorizationFilter@4485ca30] policy-api | [2023-11-14T11:37:45.844+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-14T11:37:49.764+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2023-11-14T11:37:49.821+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-14T11:37:49.869+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2023-11-14T11:37:49.891+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 19.801 seconds (JVM running for 20.627) policy-api | [2023-11-14T11:37:57.100+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2023-11-14T11:37:57.100+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2023-11-14T11:37:57.102+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-api | [2023-11-14T11:37:59.451+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2023-11-14T11:37:59.604+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2023-11-14T11:37:59.929+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2023-11-14T11:38:01.128+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2023-11-14T11:38:03.190+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2023-11-14T11:38:03.635+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2023-11-14T11:38:03.873+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-14T11:38:04.136+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2023-11-14T11:38:04.355+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2023-11-14T11:38:04.612+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-14T11:37:16.265894611Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2023-11-14T11:37:16.268993709Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=3.097488ms grafana | logger=migrator t=2023-11-14T11:37:16.27708981Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2023-11-14T11:37:16.278523222Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.436152ms grafana | logger=migrator t=2023-11-14T11:37:16.283319275Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2023-11-14T11:37:16.285196601Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.877076ms grafana | logger=migrator t=2023-11-14T11:37:16.289063165Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2023-11-14T11:37:16.289667311Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=604.025µs grafana | logger=migrator t=2023-11-14T11:37:16.293794077Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2023-11-14T11:37:16.294655355Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=861.408µs grafana | logger=migrator t=2023-11-14T11:37:16.297872773Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2023-11-14T11:37:16.299130244Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.257171ms grafana | logger=migrator t=2023-11-14T11:37:16.302392333Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2023-11-14T11:37:16.315236196Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=12.844383ms grafana | logger=migrator t=2023-11-14T11:37:16.318142372Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2023-11-14T11:37:16.318637776Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=495.504µs grafana | logger=migrator t=2023-11-14T11:37:16.323522399Z 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-14T11:37:16.324586709Z level=info msg="Migration successfully executed" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" duration=1.06369ms grafana | logger=migrator t=2023-11-14T11:37:16.331751262Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2023-11-14T11:37:16.332041504Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=290.262µs grafana | logger=migrator t=2023-11-14T11:37:16.335245022Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2023-11-14T11:37:16.336262212Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=1.01694ms grafana | logger=migrator t=2023-11-14T11:37:16.342811849Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2023-11-14T11:37:16.344252123Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.445163ms grafana | logger=migrator t=2023-11-14T11:37:16.349876832Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2023-11-14T11:37:16.356057136Z level=info msg="Migration successfully executed" id="Add column is_default" duration=6.176564ms grafana | logger=migrator t=2023-11-14T11:37:16.360438485Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2023-11-14T11:37:16.364597362Z level=info msg="Migration successfully executed" id="Add column frequency" duration=4.158168ms grafana | logger=migrator t=2023-11-14T11:37:16.369750447Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2023-11-14T11:37:16.373380099Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.624532ms grafana | logger=migrator t=2023-11-14T11:37:16.376495076Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2023-11-14T11:37:16.380033137Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.537491ms grafana | logger=migrator t=2023-11-14T11:37:16.385648957Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2023-11-14T11:37:16.386615616Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=967.379µs grafana | logger=migrator t=2023-11-14T11:37:16.390352059Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2023-11-14T11:37:16.390375129Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=23.6µs grafana | logger=migrator t=2023-11-14T11:37:16.394164872Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2023-11-14T11:37:16.394188142Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=21.28µs grafana | logger=migrator t=2023-11-14T11:37:16.39734388Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2023-11-14T11:37:16.398019077Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=675.667µs grafana | logger=migrator t=2023-11-14T11:37:16.400994723Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-11-14T11:37:16.402413785Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.417842ms grafana | logger=migrator t=2023-11-14T11:37:16.405476062Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2023-11-14T11:37:16.406231219Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=754.927µs grafana | logger=migrator t=2023-11-14T11:37:16.408963593Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2023-11-14T11:37:16.40973408Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=769.957µs grafana | logger=migrator t=2023-11-14T11:37:16.414132768Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-11-14T11:37:16.415045067Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=911.049µs grafana | logger=migrator t=2023-11-14T11:37:16.419431895Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2023-11-14T11:37:16.426311626Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=6.889441ms grafana | logger=migrator t=2023-11-14T11:37:16.43127374Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2023-11-14T11:37:16.43584646Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=4.57989ms grafana | logger=migrator t=2023-11-14T11:37:16.443059614Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2023-11-14T11:37:16.443356766Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=326.962µs grafana | logger=migrator t=2023-11-14T11:37:16.447642464Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2023-11-14T11:37:16.449239508Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.591804ms grafana | logger=migrator t=2023-11-14T11:37:16.45391645Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2023-11-14T11:37:16.454824857Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=908.487µs grafana | logger=migrator t=2023-11-14T11:37:16.457831814Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2023-11-14T11:37:16.461705438Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.873224ms grafana | logger=migrator t=2023-11-14T11:37:16.465468371Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2023-11-14T11:37:16.465544242Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=79.461µs grafana | logger=migrator t=2023-11-14T11:37:16.468896271Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2023-11-14T11:37:16.46989025Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=993.719µs grafana | logger=migrator t=2023-11-14T11:37:16.472892786Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2023-11-14T11:37:16.473992497Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.098831ms grafana | logger=migrator t=2023-11-14T11:37:16.478331664Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2023-11-14T11:37:16.478424265Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=94.131µs grafana | logger=migrator t=2023-11-14T11:37:16.482042758Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2023-11-14T11:37:16.482837104Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=794.516µs grafana | logger=migrator t=2023-11-14T11:37:16.486128783Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2023-11-14T11:37:16.487004631Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=875.168µs grafana | logger=migrator t=2023-11-14T11:37:16.490977526Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2023-11-14T11:37:16.491894024Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=915.828µs grafana | logger=migrator t=2023-11-14T11:37:16.494745789Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2023-11-14T11:37:16.495695898Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=949.499µs grafana | logger=migrator t=2023-11-14T11:37:16.498497373Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2023-11-14T11:37:16.500219688Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.721685ms grafana | logger=migrator t=2023-11-14T11:37:16.504695397Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2023-11-14T11:37:16.505711576Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.015639ms grafana | logger=migrator t=2023-11-14T11:37:16.509001725Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2023-11-14T11:37:16.509053125Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=40.07µs grafana | logger=migrator t=2023-11-14T11:37:16.513151342Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2023-11-14T11:37:16.517666231Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.519369ms grafana | logger=migrator t=2023-11-14T11:37:16.522553425Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2023-11-14T11:37:16.523869737Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=1.322822ms grafana | logger=migrator t=2023-11-14T11:37:16.527036225Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2023-11-14T11:37:16.532784925Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=5.74559ms grafana | logger=migrator t=2023-11-14T11:37:16.568886434Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2023-11-14T11:37:16.569922033Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=1.042879ms grafana | logger=migrator t=2023-11-14T11:37:16.57299563Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2023-11-14T11:37:16.573969279Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=973.089µs grafana | logger=migrator t=2023-11-14T11:37:16.576675093Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2023-11-14T11:37:16.581251652Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=4.573149ms grafana | logger=migrator t=2023-11-14T11:37:16.588243335Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2023-11-14T11:37:16.604043893Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=15.800078ms grafana | logger=migrator t=2023-11-14T11:37:16.606987459Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2023-11-14T11:37:16.607455763Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=468.434µs grafana | logger=migrator t=2023-11-14T11:37:16.609579522Z 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-14T11:37:16.61034709Z 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=766.418µs grafana | logger=migrator t=2023-11-14T11:37:16.615133421Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2023-11-14T11:37:16.615410154Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=276.763µs grafana | logger=migrator t=2023-11-14T11:37:16.617753874Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2023-11-14T11:37:16.618514711Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=759.597µs grafana | logger=migrator t=2023-11-14T11:37:16.621583869Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2023-11-14T11:37:16.621859611Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=276.402µs grafana | logger=migrator t=2023-11-14T11:37:16.625470483Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2023-11-14T11:37:16.629924962Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.442359ms grafana | logger=migrator t=2023-11-14T11:37:16.635078947Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2023-11-14T11:37:16.639265164Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.186317ms grafana | logger=migrator t=2023-11-14T11:37:16.642593284Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2023-11-14T11:37:16.643704663Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.111179ms grafana | logger=migrator t=2023-11-14T11:37:16.647974161Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2023-11-14T11:37:16.64900856Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.034109ms grafana | logger=migrator t=2023-11-14T11:37:16.653964384Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2023-11-14T11:37:16.654304897Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=340.623µs grafana | logger=migrator t=2023-11-14T11:37:16.657437704Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2023-11-14T11:37:16.661872444Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.43979ms grafana | logger=migrator t=2023-11-14T11:37:16.664982671Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2023-11-14T11:37:16.6659878Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.001639ms grafana | logger=migrator t=2023-11-14T11:37:16.671478388Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2023-11-14T11:37:16.67176088Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=282.712µs grafana | logger=migrator t=2023-11-14T11:37:16.674534035Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2023-11-14T11:37:16.67498292Z level=info msg="Migration successfully executed" id="Move region to single row" duration=448.695µs grafana | logger=migrator t=2023-11-14T11:37:16.677159098Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2023-11-14T11:37:16.678601281Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.437203ms grafana | logger=migrator t=2023-11-14T11:37:16.683947109Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2023-11-14T11:37:16.68532965Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.378281ms grafana | logger=migrator t=2023-11-14T11:37:16.690176743Z 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-14T11:37:16.691526526Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.349413ms grafana | logger=migrator t=2023-11-14T11:37:16.694591153Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-11-14T11:37:16.695639022Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.047379ms grafana | logger=migrator t=2023-11-14T11:37:16.704893963Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2023-11-14T11:37:16.706470477Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.578494ms grafana | logger=migrator t=2023-11-14T11:37:16.709694006Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2023-11-14T11:37:16.710851165Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.157229ms grafana | logger=migrator t=2023-11-14T11:37:16.715025433Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2023-11-14T11:37:16.715210164Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=184.431µs grafana | logger=migrator t=2023-11-14T11:37:16.723731659Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2023-11-14T11:37:16.724676717Z level=info msg="Migration successfully executed" id="create test_data table" duration=950.078µs grafana | logger=migrator t=2023-11-14T11:37:16.727866505Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2023-11-14T11:37:16.729147737Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.275282ms grafana | logger=migrator t=2023-11-14T11:37:16.733831369Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2023-11-14T11:37:16.734907508Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.077249ms grafana | logger=migrator t=2023-11-14T11:37:16.741602927Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2023-11-14T11:37:16.74306878Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.464483ms grafana | logger=migrator t=2023-11-14T11:37:16.746371619Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2023-11-14T11:37:16.746815313Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=442.564µs grafana | logger=migrator t=2023-11-14T11:37:16.751893608Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2023-11-14T11:37:16.752360922Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=467.004µs grafana | logger=migrator t=2023-11-14T11:37:16.75563868Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2023-11-14T11:37:16.755739631Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=90.531µs grafana | logger=migrator t=2023-11-14T11:37:16.760976468Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2023-11-14T11:37:16.762433761Z level=info msg="Migration successfully executed" id="create team table" duration=1.456803ms grafana | logger=migrator t=2023-11-14T11:37:16.767095171Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2023-11-14T11:37:16.768987618Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.893537ms grafana | logger=migrator t=2023-11-14T11:37:16.772421518Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2023-11-14T11:37:16.773148836Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=724.648µs grafana | logger=migrator t=2023-11-14T11:37:16.780354149Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2023-11-14T11:37:16.787107139Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=6.75003ms grafana | logger=migrator t=2023-11-14T11:37:16.790936242Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2023-11-14T11:37:16.791134164Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=200.082µs grafana | logger=migrator t=2023-11-14T11:37:16.794893907Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2023-11-14T11:37:16.796224169Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.333932ms grafana | logger=migrator t=2023-11-14T11:37:16.802718376Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2023-11-14T11:37:16.804197409Z level=info msg="Migration successfully executed" id="create team member table" duration=1.480793ms grafana | logger=migrator t=2023-11-14T11:37:16.810044241Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2023-11-14T11:37:16.811504863Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.461062ms grafana | logger=migrator t=2023-11-14T11:37:16.814787933Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2023-11-14T11:37:16.816187035Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.398302ms grafana | logger=migrator t=2023-11-14T11:37:16.824455398Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2023-11-14T11:37:16.8258863Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.430232ms grafana | logger=migrator t=2023-11-14T11:37:16.829406612Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2023-11-14T11:37:16.836197761Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=6.790619ms grafana | logger=migrator t=2023-11-14T11:37:16.840064686Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2023-11-14T11:37:16.845070689Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=5.006623ms grafana | logger=migrator t=2023-11-14T11:37:16.850305426Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2023-11-14T11:37:16.855047998Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.750512ms grafana | logger=migrator t=2023-11-14T11:37:16.858264796Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2023-11-14T11:37:16.859229104Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=966.578µs grafana | logger=migrator t=2023-11-14T11:37:16.863556723Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2023-11-14T11:37:16.864762213Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.2054ms grafana | logger=migrator t=2023-11-14T11:37:16.872872775Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2023-11-14T11:37:16.874859382Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.983407ms grafana | logger=migrator t=2023-11-14T11:37:16.879479234Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2023-11-14T11:37:16.881049837Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.570883ms grafana | logger=migrator t=2023-11-14T11:37:16.887764237Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2023-11-14T11:37:16.888829666Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.070399ms grafana | logger=migrator t=2023-11-14T11:37:16.893233005Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2023-11-14T11:37:16.894478206Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.24475ms grafana | logger=migrator t=2023-11-14T11:37:16.898041457Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2023-11-14T11:37:16.899566001Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.524254ms grafana | logger=migrator t=2023-11-14T11:37:16.90405453Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2023-11-14T11:37:16.904724326Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=666.746µs grafana | logger=migrator t=2023-11-14T11:37:16.910017103Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2023-11-14T11:37:16.911267904Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=1.250341ms grafana | logger=migrator t=2023-11-14T11:37:16.921708816Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2023-11-14T11:37:16.922549683Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=848.897µs grafana | logger=migrator t=2023-11-14T11:37:16.925313307Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2023-11-14T11:37:16.926128184Z level=info msg="Migration successfully executed" id="create tag table" duration=815.107µs grafana | logger=migrator t=2023-11-14T11:37:16.929933949Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2023-11-14T11:37:16.931006138Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.073729ms grafana | logger=migrator t=2023-11-14T11:37:16.934518408Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2023-11-14T11:37:16.935275386Z level=info msg="Migration successfully executed" id="create login attempt table" duration=755.378µs grafana | logger=migrator t=2023-11-14T11:37:16.942211577Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-14T11:37:16.943953282Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.743406ms grafana | logger=migrator t=2023-11-14T11:37:16.947508013Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2023-11-14T11:37:16.955456874Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=7.954901ms grafana | logger=migrator t=2023-11-14T11:37:16.960004533Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-14T11:37:16.978799649Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=18.768376ms grafana | logger=migrator t=2023-11-14T11:37:16.986233875Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2023-11-14T11:37:16.987469836Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=1.237471ms grafana | logger=migrator t=2023-11-14T11:37:16.993369648Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2023-11-14T11:37:16.994575609Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.211512ms grafana | logger=migrator t=2023-11-14T11:37:16.999243789Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2023-11-14T11:37:16.999641573Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=397.254µs grafana | logger=migrator t=2023-11-14T11:37:17.006439837Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2023-11-14T11:37:17.00818036Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.743023ms grafana | logger=migrator t=2023-11-14T11:37:17.013474838Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2023-11-14T11:37:17.014783133Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.308735ms grafana | logger=migrator t=2023-11-14T11:37:17.051127847Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2023-11-14T11:37:17.05322395Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=2.095813ms grafana | logger=migrator t=2023-11-14T11:37:17.05785122Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2023-11-14T11:37:17.057921341Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=70.37µs grafana | logger=migrator t=2023-11-14T11:37:17.062656902Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2023-11-14T11:37:17.070846301Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=8.176219ms grafana | logger=migrator t=2023-11-14T11:37:17.077934157Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2023-11-14T11:37:17.083705591Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.765414ms grafana | logger=migrator t=2023-11-14T11:37:17.088535703Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2023-11-14T11:37:17.094167074Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.631781ms grafana | logger=migrator t=2023-11-14T11:37:17.0983725Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2023-11-14T11:37:17.103319774Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=4.946674ms grafana | logger=migrator t=2023-11-14T11:37:17.107255876Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2023-11-14T11:37:17.108224066Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=967.81µs grafana | logger=migrator t=2023-11-14T11:37:17.111050237Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2023-11-14T11:37:17.116111362Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.063715ms grafana | logger=migrator t=2023-11-14T11:37:17.119885233Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2023-11-14T11:37:17.120635231Z level=info msg="Migration successfully executed" id="create server_lock table" duration=749.998µs grafana | logger=migrator t=2023-11-14T11:37:17.124891137Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2023-11-14T11:37:17.126321423Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.430416ms grafana | logger=migrator t=2023-11-14T11:37:17.129552738Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2023-11-14T11:37:17.13073165Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.179532ms grafana | logger=migrator t=2023-11-14T11:37:17.133904365Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2023-11-14T11:37:17.134801775Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=896.61µs grafana | logger=migrator t=2023-11-14T11:37:17.1408474Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2023-11-14T11:37:17.142461647Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.612147ms grafana | logger=migrator t=2023-11-14T11:37:17.145788984Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2023-11-14T11:37:17.147403331Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.613897ms grafana | logger=migrator t=2023-11-14T11:37:17.151324334Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2023-11-14T11:37:17.156904725Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.579621ms grafana | logger=migrator t=2023-11-14T11:37:17.16203132Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2023-11-14T11:37:17.162978731Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=947.291µs grafana | logger=migrator t=2023-11-14T11:37:17.167228436Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2023-11-14T11:37:17.167995415Z level=info msg="Migration successfully executed" id="create cache_data table" duration=766.029µs grafana | logger=migrator t=2023-11-14T11:37:17.174518516Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2023-11-14T11:37:17.176414307Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.90143ms grafana | logger=migrator t=2023-11-14T11:37:17.18322462Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2023-11-14T11:37:17.184738727Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.532397ms grafana | logger=migrator t=2023-11-14T11:37:17.189294846Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2023-11-14T11:37:17.191105386Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.834821ms grafana | logger=migrator t=2023-11-14T11:37:17.195639964Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2023-11-14T11:37:17.195713645Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=75.411µs grafana | logger=migrator t=2023-11-14T11:37:17.199966202Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2023-11-14T11:37:17.200098133Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=133.111µs grafana | logger=migrator t=2023-11-14T11:37:17.204226888Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2023-11-14T11:37:17.20538408Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.156582ms grafana | logger=migrator t=2023-11-14T11:37:17.209765658Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-14T11:37:17.211029432Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.266444ms grafana | logger=migrator t=2023-11-14T11:37:17.215368169Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-14T11:37:17.21641247Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.043821ms grafana | logger=migrator t=2023-11-14T11:37:17.22013805Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-14T11:37:17.220192541Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=55.001µs grafana | logger=migrator t=2023-11-14T11:37:17.225088244Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-14T11:37:17.227588251Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=2.499567ms grafana | logger=migrator t=2023-11-14T11:37:17.234420535Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-14T11:37:17.235395356Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=974.361µs grafana | logger=migrator t=2023-11-14T11:37:17.240584293Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-14T11:37:17.241890146Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.305013ms grafana | logger=migrator t=2023-11-14T11:37:17.246062581Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-14T11:37:17.247093843Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.030492ms grafana | logger=migrator t=2023-11-14T11:37:17.252016347Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2023-11-14T11:37:17.258685129Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=6.667582ms grafana | logger=migrator t=2023-11-14T11:37:17.262429459Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2023-11-14T11:37:17.263133967Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=701.038µs grafana | logger=migrator t=2023-11-14T11:37:17.267711386Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2023-11-14T11:37:17.267798377Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=84.981µs grafana | logger=migrator t=2023-11-14T11:37:17.271795561Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2023-11-14T11:37:17.272829912Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.031321ms grafana | logger=migrator t=2023-11-14T11:37:17.310992846Z 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-14T11:37:17.318046952Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=7.049726ms grafana | logger=migrator t=2023-11-14T11:37:17.322469691Z 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-14T11:37:17.323588362Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.119711ms grafana | logger=migrator t=2023-11-14T11:37:17.328531976Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-14T11:37:17.328649788Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=120.942µs grafana | logger=migrator t=2023-11-14T11:37:17.335789404Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2023-11-14T11:37:17.337616485Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.841141ms grafana | logger=migrator t=2023-11-14T11:37:17.342174124Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2023-11-14T11:37:17.343109344Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=935.08µs grafana | logger=migrator t=2023-11-14T11:37:17.35000809Z 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-14T11:37:17.351467425Z 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.461755ms grafana | logger=migrator t=2023-11-14T11:37:17.358793695Z 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-14T11:37:17.359981947Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.188432ms grafana | logger=migrator t=2023-11-14T11:37:17.364351455Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2023-11-14T11:37:17.370106967Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.761542ms policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0450-pdpgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T11:37:17.376428526Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2023-11-14T11:37:17.378851952Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=2.427146ms grafana | logger=migrator t=2023-11-14T11:37:17.386241033Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-11-14T11:37:17.387792979Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.560847ms grafana | logger=migrator t=2023-11-14T11:37:17.39521344Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2023-11-14T11:37:17.436147473Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=40.924113ms grafana | logger=migrator t=2023-11-14T11:37:17.442283491Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2023-11-14T11:37:17.478482072Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=36.185981ms grafana | logger=migrator t=2023-11-14T11:37:17.482345785Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2023-11-14T11:37:17.483324965Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=978.23µs grafana | logger=migrator t=2023-11-14T11:37:17.487354439Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-11-14T11:37:17.489144338Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.786549ms grafana | logger=migrator t=2023-11-14T11:37:17.518149673Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2023-11-14T11:37:17.524871976Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=6.727023ms grafana | logger=migrator t=2023-11-14T11:37:17.529747829Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2023-11-14T11:37:17.530474187Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=725.748µs grafana | logger=migrator t=2023-11-14T11:37:17.536594243Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2023-11-14T11:37:17.537724786Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.130263ms grafana | logger=migrator t=2023-11-14T11:37:17.543992214Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2023-11-14T11:37:17.546720913Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=2.727459ms grafana | logger=migrator t=2023-11-14T11:37:17.550960699Z 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-14T11:37:17.552302164Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.341175ms grafana | logger=migrator t=2023-11-14T11:37:17.556496019Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-14T11:37:17.55658752Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=91.771µs grafana | logger=migrator t=2023-11-14T11:37:17.562895469Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2023-11-14T11:37:17.571912016Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=9.016887ms grafana | logger=migrator t=2023-11-14T11:37:17.577389026Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2023-11-14T11:37:17.58237548Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=4.990614ms grafana | logger=migrator t=2023-11-14T11:37:17.586783847Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2023-11-14T11:37:17.595963127Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=9.17491ms grafana | logger=migrator t=2023-11-14T11:37:17.600660838Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2023-11-14T11:37:17.601703939Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.044381ms grafana | logger=migrator t=2023-11-14T11:37:17.606044436Z 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-14T11:37:17.607159348Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.115812ms grafana | logger=migrator t=2023-11-14T11:37:17.613105283Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2023-11-14T11:37:17.619572533Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.46321ms grafana | logger=migrator t=2023-11-14T11:37:17.62667197Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2023-11-14T11:37:17.633520435Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.847425ms grafana | logger=migrator t=2023-11-14T11:37:17.637094653Z 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-14T11:37:17.638214805Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.120802ms grafana | logger=migrator t=2023-11-14T11:37:17.642714964Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2023-11-14T11:37:17.651789352Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=9.069328ms grafana | logger=migrator t=2023-11-14T11:37:17.656723696Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2023-11-14T11:37:17.663162676Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.4378ms grafana | logger=migrator t=2023-11-14T11:37:17.669159631Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2023-11-14T11:37:17.669296223Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=117.622µs grafana | logger=migrator t=2023-11-14T11:37:17.673565379Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2023-11-14T11:37:17.674693111Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.128122ms policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | 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-14T11:37:17.680084949Z 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-14T11:37:17.681279273Z 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.194054ms grafana | logger=migrator t=2023-11-14T11:37:17.684485107Z 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-14T11:37:17.685611399Z 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.126392ms grafana | logger=migrator t=2023-11-14T11:37:17.690385901Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-14T11:37:17.690457942Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=73.861µs grafana | logger=migrator t=2023-11-14T11:37:17.694728829Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2023-11-14T11:37:17.701038407Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.308408ms grafana | logger=migrator t=2023-11-14T11:37:17.704692646Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2023-11-14T11:37:17.71146684Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.770224ms grafana | logger=migrator t=2023-11-14T11:37:17.716740067Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2023-11-14T11:37:17.723272878Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.532701ms grafana | logger=migrator t=2023-11-14T11:37:17.729476885Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2023-11-14T11:37:17.736866446Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=7.386071ms grafana | logger=migrator t=2023-11-14T11:37:17.742043592Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2023-11-14T11:37:17.748370511Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.324408ms grafana | logger=migrator t=2023-11-14T11:37:17.752912539Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2023-11-14T11:37:17.75302383Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=116.601µs grafana | logger=migrator t=2023-11-14T11:37:17.758957096Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2023-11-14T11:37:17.760419241Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.463305ms grafana | logger=migrator t=2023-11-14T11:37:17.765111672Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2023-11-14T11:37:17.771437111Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=6.324438ms grafana | logger=migrator t=2023-11-14T11:37:17.776554916Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2023-11-14T11:37:17.776707248Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=150.412µs grafana | logger=migrator t=2023-11-14T11:37:17.782757343Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2023-11-14T11:37:17.789506416Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.749823ms grafana | logger=migrator t=2023-11-14T11:37:17.795249929Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2023-11-14T11:37:17.796488912Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.241723ms grafana | logger=migrator t=2023-11-14T11:37:17.802071033Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2023-11-14T11:37:17.808506472Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.434779ms grafana | logger=migrator t=2023-11-14T11:37:17.812525627Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2023-11-14T11:37:17.813240554Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=718.658µs grafana | logger=migrator t=2023-11-14T11:37:17.81937136Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2023-11-14T11:37:17.821872648Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=2.507388ms grafana | logger=migrator t=2023-11-14T11:37:17.828740242Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2023-11-14T11:37:17.836408195Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=7.666963ms grafana | logger=migrator t=2023-11-14T11:37:17.841082156Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2023-11-14T11:37:17.842040406Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=957.85µs grafana | logger=migrator t=2023-11-14T11:37:17.847391434Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2023-11-14T11:37:17.848592128Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.191534ms grafana | logger=migrator t=2023-11-14T11:37:17.852958425Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2023-11-14T11:37:17.853744683Z level=info msg="Migration successfully executed" id="create alert_image table" duration=785.778µs grafana | logger=migrator t=2023-11-14T11:37:17.857726027Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2023-11-14T11:37:17.859525016Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.798399ms grafana | logger=migrator t=2023-11-14T11:37:17.865548102Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2023-11-14T11:37:17.865709673Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=161.171µs grafana | logger=migrator t=2023-11-14T11:37:17.868887528Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2023-11-14T11:37:17.869829868Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=941.96µs 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 | -------------- grafana | logger=migrator t=2023-11-14T11:37:17.877801864Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2023-11-14T11:37:17.879622884Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.82009ms grafana | logger=migrator t=2023-11-14T11:37:17.886046274Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2023-11-14T11:37:17.886486308Z 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-14T11:37:17.890534423Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2023-11-14T11:37:17.891023228Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=480.255µs grafana | logger=migrator t=2023-11-14T11:37:17.894158752Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2023-11-14T11:37:17.895831329Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.663657ms grafana | logger=migrator t=2023-11-14T11:37:17.901038186Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2023-11-14T11:37:17.907884181Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.845375ms grafana | logger=migrator t=2023-11-14T11:37:17.911056395Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2023-11-14T11:37:17.911681392Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=626.667µs grafana | logger=migrator t=2023-11-14T11:37:17.914433252Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2023-11-14T11:37:17.91521943Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=784.638µs grafana | logger=migrator t=2023-11-14T11:37:17.921202775Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2023-11-14T11:37:17.922523959Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.320524ms grafana | logger=migrator t=2023-11-14T11:37:17.925888516Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2023-11-14T11:37:17.927092889Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.204863ms grafana | logger=migrator t=2023-11-14T11:37:17.930041721Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2023-11-14T11:37:17.931092782Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.050491ms grafana | logger=migrator t=2023-11-14T11:37:17.936247128Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2023-11-14T11:37:17.936273119Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=27.811µs grafana | logger=migrator t=2023-11-14T11:37:17.93911596Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2023-11-14T11:37:17.93918646Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=70.501µs grafana | logger=migrator t=2023-11-14T11:37:17.941467095Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2023-11-14T11:37:17.942079982Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=612.847µs grafana | logger=migrator t=2023-11-14T11:37:17.94562194Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2023-11-14T11:37:17.947143887Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.519227ms grafana | logger=migrator t=2023-11-14T11:37:17.953251823Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2023-11-14T11:37:17.954231913Z level=info msg="Migration successfully executed" id="create secrets table" duration=979.1µs grafana | logger=migrator t=2023-11-14T11:37:17.957545209Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2023-11-14T11:37:18.002859481Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=45.318602ms grafana | logger=migrator t=2023-11-14T11:37:18.0071823Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2023-11-14T11:37:18.012288432Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.105892ms grafana | logger=migrator t=2023-11-14T11:37:18.018400676Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2023-11-14T11:37:18.018594668Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=195.232µs grafana | logger=migrator t=2023-11-14T11:37:18.021630524Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2023-11-14T11:37:18.069630788Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=47.978143ms grafana | logger=migrator t=2023-11-14T11:37:18.072938708Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2023-11-14T11:37:18.121780498Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=48.83692ms grafana | logger=migrator t=2023-11-14T11:37:18.158082548Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2023-11-14T11:37:18.159868254Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=1.792796ms grafana | logger=migrator t=2023-11-14T11:37:18.171769019Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2023-11-14T11:37:18.172923859Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.15565ms grafana | logger=migrator t=2023-11-14T11:37:18.183569663Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2023-11-14T11:37:18.184033347Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=451.684µs grafana | logger=migrator t=2023-11-14T11:37:18.193906274Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2023-11-14T11:37:18.195361487Z level=info msg="Migration successfully executed" id="create permission table" duration=1.457243ms grafana | logger=migrator t=2023-11-14T11:37:18.208516993Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2023-11-14T11:37:18.21038788Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.873347ms grafana | logger=migrator t=2023-11-14T11:37:18.219247618Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2023-11-14T11:37:18.220840821Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.592663ms grafana | logger=migrator t=2023-11-14T11:37:18.226494751Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2023-11-14T11:37:18.228779922Z level=info msg="Migration successfully executed" id="create role table" duration=2.288851ms grafana | logger=migrator t=2023-11-14T11:37:18.234982816Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2023-11-14T11:37:18.243077728Z level=info msg="Migration successfully executed" id="add column display_name" duration=8.096822ms grafana | logger=migrator t=2023-11-14T11:37:18.246994813Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2023-11-14T11:37:18.257559096Z level=info msg="Migration successfully executed" id="add column group_name" duration=10.564543ms grafana | logger=migrator t=2023-11-14T11:37:18.262100526Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2023-11-14T11:37:18.263296127Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.195671ms grafana | logger=migrator t=2023-11-14T11:37:18.266377784Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2023-11-14T11:37:18.267631074Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.24549ms grafana | logger=migrator t=2023-11-14T11:37:18.270981314Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2023-11-14T11:37:18.272175875Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.194081ms grafana | logger=migrator t=2023-11-14T11:37:18.27721829Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2023-11-14T11:37:18.278021196Z level=info msg="Migration successfully executed" id="create team role table" duration=802.976µs grafana | logger=migrator t=2023-11-14T11:37:18.28073003Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2023-11-14T11:37:18.28186841Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.13789ms grafana | logger=migrator t=2023-11-14T11:37:18.285033728Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2023-11-14T11:37:18.286306869Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.273221ms grafana | logger=migrator t=2023-11-14T11:37:18.292582755Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2023-11-14T11:37:18.293766835Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.18359ms grafana | logger=migrator t=2023-11-14T11:37:18.297102565Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2023-11-14T11:37:18.297992322Z level=info msg="Migration successfully executed" id="create user role table" duration=889.817µs grafana | logger=migrator t=2023-11-14T11:37:18.305919002Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2023-11-14T11:37:18.307635117Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.722935ms grafana | logger=migrator t=2023-11-14T11:37:18.31129708Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2023-11-14T11:37:18.313672251Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=2.373321ms grafana | logger=migrator t=2023-11-14T11:37:18.319040488Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2023-11-14T11:37:18.320163098Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.122491ms grafana | logger=migrator t=2023-11-14T11:37:18.325658357Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2023-11-14T11:37:18.326513674Z level=info msg="Migration successfully executed" id="create builtin role table" duration=854.608µs grafana | logger=migrator t=2023-11-14T11:37:18.331838141Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2023-11-14T11:37:18.333017271Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.17823ms grafana | logger=migrator t=2023-11-14T11:37:18.33861445Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2023-11-14T11:37:18.340428517Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.813546ms grafana | logger=migrator t=2023-11-14T11:37:18.344445123Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2023-11-14T11:37:18.352608254Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=8.163492ms grafana | logger=migrator t=2023-11-14T11:37:18.355996464Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2023-11-14T11:37:18.356777651Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=781.847µs grafana | logger=migrator t=2023-11-14T11:37:18.361558713Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2023-11-14T11:37:18.362813104Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.252761ms grafana | logger=migrator t=2023-11-14T11:37:18.366549827Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2023-11-14T11:37:18.368450064Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.900047ms grafana | logger=migrator t=2023-11-14T11:37:18.373308937Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2023-11-14T11:37:18.374498147Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.18981ms grafana | logger=migrator t=2023-11-14T11:37:18.38057154Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2023-11-14T11:37:18.381981473Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.412393ms grafana | logger=migrator t=2023-11-14T11:37:18.385905397Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2023-11-14T11:37:18.387142059Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.236912ms grafana | logger=migrator t=2023-11-14T11:37:18.390224446Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2023-11-14T11:37:18.398281427Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.059301ms grafana | logger=migrator t=2023-11-14T11:37:18.402652285Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2023-11-14T11:37:18.408655918Z level=info msg="Migration successfully executed" id="permission kind migration" duration=6.002353ms grafana | logger=migrator t=2023-11-14T11:37:18.41223487Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0780-toscarequirements.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T11:37:18.420201521Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=7.966371ms grafana | logger=migrator t=2023-11-14T11:37:18.488330741Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2023-11-14T11:37:18.49948437Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=11.154699ms grafana | logger=migrator t=2023-11-14T11:37:18.504082201Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2023-11-14T11:37:18.506176638Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=2.037567ms grafana | logger=migrator t=2023-11-14T11:37:18.510113564Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2023-11-14T11:37:18.511671387Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.557563ms grafana | logger=migrator t=2023-11-14T11:37:18.51536672Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2023-11-14T11:37:18.517364737Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.997597ms grafana | logger=migrator t=2023-11-14T11:37:18.521686376Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2023-11-14T11:37:18.521773476Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=87.51µs grafana | logger=migrator t=2023-11-14T11:37:18.524759453Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2023-11-14T11:37:18.524828893Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=68.59µs grafana | logger=migrator t=2023-11-14T11:37:18.5278891Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2023-11-14T11:37:18.528453775Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=564.665µs grafana | logger=migrator t=2023-11-14T11:37:18.531796724Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2023-11-14T11:37:18.532793844Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=998.63µs grafana | logger=migrator t=2023-11-14T11:37:18.537055451Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2023-11-14T11:37:18.537707617Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=651.906µs grafana | logger=migrator t=2023-11-14T11:37:18.540857575Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2023-11-14T11:37:18.541055277Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=197.652µs grafana | logger=migrator t=2023-11-14T11:37:18.544123244Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2023-11-14T11:37:18.544470586Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=345.052µs grafana | logger=migrator t=2023-11-14T11:37:18.547813746Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2023-11-14T11:37:18.549117668Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.302802ms grafana | logger=migrator t=2023-11-14T11:37:18.553753768Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2023-11-14T11:37:18.554887629Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.133211ms grafana | logger=migrator t=2023-11-14T11:37:18.558096317Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2023-11-14T11:37:18.566083677Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=7.98652ms grafana | logger=migrator t=2023-11-14T11:37:18.569401747Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2023-11-14T11:37:18.569465847Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=64.321µs grafana | logger=migrator t=2023-11-14T11:37:18.573594403Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2023-11-14T11:37:18.574482222Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=887.228µs grafana | logger=migrator t=2023-11-14T11:37:18.577798081Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2023-11-14T11:37:18.579775338Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.967707ms grafana | logger=migrator t=2023-11-14T11:37:18.584961133Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2023-11-14T11:37:18.586179365Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.218331ms grafana | logger=migrator t=2023-11-14T11:37:18.590516822Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2023-11-14T11:37:18.598766755Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.249503ms grafana | logger=migrator t=2023-11-14T11:37:18.602371628Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2023-11-14T11:37:18.603544397Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.173039ms grafana | logger=migrator t=2023-11-14T11:37:18.606893797Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2023-11-14T11:37:18.608033847Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.14016ms grafana | logger=migrator t=2023-11-14T11:37:18.612257944Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-14T11:37:18.646000042Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=33.742698ms grafana | logger=migrator t=2023-11-14T11:37:18.651085137Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2023-11-14T11:37:18.652025725Z level=info msg="Migration successfully executed" id="create correlation v2" duration=940.168µs grafana | logger=migrator t=2023-11-14T11:37:18.654960371Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2023-11-14T11:37:18.656091651Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.12469ms grafana | logger=migrator t=2023-11-14T11:37:18.661286407Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2023-11-14T11:37:18.662436257Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.16475ms grafana | logger=migrator t=2023-11-14T11:37:18.665688045Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2023-11-14T11:37:18.667456361Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.767516ms grafana | logger=migrator t=2023-11-14T11:37:18.67073592Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2023-11-14T11:37:18.671168154Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=431.954µs grafana | logger=migrator t=2023-11-14T11:37:18.676252879Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2023-11-14T11:37:18.677110936Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=857.237µs grafana | logger=migrator t=2023-11-14T11:37:18.679980031Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2023-11-14T11:37:18.690610765Z level=info msg="Migration successfully executed" id="add provisioning column" duration=10.634024ms grafana | logger=migrator t=2023-11-14T11:37:18.693535321Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2023-11-14T11:37:18.694090716Z level=info msg="Migration successfully executed" id="create entity_events table" duration=555.435µs grafana | logger=migrator t=2023-11-14T11:37:18.698927009Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2023-11-14T11:37:18.699854667Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=919.188µs grafana | logger=migrator t=2023-11-14T11:37:18.703046486Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-14T11:37:18.703483339Z 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-14T11:37:18.707472654Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-14T11:37:18.707897788Z 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-14T11:37:18.712978653Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2023-11-14T11:37:18.713761939Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=782.616µs grafana | logger=migrator t=2023-11-14T11:37:18.716572544Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2023-11-14T11:37:18.718030557Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.462383ms grafana | logger=migrator t=2023-11-14T11:37:18.721299966Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-14T11:37:18.722966281Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.666365ms grafana | logger=migrator t=2023-11-14T11:37:18.728206258Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-14T11:37:18.729309707Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.102949ms grafana | logger=migrator t=2023-11-14T11:37:18.732083261Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-11-14T11:37:18.733159151Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.073719ms grafana | logger=migrator t=2023-11-14T11:37:18.736271078Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-11-14T11:37:18.737927573Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.663875ms grafana | logger=migrator t=2023-11-14T11:37:18.74320649Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2023-11-14T11:37:18.743964946Z level=info msg="Migration successfully executed" id="Drop public config table" duration=757.516µs grafana | logger=migrator t=2023-11-14T11:37:18.746787261Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2023-11-14T11:37:18.74774336Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=955.909µs grafana | logger=migrator t=2023-11-14T11:37:18.752572252Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-11-14T11:37:18.753682112Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.10929ms grafana | logger=migrator t=2023-11-14T11:37:18.756685209Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-11-14T11:37:18.757811748Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.125759ms grafana | logger=migrator t=2023-11-14T11:37:18.760856615Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2023-11-14T11:37:18.762606111Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.740286ms grafana | logger=migrator t=2023-11-14T11:37:18.767576725Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2023-11-14T11:37:18.799818129Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=32.240704ms grafana | logger=migrator t=2023-11-14T11:37:18.803048307Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2023-11-14T11:37:18.810269181Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=7.217334ms grafana | logger=migrator t=2023-11-14T11:37:18.813251637Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2023-11-14T11:37:18.821807793Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.558266ms grafana | logger=migrator t=2023-11-14T11:37:18.826641536Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2023-11-14T11:37:18.826803327Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=161.951µs grafana | logger=migrator t=2023-11-14T11:37:18.828963656Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2023-11-14T11:37:18.839570129Z level=info msg="Migration successfully executed" id="add share column" duration=10.605813ms grafana | logger=migrator t=2023-11-14T11:37:18.842726127Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2023-11-14T11:37:18.842887398Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=161.741µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T11:37:18.845908276Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2023-11-14T11:37:18.846590762Z level=info msg="Migration successfully executed" id="create file table" duration=681.896µs grafana | logger=migrator t=2023-11-14T11:37:18.851218952Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2023-11-14T11:37:18.85208107Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=861.198µs grafana | logger=migrator t=2023-11-14T11:37:18.855098027Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2023-11-14T11:37:18.855931304Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=832.867µs grafana | logger=migrator t=2023-11-14T11:37:18.85887317Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2023-11-14T11:37:18.859474435Z level=info msg="Migration successfully executed" id="create file_meta table" duration=598.215µs grafana | logger=migrator t=2023-11-14T11:37:18.864130466Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2023-11-14T11:37:18.865066034Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=935.168µs grafana | logger=migrator t=2023-11-14T11:37:18.869411723Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2023-11-14T11:37:18.869457743Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=46.56µs grafana | logger=migrator t=2023-11-14T11:37:18.872339199Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2023-11-14T11:37:18.872381809Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=43.091µs grafana | logger=migrator t=2023-11-14T11:37:18.877425454Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2023-11-14T11:37:18.878468182Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=1.043599ms grafana | logger=migrator t=2023-11-14T11:37:18.882222126Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2023-11-14T11:37:18.88270117Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=478.754µs grafana | logger=migrator t=2023-11-14T11:37:18.886197491Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2023-11-14T11:37:18.887710304Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.512773ms grafana | logger=migrator t=2023-11-14T11:37:18.890827582Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2023-11-14T11:37:18.89970753Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.879068ms grafana | logger=migrator t=2023-11-14T11:37:18.904835756Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2023-11-14T11:37:18.905032687Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=194.481µs grafana | logger=migrator t=2023-11-14T11:37:18.908116134Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2023-11-14T11:37:18.909298474Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.18191ms grafana | logger=migrator t=2023-11-14T11:37:18.912408442Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2023-11-14T11:37:18.912902406Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=494.634µs grafana | logger=migrator t=2023-11-14T11:37:18.917325105Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2023-11-14T11:37:18.917619588Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=293.643µs grafana | logger=migrator t=2023-11-14T11:37:18.920977557Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2023-11-14T11:37:18.921561133Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=587.366µs grafana | logger=migrator t=2023-11-14T11:37:18.924964473Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2023-11-14T11:37:18.937064439Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=12.097806ms grafana | logger=migrator t=2023-11-14T11:37:18.973549451Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2023-11-14T11:37:18.984507298Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=10.958477ms grafana | logger=migrator t=2023-11-14T11:37:18.988294371Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2023-11-14T11:37:18.991406439Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=3.109688ms grafana | logger=migrator t=2023-11-14T11:37:18.996297862Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2023-11-14T11:37:19.110664439Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=114.359787ms grafana | logger=migrator t=2023-11-14T11:37:19.115288152Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2023-11-14T11:37:19.1162575Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=969.728µs grafana | logger=migrator t=2023-11-14T11:37:19.120960234Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2023-11-14T11:37:19.122879691Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.919207ms grafana | logger=migrator t=2023-11-14T11:37:19.126690496Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2023-11-14T11:37:19.166556552Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=39.861656ms grafana | logger=migrator t=2023-11-14T11:37:19.170832542Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2023-11-14T11:37:19.171027363Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=196.241µs grafana | logger=migrator t=2023-11-14T11:37:19.175695305Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2023-11-14T11:37:19.175898327Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=203.972µs grafana | logger=migrator t=2023-11-14T11:37:19.179733323Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2023-11-14T11:37:19.179964025Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=231.642µs grafana | logger=migrator t=2023-11-14T11:37:19.18375325Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2023-11-14T11:37:19.184732599Z level=info msg="Migration successfully executed" id="create folder table" duration=979.499µs grafana | logger=migrator t=2023-11-14T11:37:19.189331021Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2023-11-14T11:37:19.190437472Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.10615ms grafana | logger=migrator t=2023-11-14T11:37:19.194141425Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2023-11-14T11:37:19.195250635Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.10852ms grafana | logger=migrator t=2023-11-14T11:37:19.198851999Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2023-11-14T11:37:19.198883929Z level=info msg="Migration successfully executed" id="Update folder title length" duration=37.36µs grafana | logger=migrator t=2023-11-14T11:37:19.203046607Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-11-14T11:37:19.204248167Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.20172ms grafana | logger=migrator t=2023-11-14T11:37:19.20773102Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-11-14T11:37:19.208734569Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.003179ms grafana | logger=migrator t=2023-11-14T11:37:19.212062199Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2023-11-14T11:37:19.21311392Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.048591ms grafana | logger=migrator t=2023-11-14T11:37:19.217299707Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2023-11-14T11:37:19.218192105Z level=info msg="Migration successfully executed" id="create anon_device table" duration=892.268µs grafana | logger=migrator t=2023-11-14T11:37:19.221649068Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2023-11-14T11:37:19.222788108Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.13934ms grafana | logger=migrator t=2023-11-14T11:37:19.226681403Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2023-11-14T11:37:19.227788244Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.103901ms grafana | logger=migrator t=2023-11-14T11:37:19.234036911Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2023-11-14T11:37:19.235395124Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.358423ms grafana | logger=migrator t=2023-11-14T11:37:19.23939977Z level=info msg="Executing migration" id="add unique index signing_key.key_id" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT 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-14T11:37:19.240626731Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.226881ms grafana | logger=migrator t=2023-11-14T11:37:19.244110454Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2023-11-14T11:37:19.245477586Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.367322ms grafana | logger=migrator t=2023-11-14T11:37:19.249593624Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2023-11-14T11:37:19.249974588Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=379.114µs grafana | logger=migrator t=2023-11-14T11:37:19.253225817Z level=info msg="migrations completed" performed=517 skipped=0 duration=3.886884413s grafana | logger=sqlstore t=2023-11-14T11:37:19.270656147Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2023-11-14T11:37:19.271111491Z level=info msg="Created default organization" grafana | logger=secrets t=2023-11-14T11:37:19.277046786Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=local.finder t=2023-11-14T11:37:19.340097685Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=query_data t=2023-11-14T11:37:19.344602776Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2023-11-14T11:37:19.349289499Z level=info msg="Live Push Gateway initialization" grafana | logger=infra.usagestats.collector t=2023-11-14T11:37:21.646501049Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2023-11-14T11:37:21.648972596Z level=info msg="inserting datasource from configuration " name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2023-11-14T11:37:21.672674376Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2023-11-14T11:37:21.672713137Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2023-11-14T11:37:21.67300328Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2023-11-14T11:37:21.673708687Z level=info msg="Warming state cache for startup" grafana | logger=http.server t=2023-11-14T11:37:21.679267838Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafana.update.checker t=2023-11-14T11:37:21.703066619Z level=info msg="Update check succeeded" duration=28.613114ms grafana | logger=plugins.update.checker t=2023-11-14T11:37:21.741028956Z level=info msg="Update check succeeded" duration=67.114976ms grafana | logger=dashboard-service t=2023-11-14T11:37:21.827042269Z level=error msg="Could not make user admin" dashboard="JVM Basic Metrics" namespaceID=user userID=0 error="identifier is not initialized" grafana | logger=sqlstore.transactions t=2023-11-14T11:37:21.827371633Z 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-14T11:37:21.832013704Z level=info msg=Starting grafana | logger=ngalert.migration t=2023-11-14T11:37:21.8326092Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-11-14T11:37:21.832889503Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-11-14T11:37:21.833797763Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-11-14T11:37:21.834263188Z level=warn msg="No available receivers" grafana | logger=ngalert.migration t=2023-11-14T11:37:21.836553973Z level=info msg="Completed legacy migration" grafana | logger=dashboard-service t=2023-11-14T11:37:21.866184998Z level=error msg="Could not make user admin" dashboard="Policy PAP Jakarta" namespaceID=user userID=0 error="identifier is not initialized" grafana | logger=sqlstore.transactions t=2023-11-14T11:37:21.880662267Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=dashboard-service t=2023-11-14T11:37:21.887936496Z level=error msg="Could not make user admin" dashboard="Policy XACML-PDP" namespaceID=user userID=0 error="identifier is not initialized" grafana | logger=ngalert.state.manager t=2023-11-14T11:37:21.901115151Z level=info msg="State cache has been initialized" states=0 duration=227.395144ms grafana | logger=ngalert.scheduler t=2023-11-14T11:37:21.901205262Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ngalert.multiorg.alertmanager t=2023-11-14T11:37:21.901209212Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=ticker t=2023-11-14T11:37:21.901481345Z level=info msg=starting first_tick=2023-11-14T11:37:30Z grafana | logger=dashboard-service t=2023-11-14T11:37:21.917378209Z level=error msg="Could not make user admin" dashboard="Spring Boot Statistics & Endpoint Metrics" namespaceID=user userID=0 error="identifier is not initialized" grafana | logger=dashboard-service t=2023-11-14T11:37:21.931554385Z level=error msg="Could not make user admin" dashboard="SLA's Metrics" namespaceID=user userID=0 error="identifier is not initialized" grafana | logger=dashboard-service t=2023-11-14T11:37:21.945064713Z level=error msg="Could not make user admin" dashboard="Policy APEX-PDP Jakarta" namespaceID=user userID=0 error="identifier is not initialized" grafana | logger=dashboard-service t=2023-11-14T11:37:21.960489522Z level=error msg="Could not make user admin" dashboard="Policy API Jakarta" namespaceID=user userID=0 error="identifier is not initialized" grafana | logger=dashboard-service t=2023-11-14T11:37:21.967760472Z level=error msg="Could not make user admin" dashboard="Policy Distribution" namespaceID=user userID=0 error="identifier is not initialized" grafana | logger=dashboard-service t=2023-11-14T11:37:21.979023566Z level=error msg="Could not make user admin" dashboard="Policy Drools-PDP" namespaceID=user userID=0 error="identifier is not initialized" grafana | logger=infra.usagestats t=2023-11-14T11:38:33.685079446Z level=info msg="Usage stats are ready to report" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdp.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE jpapdpstatistics_enginestats a policy-db-migrator | JOIN pdpstatistics b policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp policy-db-migrator | SET a.id = b.id policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-sequence.sql policy-db-migrator | -------------- policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscatrigger policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaparameter policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-upgrade.sql policy-db-migrator | -------------- policy-db-migrator | select 'upgrade to 1100 completed' as msg policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | msg policy-db-migrator | upgrade to 1100 completed policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1200) policy-db-migrator | name version policy-db-migrator | policyadmin 1200 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:23 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:23 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:23 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:23 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:23 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:23 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:23 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:23 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:23 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:23 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:23 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:23 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:23 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:24 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:24 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:24 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:24 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:24 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:24 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:24 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:24 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:24 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:24 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:24 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:24 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:24 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:24 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:24 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:24 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:24 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:24 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:24 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:24 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:24 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:24 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:24 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:24 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:24 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:25 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:25 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:25 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:25 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:25 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:25 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:25 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:25 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:25 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:25 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:25 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:25 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:25 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:25 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:25 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:25 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:25 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:25 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:25 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:25 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:25 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:25 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:25 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:25 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:25 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:25 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:26 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:26 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:26 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:26 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:26 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:26 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:26 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:26 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:26 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:26 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:26 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:26 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:26 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:26 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:26 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:26 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:26 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:26 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:26 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:26 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:26 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:26 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:26 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:27 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:27 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:27 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:27 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:27 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:27 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:27 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:27 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1411231137230800u 1 2023-11-14 11:37:27 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1411231137230900u 1 2023-11-14 11:37:27 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1411231137230900u 1 2023-11-14 11:37:27 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1411231137230900u 1 2023-11-14 11:37:27 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1411231137230900u 1 2023-11-14 11:37:27 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1411231137230900u 1 2023-11-14 11:37:27 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1411231137230900u 1 2023-11-14 11:37:27 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1411231137230900u 1 2023-11-14 11:37:27 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1411231137230900u 1 2023-11-14 11:37:27 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1411231137230900u 1 2023-11-14 11:37:27 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1411231137230900u 1 2023-11-14 11:37:28 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1411231137230900u 1 2023-11-14 11:37:28 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1411231137230900u 1 2023-11-14 11:37:28 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1411231137230900u 1 2023-11-14 11:37:28 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1411231137231000u 1 2023-11-14 11:37:28 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1411231137231000u 1 2023-11-14 11:37:28 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1411231137231000u 1 2023-11-14 11:37:28 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1411231137231000u 1 2023-11-14 11:37:28 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1411231137231000u 1 2023-11-14 11:37:28 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1411231137231000u 1 2023-11-14 11:37:28 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1411231137231000u 1 2023-11-14 11:37:28 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1411231137231000u 1 2023-11-14 11:37:28 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1411231137231000u 1 2023-11-14 11:37:28 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1411231137231100u 1 2023-11-14 11:37:28 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1411231137231200u 1 2023-11-14 11:37:28 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1411231137231200u 1 2023-11-14 11:37:28 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1411231137231200u 1 2023-11-14 11:37:28 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1411231137231200u 1 2023-11-14 11:37:28 policy-db-migrator | policyadmin: OK @ 1200 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing mariadb ... Removing prometheus ... Removing prometheus ... done Removing policy-api ... done Removing policy-db-migrator ... done Removing grafana ... done Removing mariadb ... done Removing network compose_default ++ cd /w/workspace/policy-api-london-project-csit-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.uLRuKx6k2n ]] + rsync -av /tmp/tmp.uLRuKx6k2n/ /w/workspace/policy-api-london-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,346,209 bytes received 95 bytes 2,692,608.00 bytes/sec total size is 1,345,559 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 2087 killed; [ssh-agent] Stopped. Robot results publisher started... -Parsing output xml: Done! -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/jenkins5471878113054085961.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins6818229389121300815.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/jenkins7891277172377809315.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-gdYr from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-gdYr/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins15825797374128232834.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config9078281095429901501tmp 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/jenkins2048462160183449857.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins13604106786416921488.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-gdYr from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-gdYr/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins4713811024986408381.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins5430880272554545869.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-gdYr 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. virtualenv 20.24.6 requires platformdirs<4,>=3.9.1, but you have platformdirs 4.0.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-gdYr/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/jenkins16731780930497772965.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-gdYr from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-gdYr/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/179 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-75130 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 807 27384 0 3975 30904 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:cd:30:7c brd ff:ff:ff:ff:ff:ff inet 10.30.107.239/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86030sec preferred_lft 86030sec inet6 fe80::f816:3eff:fecd:307c/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:a6:23:73:47 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-75130) 11/14/23 _x86_64_ (8 CPU) 11:34:03 LINUX RESTART (8 CPU) 11:35:01 tps rtps wtps bread/s bwrtn/s 11:36:01 121.21 25.60 95.62 1988.74 29507.48 11:37:01 131.14 11.31 119.83 1758.35 33857.25 11:38:01 320.82 12.43 308.38 813.87 65513.38 11:39:01 14.70 0.00 14.70 0.00 16607.11 11:40:01 55.89 1.93 53.96 119.45 19323.31 Average: 128.74 10.25 118.49 936.08 32960.11 11:35:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:36:01 29999708 31801016 2939512 8.92 77608 2025552 1349816 3.97 775652 1860972 152020 11:37:01 28110988 31701876 4828232 14.66 111884 3714144 1436900 4.23 961020 3451900 1369136 11:38:01 26885112 30552268 6054108 18.38 125624 3734188 4620892 13.60 2191408 3412900 408 11:39:01 26883624 30544340 6055596 18.38 125756 3734696 4620892 13.60 2200696 3405160 36 11:40:01 28053204 31655752 4886016 14.83 129768 3708064 1479564 4.35 1125404 3336228 55788 Average: 27986527 31251050 4952693 15.04 114128 3383329 2701613 7.95 1450836 3093432 315478 11:35:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:36:01 ens3 55.72 37.11 1023.04 8.33 0.00 0.00 0.00 0.00 11:36:01 lo 0.73 0.73 0.08 0.08 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 310.18 195.75 9020.26 17.34 0.00 0.00 0.00 0.00 11:37:01 lo 9.40 9.40 0.87 0.87 0.00 0.00 0.00 0.00 11:37:01 br-b1a72ccb641c 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 ens3 5.78 4.75 1.36 1.26 0.00 0.00 0.00 0.00 11:38:01 vethb56bc10 72.55 60.67 28.15 71.16 0.00 0.00 0.00 0.01 11:38:01 lo 3.77 3.77 2.35 2.35 0.00 0.00 0.00 0.00 11:38:01 br-b1a72ccb641c 1.67 1.88 1.59 1.01 0.00 0.00 0.00 0.00 11:39:01 ens3 2.65 2.72 0.49 0.65 0.00 0.00 0.00 0.00 11:39:01 vethb56bc10 42.85 34.94 18.55 47.97 0.00 0.00 0.00 0.00 11:39:01 lo 8.73 8.73 6.09 6.09 0.00 0.00 0.00 0.00 11:39:01 br-b1a72ccb641c 2.38 2.63 4.36 1.54 0.00 0.00 0.00 0.00 11:40:01 ens3 69.87 49.78 127.00 26.10 0.00 0.00 0.00 0.00 11:40:01 lo 7.42 7.42 0.67 0.67 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 88.85 58.03 2034.66 10.74 0.00 0.00 0.00 0.00 Average: lo 6.01 6.01 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-75130) 11/14/23 _x86_64_ (8 CPU) 11:34:03 LINUX RESTART (8 CPU) 11:35:01 CPU %user %nice %system %iowait %steal %idle 11:36:01 all 9.44 0.00 0.77 3.52 0.03 86.23 11:36:01 0 3.81 0.00 0.52 18.05 0.02 77.61 11:36:01 1 18.51 0.00 1.17 0.85 0.02 79.46 11:36:01 2 5.91 0.00 0.62 0.03 0.02 93.42 11:36:01 3 19.30 0.00 1.48 2.85 0.03 76.33 11:36:01 4 1.25 0.00 0.25 0.45 0.02 98.03 11:36:01 5 0.13 0.00 0.32 3.39 0.05 96.10 11:36:01 6 0.34 0.00 0.08 0.05 0.00 99.53 11:36:01 7 26.26 0.00 1.70 2.51 0.03 69.50 11:37:01 all 11.52 0.00 3.27 2.80 0.06 82.35 11:37:01 0 4.44 0.00 2.09 10.40 0.03 83.04 11:37:01 1 14.67 0.00 2.88 0.40 0.05 81.99 11:37:01 2 9.02 0.00 3.03 0.10 0.05 87.79 11:37:01 3 10.96 0.00 2.83 1.28 0.07 84.86 11:37:01 4 26.68 0.00 5.00 4.85 0.08 63.39 11:37:01 5 9.66 0.00 3.84 1.01 0.07 85.43 11:37:01 6 9.82 0.00 4.13 4.16 0.08 81.80 11:37:01 7 6.91 0.00 2.38 0.20 0.07 90.44 11:38:01 all 20.01 0.00 2.95 5.55 0.08 71.41 11:38:01 0 16.18 0.00 2.55 3.19 0.07 78.01 11:38:01 1 23.20 0.00 4.28 3.28 0.10 69.14 11:38:01 2 23.07 0.00 2.54 0.25 0.07 74.07 11:38:01 3 21.90 0.00 2.11 12.80 0.07 63.13 11:38:01 4 19.22 0.00 3.34 18.48 0.08 58.87 11:38:01 5 21.85 0.00 3.33 3.11 0.07 71.65 11:38:01 6 12.81 0.00 1.98 1.66 0.05 83.50 11:38:01 7 22.03 0.00 3.54 1.67 0.08 72.67 11:39:01 all 2.02 0.00 0.16 1.04 0.02 96.76 11:39:01 0 1.20 0.00 0.10 0.02 0.02 98.67 11:39:01 1 2.68 0.00 0.22 0.03 0.02 97.05 11:39:01 2 2.62 0.00 0.08 0.00 0.00 97.30 11:39:01 3 2.42 0.00 0.27 8.27 0.05 88.99 11:39:01 4 1.94 0.00 0.17 0.00 0.03 97.86 11:39:01 5 0.75 0.00 0.10 0.00 0.02 99.13 11:39:01 6 3.41 0.00 0.25 0.00 0.02 96.32 11:39:01 7 1.17 0.00 0.13 0.02 0.00 98.68 11:40:01 all 7.92 0.00 0.73 1.58 0.03 89.74 11:40:01 0 3.22 0.00 0.55 0.07 0.02 96.14 11:40:01 1 16.90 0.00 1.17 0.68 0.03 81.21 11:40:01 2 12.54 0.00 0.55 0.27 0.03 86.61 11:40:01 3 13.07 0.00 0.83 10.27 0.05 75.78 11:40:01 4 8.42 0.00 0.73 0.84 0.03 89.98 11:40:01 5 1.47 0.00 0.63 0.37 0.02 97.51 11:40:01 6 6.47 0.00 0.85 0.05 0.03 92.60 11:40:01 7 1.24 0.00 0.52 0.13 0.02 98.10 Average: all 10.15 0.00 1.57 2.89 0.04 85.34 Average: 0 5.75 0.00 1.16 6.34 0.03 86.72 Average: 1 15.14 0.00 1.93 1.04 0.04 81.85 Average: 2 10.60 0.00 1.36 0.13 0.03 87.88 Average: 3 13.52 0.00 1.50 7.09 0.05 77.83 Average: 4 11.45 0.00 1.89 4.90 0.05 81.71 Average: 5 6.73 0.00 1.64 1.57 0.04 90.02 Average: 6 6.56 0.00 1.45 1.17 0.04 90.78 Average: 7 11.51 0.00 1.65 0.91 0.04 85.90