Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-1160 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-master-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-SO1SwlPvnmFr/agent.2128 SSH_AGENT_PID=2130 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-master-project-csit-api@tmp/private_key_6437237870250595337.key (/w/workspace/policy-api-master-project-csit-api@tmp/private_key_6437237870250595337.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-master-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/master^{commit} # timeout=10 Checking out Revision 0a32da8957faea5b96de55b540f594dc6bf9bfba (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0a32da8957faea5b96de55b540f594dc6bf9bfba # timeout=30 Commit message: "Set all cross references of policy/docker" > git rev-list --no-walk 0a32da8957faea5b96de55b540f594dc6bf9bfba # 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-master-project-csit-api] $ /bin/bash /tmp/jenkins7293185788862908787.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-fUU3 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-fUU3/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-fUU3/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.1.6 aspy.yaml==1.3.0 attrs==23.1.0 autopage==0.5.2 Babel==2.13.1 beautifulsoup4==4.12.2 boto3==1.29.3 botocore==1.32.3 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.4.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.7 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.2.2 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.40 google-auth==2.23.4 httplib2==0.22.0 identify==2.5.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.20.0 jsonschema-specifications==2023.11.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.31.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.13.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.3 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-master-project-csit-api] $ /bin/sh /tmp/jenkins16913983548477251553.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-master-project-csit-api] $ /bin/sh -xe /tmp/jenkins16101443035835039787.sh + /w/workspace/policy-api-master-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-master-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-master-project-csit-api/csit:/w/workspace/policy-api-master-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-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin + export SCRIPTS=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts + SCRIPTS=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts + export ROBOT_VARIABLES= + ROBOT_VARIABLES= + export PROJECT=api + PROJECT=api + cd /w/workspace/policy-api-master-project-csit-api + rm -rf /w/workspace/policy-api-master-project-csit-api/csit/archives/api + mkdir -p /w/workspace/policy-api-master-project-csit-api/csit/archives/api + source_safely /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' +++ mktemp -d ++ ROBOT_VENV=/tmp/tmp.tz3xxEUUtb ++ echo ROBOT_VENV=/tmp/tmp.tz3xxEUUtb +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.tz3xxEUUtb ++ source /tmp/tmp.tz3xxEUUtb/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.tz3xxEUUtb +++ 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-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin +++ PATH=/tmp/tmp.tz3xxEUUtb/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin +++ export PATH +++ '[' -n '' ']' +++ '[' -z '' ']' +++ _OLD_VIRTUAL_PS1= +++ '[' 'x(tmp.tz3xxEUUtb) ' '!=' x ']' +++ PS1='(tmp.tz3xxEUUtb) ' +++ 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-master-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.8.3 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.4 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==4.9.3 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.3.1 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.tz3xxEUUtb/src/onap ++ rm -rf /tmp/tmp.tz3xxEUUtb/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.8.3 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==0.18.3 idna==3.4 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==4.9.3 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.3.1 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.tz3xxEUUtb/bin/activate + '[' -z /tmp/tmp.tz3xxEUUtb/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.tz3xxEUUtb/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-master-project-csit-api/csit:/w/workspace/policy-api-master-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-master-project-csit-api/csit:/w/workspace/policy-api-master-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.tz3xxEUUtb ++ 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-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin ++ PATH=/tmp/tmp.tz3xxEUUtb/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin ++ export PATH ++ '[' -n '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1='(tmp.tz3xxEUUtb) ' ++ '[' 'x(tmp.tz3xxEUUtb) ' '!=' x ']' ++ PS1='(tmp.tz3xxEUUtb) (tmp.tz3xxEUUtb) ' ++ 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-master-project-csit-api/csit/resources/tests + TEST_PLAN_DIR=/w/workspace/policy-api-master-project-csit-api/csit/resources/tests + export TEST_OPTIONS= + TEST_OPTIONS= ++ mktemp -d + WORKDIR=/tmp/tmp.5xyoHmvoWD + cd /tmp/tmp.5xyoHmvoWD + 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-master-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-master-project-csit-api/.gitreview +++ GERRIT_BRANCH=master +++ echo GERRIT_BRANCH=master GERRIT_BRANCH=master +++ rm -rf /w/workspace/policy-api-master-project-csit-api/models +++ mkdir /w/workspace/policy-api-master-project-csit-api/models +++ git clone -b master --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-master-project-csit-api/models Cloning into '/w/workspace/policy-api-master-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-master-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-master-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-master-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-master-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-master-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:3.0.3-SNAPSHOT)... 3.0.3-SNAPSHOT: Pulling from onap/policy-db-migrator Digest: sha256:535b9fec1d4848bde53cf1c2d10e10228e438d5a3d19ff53070fe232da33e1ca Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.0.3-SNAPSHOT Pulling api (nexus3.onap.org:10001/onap/policy-api:3.0.3-SNAPSHOT)... 3.0.3-SNAPSHOT: Pulling from onap/policy-api Digest: sha256:8d92621d8c2db53e521c2d1638b6a3401be0e528ad514a311771ba2d2337d7ea Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.0.3-SNAPSHOT Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:b440bc0e8aa5bab44a782952c09516b6a50f9d7b2325c1ffafac7bc833298e2e Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... latest: Pulling from grafana/grafana Digest: sha256:be0359383ed7d8436c53760cf8ff3671043ee3e0169f363ef33ecb329102fe4c 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-master-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-master-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 prometheus Up 14 seconds mariadb Up 12 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds prometheus Up 19 seconds mariadb Up 17 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds prometheus Up 24 seconds mariadb Up 22 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds prometheus Up 29 seconds mariadb Up 27 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-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-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-master-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:23:24 up 4 min, 0 users, load average: 2.32, 1.04, 0.42 Tasks: 176 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.6 us, 1.8 sy, 0.0 ni, 83.3 id, 5.1 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.5G 25G 1.0M 4.0G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds prometheus Up 29 seconds mariadb Up 27 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 588440f3d433 policy-api 0.75% 486.2MiB / 31.41GiB 1.51% 999kB / 710kB 0B / 0B 54 d56fe6b6f704 grafana 0.03% 96.96MiB / 31.41GiB 0.30% 18.6kB / 3.23kB 0B / 23.4MB 16 f28203f9e9a4 prometheus 0.05% 19.11MiB / 31.41GiB 0.06% 1.31kB / 0B 229kB / 0B 13 4e93fe00d0d5 mariadb 0.02% 100.3MiB / 31.41GiB 0.31% 985kB / 1.18MB 11MB / 67.9MB 26 + echo + cd /tmp/tmp.5xyoHmvoWD + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + sed 's|^|/w/workspace/policy-api-master-project-csit-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-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-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-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-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-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-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ============================================================================== api ============================================================================== api.Api-Test ============================================================================== Healthcheck :: Verify policy api health check | 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 | 22 tests, 22 passed, 0 failed ============================================================================== api.Api-Slas ============================================================================== WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForHealthcheck :: Validate component healthche... | 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 | 9 tests, 9 passed, 0 failed ============================================================================== api | PASS | 31 tests, 31 passed, 0 failed ============================================================================== Output: /tmp/tmp.5xyoHmvoWD/output.xml Log: /tmp/tmp.5xyoHmvoWD/log.html Report: /tmp/tmp.5xyoHmvoWD/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-master-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute prometheus Up About a minute mariadb Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:24:35 up 5 min, 0 users, load average: 1.00, 0.92, 0.42 Tasks: 174 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.4 us, 1.5 sy, 0.0 ni, 85.9 id, 4.2 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.6G 25G 1.0M 4.0G 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 prometheus Up About a minute mariadb Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 588440f3d433 policy-api 0.12% 678.6MiB / 31.41GiB 2.11% 7MB / 2.55MB 0B / 0B 55 d56fe6b6f704 grafana 0.06% 97.34MiB / 31.41GiB 0.30% 19.7kB / 4.46kB 0B / 23.4MB 16 f28203f9e9a4 prometheus 0.00% 25.01MiB / 31.41GiB 0.08% 55.5kB / 6.6kB 229kB / 0B 13 4e93fe00d0d5 mariadb 0.02% 101.3MiB / 31.41GiB 0.31% 2.39MB / 7.04MB 11MB / 68.3MB 18 + echo + source_safely /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-api/compose ++ cd /w/workspace/policy-api-master-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, prometheus, mariadb grafana | logger=settings t=2023-11-18T11:22:56.062503921Z level=info msg="Starting Grafana" version=10.2.1 commit=533a733e4eda44041e43358c5a51203e9b42c9ea branch=HEAD compiled=2023-11-14T09:57:11Z grafana | logger=settings t=2023-11-18T11:22:56.062695495Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2023-11-18T11:22:56.062702435Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2023-11-18T11:22:56.062706175Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2023-11-18T11:22:56.062711385Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2023-11-18T11:22:56.062714835Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-18T11:22:56.062717905Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-18T11:22:56.062720915Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2023-11-18T11:22:56.062723915Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2023-11-18T11:22:56.062726915Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2023-11-18T11:22:56.062731915Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-18T11:22:56.062735275Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-18T11:22:56.062738335Z level=info msg=Target target=[all] grafana | logger=settings t=2023-11-18T11:22:56.062743245Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2023-11-18T11:22:56.062747065Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2023-11-18T11:22:56.062750815Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2023-11-18T11:22:56.062754145Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2023-11-18T11:22:56.062758145Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2023-11-18T11:22:56.062761716Z level=info msg="App mode production" grafana | logger=sqlstore t=2023-11-18T11:22:56.063004969Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2023-11-18T11:22:56.063021559Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2023-11-18T11:22:56.063574307Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2023-11-18T11:22:56.064444879Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2023-11-18T11:22:56.065190659Z level=info msg="Migration successfully executed" id="create migration_log table" duration=745.17µs grafana | logger=migrator t=2023-11-18T11:22:56.07159125Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2023-11-18T11:22:56.072245159Z level=info msg="Migration successfully executed" id="create user table" duration=653.979µs grafana | logger=migrator t=2023-11-18T11:22:56.078239043Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2023-11-18T11:22:56.079312017Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.072824ms grafana | logger=migrator t=2023-11-18T11:22:56.083312454Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2023-11-18T11:22:56.084369679Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.056685ms grafana | logger=migrator t=2023-11-18T11:22:56.088365096Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2023-11-18T11:22:56.089030575Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=664.819µs grafana | logger=migrator t=2023-11-18T11:22:56.095020199Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2023-11-18T11:22:56.095974062Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=953.433µs grafana | logger=migrator t=2023-11-18T11:22:56.100461275Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2023-11-18T11:22:56.10361107Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=3.149944ms grafana | logger=migrator t=2023-11-18T11:22:56.108140834Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2023-11-18T11:22:56.108864904Z level=info msg="Migration successfully executed" id="create user table v2" duration=724.2µs grafana | logger=migrator t=2023-11-18T11:22:56.115667549Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2023-11-18T11:22:56.11640977Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=742.051µs grafana | logger=migrator t=2023-11-18T11:22:56.119877119Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2023-11-18T11:22:56.121111675Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.234097ms grafana | logger=migrator t=2023-11-18T11:22:56.125112412Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2023-11-18T11:22:56.125761461Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=648.329µs grafana | logger=migrator t=2023-11-18T11:22:56.129617225Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2023-11-18T11:22:56.130169274Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=552.199µs grafana | logger=migrator t=2023-11-18T11:22:56.135935835Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2023-11-18T11:22:56.137715269Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.778344ms grafana | logger=migrator t=2023-11-18T11:22:56.141688886Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2023-11-18T11:22:56.141727566Z level=info msg="Migration successfully executed" id="Update user table charset" duration=40.721µs grafana | logger=migrator t=2023-11-18T11:22:56.14555304Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2023-11-18T11:22:56.146745677Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.191778ms grafana | logger=migrator t=2023-11-18T11:22:56.150168345Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2023-11-18T11:22:56.150459869Z level=info msg="Migration successfully executed" id="Add missing user data" duration=291.494µs grafana | logger=migrator t=2023-11-18T11:22:56.157026231Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2023-11-18T11:22:56.158941288Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.913627ms grafana | logger=migrator t=2023-11-18T11:22:56.163202467Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2023-11-18T11:22:56.164405345Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.204608ms grafana | logger=migrator t=2023-11-18T11:22:56.169059371Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2023-11-18T11:22:56.170911226Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.850385ms grafana | logger=migrator t=2023-11-18T11:22:56.176708198Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2023-11-18T11:22:56.186388514Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=9.679606ms grafana | logger=migrator t=2023-11-18T11:22:56.190065016Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2023-11-18T11:22:56.190623363Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=557.577µs grafana | logger=migrator t=2023-11-18T11:22:56.194084552Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2023-11-18T11:22:56.194645861Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=561.218µs grafana | logger=migrator t=2023-11-18T11:22:56.200463062Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2023-11-18T11:22:56.20173367Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.272348ms grafana | logger=migrator t=2023-11-18T11:22:56.205774957Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2023-11-18T11:22:56.207214647Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.43927ms grafana | logger=migrator t=2023-11-18T11:22:56.211627289Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2023-11-18T11:22:56.212874016Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.247527ms grafana | logger=migrator t=2023-11-18T11:22:56.21664097Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2023-11-18T11:22:56.21666621Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=26.24µs grafana | logger=migrator t=2023-11-18T11:22:56.222613704Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2023-11-18T11:22:56.223645498Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.031614ms grafana | logger=migrator t=2023-11-18T11:22:56.22734933Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2023-11-18T11:22:56.228430026Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.080476ms grafana | logger=migrator t=2023-11-18T11:22:56.232086387Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2023-11-18T11:22:56.232771016Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=684.609µs grafana | logger=migrator t=2023-11-18T11:22:56.238059921Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2023-11-18T11:22:56.239184507Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.122476ms grafana | logger=migrator t=2023-11-18T11:22:56.244114496Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-18T11:22:56.248452397Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=4.340301ms grafana | logger=migrator t=2023-11-18T11:22:56.252604025Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2023-11-18T11:22:56.253449318Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=844.513µs grafana | logger=migrator t=2023-11-18T11:22:56.259094797Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2023-11-18T11:22:56.259904278Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=807.971µs grafana | logger=migrator t=2023-11-18T11:22:56.263272865Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2023-11-18T11:22:56.264521523Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.248278ms grafana | logger=migrator t=2023-11-18T11:22:56.268851114Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2023-11-18T11:22:56.270047901Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.197567ms grafana | logger=migrator t=2023-11-18T11:22:56.276160007Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2023-11-18T11:22:56.276987568Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=830.531µs grafana | logger=migrator t=2023-11-18T11:22:56.280628149Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2023-11-18T11:22:56.28135443Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=725.311µs grafana | logger=migrator t=2023-11-18T11:22:56.28492945Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2023-11-18T11:22:56.285879753Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=949.123µs grafana | logger=migrator t=2023-11-18T11:22:56.292994284Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2023-11-18T11:22:56.29344892Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=454.236µs grafana | logger=migrator t=2023-11-18T11:22:56.297254573Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2023-11-18T11:22:56.298281448Z level=info msg="Migration successfully executed" id="create star table" duration=1.025605ms grafana | logger=migrator t=2023-11-18T11:22:56.301789227Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2023-11-18T11:22:56.303117646Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.328108ms grafana | logger=migrator t=2023-11-18T11:22:56.306894759Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2023-11-18T11:22:56.308093936Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.198187ms grafana | logger=migrator t=2023-11-18T11:22:56.315806884Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2023-11-18T11:22:56.316571485Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=764.811µs grafana | logger=migrator t=2023-11-18T11:22:56.320494641Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2023-11-18T11:22:56.321552915Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.057274ms grafana | logger=migrator t=2023-11-18T11:22:56.325642902Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2023-11-18T11:22:56.326983552Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.34041ms grafana | logger=migrator t=2023-11-18T11:22:56.377645984Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2023-11-18T11:22:56.379035203Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.388859ms grafana | logger=migrator t=2023-11-18T11:22:56.386888184Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2023-11-18T11:22:56.388159802Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.271058ms grafana | logger=migrator t=2023-11-18T11:22:56.392521613Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2023-11-18T11:22:56.392559044Z level=info msg="Migration successfully executed" id="Update org table charset" duration=38.921µs grafana | logger=migrator t=2023-11-18T11:22:56.396366908Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2023-11-18T11:22:56.396391218Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=25.03µs grafana | logger=migrator t=2023-11-18T11:22:56.399968958Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2023-11-18T11:22:56.400183131Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=213.533µs grafana | logger=migrator t=2023-11-18T11:22:56.406217426Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2023-11-18T11:22:56.407339652Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.121336ms grafana | logger=migrator t=2023-11-18T11:22:56.41146409Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2023-11-18T11:22:56.412979552Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.514742ms grafana | logger=migrator t=2023-11-18T11:22:56.416592052Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2023-11-18T11:22:56.417981151Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.391159ms grafana | logger=migrator t=2023-11-18T11:22:56.421900246Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2023-11-18T11:22:56.422604646Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=703.47µs grafana | logger=migrator t=2023-11-18T11:22:56.427219511Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2023-11-18T11:22:56.428200634Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=979.623µs grafana | logger=migrator t=2023-11-18T11:22:56.432542315Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2023-11-18T11:22:56.433743092Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.200547ms grafana | logger=migrator t=2023-11-18T11:22:56.437974992Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2023-11-18T11:22:56.444375041Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=6.400369ms grafana | logger=migrator t=2023-11-18T11:22:56.449465182Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2023-11-18T11:22:56.449957289Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=491.727µs grafana | logger=migrator t=2023-11-18T11:22:56.453691651Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2023-11-18T11:22:56.454650614Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=956.683µs grafana | logger=migrator t=2023-11-18T11:22:56.458997506Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2023-11-18T11:22:56.460165662Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.167346ms grafana | logger=migrator t=2023-11-18T11:22:56.465176102Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2023-11-18T11:22:56.465503656Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=327.554µs grafana | logger=migrator t=2023-11-18T11:22:56.469168889Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2023-11-18T11:22:56.47003067Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=861.021µs grafana | logger=migrator t=2023-11-18T11:22:56.474847068Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2023-11-18T11:22:56.474945009Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=98.961µs grafana | logger=migrator t=2023-11-18T11:22:56.479203988Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2023-11-18T11:22:56.481980367Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.775969ms grafana | logger=migrator t=2023-11-18T11:22:56.486723744Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2023-11-18T11:22:56.489462572Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.740058ms grafana | logger=migrator t=2023-11-18T11:22:56.493382587Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2023-11-18T11:22:56.495148252Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.765325ms grafana | logger=migrator t=2023-11-18T11:22:56.499710006Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2023-11-18T11:22:56.500926303Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.218897ms grafana | logger=migrator t=2023-11-18T11:22:56.504661675Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2023-11-18T11:22:56.507259731Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.598406ms grafana | logger=migrator t=2023-11-18T11:22:56.511493581Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2023-11-18T11:22:56.512448304Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=954.263µs grafana | logger=migrator t=2023-11-18T11:22:56.517307543Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2023-11-18T11:22:56.518086853Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=779.02µs grafana | logger=migrator t=2023-11-18T11:22:56.521988578Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2023-11-18T11:22:56.522013089Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=25.231µs grafana | logger=migrator t=2023-11-18T11:22:56.526090465Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2023-11-18T11:22:56.526133526Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=44.741µs grafana | logger=migrator t=2023-11-18T11:22:56.531540792Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2023-11-18T11:22:56.534762297Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.220735ms grafana | logger=migrator t=2023-11-18T11:22:56.540545227Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2023-11-18T11:22:56.542493515Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.945628ms grafana | logger=migrator t=2023-11-18T11:22:56.546653233Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2023-11-18T11:22:56.548833043Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.17879ms grafana | logger=migrator t=2023-11-18T11:22:56.554013596Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2023-11-18T11:22:56.556302508Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.288232ms grafana | logger=migrator t=2023-11-18T11:22:56.561581873Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2023-11-18T11:22:56.561778875Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=196.982µs grafana | logger=migrator t=2023-11-18T11:22:56.565126732Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2023-11-18T11:22:56.565923893Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=796.691µs grafana | logger=migrator t=2023-11-18T11:22:56.57143514Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2023-11-18T11:22:56.572286622Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=851.112µs grafana | logger=migrator t=2023-11-18T11:22:56.576636583Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2023-11-18T11:22:56.576665554Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=30.101µs grafana | logger=migrator t=2023-11-18T11:22:56.581197237Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2023-11-18T11:22:56.582598116Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.403609ms grafana | logger=migrator t=2023-11-18T11:22:56.586954568Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2023-11-18T11:22:56.588072453Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.117415ms grafana | logger=migrator t=2023-11-18T11:22:56.593174144Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-18T11:22:56.60138481Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=8.209236ms grafana | logger=migrator t=2023-11-18T11:22:56.60501505Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2023-11-18T11:22:56.605676749Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=661.759µs grafana | logger=migrator t=2023-11-18T11:22:56.609218479Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2023-11-18T11:22:56.61000007Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=781.481µs grafana | logger=migrator t=2023-11-18T11:22:56.614694496Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2023-11-18T11:22:56.615928753Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.233917ms grafana | logger=migrator t=2023-11-18T11:22:56.621050165Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2023-11-18T11:22:56.621501281Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=447.716µs grafana | logger=migrator t=2023-11-18T11:22:56.62497787Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2023-11-18T11:22:56.625816962Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=839.252µs grafana | logger=migrator t=2023-11-18T11:22:56.630305494Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2023-11-18T11:22:56.632391854Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.08755ms grafana | logger=migrator t=2023-11-18T11:22:56.635786351Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2023-11-18T11:22:56.636782515Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=991.824µs grafana | logger=migrator t=2023-11-18T11:22:56.640158803Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2023-11-18T11:22:56.640332335Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=173.252µs grafana | logger=migrator t=2023-11-18T11:22:56.644422412Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2023-11-18T11:22:56.644598574Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=176.532µs grafana | logger=migrator t=2023-11-18T11:22:56.648754603Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2023-11-18T11:22:56.650048611Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.293798ms grafana | logger=migrator t=2023-11-18T11:22:56.654309651Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2023-11-18T11:22:56.657678458Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.367907ms grafana | logger=migrator t=2023-11-18T11:22:56.661600092Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2023-11-18T11:22:56.662931521Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.331559ms grafana | logger=migrator t=2023-11-18T11:22:56.667342563Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2023-11-18T11:22:56.668113054Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=768.091µs grafana | logger=migrator t=2023-11-18T11:22:56.671934217Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2023-11-18T11:22:56.672665707Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=731.6µs grafana | logger=migrator t=2023-11-18T11:22:56.676284789Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2023-11-18T11:22:56.676965058Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=680.559µs grafana | logger=migrator t=2023-11-18T11:22:56.681611053Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2023-11-18T11:22:56.683156134Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.541772ms grafana | logger=migrator t=2023-11-18T11:22:56.687877131Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2023-11-18T11:22:56.696566023Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=8.689542ms grafana | logger=migrator t=2023-11-18T11:22:56.699795748Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2023-11-18T11:22:56.700389066Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=589.558µs grafana | logger=migrator t=2023-11-18T11:22:56.705407476Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2023-11-18T11:22:56.706005674Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=598.088µs grafana | logger=migrator t=2023-11-18T11:22:56.709705807Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2023-11-18T11:22:56.711288828Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.582451ms grafana | logger=migrator t=2023-11-18T11:22:56.717407294Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2023-11-18T11:22:56.718054633Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=646.839µs grafana | logger=migrator t=2023-11-18T11:22:56.722755659Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2023-11-18T11:22:56.72639791Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.64062ms grafana | logger=migrator t=2023-11-18T11:22:56.730559608Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2023-11-18T11:22:56.733626641Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=3.068023ms grafana | logger=migrator t=2023-11-18T11:22:56.739566304Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2023-11-18T11:22:56.739608525Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=42.611µs grafana | logger=migrator t=2023-11-18T11:22:56.742566666Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2023-11-18T11:22:56.742737329Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=170.862µs grafana | logger=migrator t=2023-11-18T11:22:56.831756555Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2023-11-18T11:22:56.833665102Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=1.912037ms grafana | logger=migrator t=2023-11-18T11:22:56.837166531Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2023-11-18T11:22:56.837374294Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=208.143µs grafana | logger=migrator t=2023-11-18T11:22:56.843321027Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2023-11-18T11:22:56.843641591Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=321.214µs grafana | logger=migrator t=2023-11-18T11:22:56.847699539Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2023-11-18T11:22:56.851824016Z level=info msg="Migration successfully executed" id="Add uid column" duration=4.124297ms grafana | logger=migrator t=2023-11-18T11:22:56.855345016Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2023-11-18T11:22:56.855534089Z level=info msg="Migration successfully executed" id="Update uid value" duration=189.603µs grafana | logger=migrator t=2023-11-18T11:22:56.859681926Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2023-11-18T11:22:56.860566948Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=889.492µs grafana | logger=migrator t=2023-11-18T11:22:56.866214877Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2023-11-18T11:22:56.867559497Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.34468ms grafana | logger=migrator t=2023-11-18T11:22:56.87214062Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2023-11-18T11:22:56.873442779Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.301739ms grafana | logger=migrator t=2023-11-18T11:22:56.877366903Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2023-11-18T11:22:56.878751023Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.38426ms grafana | logger=migrator t=2023-11-18T11:22:56.883682523Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2023-11-18T11:22:56.884498674Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=815.912µs grafana | logger=migrator t=2023-11-18T11:22:56.888133754Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2023-11-18T11:22:56.889152969Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.017765ms grafana | logger=migrator t=2023-11-18T11:22:56.894594145Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2023-11-18T11:22:56.895789172Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.195097ms grafana | logger=migrator t=2023-11-18T11:22:56.90136452Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2023-11-18T11:22:56.902154561Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=787.571µs grafana | logger=migrator t=2023-11-18T11:22:56.906137577Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" mariadb | 2023-11-18 11:22:57+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-18 11:22:57+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2023-11-18 11:22:57+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-18 11:22:57+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2023-11-18 11:22:57 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-18 11:22:57 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-18 11:22:57 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-18 11:22:59+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2023-11-18 11:22:59+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2023-11-18 11:22:59+00:00 [Note] [Entrypoint]: Waiting for server startup grafana | logger=migrator t=2023-11-18T11:22:56.907758589Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.621052ms grafana | logger=migrator t=2023-11-18T11:22:56.9163793Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2023-11-18T11:22:56.926293109Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=9.912609ms grafana | logger=migrator t=2023-11-18T11:22:56.92994095Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2023-11-18T11:22:56.930471937Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=530.807µs grafana | logger=migrator t=2023-11-18T11:22:56.933847745Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2023-11-18T11:22:56.934465854Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=619.788µs grafana | logger=migrator t=2023-11-18T11:22:56.941823466Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2023-11-18T11:22:56.94353698Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.717114ms grafana | logger=migrator t=2023-11-18T11:22:56.947891362Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2023-11-18T11:22:56.948709793Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=817.911µs grafana | logger=migrator t=2023-11-18T11:22:56.952192161Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2023-11-18T11:22:56.952493935Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=301.834µs grafana | logger=migrator t=2023-11-18T11:22:56.955938884Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2023-11-18T11:22:56.956782976Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=843.892µs grafana | logger=migrator t=2023-11-18T11:22:56.962748399Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2023-11-18T11:22:56.96278747Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=36.851µs grafana | logger=migrator t=2023-11-18T11:22:56.966599833Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2023-11-18T11:22:56.971029786Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.429462ms grafana | logger=migrator t=2023-11-18T11:22:56.974456793Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2023-11-18T11:22:56.976870817Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.413174ms grafana | logger=migrator t=2023-11-18T11:22:56.982284713Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2023-11-18T11:22:56.982436265Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=151.582µs grafana | logger=migrator t=2023-11-18T11:22:56.986236698Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2023-11-18T11:22:56.990373367Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=4.142949ms grafana | logger=migrator t=2023-11-18T11:22:56.993714163Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2023-11-18T11:22:56.99634515Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.634877ms grafana | logger=migrator t=2023-11-18T11:22:57.003222636Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2023-11-18T11:22:57.004272171Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=1.051305ms grafana | logger=migrator t=2023-11-18T11:22:57.007951072Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2023-11-18T11:22:57.008790854Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=839.192µs grafana | logger=migrator t=2023-11-18T11:22:57.012440915Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2023-11-18T11:22:57.014000247Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.556792ms grafana | logger=migrator t=2023-11-18T11:22:57.020773222Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2023-11-18T11:22:57.021552793Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=779.421µs grafana | logger=migrator t=2023-11-18T11:22:57.026064695Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2023-11-18T11:22:57.026862397Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=797.622µs grafana | logger=migrator t=2023-11-18T11:22:57.030502388Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2023-11-18T11:22:57.031650153Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.145875ms grafana | logger=migrator t=2023-11-18T11:22:57.037890751Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2023-11-18T11:22:57.037985923Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=96.142µs grafana | logger=migrator t=2023-11-18T11:22:57.04213156Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2023-11-18T11:22:57.042200661Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=76.361µs grafana | logger=migrator t=2023-11-18T11:22:57.046055746Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2023-11-18T11:22:57.049495893Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=3.442347ms grafana | logger=migrator t=2023-11-18T11:22:57.053132304Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2023-11-18T11:22:57.056497091Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=3.364857ms grafana | logger=migrator t=2023-11-18T11:22:57.061605552Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2023-11-18T11:22:57.061681494Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=74.951µs grafana | logger=migrator t=2023-11-18T11:22:57.064819157Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2023-11-18T11:22:57.065513198Z level=info msg="Migration successfully executed" id="create quota table v1" duration=692.141µs grafana | logger=migrator t=2023-11-18T11:22:57.068870555Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" mariadb | 2023-11-18 11:22:59 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 97 ... mariadb | 2023-11-18 11:22:59 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-11-18 11:22:59 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-11-18 11:22:59 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-11-18 11:22:59 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-11-18 11:22:59 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-18 11:22:59 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-18 11:22:59 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-11-18 11:22:59 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-11-18 11:22:59 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-11-18 11:22:59 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-11-18 11:22:59 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-11-18 11:22:59 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-11-18 11:22:59 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2023-11-18 11:22:59 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-11-18 11:22:59 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-11-18 11:22:59 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-18 11:22:59 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-18 11:22:59 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2023-11-18 11:23:00+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2023-11-18 11:23:02+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2023-11-18 11:23:02+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2023-11-18 11:23:02+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2023-11-18 11:23:02+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 policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb (172.17.0.2) 3306 port [tcp/mysql] succeeded! policy-db-migrator | 321 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 | Preparing upgrade release version: 1300 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 policy-db-migrator | upgrade: 0 -> 1300 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 | grafana | logger=migrator t=2023-11-18T11:22:57.069738996Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=868.131µs grafana | logger=migrator t=2023-11-18T11:22:57.079685246Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2023-11-18T11:22:57.079734547Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=50.481µs grafana | logger=migrator t=2023-11-18T11:22:57.083349377Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2023-11-18T11:22:57.084036206Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=686.559µs grafana | logger=migrator t=2023-11-18T11:22:57.086655583Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2023-11-18T11:22:57.087497784Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=842.041µs grafana | logger=migrator t=2023-11-18T11:22:57.090464676Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2023-11-18T11:22:57.093380337Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.915521ms grafana | logger=migrator t=2023-11-18T11:22:57.100314794Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2023-11-18T11:22:57.100337994Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=24.1µs grafana | logger=migrator t=2023-11-18T11:22:57.103231495Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2023-11-18T11:22:57.103968485Z level=info msg="Migration successfully executed" id="create session table" duration=739.37µs grafana | logger=migrator t=2023-11-18T11:22:57.107703448Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2023-11-18T11:22:57.10785522Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=154.182µs grafana | logger=migrator t=2023-11-18T11:22:57.113769552Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2023-11-18T11:22:57.113851053Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=80.721µs grafana | logger=migrator t=2023-11-18T11:22:57.11715794Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2023-11-18T11:22:57.117808829Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=650.559µs grafana | logger=migrator t=2023-11-18T11:22:57.129574573Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2023-11-18T11:22:57.130934042Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.364049ms grafana | logger=migrator t=2023-11-18T11:22:57.139163078Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2023-11-18T11:22:57.139188088Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=29.49µs grafana | logger=migrator t=2023-11-18T11:22:57.142878819Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2023-11-18T11:22:57.1429018Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=24.231µs grafana | logger=migrator t=2023-11-18T11:22:57.145241782Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2023-11-18T11:22:57.148452587Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=3.208935ms grafana | logger=migrator t=2023-11-18T11:22:57.154096466Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2023-11-18T11:22:57.15724268Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.145644ms grafana | logger=migrator t=2023-11-18T11:22:57.16013647Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2023-11-18T11:22:57.160216661Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=80.571µs grafana | logger=migrator t=2023-11-18T11:22:57.163424756Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2023-11-18T11:22:57.163529819Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=107.523µs grafana | logger=migrator t=2023-11-18T11:22:57.170976552Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2023-11-18T11:22:57.17223204Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.256248ms grafana | logger=migrator t=2023-11-18T11:22:57.179073656Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2023-11-18T11:22:57.179101186Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=28.42µs grafana | logger=migrator t=2023-11-18T11:22:57.182303061Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2023-11-18T11:22:57.185745858Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.442158ms grafana | logger=migrator t=2023-11-18T11:22:57.190448955Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2023-11-18T11:22:57.190655557Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=205.962µs grafana | logger=migrator t=2023-11-18T11:22:57.241933155Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2023-11-18T11:22:57.247027646Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=5.099231ms grafana | logger=migrator t=2023-11-18T11:22:57.252207438Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2023-11-18T11:22:57.258678569Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=6.46995ms grafana | logger=migrator t=2023-11-18T11:22:57.266372836Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2023-11-18T11:22:57.266435047Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=62.951µs grafana | logger=migrator t=2023-11-18T11:22:57.272833098Z level=info msg="Executing migration" id="Add preferences index org_id" 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 | -------------- grafana | logger=migrator t=2023-11-18T11:22:57.275368102Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=2.534054ms grafana | logger=migrator t=2023-11-18T11:22:57.28163455Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2023-11-18T11:22:57.282424951Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=801.061µs grafana | logger=migrator t=2023-11-18T11:22:57.286011601Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2023-11-18T11:22:57.288844741Z level=info msg="Migration successfully executed" id="create alert table v1" duration=2.8338ms grafana | logger=migrator t=2023-11-18T11:22:57.294078254Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2023-11-18T11:22:57.295006637Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=928.673µs grafana | logger=migrator t=2023-11-18T11:22:57.298635278Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2023-11-18T11:22:57.299220546Z level=info msg="Migration successfully executed" id="add index alert state" duration=585.228µs grafana | logger=migrator t=2023-11-18T11:22:57.304760553Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2023-11-18T11:22:57.305563674Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=803.031µs grafana | logger=migrator t=2023-11-18T11:22:57.310087068Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2023-11-18T11:22:57.310677766Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=590.598µs grafana | logger=migrator t=2023-11-18T11:22:57.313930022Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2023-11-18T11:22:57.314786744Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=856.392µs grafana | logger=migrator t=2023-11-18T11:22:57.317718385Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2023-11-18T11:22:57.318454295Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=736.94µs grafana | logger=migrator t=2023-11-18T11:22:57.323402545Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2023-11-18T11:22:57.338491275Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=15.08792ms grafana | logger=migrator t=2023-11-18T11:22:57.342014614Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2023-11-18T11:22:57.342689084Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=674.039µs grafana | logger=migrator t=2023-11-18T11:22:57.347892536Z 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-18T11:22:57.34879282Z 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=899.894µs grafana | logger=migrator t=2023-11-18T11:22:57.35167832Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2023-11-18T11:22:57.351972604Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=294.294µs grafana | logger=migrator t=2023-11-18T11:22:57.354888725Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2023-11-18T11:22:57.355375291Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=488.896µs grafana | logger=migrator t=2023-11-18T11:22:57.357665204Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2023-11-18T11:22:57.358410594Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=745.1µs grafana | logger=migrator t=2023-11-18T11:22:57.363339423Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2023-11-18T11:22:57.367106185Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.767842ms grafana | logger=migrator t=2023-11-18T11:22:57.370857389Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2023-11-18T11:22:57.376306834Z level=info msg="Migration successfully executed" id="Add column frequency" duration=5.445405ms grafana | logger=migrator t=2023-11-18T11:22:57.380232409Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2023-11-18T11:22:57.384012332Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.779643ms grafana | logger=migrator t=2023-11-18T11:22:57.389757892Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2023-11-18T11:22:57.393624397Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.865505ms grafana | logger=migrator t=2023-11-18T11:22:57.397212417Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2023-11-18T11:22:57.398405163Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.195296ms grafana | logger=migrator t=2023-11-18T11:22:57.401807571Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2023-11-18T11:22:57.401840642Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=32.691µs grafana | logger=migrator t=2023-11-18T11:22:57.407798035Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2023-11-18T11:22:57.407831075Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=34.63µs grafana | logger=migrator t=2023-11-18T11:22:57.411327244Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2023-11-18T11:22:57.412179486Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=853.101µs grafana | logger=migrator t=2023-11-18T11:22:57.416452026Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-11-18T11:22:57.417140035Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=687.669µs grafana | logger=migrator t=2023-11-18T11:22:57.423344432Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2023-11-18T11:22:57.424555509Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.211927ms grafana | logger=migrator t=2023-11-18T11:22:57.428552195Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2023-11-18T11:22:57.429727952Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.174437ms grafana | logger=migrator t=2023-11-18T11:22:57.433549435Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-11-18T11:22:57.43467363Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.124645ms grafana | logger=migrator t=2023-11-18T11:22:57.440655594Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2023-11-18T11:22:57.445291059Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=4.635305ms grafana | logger=migrator t=2023-11-18T11:22:57.449593849Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2023-11-18T11:22:57.455170878Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=5.575339ms grafana | logger=migrator t=2023-11-18T11:22:57.458642616Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2023-11-18T11:22:57.45891438Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=272.873µs grafana | logger=migrator t=2023-11-18T11:22:57.464514238Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2023-11-18T11:22:57.46536272Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=852.092µs grafana | logger=migrator t=2023-11-18T11:22:57.470112946Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2023-11-18T11:22:57.471355193Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.245217ms grafana | logger=migrator t=2023-11-18T11:22:57.474386605Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2023-11-18T11:22:57.477545161Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.160796ms grafana | logger=migrator t=2023-11-18T11:22:57.483440013Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2023-11-18T11:22:57.483533724Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=94.261µs grafana | logger=migrator t=2023-11-18T11:22:57.494326545Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2023-11-18T11:22:57.495944547Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.620522ms grafana | logger=migrator t=2023-11-18T11:22:57.500694204Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2023-11-18T11:22:57.501382084Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=688.49µs grafana | logger=migrator t=2023-11-18T11:22:57.511358153Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2023-11-18T11:22:57.511487365Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=130.532µs grafana | logger=migrator t=2023-11-18T11:22:57.515487751Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2023-11-18T11:22:57.516646538Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.158686ms grafana | logger=migrator t=2023-11-18T11:22:57.520009284Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2023-11-18T11:22:57.521476414Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.46667ms grafana | logger=migrator t=2023-11-18T11:22:57.52616319Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2023-11-18T11:22:57.527075343Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=911.883µs grafana | logger=migrator t=2023-11-18T11:22:57.532083643Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2023-11-18T11:22:57.53329215Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.203037ms grafana | logger=migrator t=2023-11-18T11:22:57.541341912Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2023-11-18T11:22:57.542772102Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.42941ms grafana | logger=migrator t=2023-11-18T11:22:57.548503333Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2023-11-18T11:22:57.549984943Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.48119ms grafana | logger=migrator t=2023-11-18T11:22:57.554807641Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2023-11-18T11:22:57.554843841Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=37.331µs grafana | logger=migrator t=2023-11-18T11:22:57.559812091Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2023-11-18T11:22:57.563729485Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=3.917024ms grafana | logger=migrator t=2023-11-18T11:22:57.570914026Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2023-11-18T11:22:57.57190329Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=989.964µs grafana | logger=migrator t=2023-11-18T11:22:57.575856046Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2023-11-18T11:22:57.580886716Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=5.02994ms grafana | logger=migrator t=2023-11-18T11:22:57.585250747Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2023-11-18T11:22:57.585912416Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=661.449µs grafana | logger=migrator t=2023-11-18T11:22:57.591647786Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2023-11-18T11:22:57.592475278Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=827.062µs grafana | logger=migrator t=2023-11-18T11:22:57.597538188Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2023-11-18T11:22:57.598785526Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.247488ms grafana | logger=migrator t=2023-11-18T11:22:57.607034791Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2023-11-18T11:22:57.678330359Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=71.276557ms grafana | logger=migrator t=2023-11-18T11:22:57.682359535Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2023-11-18T11:22:57.683632213Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=1.272328ms grafana | logger=migrator t=2023-11-18T11:22:57.692394185Z 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-18T11:22:57.693924277Z level=info msg="Migration successfully executed" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" duration=1.525492ms grafana | logger=migrator t=2023-11-18T11:22:57.698888586Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2023-11-18T11:22:57.699310162Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=421.516µs grafana | logger=migrator t=2023-11-18T11:22:57.703753244Z level=info msg="Executing migration" id="drop table annotation_tag_v2" 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 | grafana | logger=migrator t=2023-11-18T11:22:57.704594296Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=841.082µs grafana | logger=migrator t=2023-11-18T11:22:57.7120895Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2023-11-18T11:22:57.712356194Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=267.144µs grafana | logger=migrator t=2023-11-18T11:22:57.71709652Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2023-11-18T11:22:57.723747423Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.650163ms grafana | logger=migrator t=2023-11-18T11:22:57.727897862Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2023-11-18T11:22:57.732042439Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.144317ms grafana | logger=migrator t=2023-11-18T11:22:57.738546441Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2023-11-18T11:22:57.739382312Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=835.371µs grafana | logger=migrator t=2023-11-18T11:22:57.74631579Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2023-11-18T11:22:57.747691749Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.371598ms grafana | logger=migrator t=2023-11-18T11:22:57.753570831Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2023-11-18T11:22:57.753922125Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=351.514µs grafana | logger=migrator t=2023-11-18T11:22:57.758939646Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2023-11-18T11:22:57.765427076Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.4877ms grafana | logger=migrator t=2023-11-18T11:22:57.770304125Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2023-11-18T11:22:57.771175507Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=870.722µs grafana | logger=migrator t=2023-11-18T11:22:57.777119261Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2023-11-18T11:22:57.777278573Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=159.492µs grafana | logger=migrator t=2023-11-18T11:22:57.782524565Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2023-11-18T11:22:57.783092014Z level=info msg="Migration successfully executed" id="Move region to single row" duration=567.389µs grafana | logger=migrator t=2023-11-18T11:22:57.789390932Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2023-11-18T11:22:57.79070499Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.313968ms grafana | logger=migrator t=2023-11-18T11:22:57.795020981Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2023-11-18T11:22:57.796164146Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.144785ms grafana | logger=migrator t=2023-11-18T11:22:57.801076945Z 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-18T11:22:57.802774399Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.696324ms grafana | logger=migrator t=2023-11-18T11:22:57.809756537Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-11-18T11:22:57.811482951Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.725435ms grafana | logger=migrator t=2023-11-18T11:22:57.814885188Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2023-11-18T11:22:57.816123385Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.238097ms grafana | logger=migrator t=2023-11-18T11:22:57.821956448Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2023-11-18T11:22:57.822900941Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=941.553µs grafana | logger=migrator t=2023-11-18T11:22:57.828205095Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2023-11-18T11:22:57.828338367Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=134.281µs grafana | logger=migrator t=2023-11-18T11:22:57.832815179Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2023-11-18T11:22:57.834172048Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.358069ms grafana | logger=migrator t=2023-11-18T11:22:57.839465572Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2023-11-18T11:22:57.841004393Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.538411ms grafana | logger=migrator t=2023-11-18T11:22:57.849305529Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2023-11-18T11:22:57.850165552Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=856.623µs grafana | logger=migrator t=2023-11-18T11:22:57.85358067Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2023-11-18T11:22:57.854981229Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.399679ms grafana | logger=migrator t=2023-11-18T11:22:57.861917706Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2023-11-18T11:22:57.862505994Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=591.768µs grafana | logger=migrator t=2023-11-18T11:22:57.868764842Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2023-11-18T11:22:57.869213928Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=449.406µs grafana | logger=migrator t=2023-11-18T11:22:57.87865117Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2023-11-18T11:22:57.878801152Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=150.942µs grafana | logger=migrator t=2023-11-18T11:22:57.886874885Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2023-11-18T11:22:57.88794973Z level=info msg="Migration successfully executed" id="create team table" duration=1.073185ms grafana | logger=migrator t=2023-11-18T11:22:57.892587155Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2023-11-18T11:22:57.894006745Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.41935ms grafana | logger=migrator t=2023-11-18T11:22:57.897929Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2023-11-18T11:22:57.900354584Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=2.425214ms grafana | logger=migrator t=2023-11-18T11:22:57.906783904Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2023-11-18T11:22:57.91222886Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=5.445526ms grafana | logger=migrator t=2023-11-18T11:22:57.917277391Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2023-11-18T11:22:57.917458313Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=181.382µs grafana | logger=migrator t=2023-11-18T11:22:57.92153687Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2023-11-18T11:22:57.922533533Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=995.953µs grafana | logger=migrator t=2023-11-18T11:22:57.929148527Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2023-11-18T11:22:57.930994252Z level=info msg="Migration successfully executed" id="create team member table" duration=1.845625ms grafana | logger=migrator t=2023-11-18T11:22:57.9372755Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2023-11-18T11:22:57.938261774Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=986.564µs grafana | logger=migrator t=2023-11-18T11:22:57.945263512Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2023-11-18T11:22:57.946237946Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=973.853µs grafana | logger=migrator t=2023-11-18T11:22:57.954236408Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2023-11-18T11:22:57.956299647Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=2.062679ms grafana | logger=migrator t=2023-11-18T11:22:57.962454193Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2023-11-18T11:22:57.968792961Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=6.338588ms grafana | logger=migrator t=2023-11-18T11:22:57.973632849Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2023-11-18T11:22:57.978564397Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.931548ms grafana | logger=migrator t=2023-11-18T11:22:57.983677769Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2023-11-18T11:22:57.98947105Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=5.792951ms grafana | logger=migrator t=2023-11-18T11:22:57.995032388Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2023-11-18T11:22:57.99589683Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=863.702µs grafana | logger=migrator t=2023-11-18T11:22:57.999799055Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2023-11-18T11:22:58.000760558Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=961.163µs grafana | logger=migrator t=2023-11-18T11:22:58.018259416Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2023-11-18T11:22:58.019981606Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.72477ms grafana | logger=migrator t=2023-11-18T11:22:58.041774927Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2023-11-18T11:22:58.043304706Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.529149ms grafana | logger=migrator t=2023-11-18T11:22:58.055378065Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2023-11-18T11:22:58.056780912Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.400197ms grafana | logger=migrator t=2023-11-18T11:22:58.061927836Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2023-11-18T11:22:58.063339624Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.410638ms grafana | logger=migrator t=2023-11-18T11:22:58.074886425Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2023-11-18T11:22:58.075603484Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=718.569µs grafana | logger=migrator t=2023-11-18T11:22:58.080822498Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2023-11-18T11:22:58.081476236Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=653.378µs grafana | logger=migrator t=2023-11-18T11:22:58.087029254Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2023-11-18T11:22:58.08748297Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=454.066µs grafana | logger=migrator t=2023-11-18T11:22:58.097091868Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2023-11-18T11:22:58.097451872Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=360.194µs grafana | logger=migrator t=2023-11-18T11:22:58.103295644Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2023-11-18T11:22:58.10461398Z level=info msg="Migration successfully executed" id="create tag table" duration=1.317576ms grafana | logger=migrator t=2023-11-18T11:22:58.108775001Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2023-11-18T11:22:58.11030557Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.529759ms grafana | logger=migrator t=2023-11-18T11:22:58.117998784Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2023-11-18T11:22:58.118674492Z level=info msg="Migration successfully executed" id="create login attempt table" duration=678.178µs grafana | logger=migrator t=2023-11-18T11:22:58.123854256Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2023-11-18T11:22:58.125281784Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.426848ms 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-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.2:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.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 :: (v3.1.4) policy-api | policy-api | [2023-11-18T11:23:11.439+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 22 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2023-11-18T11:23:11.440+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2023-11-18T11:23:13.075+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2023-11-18T11:23:13.158+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 73 ms. Found 6 JPA repository interfaces. policy-api | [2023-11-18T11:23:13.578+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2023-11-18T11:23:13.579+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2023-11-18T11:23:14.216+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2023-11-18T11:23:14.228+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-18T11:23:14.232+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2023-11-18T11:23:14.232+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] policy-api | [2023-11-18T11:23:14.326+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2023-11-18T11:23:14.327+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2813 ms policy-api | [2023-11-18T11:23:14.758+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2023-11-18T11:23:14.833+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-api | [2023-11-18T11:23:14.836+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-api | [2023-11-18T11:23:14.881+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2023-11-18T11:23:15.260+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-api | [2023-11-18T11:23:15.281+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2023-11-18T11:23:15.381+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@2620e717 policy-api | [2023-11-18T11:23:15.384+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2023-11-18T11:23:15.411+00:00|WARN|deprecation|main] HHH90000025: MariaDB103Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) policy-api | [2023-11-18T11:23:15.412+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead policy-api | [2023-11-18T11:23:17.183+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-api | [2023-11-18T11:23:17.187+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2023-11-18T11:23:18.460+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2023-11-18T11:23:19.207+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2023-11-18T11:23:20.300+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-18T11:23:20.475+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@63f95ac1, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@14a7e16e, org.springframework.security.web.context.SecurityContextHolderFilter@6e04275e, org.springframework.security.web.header.HeaderWriterFilter@2986e26f, org.springframework.security.web.authentication.logout.LogoutFilter@c9f1951, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@13e6b26c, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@453ef145, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@3edd135d, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@59171a5d, org.springframework.security.web.access.ExceptionTranslationFilter@19a7e618, org.springframework.security.web.access.intercept.AuthorizationFilter@d181ca3] policy-api | [2023-11-18T11:23:21.334+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2023-11-18T11:23:21.394+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-18T11:23:21.419+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2023-11-18T11:23:21.437+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.763 seconds (process running for 11.37) policy-api | [2023-11-18T11:23:27.478+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2023-11-18T11:23:27.478+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2023-11-18T11:23:27.480+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms policy-api | [2023-11-18T11:23:30.241+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2023-11-18T11:23:30.370+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes policy-api | [2023-11-18T11:23:30.609+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2023-11-18T11:23:31.719+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2023-11-18T11:23:33.612+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2023-11-18T11:23:33.919+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2023-11-18T11:23:34.142+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2023-11-18T11:23:34.377+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2023-11-18T11:23:34.605+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2023-11-18T11:23:34.860+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-18T11:22:58.136556603Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2023-11-18T11:22:58.13799874Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.441617ms grafana | logger=migrator t=2023-11-18T11:22:58.160022541Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-18T11:22:58.181307383Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=21.285401ms grafana | logger=migrator t=2023-11-18T11:22:58.19003705Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2023-11-18T11:22:58.191286704Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=1.248964ms grafana | logger=migrator t=2023-11-18T11:22:58.19821115Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2023-11-18T11:22:58.199748278Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.536808ms grafana | logger=migrator t=2023-11-18T11:22:58.209539159Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2023-11-18T11:22:58.209818532Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=277.733µs grafana | logger=migrator t=2023-11-18T11:22:58.21619596Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2023-11-18T11:22:58.217563288Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.371048ms grafana | logger=migrator t=2023-11-18T11:22:58.224729355Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2023-11-18T11:22:58.226018061Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.288056ms grafana | logger=migrator t=2023-11-18T11:22:58.234943081Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2023-11-18T11:22:58.237541693Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=2.599782ms grafana | logger=migrator t=2023-11-18T11:22:58.247991271Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2023-11-18T11:22:58.248103473Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=116.992µs grafana | logger=migrator t=2023-11-18T11:22:58.254931726Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2023-11-18T11:22:58.261122192Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=6.191236ms grafana | logger=migrator t=2023-11-18T11:22:58.265682298Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2023-11-18T11:22:58.270786081Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.103263ms grafana | logger=migrator t=2023-11-18T11:22:58.276329289Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2023-11-18T11:22:58.281328371Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=4.998872ms grafana | logger=migrator t=2023-11-18T11:22:58.287597738Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2023-11-18T11:22:58.292593709Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=4.995771ms grafana | logger=migrator t=2023-11-18T11:22:58.3000647Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2023-11-18T11:22:58.301139644Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.077634ms grafana | logger=migrator t=2023-11-18T11:22:58.309344945Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2023-11-18T11:22:58.314852272Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.506787ms grafana | logger=migrator t=2023-11-18T11:22:58.321069189Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2023-11-18T11:22:58.321787008Z level=info msg="Migration successfully executed" id="create server_lock table" duration=717.529µs grafana | logger=migrator t=2023-11-18T11:22:58.327476377Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2023-11-18T11:22:58.329023147Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.54256ms grafana | logger=migrator t=2023-11-18T11:22:58.336328456Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2023-11-18T11:22:58.33738837Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.135475ms grafana | logger=migrator t=2023-11-18T11:22:58.343173581Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2023-11-18T11:22:58.344304604Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.132834ms grafana | logger=migrator t=2023-11-18T11:22:58.350252157Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2023-11-18T11:22:58.351347021Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.094354ms grafana | logger=migrator t=2023-11-18T11:22:58.356146559Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2023-11-18T11:22:58.357698709Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.5513ms grafana | logger=migrator t=2023-11-18T11:22:58.364697674Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2023-11-18T11:22:58.370345693Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.647729ms grafana | logger=migrator t=2023-11-18T11:22:58.37493774Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2023-11-18T11:22:58.375893122Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=954.012µs grafana | logger=migrator t=2023-11-18T11:22:58.382567114Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2023-11-18T11:22:58.383746638Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.178704ms grafana | logger=migrator t=2023-11-18T11:22:58.39205975Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2023-11-18T11:22:58.39365686Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.59553ms grafana | logger=migrator t=2023-11-18T11:22:58.400786537Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2023-11-18T11:22:58.40178957Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.002893ms grafana | logger=migrator t=2023-11-18T11:22:58.407373479Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2023-11-18T11:22:58.408512922Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.138453ms grafana | logger=migrator t=2023-11-18T11:22:58.454635048Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2023-11-18T11:22:58.454717109Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=83.771µs grafana | logger=migrator t=2023-11-18T11:22:58.462177271Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2023-11-18T11:22:58.462262692Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=86.431µs grafana | logger=migrator t=2023-11-18T11:22:58.469621103Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2023-11-18T11:22:58.470634145Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.012372ms grafana | logger=migrator t=2023-11-18T11:22:58.477648982Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-18T11:22:58.478987068Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.337596ms grafana | logger=migrator t=2023-11-18T11:22:58.484548606Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-18T11:22:58.486633242Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=2.084626ms grafana | logger=migrator t=2023-11-18T11:22:58.492653026Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-18T11:22:58.492843648Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=198.582µs grafana | logger=migrator t=2023-11-18T11:22:58.499365878Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-18T11:22:58.500433432Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.067424ms grafana | logger=migrator t=2023-11-18T11:22:58.507552909Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-18T11:22:58.509116178Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.562579ms grafana | logger=migrator t=2023-11-18T11:22:58.514757967Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-18T11:22:58.515976692Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.218185ms grafana | logger=migrator t=2023-11-18T11:22:58.522095667Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-18T11:22:58.523260382Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.165395ms grafana | logger=migrator t=2023-11-18T11:22:58.535487252Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2023-11-18T11:22:58.542944823Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=7.456831ms grafana | logger=migrator t=2023-11-18T11:22:58.548776425Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2023-11-18T11:22:58.549878828Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.102403ms grafana | logger=migrator t=2023-11-18T11:22:58.555946473Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2023-11-18T11:22:58.556027544Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=81.731µs grafana | logger=migrator t=2023-11-18T11:22:58.563222322Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2023-11-18T11:22:58.56467438Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.451958ms grafana | logger=migrator t=2023-11-18T11:22:58.570040396Z 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-18T11:22:58.571077909Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.037283ms grafana | logger=migrator t=2023-11-18T11:22:58.580311112Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" 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-18 11:23:02+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2023-11-18 11:23:02 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2023-11-18 11:23:02 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2023-11-18 11:23:02 0 [Note] InnoDB: Starting shutdown... mariadb | 2023-11-18 11:23:02 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2023-11-18 11:23:02 0 [Note] InnoDB: Buffer pool(s) dump completed at 231118 11:23:02 mariadb | 2023-11-18 11:23:03 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2023-11-18 11:23:03 0 [Note] InnoDB: Shutdown completed; log sequence number 339562; transaction id 298 mariadb | 2023-11-18 11:23:03 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2023-11-18 11:23:03+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2023-11-18 11:23:03+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2023-11-18 11:23:03 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2023-11-18 11:23:03 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-11-18 11:23:03 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-11-18 11:23:03 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-11-18 11:23:03 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-11-18 11:23:03 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-18 11:23:03 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-18 11:23:03 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-11-18 11:23:03 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-11-18 11:23:03 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-11-18 11:23:03 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-11-18 11:23:03 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-11-18 11:23:03 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-11-18 11:23:03 0 [Note] InnoDB: log sequence number 339562; transaction id 299 mariadb | 2023-11-18 11:23:03 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-11-18 11:23:03 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2023-11-18 11:23:03 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-11-18 11:23:03 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2023-11-18 11:23:03 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2023-11-18 11:23:03 0 [Note] Server socket created on IP: '::'. mariadb | 2023-11-18 11:23:03 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-18 11:23:03 0 [Note] InnoDB: Buffer pool(s) load completed at 231118 11:23:03 mariadb | 2023-11-18 11:23:04 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) grafana | logger=migrator t=2023-11-18T11:22:58.583148317Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=2.835095ms grafana | logger=migrator t=2023-11-18T11:22:58.589992851Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-18T11:22:58.590060292Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=67.901µs grafana | logger=migrator t=2023-11-18T11:22:58.597322451Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2023-11-18T11:22:58.599060452Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.737501ms grafana | logger=migrator t=2023-11-18T11:22:58.604862584Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2023-11-18T11:22:58.606728407Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.866083ms grafana | logger=migrator t=2023-11-18T11:22:58.61266444Z 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-18T11:22:58.61436182Z 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.707401ms grafana | logger=migrator t=2023-11-18T11:22:58.621332236Z 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-18T11:22:58.622696252Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.363356ms grafana | logger=migrator t=2023-11-18T11:22:58.629651228Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2023-11-18T11:22:58.639294457Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=9.642488ms grafana | logger=migrator t=2023-11-18T11:22:58.64525142Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" mariadb | 2023-11-18 11:23:04 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-18T11:22:58.64608592Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=833.901µs grafana | logger=migrator t=2023-11-18T11:22:58.65340675Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-11-18T11:22:58.654516844Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.109494ms grafana | logger=migrator t=2023-11-18T11:22:58.660612969Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2023-11-18T11:22:58.699121212Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=38.508983ms grafana | logger=migrator t=2023-11-18T11:22:58.704332156Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2023-11-18T11:22:58.7364683Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=32.135564ms grafana | logger=migrator t=2023-11-18T11:22:58.74301523Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2023-11-18T11:22:58.743702919Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=687.279µs grafana | logger=migrator t=2023-11-18T11:22:58.749164886Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-11-18T11:22:58.7511635Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.997324ms grafana | logger=migrator t=2023-11-18T11:22:58.757262235Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2023-11-18T11:22:58.764948429Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=7.687104ms grafana | logger=migrator t=2023-11-18T11:22:58.772586883Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2023-11-18T11:22:58.773446584Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=859.351µs grafana | logger=migrator t=2023-11-18T11:22:58.780340999Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2023-11-18T11:22:58.781999999Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.632209ms grafana | logger=migrator t=2023-11-18T11:22:58.786082319Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2023-11-18T11:22:58.787907441Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.824832ms grafana | logger=migrator t=2023-11-18T11:22:58.796323395Z 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-18T11:22:58.797612701Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.286726ms grafana | logger=migrator t=2023-11-18T11:22:58.801347797Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-18T11:22:58.801450338Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=103.131µs grafana | logger=migrator t=2023-11-18T11:22:58.810046443Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2023-11-18T11:22:58.819618622Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=9.573009ms grafana | logger=migrator t=2023-11-18T11:22:58.864516533Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2023-11-18T11:22:58.873171039Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=8.655696ms grafana | logger=migrator t=2023-11-18T11:22:58.879320314Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2023-11-18T11:22:58.885151546Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.830802ms grafana | logger=migrator t=2023-11-18T11:22:58.890499402Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2023-11-18T11:22:58.892356425Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.860574ms grafana | logger=migrator t=2023-11-18T11:22:58.89853861Z 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-18T11:22:58.899589333Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.050393ms grafana | logger=migrator t=2023-11-18T11:22:58.905844769Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2023-11-18T11:22:58.915349337Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=9.502018ms grafana | logger=migrator t=2023-11-18T11:22:58.920826574Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2023-11-18T11:22:58.925195837Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=4.366793ms grafana | logger=migrator t=2023-11-18T11:22:58.933478989Z 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-18T11:22:58.935350392Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.872023ms grafana | logger=migrator t=2023-11-18T11:22:58.94084407Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2023-11-18T11:22:58.944985931Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=4.141981ms grafana | logger=migrator t=2023-11-18T11:22:58.951592572Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2023-11-18T11:22:58.960107617Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=8.513365ms grafana | logger=migrator t=2023-11-18T11:22:58.969012886Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2023-11-18T11:22:58.969093437Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=80.991µs grafana | logger=migrator t=2023-11-18T11:22:58.975800329Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2023-11-18T11:22:58.977732023Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.927984ms grafana | logger=migrator t=2023-11-18T11:22:58.984841511Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2023-11-18T11:22:58.986619592Z 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.777081ms grafana | logger=migrator t=2023-11-18T11:22:58.990905655Z 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-18T11:22:58.992599975Z 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.69404ms grafana | logger=migrator t=2023-11-18T11:22:58.996531384Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-18T11:22:58.996631765Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=101.441µs grafana | logger=migrator t=2023-11-18T11:22:59.001533438Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2023-11-18T11:22:59.007649931Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.116213ms grafana | logger=migrator t=2023-11-18T11:22:59.0111451Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2023-11-18T11:22:59.017279747Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.134377ms grafana | logger=migrator t=2023-11-18T11:22:59.020758736Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2023-11-18T11:22:59.026880484Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.121058ms grafana | logger=migrator t=2023-11-18T11:22:59.031987207Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2023-11-18T11:22:59.039267029Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=7.277502ms grafana | logger=migrator t=2023-11-18T11:22:59.043253996Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2023-11-18T11:22:59.049422894Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.168448ms grafana | logger=migrator t=2023-11-18T11:22:59.053318669Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2023-11-18T11:22:59.0534097Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=91.822µs grafana | logger=migrator t=2023-11-18T11:22:59.05693647Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2023-11-18T11:22:59.057760272Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=823.702µs grafana | logger=migrator t=2023-11-18T11:22:59.062516159Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2023-11-18T11:22:59.068829759Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=6.31325ms grafana | logger=migrator t=2023-11-18T11:22:59.072684673Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2023-11-18T11:22:59.072824425Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=139.662µs grafana | logger=migrator t=2023-11-18T11:22:59.076583138Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2023-11-18T11:22:59.082696626Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.112818ms grafana | logger=migrator t=2023-11-18T11:22:59.08724104Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2023-11-18T11:22:59.088312805Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.071285ms grafana | logger=migrator t=2023-11-18T11:22:59.091719024Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2023-11-18T11:22:59.098030823Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.31114ms grafana | logger=migrator t=2023-11-18T11:22:59.102439206Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2023-11-18T11:22:59.103196466Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=756.72µs grafana | logger=migrator t=2023-11-18T11:22:59.107765661Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2023-11-18T11:22:59.108823926Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.058095ms grafana | logger=migrator t=2023-11-18T11:22:59.113882948Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2023-11-18T11:22:59.120223408Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.33986ms grafana | logger=migrator t=2023-11-18T11:22:59.124331825Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2023-11-18T11:22:59.125126777Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=794.772µs grafana | logger=migrator t=2023-11-18T11:22:59.128785999Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2023-11-18T11:22:59.129913275Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.127216ms grafana | logger=migrator t=2023-11-18T11:22:59.136544189Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2023-11-18T11:22:59.137735806Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.189367ms grafana | logger=migrator t=2023-11-18T11:22:59.141856815Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2023-11-18T11:22:59.14368963Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.832595ms grafana | logger=migrator t=2023-11-18T11:22:59.14862195Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2023-11-18T11:22:59.148764132Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=141.702µs grafana | logger=migrator t=2023-11-18T11:22:59.153465139Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2023-11-18T11:22:59.154796338Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.329239ms grafana | logger=migrator t=2023-11-18T11:22:59.158693814Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0450-pdpgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-18T11:22:59.160519989Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.825455ms grafana | logger=migrator t=2023-11-18T11:22:59.16409966Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2023-11-18T11:22:59.164702089Z 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-18T11:22:59.169226222Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2023-11-18T11:22:59.169779321Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=552.789µs grafana | logger=migrator t=2023-11-18T11:22:59.173638355Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2023-11-18T11:22:59.174829572Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.191207ms grafana | logger=migrator t=2023-11-18T11:22:59.179232995Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2023-11-18T11:22:59.190280112Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=11.048257ms grafana | logger=migrator t=2023-11-18T11:22:59.201658524Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2023-11-18T11:22:59.203214317Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.553833ms grafana | logger=migrator t=2023-11-18T11:22:59.253523105Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2023-11-18T11:22:59.254953285Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.42906ms grafana | logger=migrator t=2023-11-18T11:22:59.270789311Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2023-11-18T11:22:59.27217374Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.383509ms grafana | logger=migrator t=2023-11-18T11:22:59.283132047Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2023-11-18T11:22:59.285054904Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.921697ms grafana | logger=migrator t=2023-11-18T11:22:59.299251167Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2023-11-18T11:22:59.301246916Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.953678ms grafana | logger=migrator t=2023-11-18T11:22:59.313198056Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2023-11-18T11:22:59.313315848Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=118.932µs grafana | logger=migrator t=2023-11-18T11:22:59.329114853Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2023-11-18T11:22:59.329363467Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=246.884µs grafana | logger=migrator t=2023-11-18T11:22:59.341671302Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2023-11-18T11:22:59.34220527Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=533.327µs grafana | logger=migrator t=2023-11-18T11:22:59.353433Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2023-11-18T11:22:59.354926772Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.492942ms grafana | logger=migrator t=2023-11-18T11:22:59.36183128Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2023-11-18T11:22:59.362673673Z level=info msg="Migration successfully executed" id="create secrets table" duration=841.152µs grafana | logger=migrator t=2023-11-18T11:22:59.368596137Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2023-11-18T11:22:59.417407583Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=48.809486ms grafana | logger=migrator t=2023-11-18T11:22:59.420975844Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2023-11-18T11:22:59.426110337Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.134243ms grafana | logger=migrator t=2023-11-18T11:22:59.430966897Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2023-11-18T11:22:59.431154879Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=187.622µs grafana | logger=migrator t=2023-11-18T11:22:59.436848651Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2023-11-18T11:22:59.47881721Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=41.968159ms grafana | logger=migrator t=2023-11-18T11:22:59.483961823Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2023-11-18T11:22:59.526847995Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=42.885692ms grafana | logger=migrator t=2023-11-18T11:22:59.531679684Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2023-11-18T11:22:59.532321683Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=641.799µs grafana | logger=migrator t=2023-11-18T11:22:59.536584874Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2023-11-18T11:22:59.537401326Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=816.072µs grafana | logger=migrator t=2023-11-18T11:22:59.540799574Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2023-11-18T11:22:59.541047127Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=247.553µs grafana | logger=migrator t=2023-11-18T11:22:59.544471916Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2023-11-18T11:22:59.545088416Z level=info msg="Migration successfully executed" id="create permission table" duration=617.319µs grafana | logger=migrator t=2023-11-18T11:22:59.550015335Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2023-11-18T11:22:59.550811317Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=795.962µs grafana | logger=migrator t=2023-11-18T11:22:59.555204359Z level=info msg="Executing migration" id="add unique index role_id_action_scope" 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 grafana | logger=migrator t=2023-11-18T11:22:59.556052232Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=847.663µs grafana | logger=migrator t=2023-11-18T11:22:59.559481411Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2023-11-18T11:22:59.56010888Z level=info msg="Migration successfully executed" id="create role table" duration=627.089µs grafana | logger=migrator t=2023-11-18T11:22:59.564077206Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2023-11-18T11:22:59.56929203Z level=info msg="Migration successfully executed" id="add column display_name" duration=5.214254ms grafana | logger=migrator t=2023-11-18T11:22:59.573733374Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2023-11-18T11:22:59.578974589Z level=info msg="Migration successfully executed" id="add column group_name" duration=5.240845ms grafana | logger=migrator t=2023-11-18T11:22:59.582227955Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2023-11-18T11:22:59.583036347Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=808.222µs grafana | logger=migrator t=2023-11-18T11:22:59.586378314Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2023-11-18T11:22:59.587233557Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=854.793µs grafana | logger=migrator t=2023-11-18T11:22:59.591310495Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2023-11-18T11:22:59.592125036Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=814.011µs grafana | logger=migrator t=2023-11-18T11:22:59.632850308Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2023-11-18T11:22:59.633510537Z level=info msg="Migration successfully executed" id="create team role table" duration=660.199µs grafana | logger=migrator t=2023-11-18T11:22:59.637342642Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2023-11-18T11:22:59.638130213Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=787.061µs grafana | logger=migrator t=2023-11-18T11:22:59.642920602Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2023-11-18T11:22:59.643823314Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=902.212µs grafana | logger=migrator t=2023-11-18T11:22:59.646876208Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2023-11-18T11:22:59.647687219Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=810.691µs grafana | logger=migrator t=2023-11-18T11:22:59.650808514Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2023-11-18T11:22:59.651398783Z level=info msg="Migration successfully executed" id="create user role table" duration=589.889µs grafana | logger=migrator t=2023-11-18T11:22:59.656018728Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2023-11-18T11:22:59.65680544Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=786.712µs grafana | logger=migrator t=2023-11-18T11:22:59.660743396Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2023-11-18T11:22:59.661581207Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=837.521µs grafana | logger=migrator t=2023-11-18T11:22:59.665485014Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2023-11-18T11:22:59.666275555Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=790.311µs grafana | logger=migrator t=2023-11-18T11:22:59.673029991Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2023-11-18T11:22:59.67364462Z level=info msg="Migration successfully executed" id="create builtin role table" duration=613.839µs grafana | logger=migrator t=2023-11-18T11:22:59.677281282Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2023-11-18T11:22:59.678089473Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=808.191µs grafana | logger=migrator t=2023-11-18T11:22:59.681286999Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2023-11-18T11:22:59.682095101Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=807.812µs grafana | logger=migrator t=2023-11-18T11:22:59.687336425Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2023-11-18T11:22:59.692980355Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=5.6434ms grafana | logger=migrator t=2023-11-18T11:22:59.696842381Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2023-11-18T11:22:59.697670473Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=829.932µs grafana | logger=migrator t=2023-11-18T11:22:59.701261643Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2023-11-18T11:22:59.702119066Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=857.173µs grafana | logger=migrator t=2023-11-18T11:22:59.706974525Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2023-11-18T11:22:59.707771737Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=797.052µs grafana | logger=migrator t=2023-11-18T11:22:59.711863265Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2023-11-18T11:22:59.712698527Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=835.312µs grafana | logger=migrator t=2023-11-18T11:22:59.71637308Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2023-11-18T11:22:59.716982908Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=607.848µs grafana | logger=migrator t=2023-11-18T11:22:59.7212577Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2023-11-18T11:22:59.722081871Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=823.771µs grafana | logger=migrator t=2023-11-18T11:22:59.725333908Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2023-11-18T11:22:59.731036069Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=5.701791ms grafana | logger=migrator t=2023-11-18T11:22:59.734514018Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2023-11-18T11:22:59.740213629Z level=info msg="Migration successfully executed" id="permission kind migration" duration=5.699121ms grafana | logger=migrator t=2023-11-18T11:22:59.744747535Z level=info msg="Executing migration" id="permission attribute migration" prometheus | ts=2023-11-18T11:22:55.051Z 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-18T11:22:55.051Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.0, branch=HEAD, revision=6d80b30990bc297d95b5c844e118c4011fad8054)" prometheus | ts=2023-11-18T11:22:55.051Z caller=main.go:588 level=info build_context="(go=go1.21.4, platform=linux/amd64, user=root@26117804242c, date=20231116-04:35:21, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2023-11-18T11:22:55.051Z 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-18T11:22:55.051Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2023-11-18T11:22:55.051Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2023-11-18T11:22:55.054Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2023-11-18T11:22:55.055Z caller=main.go:1024 level=info msg="Starting TSDB ..." prometheus | ts=2023-11-18T11:22:55.058Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2023-11-18T11:22:55.058Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2023-11-18T11:22:55.061Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2023-11-18T11:22:55.061Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.18µs prometheus | ts=2023-11-18T11:22:55.061Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2023-11-18T11:22:55.061Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2023-11-18T11:22:55.062Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=73.941µs wal_replay_duration=350.717µs wbl_replay_duration=230ns total_replay_duration=493.369µs prometheus | ts=2023-11-18T11:22:55.064Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2023-11-18T11:22:55.064Z caller=main.go:1048 level=info msg="TSDB started" prometheus | ts=2023-11-18T11:22:55.064Z caller=main.go:1229 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2023-11-18T11:22:55.064Z caller=main.go:1266 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=784.464µs db_storage=1.17µs remote_storage=1.47µs web_handler=430ns query_engine=1.07µs scrape=155.253µs scrape_sd=107.432µs notify=24.391µs notify_sd=23.86µs rules=1.52µs tracing=4.49µs prometheus | ts=2023-11-18T11:22:55.064Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." prometheus | ts=2023-11-18T11:22:55.064Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2023-11-18T11:22:59.750372665Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=5.62487ms grafana | logger=migrator t=2023-11-18T11:22:59.753774253Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2023-11-18T11:22:59.759468594Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=5.693831ms grafana | logger=migrator t=2023-11-18T11:22:59.762782842Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2023-11-18T11:22:59.763644645Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=861.703µs grafana | logger=migrator t=2023-11-18T11:22:59.767825214Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2023-11-18T11:22:59.768522763Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=697.219µs grafana | logger=migrator t=2023-11-18T11:22:59.772233257Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2023-11-18T11:22:59.77315578Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=921.813µs grafana | logger=migrator t=2023-11-18T11:22:59.77668141Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2023-11-18T11:22:59.776824592Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=143.622µs grafana | logger=migrator t=2023-11-18T11:22:59.781826674Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2023-11-18T11:22:59.781949085Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=122.791µs grafana | logger=migrator t=2023-11-18T11:22:59.785301283Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2023-11-18T11:22:59.78577766Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=476.307µs grafana | logger=migrator t=2023-11-18T11:22:59.7899709Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2023-11-18T11:22:59.790459067Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=488.917µs grafana | logger=migrator t=2023-11-18T11:22:59.793727853Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2023-11-18T11:22:59.794267952Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=540.199µs grafana | logger=migrator t=2023-11-18T11:22:59.799163371Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2023-11-18T11:22:59.799381494Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=217.883µs grafana | logger=migrator t=2023-11-18T11:22:59.803345381Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2023-11-18T11:22:59.803640815Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=294.554µs grafana | logger=migrator t=2023-11-18T11:22:59.807579231Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2023-11-18T11:22:59.80817978Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=600.139µs grafana | logger=migrator t=2023-11-18T11:22:59.812124326Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2023-11-18T11:22:59.812962168Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=837.592µs grafana | logger=migrator t=2023-11-18T11:22:59.817344291Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2023-11-18T11:22:59.823125683Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=5.781042ms grafana | logger=migrator t=2023-11-18T11:22:59.827032719Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2023-11-18T11:22:59.827199581Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=166.612µs grafana | logger=migrator t=2023-11-18T11:22:59.830764632Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2023-11-18T11:22:59.831455912Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=691.22µs grafana | logger=migrator t=2023-11-18T11:22:59.835918605Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2023-11-18T11:22:59.836786688Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=868.053µs grafana | logger=migrator t=2023-11-18T11:22:59.842578481Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2023-11-18T11:22:59.843384212Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=804.071µs grafana | logger=migrator t=2023-11-18T11:22:59.847455351Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2023-11-18T11:22:59.853254254Z level=info msg="Migration successfully executed" id="add correlation config column" duration=5.798493ms grafana | logger=migrator t=2023-11-18T11:22:59.858423347Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2023-11-18T11:22:59.85937443Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=950.703µs grafana | logger=migrator t=2023-11-18T11:22:59.864347412Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2023-11-18T11:22:59.866077686Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.732034ms grafana | logger=migrator t=2023-11-18T11:22:59.870460349Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-18T11:22:59.900736111Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=30.275952ms grafana | logger=migrator t=2023-11-18T11:22:59.904474944Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2023-11-18T11:22:59.905488408Z level=info msg="Migration successfully executed" id="create correlation v2" duration=1.012734ms grafana | logger=migrator t=2023-11-18T11:22:59.90904615Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2023-11-18T11:22:59.910220936Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.174696ms grafana | logger=migrator t=2023-11-18T11:22:59.914581389Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2023-11-18T11:22:59.915782295Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.200926ms grafana | logger=migrator t=2023-11-18T11:22:59.919245925Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2023-11-18T11:22:59.920390862Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.144797ms grafana | logger=migrator t=2023-11-18T11:22:59.924924016Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2023-11-18T11:22:59.92525015Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=325.624µs grafana | logger=migrator t=2023-11-18T11:22:59.932403103Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2023-11-18T11:22:59.933691881Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.288048ms grafana | logger=migrator t=2023-11-18T11:22:59.937882111Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2023-11-18T11:22:59.948714956Z level=info msg="Migration successfully executed" id="add provisioning column" duration=10.834035ms grafana | logger=migrator t=2023-11-18T11:22:59.952250836Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2023-11-18T11:22:59.953082798Z level=info msg="Migration successfully executed" id="create entity_events table" duration=831.542µs grafana | logger=migrator t=2023-11-18T11:22:59.95746475Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2023-11-18T11:22:59.958437024Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=971.884µs grafana | logger=migrator t=2023-11-18T11:22:59.961999654Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-18T11:22:59.962495582Z 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-18T11:22:59.966035193Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-18T11:22:59.96652418Z 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-18T11:22:59.971640083Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2023-11-18T11:22:59.972480214Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=839.601µs grafana | logger=migrator t=2023-11-18T11:22:59.976088987Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2023-11-18T11:22:59.977252713Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.161117ms grafana | logger=migrator t=2023-11-18T11:23:00.019143684Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-18T11:23:00.021003344Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.85919ms grafana | logger=migrator t=2023-11-18T11:23:00.026090552Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-18T11:23:00.02788988Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.798438ms grafana | logger=migrator t=2023-11-18T11:23:00.031599877Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-11-18T11:23:00.033379065Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.778788ms grafana | logger=migrator t=2023-11-18T11:23:00.036776437Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-11-18T11:23:00.037967436Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.190309ms grafana | logger=migrator t=2023-11-18T11:23:00.042020639Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2023-11-18T11:23:00.042845111Z level=info msg="Migration successfully executed" id="Drop public config table" duration=823.962µs grafana | logger=migrator t=2023-11-18T11:23:00.046119233Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2023-11-18T11:23:00.047150318Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.030465ms grafana | logger=migrator t=2023-11-18T11:23:00.052161216Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-11-18T11:23:00.053397375Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.142738ms grafana | logger=migrator t=2023-11-18T11:23:00.058357122Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-11-18T11:23:00.059486369Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.129197ms grafana | logger=migrator t=2023-11-18T11:23:00.0640538Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2023-11-18T11:23:00.065202048Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.147918ms grafana | logger=migrator t=2023-11-18T11:23:00.069147009Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2023-11-18T11:23:00.101715604Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=32.569644ms grafana | logger=migrator t=2023-11-18T11:23:00.105594844Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2023-11-18T11:23:00.111992933Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.397659ms grafana | logger=migrator t=2023-11-18T11:23:00.11566999Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2023-11-18T11:23:00.124246193Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.575563ms grafana | logger=migrator t=2023-11-18T11:23:00.128791253Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2023-11-18T11:23:00.129115948Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=324.405µs grafana | logger=migrator t=2023-11-18T11:23:00.133476466Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2023-11-18T11:23:00.144986785Z level=info msg="Migration successfully executed" id="add share column" duration=11.510129ms grafana | logger=migrator t=2023-11-18T11:23:00.148183074Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2023-11-18T11:23:00.148412537Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=230.023µs grafana | logger=migrator t=2023-11-18T11:23:00.152806036Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2023-11-18T11:23:00.15374344Z level=info msg="Migration successfully executed" id="create file table" duration=937.174µs grafana | logger=migrator t=2023-11-18T11:23:00.157664161Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2023-11-18T11:23:00.15885963Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.195109ms grafana | logger=migrator t=2023-11-18T11:23:00.162643078Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2023-11-18T11:23:00.163853827Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.211609ms grafana | logger=migrator t=2023-11-18T11:23:00.168125543Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2023-11-18T11:23:00.169429424Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.303431ms grafana | logger=migrator t=2023-11-18T11:23:00.173304483Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2023-11-18T11:23:00.175381286Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=2.076123ms grafana | logger=migrator t=2023-11-18T11:23:00.18082709Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2023-11-18T11:23:00.181004883Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=177.023µs grafana | logger=migrator t=2023-11-18T11:23:00.185891248Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2023-11-18T11:23:00.186115351Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=223.773µs grafana | logger=migrator t=2023-11-18T11:23:00.189991352Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2023-11-18T11:23:00.190907966Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=917.204µs grafana | logger=migrator t=2023-11-18T11:23:00.19502823Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2023-11-18T11:23:00.195315835Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=285.395µs grafana | logger=migrator t=2023-11-18T11:23:00.198780568Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2023-11-18T11:23:00.19959699Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=816.482µs grafana | logger=migrator t=2023-11-18T11:23:00.204005219Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2023-11-18T11:23:00.215764511Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=11.759732ms grafana | logger=migrator t=2023-11-18T11:23:00.219442798Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2023-11-18T11:23:00.219681311Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=237.963µs grafana | logger=migrator t=2023-11-18T11:23:00.223049504Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2023-11-18T11:23:00.224202182Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.152138ms grafana | logger=migrator t=2023-11-18T11:23:00.228756443Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2023-11-18T11:23:00.22923829Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=482.557µs grafana | logger=migrator t=2023-11-18T11:23:00.233302903Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2023-11-18T11:23:00.233576927Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=273.404µs grafana | logger=migrator t=2023-11-18T11:23:00.237154623Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2023-11-18T11:23:00.237961975Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=807.302µs grafana | logger=migrator t=2023-11-18T11:23:00.241914366Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2023-11-18T11:23:00.251643137Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=9.729371ms grafana | logger=migrator t=2023-11-18T11:23:00.255949384Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2023-11-18T11:23:00.262651548Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.698984ms grafana | logger=migrator t=2023-11-18T11:23:00.267306759Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2023-11-18T11:23:00.268420867Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.114168ms grafana | logger=migrator t=2023-11-18T11:23:00.271777009Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2023-11-18T11:23:00.376609893Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=104.832924ms grafana | logger=migrator t=2023-11-18T11:23:00.407220998Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2023-11-18T11:23:00.409145778Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.92464ms grafana | logger=migrator t=2023-11-18T11:23:00.416532013Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2023-11-18T11:23:00.417745671Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.213178ms grafana | logger=migrator t=2023-11-18T11:23:00.423451469Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2023-11-18T11:23:00.458540494Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=35.090645ms grafana | logger=migrator t=2023-11-18T11:23:00.463123704Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2023-11-18T11:23:00.463342557Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=218.373µs grafana | logger=migrator t=2023-11-18T11:23:00.46670395Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2023-11-18T11:23:00.466913403Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=208.983µs grafana | logger=migrator t=2023-11-18T11:23:00.470326576Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2023-11-18T11:23:00.470767523Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=439.977µs 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-18T11:23:00.474840116Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2023-11-18T11:23:00.47640786Z level=info msg="Migration successfully executed" id="create folder table" duration=1.566994ms grafana | logger=migrator t=2023-11-18T11:23:00.484426745Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2023-11-18T11:23:00.486350345Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.923061ms grafana | logger=migrator t=2023-11-18T11:23:00.490898414Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2023-11-18T11:23:00.492920926Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.996662ms grafana | logger=migrator t=2023-11-18T11:23:00.498424131Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2023-11-18T11:23:00.498491752Z level=info msg="Migration successfully executed" id="Update folder title length" duration=68.671µs grafana | logger=migrator t=2023-11-18T11:23:00.502065718Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-11-18T11:23:00.50350345Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.436162ms grafana | logger=migrator t=2023-11-18T11:23:00.507663634Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-11-18T11:23:00.509436582Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.772638ms grafana | logger=migrator t=2023-11-18T11:23:00.514524612Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2023-11-18T11:23:00.51571723Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.192288ms grafana | logger=migrator t=2023-11-18T11:23:00.521314616Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2023-11-18T11:23:00.52281392Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.499294ms grafana | logger=migrator t=2023-11-18T11:23:00.527050685Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2023-11-18T11:23:00.529020456Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.970561ms grafana | logger=migrator t=2023-11-18T11:23:00.533327042Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2023-11-18T11:23:00.534477381Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.150039ms grafana | logger=migrator t=2023-11-18T11:23:00.538165108Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2023-11-18T11:23:00.53901473Z level=info msg="Migration successfully executed" id="create signing_key table" duration=849.242µs grafana | logger=migrator t=2023-11-18T11:23:00.543161865Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2023-11-18T11:23:00.545211157Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=2.049072ms grafana | logger=migrator t=2023-11-18T11:23:00.550646082Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2023-11-18T11:23:00.551787909Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.141898ms grafana | logger=migrator t=2023-11-18T11:23:00.555150101Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2023-11-18T11:23:00.555496006Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=346.475µs grafana | logger=migrator t=2023-11-18T11:23:00.559447188Z level=info msg="migrations completed" performed=517 skipped=0 duration=4.49505567s grafana | logger=sqlstore t=2023-11-18T11:23:00.568416647Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2023-11-18T11:23:00.568781893Z level=info msg="Created default organization" grafana | logger=secrets t=2023-11-18T11:23:00.57313336Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=local.finder t=2023-11-18T11:23:00.635205113Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=query_data t=2023-11-18T11:23:00.637837434Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2023-11-18T11:23:00.641504911Z level=info msg="Live Push Gateway initialization" grafana | logger=infra.usagestats.collector t=2023-11-18T11:23:02.825806024Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2023-11-18T11:23:02.827857159Z level=info msg="inserting datasource from configuration " name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2023-11-18T11:23:02.838923476Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2023-11-18T11:23:02.838939966Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2023-11-18T11:23:02.8391763Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2023-11-18T11:23:02.839740697Z level=info msg="Warming state cache for startup" grafana | logger=http.server t=2023-11-18T11:23:02.844693549Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafana.update.checker t=2023-11-18T11:23:02.870108005Z level=info msg="Update check succeeded" duration=30.614411ms grafana | logger=ngalert.migration t=2023-11-18T11:23:02.884785548Z level=info msg=Starting grafana | logger=ngalert.migration t=2023-11-18T11:23:02.885597748Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-11-18T11:23:02.885967252Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-11-18T11:23:02.886523409Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-11-18T11:23:02.887154658Z level=warn msg="No available receivers" grafana | logger=ngalert.migration t=2023-11-18T11:23:02.891705224Z level=info msg="Completed legacy migration" grafana | logger=plugins.update.checker t=2023-11-18T11:23:02.912834257Z level=info msg="Update check succeeded" duration=73.670137ms grafana | logger=sqlstore.transactions t=2023-11-18T11:23:02.937010407Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=ngalert.state.manager t=2023-11-18T11:23:02.954445635Z level=info msg="State cache has been initialized" states=0 duration=114.704098ms grafana | logger=ngalert.multiorg.alertmanager t=2023-11-18T11:23:02.954506396Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=ngalert.scheduler t=2023-11-18T11:23:02.954508136Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2023-11-18T11:23:02.954730809Z level=info msg=starting first_tick=2023-11-18T11:23:10Z grafana | logger=sqlstore.transactions t=2023-11-18T11:23:02.956888436Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=infra.usagestats t=2023-11-18T11:23:50.851216702Z level=info msg="Usage stats are ready to report" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0690-toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0770-toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0780-toscarequirements.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- 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 | -------------- 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 | -------------- 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 | -------------- policy-db-migrator | TRUNCATE TABLE sequence policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE statistics_sequence policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1300) policy-db-migrator | name version policy-db-migrator | policyadmin 1300 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:04 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:04 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:04 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:04 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:04 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:04 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:04 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:04 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:04 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:04 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:04 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:04 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:04 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:04 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:04 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:04 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:05 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:05 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:05 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:05 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:05 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:05 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:05 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:05 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:05 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:05 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:05 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:05 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:05 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:05 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:05 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:05 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:05 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:05 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:05 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:05 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:05 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:05 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:05 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:05 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:05 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:06 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:06 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:06 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:06 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:06 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:06 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:06 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:06 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:06 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:06 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:06 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:06 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:06 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:06 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:06 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:06 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:06 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:06 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:06 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:06 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:06 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:06 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:06 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:06 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:06 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:07 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:07 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:07 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:07 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:07 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:07 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:07 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:07 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:07 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:07 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:07 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:07 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:07 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:07 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:07 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:07 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:07 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:07 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:07 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:07 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:07 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:07 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:07 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:08 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:08 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:08 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:08 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:08 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:08 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1811231123040800u 1 2023-11-18 11:23:08 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1811231123040900u 1 2023-11-18 11:23:08 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1811231123040900u 1 2023-11-18 11:23:08 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1811231123040900u 1 2023-11-18 11:23:08 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1811231123040900u 1 2023-11-18 11:23:08 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1811231123040900u 1 2023-11-18 11:23:08 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1811231123040900u 1 2023-11-18 11:23:08 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1811231123040900u 1 2023-11-18 11:23:08 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1811231123040900u 1 2023-11-18 11:23:08 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1811231123040900u 1 2023-11-18 11:23:08 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1811231123040900u 1 2023-11-18 11:23:08 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1811231123040900u 1 2023-11-18 11:23:08 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1811231123040900u 1 2023-11-18 11:23:08 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1811231123040900u 1 2023-11-18 11:23:08 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1811231123041000u 1 2023-11-18 11:23:09 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1811231123041000u 1 2023-11-18 11:23:09 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1811231123041000u 1 2023-11-18 11:23:09 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1811231123041000u 1 2023-11-18 11:23:09 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1811231123041000u 1 2023-11-18 11:23:09 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1811231123041000u 1 2023-11-18 11:23:09 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1811231123041000u 1 2023-11-18 11:23:09 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1811231123041000u 1 2023-11-18 11:23:09 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1811231123041000u 1 2023-11-18 11:23:09 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1811231123041100u 1 2023-11-18 11:23:09 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1811231123041200u 1 2023-11-18 11:23:09 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1811231123041200u 1 2023-11-18 11:23:09 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1811231123041200u 1 2023-11-18 11:23:09 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1811231123041200u 1 2023-11-18 11:23:09 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 1811231123041300u 1 2023-11-18 11:23:09 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 1811231123041300u 1 2023-11-18 11:23:09 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 1811231123041300u 1 2023-11-18 11:23:09 policy-db-migrator | policyadmin: OK @ 1300 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping prometheus ... Stopping mariadb ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing prometheus ... Removing mariadb ... Removing prometheus ... done Removing policy-api ... done Removing grafana ... done Removing policy-db-migrator ... done Removing mariadb ... done Removing network compose_default ++ cd /w/workspace/policy-api-master-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.5xyoHmvoWD ]] + rsync -av /tmp/tmp.5xyoHmvoWD/ /w/workspace/policy-api-master-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,345,383 bytes received 95 bytes 2,690,956.00 bytes/sec total size is 1,344,738 speedup is 1.00 + rm -rf /w/workspace/policy-api-master-project-csit-api/models + exit 0 $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2130 killed; [ssh-agent] Stopped. Robot results publisher started... -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins3672230856761159536.sh ---> sysstat.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins14115702009525908072.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/policy-api-master-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-master-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-master-project-csit-api ']' + mkdir -p /w/workspace/policy-api-master-project-csit-api/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-master-project-csit-api/archives/ [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins16809347727173611228.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-fUU3 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-fUU3/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins2680257657923744631.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-master-project-csit-api@tmp/config15557207147942552479tmp 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-master-project-csit-api] $ /bin/bash /tmp/jenkins15322293108708673730.sh ---> create-netrc.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins16008439660343495626.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-fUU3 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-fUU3/bin to PATH [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins10521593164535794884.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins11755536461107346666.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-fUU3 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-fUU3/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [policy-api-master-project-csit-api] $ /bin/bash -l /tmp/jenkins7925775693327907973.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-fUU3 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-fUU3/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-master-project-csit-api/1422 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-1160 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 823 27319 0 4024 30887 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:91:a1:02 brd ff:ff:ff:ff:ff:ff inet 10.30.107.66/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86034sec preferred_lft 86034sec inet6 fe80::f816:3eff:fe91:a102/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:fb:95:b8:25 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-1160) 11/18/23 _x86_64_ (8 CPU) 11:19:34 LINUX RESTART (8 CPU) 11:20:02 tps rtps wtps bread/s bwrtn/s 11:21:01 142.03 72.43 69.60 4690.19 39770.48 11:22:01 107.32 13.71 93.60 1116.35 31343.04 11:23:01 306.82 15.55 291.27 2280.52 82281.95 11:24:01 123.81 6.40 117.41 273.62 22839.61 11:25:01 45.48 0.87 44.61 46.53 22037.24 Average: 145.10 21.62 123.48 1671.38 39654.08 11:20:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:21:01 30232628 31777264 2706592 8.22 66000 1790532 1390452 4.09 796412 1628480 140836 11:22:01 29813284 31689632 3125936 9.49 82040 2093072 1478304 4.35 910120 1906360 129368 11:23:01 27839772 31503884 5099448 15.48 123304 3766304 3178856 9.35 1196012 3461120 13348 11:24:01 27061256 30746504 5877964 17.84 127756 3780420 4125220 12.14 2003300 3424936 244 11:25:01 27968804 31606040 4970416 15.09 128664 3740160 1536300 4.52 1172608 3371840 4024 Average: 28583149 31464665 4356071 13.22 105553 3034098 2341826 6.89 1215690 2758547 57564 11:20:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:21:01 lo 1.36 1.36 0.14 0.14 0.00 0.00 0.00 0.00 11:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:21:01 ens3 436.11 273.29 1460.10 63.30 0.00 0.00 0.00 0.00 11:22:01 lo 1.27 1.27 0.13 0.13 0.00 0.00 0.00 0.00 11:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:22:01 ens3 70.27 50.37 915.53 8.20 0.00 0.00 0.00 0.00 11:23:01 vethbe9236b 0.00 0.23 0.00 0.02 0.00 0.00 0.00 0.00 11:23:01 lo 8.20 8.20 0.76 0.76 0.00 0.00 0.00 0.00 11:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:23:01 br-60f18d446c70 0.03 0.08 0.00 0.01 0.00 0.00 0.00 0.00 11:24:01 vethbe9236b 0.22 0.28 0.02 0.77 0.00 0.00 0.00 0.00 11:24:01 lo 8.93 8.93 8.46 8.46 0.00 0.00 0.00 0.00 11:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:24:01 br-60f18d446c70 3.55 3.97 6.17 2.51 0.00 0.00 0.00 0.00 11:25:01 lo 8.87 8.87 0.69 0.69 0.00 0.00 0.00 0.00 11:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:25:01 ens3 876.42 568.21 11903.54 109.75 0.00 0.00 0.00 0.00 Average: lo 5.74 5.74 2.04 2.04 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: ens3 172.80 111.90 2375.16 21.74 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-1160) 11/18/23 _x86_64_ (8 CPU) 11:19:34 LINUX RESTART (8 CPU) 11:20:02 CPU %user %nice %system %iowait %steal %idle 11:21:01 all 9.67 0.00 0.97 5.53 0.03 83.79 11:21:01 0 9.32 0.00 1.07 7.93 0.02 81.67 11:21:01 1 9.62 0.00 0.97 0.71 0.03 88.66 11:21:01 2 4.99 0.00 0.49 1.72 0.02 92.78 11:21:01 3 4.17 0.00 0.99 11.66 0.05 83.13 11:21:01 4 2.86 0.00 0.49 9.22 0.03 87.40 11:21:01 5 10.22 0.00 1.05 2.21 0.02 86.50 11:21:01 6 5.28 0.00 0.65 6.55 0.02 87.50 11:21:01 7 31.02 0.00 2.03 4.28 0.05 62.63 11:22:01 all 8.75 0.00 0.60 4.59 0.03 86.02 11:22:01 0 23.43 0.00 1.37 2.29 0.03 72.88 11:22:01 1 6.72 0.00 0.45 10.84 0.02 81.97 11:22:01 2 5.10 0.00 0.47 0.28 0.00 94.15 11:22:01 3 0.71 0.00 0.67 18.34 0.05 80.23 11:22:01 4 0.10 0.00 0.08 0.07 0.00 99.75 11:22:01 5 0.25 0.00 0.07 0.00 0.02 99.67 11:22:01 6 0.10 0.00 0.03 1.58 0.03 98.25 11:22:01 7 33.69 0.00 1.68 3.42 0.05 61.17 11:23:01 all 9.32 0.00 3.07 5.97 0.05 81.59 11:23:01 0 8.90 0.00 3.09 0.82 0.05 87.13 11:23:01 1 7.71 0.00 2.17 12.37 0.03 77.71 11:23:01 2 16.97 0.00 4.39 2.26 0.07 76.30 11:23:01 3 9.37 0.00 3.51 3.65 0.07 83.40 11:23:01 4 5.85 0.00 3.62 24.52 0.05 65.97 11:23:01 5 7.50 0.00 2.51 0.64 0.05 89.29 11:23:01 6 7.20 0.00 2.32 1.09 0.05 89.34 11:23:01 7 10.99 0.00 2.96 2.44 0.05 83.57 11:24:01 all 14.60 0.00 1.61 1.81 0.05 81.94 11:24:01 0 12.86 0.00 1.42 0.87 0.03 84.82 11:24:01 1 15.92 0.00 1.64 0.27 0.05 82.12 11:24:01 2 17.90 0.00 1.72 0.33 0.08 79.96 11:24:01 3 15.05 0.00 1.69 10.99 0.05 72.22 11:24:01 4 19.45 0.00 2.41 0.27 0.05 77.83 11:24:01 5 8.40 0.00 1.04 0.28 0.03 90.25 11:24:01 6 14.73 0.00 1.47 1.17 0.05 82.57 11:24:01 7 12.50 0.00 1.45 0.30 0.03 85.71 11:25:01 all 2.40 0.00 0.36 1.64 0.03 95.58 11:25:01 0 0.48 0.00 0.28 0.10 0.03 99.10 11:25:01 1 1.52 0.00 0.17 0.62 0.00 97.70 11:25:01 2 3.24 0.00 0.48 0.28 0.05 95.94 11:25:01 3 1.19 0.00 0.45 6.77 0.02 91.57 11:25:01 4 9.30 0.00 0.35 0.57 0.03 89.75 11:25:01 5 1.76 0.00 0.37 0.17 0.02 97.69 11:25:01 6 1.02 0.00 0.52 0.20 0.02 98.25 11:25:01 7 0.65 0.00 0.32 4.37 0.03 94.63 Average: all 8.94 0.00 1.32 3.90 0.04 85.80 Average: 0 11.00 0.00 1.45 2.39 0.03 85.13 Average: 1 8.29 0.00 1.08 4.97 0.03 85.64 Average: 2 9.65 0.00 1.51 0.97 0.04 87.82 Average: 3 6.10 0.00 1.46 10.28 0.05 82.11 Average: 4 7.53 0.00 1.39 6.88 0.03 84.17 Average: 5 5.60 0.00 1.00 0.65 0.03 92.71 Average: 6 5.66 0.00 1.00 2.11 0.03 91.20 Average: 7 17.71 0.00 1.68 2.96 0.04 77.61